Files
BFM-decomp/docs/progress.fleet.md
T
Drew T e6cec30736 feat(phase-30 S6f): calibrate the B-shaped vein — 3/3 one-shot by hand, +65 members (R22 140/140)
- func_8017E934 (ov_SC05_001, 29 ins x65): hand-drafted off the .s, match_one MATCH first try,
  whole-binary gate byte-identical, propagated 64 members / 0 failed across 63 overlays.
- That makes the B-shaped lane 3-for-3 one-shot (func_8017CDD8 17ins, func_8017CE7C 16ins,
  func_8017E934 29ins) for ~0 agent tokens = 330 member-matches from 62 instructions of C.
- THE POOL (derived from the regenerated map): 36 families / 28,829 templatable ins that are
  kind=modal (NO member matched anywhere, so no sweep could ever reach them) with >=20 members
  and <=60 ins, non-jr. NOT ONE exemplar is in ov_SC01_077 — they are invisible to exactly the
  two habits this phase already corrected (the ov077-source default and --band substantial).
- The calibrated recipe, now the wave prompt: read the .s as ground truth (a cached Ghidra-C seed
  was measured this session decompiling a DIFFERENT body) -> conform every callee decl to what the
  TU already says (the PLUMBING class: standalone-MATCH C is gate-REJECTED as `conflicting types`
  when it redeclares a callee the TU defines as (void)) -> match_one -> whole-binary gate.
- R22 clean-fleet 140/140; fleet 94.96% fn-count / 91.9% instr / 84.7% distinct.
2026-08-01 18:53:53 -06:00

9.1 KiB
Raw Blame History

BFM FLEET matching progress (generated by tools/progress.py --fleet — authoritative)

140 binaries: main + resident + 138 location overlays. DETERMINISTIC,

