Fix stale 43U completion-guard unit count #477

Merged
coah80 merged 1 commits from agent/bittle/fix-unit-count into main 2026-10-01 21:10:57 +00:00
coah80 commented 2026-10-01 21:06:41 +00:00 (Migrated from github.com)

Requested follow-up to the review on #476. One-line correction: EXPECTED_TOTAL_UNITS 1026 → 1027, matching the current 43U split/report unit inventory.

Verified on main f4fd16f8:

  • python tools/test_workflow_guards.py: 7/7 pass with the generated 43U report present, no skipped tests. Unchanged main fails the synthetic complete-report test because of the old unit count.
  • git diff --check passes.
  • No changes to code/data/function totals, completion thresholds, DOL SHA-1, source code, or matching flags. An incomplete report is still rejected.

No PR will be merged by me.

Note

Fix stale EXPECTED_TOTAL_UNITS count from 1026 to 1027

Updates the validation constant in check_decomp_complete.py to expect 1027 total decompilation units instead of 1026. The completion check was failing or reporting incorrectly against the current unit total.

Macroscope summarized 2d311e3.

Requested follow-up to the review on #476. One-line correction: `EXPECTED_TOTAL_UNITS` 1026 → 1027, matching the current 43U split/report unit inventory. Verified on main `f4fd16f8`: - `python tools/test_workflow_guards.py`: **7/7 pass** with the generated 43U report present, no skipped tests. Unchanged main fails the synthetic complete-report test because of the old unit count. - `git diff --check` passes. - No changes to code/data/function totals, completion thresholds, DOL SHA-1, source code, or matching flags. An incomplete report is still rejected. No PR will be merged by me. <!-- Macroscope's pull request summary starts here --> <!-- Macroscope will only edit the content between these invisible markers, and the markers themselves will not be visible in the GitHub rendered markdown. --> <!-- If you delete either of the start / end markers from your PR's description, Macroscope will append its summary at the bottom of the description. --> > [!NOTE] > ### Fix stale `EXPECTED_TOTAL_UNITS` count from 1026 to 1027 > Updates the validation constant in [check_decomp_complete.py](https://github.com/coah80/wii-ipl/pull/477/files#diff-40b9b0f9d80df58a34763b21558dfb2fa7a17b758a948d7568b8b9715472a3f7) to expect 1027 total decompilation units instead of 1026. The completion check was failing or reporting incorrectly against the current unit total. > > <!-- Macroscope's review summary starts here --> > > <sup><a href="https://app.macroscope.com">Macroscope</a> summarized 2d311e3.</sup> > <!-- Macroscope's review summary ends here --> > <!-- Macroscope's pull request summary ends here -->
coah80 commented 2026-10-01 21:10:55 +00:00 (Migrated from github.com)

Reviewed and merged: matches the live 43U report (1027 units). Small, focused, exactly what was asked. Next time a constant like this drifts, mention in the body which report/commit you took the new value from.

Reviewed and merged: matches the live 43U report (1027 units). Small, focused, exactly what was asked. Next time a constant like this drifts, mention in the body which report/commit you took the new value from.
Sign in to join this conversation.