Files
windroost/data/offline_calibration.json
T
wushenghua d6b72043e4 feat: prove five pacing profiles and calibrate offline payout
AGENTS.md requires a milestone to prove five play profiles with explicit
decision timestamps. The chapter simulator previously had only passive/active.
tools/pacing_profiles.py now runs five genuinely different behaviours (normal,
active, efficient, adversarial, returning) and records per-node arrival times,
every decision timestamp, longest no-decision gap, active-input share,
failures and offline efficiency. data/pacing_profiles.json holds the evidence;
tools/check_pacing_profiles.py gates it; PRODUCTION/40 documents the results
and the honest findings.

The profiling exposed a real bug I introduced: the offline gold rate (0.02, a
value I had picked without a contract basis) paid 19008 gold for 8h, leveling
the first hero to Lv.17 when a normal clear ends at Lv.2-4. tools/tune_offline.py
scans rates; 0.001 pays 950 gold (~Lv.4) and keeps returning players in range.
The rate now lives in mvp_battle_rules.json progression and is read by both the
Godot ProfileStore and the Python simulator, so the two cannot drift. The p3b
test derives its expected values from the same shared rate.

Two honest findings are recorded, not hidden: efficient is slower than active
because weakness windows are not yet a settlement multiplier (tracked in
PRODUCTION/39), and concentrated upgrades outperform spread ones in the CH
cost curve. tools/run_p2_checks.sh now runs 21 gates; all pass.
2026-11-17 14:23:34 +08:00

130 lines
2.3 KiB
JSON

{
"current_rate": 0.02,
"problem": "8h offline pays 19008 gold -> H01 Lv.17 vs normal Lv.2-4",
"target": "returning player first hero Lv.3-6 after one capped 8h claim",
"scan": [
{
"rate": 0.02,
"offline_gold": 19008,
"upgrades": 46,
"levels": {
"H01": 17,
"H02": 16,
"H03": 16
},
"gold_left": 905,
"in_target": false
},
{
"rate": 0.005,
"offline_gold": 4752,
"upgrades": 23,
"levels": {
"H01": 9,
"H02": 9,
"H03": 8
},
"gold_left": 127,
"in_target": false
},
{
"rate": 0.002,
"offline_gold": 1900,
"upgrades": 12,
"levels": {
"H01": 5,
"H02": 5,
"H03": 5
},
"gold_left": 100,
"in_target": true
},
{
"rate": 0.001,
"offline_gold": 950,
"upgrades": 7,
"levels": {
"H01": 4,
"H02": 3,
"H03": 3
},
"gold_left": 17,
"in_target": true
},
{
"rate": 0.0005,
"offline_gold": 475,
"upgrades": 3,
"levels": {
"H01": 2,
"H02": 2,
"H03": 2
},
"gold_left": 115,
"in_target": false
},
{
"rate": 0.0003,
"offline_gold": 285,
"upgrades": 2,
"levels": {
"H01": 2,
"H02": 2,
"H03": 1
},
"gold_left": 45,
"in_target": false
},
{
"rate": 0.0002,
"offline_gold": 190,
"upgrades": 1,
"levels": {
"H01": 2,
"H02": 1,
"H03": 1
},
"gold_left": 70,
"in_target": false
},
{
"rate": 0.0001,
"offline_gold": 95,
"upgrades": 0,
"levels": {
"H01": 1,
"H02": 1,
"H03": 1
},
"gold_left": 95,
"in_target": false
}
],
"fits": [
{
"rate": 0.002,
"offline_gold": 1900,
"upgrades": 12,
"levels": {
"H01": 5,
"H02": 5,
"H03": 5
},
"gold_left": 100,
"in_target": true
},
{
"rate": 0.001,
"offline_gold": 950,
"upgrades": 7,
"levels": {
"H01": 4,
"H02": 3,
"H03": 3
},
"gold_left": 17,
"in_target": true
}
]
}