source-derived (committed src/*.c + config/dedup.us.yaml). Live byte gate: make check-all;

cross-binary collapsible-byte leverage: docs/duplicates.cross.md.

THREE progress metrics (all matter — see the labels):

FLEET fn-count byte-ident: 335946 / 353721 = 94.97% (REAL+LINKED+empties; FUNCTION-count, ×134-inflated — one crack counts per overlay) FLEET instr-weighted : 12079185 / 13141652 = 91.9% (shipped .text across main + resident + 138 overlays; the decomp.dev-DISPLAY number) FLEET distinct-code(uniq): 4771313 / 5634875 = 84.7% (74874/87459 unique fns; the DISTINCT-RE number) MAIN game-code weighted : 436 / 60201 = 0.7% (INCLUDED in the fleet numbers above since 2026-07-22 — roadmap §1 metrics contract; LINKED-excluding Ghidra sig dated 2026-06-14; caveat is R34: no independent second oracle for a PS-X EXE, NOT drift) (fleet EXCLUDING main, for continuity with pre-2026-07-22 readings: 12078749 / 13081451 = 92.3%)

FLEET REAL substantive : 334091 (of which dedup-shared 240422 via 1905 groups / 240496 instances) FLEET LINKED PsyQ objs : 959 FLEET NON_MATCHING : 7 (0 in any default build — G4) FLEET INCLUDE_ASM stubs : 17768 FLEET matchable : 353721

binary REAL shared LINKED byte-ident matchable byte-ident %
main 54 2 959 1055 2096 50.3%
resident 129 0 0 131 145 90.3%
ov_SC01_000 2376 1748 0 2376 2403 98.9%
ov_SC01_001 2383 1749 0 2385 2466 96.7%
ov_SC01_004 2376 1740 0 2377 2414 98.5%
ov_SC01_005 2406 1763 0 2406 2503 96.1%
ov_SC01_006 2406 1763 0 2406 2503 96.1%
ov_SC01_008 2376 1740 0 2378 2426 98.0%
ov_SC01_009 2400 1741 0 2401 2507 95.8%
ov_SC01_074 2382 1741 0 2384 2425 98.3%
ov_SC01_077 2536 1707 0 2538 2586 98.1%
ov_SC01_080 2412 1744 0 2412 2512 96.0%
ov_SC01_084 2433 1749 0 2438 2579 94.5%
ov_SC02_000 2496 1788 0 2496 2683 93.0%
ov_SC02_003 2496 1788 0 2496 2683 93.0%
ov_SC02_004 2377 1744 0 2377 2401 99.0%
ov_SC02_005 2514 1740 0 2524 2927 86.2%
ov_SC02_011 2539 1747 0 2550 2893 88.1%
ov_SC02_015 2385 1746 0 2385 2414 98.8%
ov_SC02_016 2436 1746 0 2439 2545 95.8%
ov_SC02_017 2501 1746 0 2509 2732 91.8%
ov_SC02_021 2389 1746 0 2389 2437 98.0%
ov_SC02_026 2418 1744 0 2424 2572 94.2%
ov_SC02_027 2458 1744 0 2467 2692 91.6%
ov_SC02_028 2460 1744 0 2470 2701 91.4%
ov_SC02_031 2438 1745 0 2443 2562 95.4%
ov_SC02_035 2407 1744 0 2410 2520 95.6%
ov_SC02_039 2379 1744 0 2379 2416 98.5%
ov_SC02_041 2434 1744 0 2437 2561 95.2%
ov_SC03_001 2537 1745 0 2554 2869 89.0%
ov_SC03_002 2444 1749 0 2459 2631 93.5%
ov_SC03_003 2386 1744 0 2387 2423 98.5%
ov_SC03_006 2489 1750 0 2498 2767 90.3%
ov_SC03_007 2443 1744 0 2447 2623 93.3%
ov_SC03_010 2397 1744 0 2397 2471 97.0%
ov_SC03_011 2403 1744 0 2409 2527 95.3%
ov_SC03_012 2376 1744 0 2377 2406 98.8%
ov_SC03_013 2403 1744 0 2403 2493 96.4%
ov_SC03_014 2499 1772 0 2499 2685 93.1%
ov_SC03_015 2501 1772 0 2501 2685 93.1%
ov_SC03_023 2387 1744 0 2388 2435 98.1%
ov_SC03_024 2459 1749 0 2466 2641 93.4%
ov_SC03_028 2425 1744 0 2429 2664 91.2%
ov_SC03_029 2453 1746 0 2463 2644 93.2%
ov_SC03_030 2404 1749 0 2406 2495 96.4%
ov_SC03_031 2407 1744 0 2410 2514 95.9%
ov_SC03_089 2436 1749 0 2443 2581 94.7%
ov_SC03_090 2440 1749 0 2448 2625 93.3%
ov_SC03_091 2442 1744 0 2450 2640 92.8%
ov_SC03_092 2455 1749 0 2467 2587 95.4%
ov_SC03_093 2429 1744 0 2433 2563 94.9%
ov_SC03_094 2418 1744 0 2424 2577 94.1%
ov_SC03_095 2399 1744 0 2402 2474 97.1%
ov_SC03_096 2398 1744 0 2401 2465 97.4%
ov_SC03_097 2451 1744 0 2458 2603 94.4%
ov_SC03_098 2420 1744 0 2423 2541 95.4%
ov_SC03_099 2408 1744 0 2411 2504 96.3%
ov_SC03_100 2426 1744 0 2430 2539 95.7%
ov_SC03_101 2430 1749 0 2434 2528 96.3%
ov_SC03_102 2401 1744 0 2404 2492 96.5%
ov_SC03_103 2414 1746 0 2417 2510 96.3%
ov_SC03_104 2443 1749 0 2450 2616 93.7%
ov_SC03_105 2419 1744 0 2426 2597 93.4%
ov_SC03_108 2382 1744 0 2382 2443 97.5%
ov_SC03_109 2385 1744 0 2387 2424 98.5%
ov_SC03_110 2401 1744 0 2401 2468 97.3%
ov_SC03_111 2413 1744 0 2416 2510 96.3%
ov_SC03_112 2406 1746 0 2408 2526 95.3%
ov_SC03_113 2394 1746 0 2397 2468 97.1%
ov_SC03_114 2375 1744 0 2377 2415 98.4%
ov_SC03_115 2406 1744 0 2408 2472 97.4%
ov_SC03_116 2383 1744 0 2386 2438 97.9%
ov_SC03_117 2428 1744 0 2434 2557 95.2%
ov_SC03_118 2478 1768 0 2479 2685 92.3%
ov_SC03_119 2474 1768 0 2475 2685 92.2%
ov_SC03_121 2391 1744 0 2394 2459 97.4%
ov_SC03_124 2484 1740 0 2504 2741 91.4%
ov_SC03_125 2429 1744 0 2441 2588 94.3%
ov_SC03_126 2387 1746 0 2387 2423 98.5%
ov_SC04_000 2426 1748 0 2435 2546 95.6%
ov_SC04_002 2456 1744 0 2460 2636 93.3%
ov_SC04_003 2408 1744 0 2412 2502 96.4%
ov_SC04_004 2432 1744 0 2434 2558 95.2%
ov_SC04_005 2443 1744 0 2449 2612 93.8%
ov_SC04_006 2398 1744 0 2400 2454 97.8%
ov_SC04_007 2436 1744 0 2440 2569 95.0%
ov_SC04_008 2385 1744 0 2385 2415 98.8%
ov_SC04_009 2399 1744 0 2402 2441 98.4%
ov_SC04_010 2387 1744 0 2388 2419 98.7%
ov_SC04_011 2471 1749 0 2477 2803 88.4%
ov_SC04_012 2383 1744 0 2384 2420 98.5%
ov_SC04_015 2453 1745 0 2464 2611 94.4%
ov_SC04_016 2384 1744 0 2386 2440 97.8%
ov_SC04_018 2540 1780 0 2540 2857 88.9%
ov_SC04_019 2540 1780 0 2540 2857 88.9%
ov_SC04_020 2417 1744 0 2429 2567 94.6%
ov_SC04_021 2387 1746 0 2387 2423 98.5%
ov_SC05_000 2387 1748 0 2390 2422 98.7%
ov_SC05_001 2431 1744 0 2436 2574 94.6%
ov_SC05_002 2399 1744 0 2402 2442 98.4%
ov_SC05_003 2394 1744 0 2395 2481 96.5%
ov_SC05_004 2387 1744 0 2389 2464 97.0%
ov_SC05_005 2404 1749 0 2405 2491 96.5%
ov_SC05_006 2394 1744 0 2394 2430 98.5%
ov_SC05_007 2404 1744 0 2409 2482 97.1%
ov_SC05_008 2412 1744 0 2414 2543 94.9%
ov_SC05_009 2392 1744 0 2396 2438 98.3%
ov_SC05_010 2425 1744 0 2429 2588 93.9%
ov_SC05_011 2383 1744 0 2384 2409 99.0%
ov_SC05_017 2522 1741 0 2533 2842 89.1%
ov_SC05_018 2448 1744 0 2461 2673 92.1%
ov_SC05_019 2387 1746 0 2387 2423 98.5%
ov_SC06_000 2485 1753 0 2488 2691 92.5%
ov_SC06_006 2408 1744 0 2409 2511 95.9%
ov_SC06_008 2434 1746 0 2440 2542 96.0%
ov_SC06_010 2414 1744 0 2419 2517 96.1%
ov_SC06_011 2398 1744 0 2402 2468 97.3%
ov_SC06_013 2389 1744 0 2390 2425 98.6%
ov_SC06_014 2398 1744 0 2400 2453 97.8%
ov_SC06_015 2393 1744 0 2393 2421 98.8%
ov_SC06_016 2414 1744 0 2416 2549 94.8%
ov_SC06_018 2440 1746 0 2447 2665 91.8%
ov_SC06_020 2409 1746 0 2410 2518 95.7%
ov_SC06_022 2438 1744 0 2446 2642 92.6%
ov_SC06_024 2449 1744 0 2455 2667 92.1%
ov_SC06_025 2422 1744 0 2427 2572 94.4%
ov_SC06_027 2377 1744 0 2378 2408 98.8%
ov_SC06_029 2444 1744 0 2456 2662 92.3%
ov_SC06_030 2390 1744 0 2390 2456 97.3%
ov_SC06_032 2433 1745 0 2440 2658 91.8%
ov_SC06_033 2433 1745 0 2440 2631 92.7%
ov_SC07_000 2405 1748 0 2407 2521 95.5%
ov_SC07_001 2389 1744 0 2391 2454 97.4%
ov_SC07_002 2421 1744 0 2425 2579 94.0%
ov_SC07_006 2281 1560 0 2361 2456 96.1%
ov_SC07_007 2308 1592 0 2392 2613 91.5%
ov_SC07_008 2372 1744 0 2372 2386 99.4%
ov_SC07_009 2380 1744 0 2382 2430 98.0%
ov_SC07_010 2292 1614 0 2375 2524 94.1%
ov_SC07_011 2307 1591 0 2387 2449 97.5%