Files
windroost/data/boss_tuning_scan.json
T
wushenghua 006c52647e docs: deliver boss pacing analysis and make both phases legible
The chapter simulation showed the boss dying in 3.9s with active play versus
26.3s on auto. Reading the full contract changed the diagnosis:
PRODUCTION/02 says "auto clears normal, manual clearly improves boss win
rate" and 30s is a TIMEOUT failure line, not a target duration. So auto
timing out is intended; the real problem is only that manual play trivially
skips the timer and phases.

tools/tune_boss.py scans 36 boss-only parameter combinations and proves no
setting puts both play styles in 20-30s (consistent with auto being meant to
fail). It finds the candidate closest to the contract intent (manual_mult
~0.15 with a post-break vulnerability window: 13.5s active / 27.5s auto).
PRODUCTION/39-boss-pacing-review.md records the evidence, the contract quote,
three options and the fact that manual damage is an Owner-level decision; no
production combat number was changed and P2 parity is untouched.

What could be fixed without touching numbers: the sim had no phase event at
all, so players never saw P1->P2. The HUD now derives the phase label from
boss HP (>50% phase 1, <=50% phase 2) and shows it on the boss plate alongside
shield-break and weakness states. A headless test drives a real battle across
the 50% crossover and checks the label flips without changing settlement.

tools/run_p2_checks.sh now runs 19 gates; all pass.
2026-11-17 14:00:00 +08:00

295 lines
6.5 KiB
JSON

