[PR #1776] docs/mobile: record retail 1.0.2.1 recomp_census.py measurements (RECOMP-CENSUS-RETAIL-EXE) #1789

Open
opened 2026-11-26 21:18:57 +01:00 by 4ld0 · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ubiquitarianism/leonida/pull/1776
Author: @Ch1mpleo
Created: 11/25/2026
Status: 🔄 Open

Base: main ← Head: docs/recomp-census-retail-exe


📝 Commits (2)

  • 263db40 docs/mobile: record retail 1.0.2.1 recomp_census.py measurements (RECOMP-CENSUS-RETAIL-EXE)
  • 4e37fb8 docs/mobile: link PR #1121 explicitly and note op_90 early-stop undercounting

📊 Changes

2 files changed (+40 additions, -7 deletions)

View changed files

📝 docs/README.md (+1 -1)
📝 docs/mobile.md (+39 -6)

📄 Description

Claimed in the coordination issue as: RECOMP-CENSUS-RETAIL-EXE (https://github.com/ubiquitarianism/leonida/issues/1608#issuecomment-7161422476)

Depends on: #1121

What and why

Records the full ools/recomp_census.py measurement over the retail 1.0.2.1 executable (game_scarlett_master.exe, 120,181,760 bytes) in docs/mobile.md (completing Next step 1) and updates the summary row in docs/README.md. Aggregate counts only; no game bytes or code.

Running the full census on main (caa13dad) hits the truncated VEX-prefix IndexError fixed by #1121; applying #1121 in an out-of-tree scratch copy lets the census complete cleanly over all 299,257 .pdata functions (21,518,571 decoded instructions, 84.77% translated).

Tested

  • python -I tools/recomp_census.py (with #1121 applied in an out-of-tree scratch copy) on game_scarlett_master.exe (Windows 11 x64, Python 3.14.7): 299,257 .pdata functions, 21,518,571 instructions, 84.77% covered, 0 crashes.
  • python -I scripts/check_no_game_data.py docs/mobile.md docs/README.md (exit 0).
  • python -I tests/test_recomp_census.py (11/11 OK).

GPUs tested: n/a (CPU-only documentation & census measurement)

AI-assisted: yes

Checklist

  • Based on current main and merges cleanly (a conflicting pull request is labeled
    eeds rebase).
  • One topic; follow-up work goes in a new pull request.
  • No game data, keys or decryption (CONTRIBUTING.md), including in logs or reports quoted here.
  • A new translator rule is in the contract table of docs/design.md, with how it was confirmed. (n/a — documentation only)

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/ubiquitarianism/leonida/pull/1776 **Author:** [@Ch1mpleo](https://github.com/Ch1mpleo) **Created:** 11/25/2026 **Status:** 🔄 Open **Base:** `main` ← **Head:** `docs/recomp-census-retail-exe` --- ### 📝 Commits (2) - [`263db40`](https://github.com/ubiquitarianism/leonida/commit/263db400707ef4fd5177ba92899c09b25df38f9f) docs/mobile: record retail 1.0.2.1 recomp_census.py measurements (RECOMP-CENSUS-RETAIL-EXE) - [`4e37fb8`](https://github.com/ubiquitarianism/leonida/commit/4e37fb8191cd7222621a5a8c1c4b6a1520e904c7) docs/mobile: link PR #1121 explicitly and note op_90 early-stop undercounting ### 📊 Changes **2 files changed** (+40 additions, -7 deletions) <details> <summary>View changed files</summary> 📝 `docs/README.md` (+1 -1) 📝 `docs/mobile.md` (+39 -6) </details> ### 📄 Description Claimed in the coordination issue as: RECOMP-CENSUS-RETAIL-EXE (https://github.com/ubiquitarianism/leonida/issues/1608#issuecomment-7161422476) Depends on: #1121 ### What and why Records the full ools/recomp_census.py measurement over the retail 1.0.2.1 executable (game_scarlett_master.exe, 120,181,760 bytes) in docs/mobile.md (completing Next step 1) and updates the summary row in docs/README.md. Aggregate counts only; no game bytes or code. Running the full census on main (caa13dad) hits the truncated VEX-prefix IndexError fixed by #1121; applying #1121 in an out-of-tree scratch copy lets the census complete cleanly over all 299,257 .pdata functions (21,518,571 decoded instructions, 84.77% translated). ### Tested - python -I tools/recomp_census.py (with #1121 applied in an out-of-tree scratch copy) on game_scarlett_master.exe (Windows 11 x64, Python 3.14.7): 299,257 .pdata functions, 21,518,571 instructions, 84.77% covered, 0 crashes. - python -I scripts/check_no_game_data.py docs/mobile.md docs/README.md (exit 0). - python -I tests/test_recomp_census.py (11/11 OK). GPUs tested: n/a (CPU-only documentation & census measurement) AI-assisted: yes ### Checklist - [x] Based on current main and merges cleanly (a conflicting pull request is labeled eeds rebase). - [x] One topic; follow-up work goes in a new pull request. - [x] No game data, keys or decryption (CONTRIBUTING.md), including in logs or reports quoted here. - [ ] A new translator rule is in the contract table of docs/design.md, with how it was confirmed. (n/a — documentation only) --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
Sign in to join this conversation.
No labels
bug
pull-request
No milestone
No project
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
starred/leonida#1789
No description provided.