scripts: align verify-world & analyzer with Series X 1440p 30 fps parity and #149/#150 gates #152

Manually merged
github merged 2 commits from gh-pr/152/head into gh-pr/152/base 2026-12-01 20:13:40 +00:00
Owner

@⁠Androtim on GitHub · 2026-11-29 18:16 UTC · original
Androtim:feat/iter149-verify-world-series-x-1440p-parity → main · +222 −7 · 3 files · 2 commits · merged 2026-11-29 23:09 UTC

Summary

Aligns scripts/verify-world.ps1 and scripts/analyze-world-run.py with the victory play Series X 1440p open-world target (>= 30 fps) and adds automated gates covering active regression blockers (#149 and #150).

Addresses #151.

Changes

  • scripts/verify-world.ps1:
    • Added -PlayParity, -Res (1440, 1080to1440, 4k), -FrameGen, and -LowVram switches mirroring apps/victory/src/play.rs defaults (defaulting -PlayParity to series-x + 1440 + VICTORY_LEVELS_ON_DEMAND=0 + 8 GiB headroom caps).
    • Updated $envVars baseline with current SETTINGS defaults (VICTORY_READBACK_POOL=1, VICTORY_READBACK_POOL_MB=64, VICTORY_NAN_SCRUB=1, VICTORY_SLOT_EVICT=1, VICTORY_ALLOCATOR_TRIM=1, VICTORY_BUDGET_PACK=1) and preserved VICTORY_HOME.
  • scripts/analyze-world-run.py:
    • Added 30 fps (33.33 ms) parity progress reporting (target_fps, fps_pct_of_30, ms_over_33_3).
    • Added parsing for no room for new ones so_far=... (no_room_reuploads_max), texture blocks pool stats, decoration bakes' sources mismatch counters, and unsettled stand-in flush counts.
    • Added backward-compatible A/B non-regression gates for no-room starvation / room_false_ratio and decoration bake source mismatches (other_bytes, showed_another_view, failed).
  • scripts/test_analyze_world_run.py:
    • Added unit tests covering 30 fps parity metrics, no-room/pool/bake telemetry extraction, and A/B regression gating.

Verification

  • python -B -m unittest scripts/test_analyze_world_run.py: 2 passed
  • PowerShell Language.Parser::ParseFile syntax validation on scripts/verify-world.ps1: 0 parse errors
  • cargo +1.98.1-x86_64-pc-windows-gnu xtask policy: passed
**@⁠Androtim** on GitHub · 2026-11-29 18:16 UTC · [original](https://github.com/Androtim/MiniVI/pull/152) `Androtim:feat/iter149-verify-world-series-x-1440p-parity` → `main` · +222 −7 · 3 files · 2 commits · merged 2026-11-29 23:09 UTC ## Summary Aligns `scripts/verify-world.ps1` and `scripts/analyze-world-run.py` with the `victory play` Series X 1440p open-world target (>= 30 fps) and adds automated gates covering active regression blockers (#149 and #150). Addresses #151. ## Changes - **`scripts/verify-world.ps1`**: - Added `-PlayParity`, `-Res` (`1440`, `1080to1440`, `4k`), `-FrameGen`, and `-LowVram` switches mirroring `apps/victory/src/play.rs` defaults (defaulting `-PlayParity` to `series-x` + `1440` + `VICTORY_LEVELS_ON_DEMAND=0` + 8 GiB headroom caps). - Updated `$envVars` baseline with current `SETTINGS` defaults (`VICTORY_READBACK_POOL=1`, `VICTORY_READBACK_POOL_MB=64`, `VICTORY_NAN_SCRUB=1`, `VICTORY_SLOT_EVICT=1`, `VICTORY_ALLOCATOR_TRIM=1`, `VICTORY_BUDGET_PACK=1`) and preserved `VICTORY_HOME`. - **`scripts/analyze-world-run.py`**: - Added 30 fps (33.33 ms) parity progress reporting (`target_fps`, `fps_pct_of_30`, `ms_over_33_3`). - Added parsing for `no room for new ones so_far=...` (`no_room_reuploads_max`), `texture blocks` pool stats, `decoration bakes' sources` mismatch counters, and unsettled stand-in flush counts. - Added backward-compatible A/B non-regression gates for no-room starvation / `room_false_ratio` and decoration bake source mismatches (`other_bytes`, `showed_another_view`, `failed`). - **`scripts/test_analyze_world_run.py`**: - Added unit tests covering 30 fps parity metrics, no-room/pool/bake telemetry extraction, and A/B regression gating. ## Verification - `python -B -m unittest scripts/test_analyze_world_run.py`: 2 passed - PowerShell `Language.Parser::ParseFile` syntax validation on `scripts/verify-world.ps1`: 0 parse errors - `cargo +1.98.1-x86_64-pc-windows-gnu xtask policy`: passed
github-bot locked as GitHub sync and limited conversation to collaborators 2026-12-01 20:13:38 +00:00
github manually merged commit b366d056e0 into gh-pr/152/base 2026-12-01 20:13:40 +00:00
Author
Owner

@⁠Androtim on GitHub · 2026-11-29 19:03 UTC · original · edited 2026-11-29 22:04 UTC

Automated triage for the maintainers (not an approval).

Verdict: merge-candidate · CI (check): passing

Review Summary

Clean tooling and test update aligning the in-world verification harness (scripts/verify-world.ps1) and log analyzer (scripts/analyze-world-run.py, scripts/test_analyze_world_run.py) with apps/victory/src/play.rs defaults and 30 fps Series X 1440p parity tracking. CI is passing and no runtime/shader/launcher code is modified.

Verified Details

  • scripts/verify-world.ps1:
    • The 6 added $envVars entries (VICTORY_READBACK_POOL, VICTORY_READBACK_POOL_MB, VICTORY_NAN_SCRUB, VICTORY_SLOT_EVICT, VICTORY_ALLOCATOR_TRIM, VICTORY_BUDGET_PACK) match SETTINGS in apps/victory/src/play.rs.
    • -PlayParity, -Res, -FrameGen, and -LowVram switches compose cleanly with $ExtraEnv overrides and preserve VICTORY_HOME in $keep.
  • scripts/analyze-world-run.py:
    • Adds NO_ROOM_RE, TEXTURE_BLOCKS_RE, BAKE_SOURCES_RE, and BAKE_FLUSH_RE, plus 30 fps parity fields (target_fps, fps_pct_of_30, ms_over_33_3) with safe zero defaults when no world windows are present.
    • New A/B non-regression gates (A/B No-room starvation non-regression and A/B Decoration bake sources non-regression) are properly guarded for backward compatibility with older baseline JSON files, and format_markdown uses .get(...) defaults.
  • scripts/test_analyze_world_run.py:
    • Adds unit tests (test_parses_30fps_parity_no_room_pool_and_bakes, test_ab_no_room_and_bake_regression_gates) covering the new metrics and regression gates, and fixes the log format in test_skips_preworld_pngs_when_world_never_reached.

Minor Non-Blocking Notes

  • In scripts/verify-world.ps1, -Res is printed in the header unconditionally but only sets VICTORY_NATIVE_1440P/VICTORY_RENDER_1080P when -PlayParity is also passed.
  • In scripts/analyze-world-run.py, pool_blocks_raw stores (entry.ts, {...}) though the timestamp element is unused.

No blocking issues found; this looks ready as a merge candidate (subject to maintainer approval).


Generated with Antigravity CLI (agy).

**@⁠Androtim** on GitHub · 2026-11-29 19:03 UTC · [original](https://github.com/Androtim/MiniVI/pull/152#issuecomment-7260967408) · edited 2026-11-29 22:04 UTC <!-- minivi-triage v1 head=b366d056e0b10c8911210b878737ca77b259ccd8 verdict=merge-candidate ci=passing at=2026-11-29T22:04:40Z --> Automated triage for the maintainers (not an approval). **Verdict:** `merge-candidate` · **CI (`check`):** `passing` ### Review Summary Clean tooling and test update aligning the in-world verification harness (`scripts/verify-world.ps1`) and log analyzer (`scripts/analyze-world-run.py`, `scripts/test_analyze_world_run.py`) with `apps/victory/src/play.rs` defaults and 30 fps Series X 1440p parity tracking. CI is passing and no runtime/shader/launcher code is modified. ### Verified Details - **`scripts/verify-world.ps1`**: - The 6 added `$envVars` entries (`VICTORY_READBACK_POOL`, `VICTORY_READBACK_POOL_MB`, `VICTORY_NAN_SCRUB`, `VICTORY_SLOT_EVICT`, `VICTORY_ALLOCATOR_TRIM`, `VICTORY_BUDGET_PACK`) match `SETTINGS` in `apps/victory/src/play.rs`. - `-PlayParity`, `-Res`, `-FrameGen`, and `-LowVram` switches compose cleanly with `$ExtraEnv` overrides and preserve `VICTORY_HOME` in `$keep`. - **`scripts/analyze-world-run.py`**: - Adds `NO_ROOM_RE`, `TEXTURE_BLOCKS_RE`, `BAKE_SOURCES_RE`, and `BAKE_FLUSH_RE`, plus 30 fps parity fields (`target_fps`, `fps_pct_of_30`, `ms_over_33_3`) with safe zero defaults when no world windows are present. - New A/B non-regression gates (`A/B No-room starvation non-regression` and `A/B Decoration bake sources non-regression`) are properly guarded for backward compatibility with older baseline JSON files, and `format_markdown` uses `.get(...)` defaults. - **`scripts/test_analyze_world_run.py`**: - Adds unit tests (`test_parses_30fps_parity_no_room_pool_and_bakes`, `test_ab_no_room_and_bake_regression_gates`) covering the new metrics and regression gates, and fixes the log format in `test_skips_preworld_pngs_when_world_never_reached`. ### Minor Non-Blocking Notes - In `scripts/verify-world.ps1`, `-Res` is printed in the header unconditionally but only sets `VICTORY_NATIVE_1440P`/`VICTORY_RENDER_1080P` when `-PlayParity` is also passed. - In `scripts/analyze-world-run.py`, `pool_blocks_raw` stores `(entry.ts, {...})` though the timestamp element is unused. No blocking issues found; this looks ready as a merge candidate (subject to maintainer approval). --- _Generated with Antigravity CLI (`agy`)._
Author
Owner

@⁠Androtim on GitHub · 2026-11-29 19:35 UTC · original

Addressed all minivi-triage review feedback after rebasing onto origin/main (edaada72):

  1. Restored all 6 existing unit tests in scripts/test_analyze_world_run.py alongside the 2 new parity/regression tests (8/8 unit tests running and passing).
  2. Guarded A/B No-room starvation non-regression in scripts/analyze-world-run.py on if details: so an older baseline without no_room_reuploads_max paired with vram["samples"] == 0 cannot emit a vacuous PASS.
  3. Decoupled -FrameGen from -PlayParity in scripts/verify-world.ps1 so passing -FrameGen alone sets VICTORY_FRAMEGEN / VICTORY_FRAMEGEN_X and the 8 GiB FG headroom vars as advertised in the banner.

Local Verification

  • python -B -m unittest scripts/test_analyze_world_run.py: Ran 8 tests -> OK
  • PowerShell Parser::ParseFile("scripts/verify-world.ps1"): 0 parse errors
  • cargo +1.98.1-x86_64-pc-windows-gnu run --locked -p xtask -- policy: 305 files ok
**@⁠Androtim** on GitHub · 2026-11-29 19:35 UTC · [original](https://github.com/Androtim/MiniVI/pull/152#issuecomment-7261395226) Addressed all `minivi-triage` review feedback after rebasing onto `origin/main` (`edaada72`): 1. **Restored all 6 existing unit tests in `scripts/test_analyze_world_run.py`** alongside the 2 new parity/regression tests (8/8 unit tests running and passing). 2. **Guarded `A/B No-room starvation non-regression` in `scripts/analyze-world-run.py`** on `if details:` so an older baseline without `no_room_reuploads_max` paired with `vram["samples"] == 0` cannot emit a vacuous PASS. 3. **Decoupled `-FrameGen` from `-PlayParity` in `scripts/verify-world.ps1`** so passing `-FrameGen` alone sets `VICTORY_FRAMEGEN` / `VICTORY_FRAMEGEN_X` and the 8 GiB FG headroom vars as advertised in the banner. ### Local Verification - `python -B -m unittest scripts/test_analyze_world_run.py`: `Ran 8 tests` -> `OK` - PowerShell `Parser::ParseFile("scripts/verify-world.ps1")`: 0 parse errors - `cargo +1.98.1-x86_64-pc-windows-gnu run --locked -p xtask -- policy`: `305 files ok`
This discussion has been locked. Commenting is limited to contributors.
No reviewers
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
github/Androtim--MiniVI!152
No description provided.