{
"contract_target": "PRODUCTION/02-enemies-bosses.md line 195: boss two phases end in 20-30s",
"scan": [
{
"shield_reduction": 1.0,
"broken_vuln": 0.0,
"manual_mult": 1.0,
"active_sec": 3.0,
"auto_sec": "TIMEOUT",
"active_in_target": false
},
{
"shield_reduction": 1.0,
"broken_vuln": 0.0,
"manual_mult": 0.5,
"active_sec": 5.4,
"auto_sec": "TIMEOUT",
"active_in_target": false
},
{
"shield_reduction": 1.0,
"broken_vuln": 0.0,
"manual_mult": 0.3,
"active_sec": 11.2,
"auto_sec": "TIMEOUT",
"active_in_target": false
},
{
"shield_reduction": 1.0,
"broken_vuln": 0.0,
"manual_mult": 0.2,
"active_sec": 13.2,
"auto_sec": "TIMEOUT",
"active_in_target": false
},
{
"shield_reduction": 1.0,
"broken_vuln": 0.0,
"manual_mult": 0.15,
"active_sec": 14.8,
"auto_sec": "TIMEOUT",
"active_in_target": false
},
{
"shield_reduction": 1.0,
"broken_vuln": 0.0,
"manual_mult": 0.1,
"active_sec": 21.1,
"auto_sec": "TIMEOUT",
"active_in_target": true
},
{
"shield_reduction": 1.0,
"broken_vuln": 0.3,
"manual_mult": 1.0,
"active_sec": 3.0,
"auto_sec": 27.5,
"active_in_target": false
},
{
"shield_reduction": 1.0,
"broken_vuln": 0.3,
"manual_mult": 0.5,
"active_sec": 4.6,
"auto_sec": 27.5,
"active_in_target": false
},
{
"shield_reduction": 1.0,
"broken_vuln": 0.3,
"manual_mult": 0.3,
"active_sec": 7.2,
"auto_sec": 27.5,
"active_in_target": false
},
{
"shield_reduction": 1.0,
"broken_vuln": 0.3,
"manual_mult": 0.2,
"active_sec": 12.4,
"auto_sec": 27.5,
"active_in_target": false
},
{
"shield_reduction": 1.0,
"broken_vuln": 0.3,
"manual_mult": 0.15,
"active_sec": 13.5,
"auto_sec": 27.5,
"active_in_target": false
},
{
"shield_reduction": 1.0,
"broken_vuln": 0.3,
"manual_mult": 0.1,
"active_sec": 15.2,
"auto_sec": 27.5,
"active_in_target": false
},
{
"shield_reduction": 0.7,
"broken_vuln": 0.0,
"manual_mult": 1.0,
"active_sec": 3.2,
"auto_sec": "TIMEOUT",
"active_in_target": false
},
{
"shield_reduction": 0.7,
"broken_vuln": 0.0,
"manual_mult": 0.5,
"active_sec": 5.9,
"auto_sec": "TIMEOUT",
"active_in_target": false
},
{
"shield_reduction": 0.7,
"broken_vuln": 0.0,
"manual_mult": 0.3,
"active_sec": 12.9,
"auto_sec": "TIMEOUT",
"active_in_target": false
},
{
"shield_reduction": 0.7,
"broken_vuln": 0.0,
"manual_mult": 0.2,
"active_sec": 15.0,
"auto_sec": "TIMEOUT",
"active_in_target": false
},
{
"shield_reduction": 0.7,
"broken_vuln": 0.0,
"manual_mult": 0.15,
"active_sec": 22.4,
"auto_sec": "TIMEOUT",
"active_in_target": true
},
{
"shield_reduction": 0.7,
"broken_vuln": 0.0,
"manual_mult": 0.1,
"active_sec": 25.2,
"auto_sec": "TIMEOUT",
"active_in_target": true
},
{
"shield_reduction": 0.7,
"broken_vuln": 0.3,
"manual_mult": 1.0,
"active_sec": 3.0,
"auto_sec": "TIMEOUT",
"active_in_target": false
},
{
"shield_reduction": 0.7,
"broken_vuln": 0.3,
"manual_mult": 0.5,
"active_sec": 5.0,
"auto_sec": "TIMEOUT",
"active_in_target": false
},
{
"shield_reduction": 0.7,
"broken_vuln": 0.3,
"manual_mult": 0.3,
"active_sec": 7.8,
"auto_sec": "TIMEOUT",
"active_in_target": false
},
{
"shield_reduction": 0.7,
"broken_vuln": 0.3,
"manual_mult": 0.2,
"active_sec": 13.9,
"auto_sec": "TIMEOUT",
"active_in_target": false
},
{
"shield_reduction": 0.7,
"broken_vuln": 0.3,
"manual_mult": 0.15,
"active_sec": 15.5,
"auto_sec": "TIMEOUT",
"active_in_target": false
},
{
"shield_reduction": 0.7,
"broken_vuln": 0.3,
"manual_mult": 0.1,
"active_sec": 23.6,
"auto_sec": "TIMEOUT",
"active_in_target": true
},
{
"shield_reduction": 0.5,
"broken_vuln": 0.0,
"manual_mult": 1.0,
"active_sec": 3.6,
"auto_sec": "TIMEOUT",
"active_in_target": false
},
{
"shield_reduction": 0.5,
"broken_vuln": 0.0,
"manual_mult": 0.5,
"active_sec": 6.4,
"auto_sec": "TIMEOUT",
"active_in_target": false
},
{
"shield_reduction": 0.5,
"broken_vuln": 0.0,
"manual_mult": 0.3,
"active_sec": 14.5,
"auto_sec": "TIMEOUT",
"active_in_target": false
},
{
"shield_reduction": 0.5,
"broken_vuln": 0.0,
"manual_mult": 0.2,
"active_sec": 24.2,
"auto_sec": "TIMEOUT",
"active_in_target": true
},
{
"shield_reduction": 0.5,
"broken_vuln": 0.0,
"manual_mult": 0.15,
"active_sec": 27.2,
"auto_sec": "TIMEOUT",
"active_in_target": true
},
{
"shield_reduction": 0.5,
"broken_vuln": 0.0,
"manual_mult": 0.1,
"active_sec": "TIMEOUT",
"auto_sec": "TIMEOUT",
"active_in_target": false
},
{
"shield_reduction": 0.5,
"broken_vuln": 0.3,
"manual_mult": 1.0,
"active_sec": 3.0,
"auto_sec": "TIMEOUT",
"active_in_target": false
},
{
"shield_reduction": 0.5,
"broken_vuln": 0.3,
"manual_mult": 0.5,
"active_sec": 5.5,
"auto_sec": "TIMEOUT",
"active_in_target": false
},
{
"shield_reduction": 0.5,
"broken_vuln": 0.3,
"manual_mult": 0.3,
"active_sec": 13.6,
"auto_sec": "TIMEOUT",
"active_in_target": false
},
{
"shield_reduction": 0.5,
"broken_vuln": 0.3,
"manual_mult": 0.2,
"active_sec": 23.0,
"auto_sec": "TIMEOUT",
"active_in_target": true
},
{
"shield_reduction": 0.5,
"broken_vuln": 0.3,
"manual_mult": 0.15,
"active_sec": 25.7,
"auto_sec": "TIMEOUT",
"active_in_target": true
},
{
"shield_reduction": 0.5,
"broken_vuln": 0.3,
"manual_mult": 0.1,
"active_sec": 29.5,
"auto_sec": "TIMEOUT",
"active_in_target": true
}
],
"fits_both_styles": []
}