fix(scripts): align verify-world PlayParity defaults and A/B spike gates (#151) #307
No reviewers
Labels
No labels
accessibility
area: build
area: formats
area: gpu
area: launcher
area: loader
area: runtime
area: shader
bug
documentation
duplicate
enhancement
good first issue
gpu: amd
gpu: intel
gpu: nvidia
help wanted
host: wine
invalid
out of scope
question
run report
security: hold
triage: confirmed
triage: has patch
triage: merge candidate
triage: needs gpu test
triage: needs info
triage: needs rebase
triage: needs work
triage: proposed close
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/Androtim--MiniVI!307
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-307"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@RUIZ-Enrique-25002136 on GitHub · 2026-12-02 08:33 UTC · original
RUIZ-Enrique-25002136:fix/verify-world-play-parity→main· +91 −16 · 3 files · 1 commits · merged 2026-12-02 08:49 UTCSummary
Closes the remaining parity and A/B regression gate gaps tracked in #151 between
scripts/verify-world.ps1,scripts/analyze-world-run.py, and the launcher defaults inapps/victory/src/play.rs.Fixes #151
AI-Ready Context & Change Map
For downstream coding/review agents, here is the exact scope, symbol mapping, and invariant set of this PR:
scripts/verify-world.ps1—apps/victory/src/play.rsEnvironment Parity$envVarsblock (scripts/verify-world.ps1:115-118):VICTORY_AMBIENT_AIRfrom'1.5'to'1'(matchesapps/victory/src/play.rs:102).VICTORY_BVH_MISS = '1'(matchesapps/victory/src/play.rs:104; automatically ignored by the shader translator whenVICTORY_BVH_BUILDER=1).LowVram/PlayParityblock (scripts/verify-world.ps1:167-193):$frameGenActive = $FrameGen -and $DlssMode -ne 'off' -and (Test-Path $slDir)so downstream checks know whether Streamline Frame Generation is actually active rather than merely requested.if ($LowVram -or $PlayParity):VICTORY_TEXTURE_CATCHUP = '0'andVICTORY_TEXTURE_STAGE_MS = '16'from$LowVramsoif ($Console -eq 'series-x')applies them under-PlayParityalone as well (matchesapps/victory/src/play.rs:435-440).VICTORY_DSTORAGE_STAGING_MB = '64'(matchesapps/victory/src/play.rs:444).VICTORY_SLOT_EVICT_PERCENT(84if$frameGenActive,85if$is4k, else86) andVICTORY_SLOT_EVICT_LOW_PERCENT(78if$frameGenActiveor$is4k, else80) to matchapps/victory/src/play.rs:427-434.VICTORY_TEXTURE_ROOM_PERCENT = '88'whenever$is4k -or -not $frameGenActive(preserving'86'when$frameGenActiveis active at non-4K, matchingapps/victory/src/play.rs:388-396, 424-426).VICTORY_CARD_BUFFERS_MB,VICTORY_CARD_WINDOWS_MB,VICTORY_CARD_ROOM_FOR_TARGETS_MB, and the-RayTracingoverrides (VICTORY_RT_MEMORY_MB = '768',VICTORY_BVH_FAULTS_ALL = '8192').scripts/analyze-world-run.py— A/B Spike & Unsettled Flush GatesA/B Pipeline drops non-regression(scripts/analyze-world-run.py:810-824):perf["median_dropped_no_pipeline"] <= b_drop + 10.0)."max_dropped_no_pipeline"is present inbaseline["performance"]:max_limit = max(int(b_drop_max * 1.25), b_drop_max + 20), requiringperf["max_dropped_no_pipeline"] <= max_limit. Falls back to the median-only check for older baseline JSONs that lackmax_dropped_no_pipeline.A/B Decoration bake sources non-regression(scripts/analyze-world-run.py:841-876):flush_unsettled_events(settled=falseinflushed deferred texture stand-ins before decoration bake) to the gate (bakes_latest["flush_unsettled_events"] <= b_unsettled) whenever"flush_unsettled_events"exists inbaseline["bakes"].elif has_unsettled_checkbranch so regressions inflush_unsettled_eventsare still caught even whenbakes == 0in either run (decoration bakes' sourcesnot yet emitted)."flush_unsettled_events"is absent from older baseline JSONs.scripts/test_analyze_world_run.py— Unit Test CoverageAnalyzeWorldRunTests.test_ab_pipeline_drop_spike_and_unsettled_bake_flush_gatescovering:max_dropped_no_pipelinespike (10 -> 50) even whenmedian_dropped_no_pipelineremains10.0.settled=falseflush event (flush_unsettled_events) both with and withoutdecoration bakes' sourceslines.Rig Specs Tested On
verify-world.ps1live execution and Windows CI checks deferred to GitHub Actions (windows-latest) / maintainer runRun Settings & Profile
origin/main(c7d3102)VICTORY_*Overrides: N/AMeasurements & Verification
cargo clippy --workspace --all-targets --locked -- -D warnings(requiresx86_64-pc-windows-msvc; verified on GitHub Actionswindows-latestCI)cargo clippy --workspace --all-targets --all-features --locked -- -D warnings(requiresx86_64-pc-windows-msvc; verified on GitHub Actionswindows-latestCI)cargo test --locked -p xtask-> 8 passed, 0 failedcargo xtask policy->asset policy: 321 files okpython3 -B -m unittest scripts/test_analyze_world_run.py -v-> 9 passed, 0 failed@Androtim on GitHub · 2026-12-02 08:49 UTC · original
Autonomous audit PASSED on
82a31fd7: alignsscripts/verify-world.ps1withapps/victory/src/play.rsdefaults and adds peakmax_dropped_no_pipeline+flush_unsettled_eventsA/B regression gates with unit tests (9/9pass,xtask policyclean, fixes#151). Squash-merging intomain.