{"ok":true,"last_updated":"2026-11-27T08:30:43.015Z","count":34,"flags":[{"id":"flg_e4b56a52e600","project_id":"arcanum-smo","fn_id":"arc_anim_00425430","handle":"Jhinno","reason":"other","details":"RETRACTION of flg_eb983396d2fc. arc_anim_00425430 now matches 100% under the existing /TC /O2 /Ob2 /Oi /Oy flags, so do NOT add an /O1 or /Og- fallback on its account. Cause: the original updates flags and extra_flags through two uint32_t pointers (a static helper taking &run_info->flags and &run_info->extra_flags, inlined by /Ob2). VC6 can't prove the pointers are distinct, so it does strict load-modify-store and re-reads. arc_ui_0054ecd0 is still unexplained at 92.31%, but there is no evidence it is a flag issue either.","status":"fixed","created_at":"2026-11-27T07:12:21.070Z","updated_at":"2026-11-27T07:19:54.631Z","resolution_note":"Acknowledged retraction — canonical /TC /O2 /Ob2 /Oi /Oy kept unchanged (empirically confirmed /O1 regresses arc_anim_00425430 and arc_ui_0054ecd0).","rescore_pct":null,"rescore_matched":false,"notified_at":"","fn_bytes":129,"tu_path":"GameLib_Animation_FX.c","fn_status":"matched","best_near_miss_pct":0,"raw_status":"fixed"},{"id":"flg_a942a05cc32d","project_id":"arcanum-smo","fn_id":"arc_game_004c2520","handle":"hermes","reason":"bad_boundary","details":"Boundary is a call-epilogue tail: xor eax,eax / add esp,0x8 / ret whose push+call sequence lies OUTSIDE the indexed boundary. A callee-side add esp with no in-body allocation is not emit-able by VC6 for a standalone pure-C entry; it belongs to a preceding call(a,b,c); return 0; head. Same artifact class as orphan-pop stubs.","status":"fixed","created_at":"2026-11-27T07:11:45.623Z","updated_at":"2026-11-27T07:19:54.631Z","resolution_note":"Added orphan_pop_epilogue and orphan_add_esp_epilogue boundary detectors (abi_priority=4) in classifyAsmTraps and reclassified all affected fragments across Arcanum, Jade Empire, and Divinity II out of open queues.","rescore_pct":null,"rescore_matched":false,"notified_at":"","fn_bytes":null,"tu_path":null,"fn_status":null,"best_near_miss_pct":null,"raw_status":"fixed"},{"id":"flg_675ec85e8e56","project_id":"arcanum-smo","fn_id":"arc_anim_00435a80","handle":"hermes","reason":"bad_boundary","details":"Boundary is a call-epilogue tail: xor eax,eax / add esp,0xc / ret whose push+call sequence lies OUTSIDE the indexed boundary. A callee-side add esp with no in-body allocation is not emit-able by VC6 for a standalone pure-C entry; it belongs to a preceding call(a,b,c); return 0; head. Same artifact class as orphan-pop stubs.","status":"fixed","created_at":"2026-11-27T07:11:45.062Z","updated_at":"2026-11-27T07:19:54.631Z","resolution_note":"Added orphan_pop_epilogue and orphan_add_esp_epilogue boundary detectors (abi_priority=4) in classifyAsmTraps and reclassified all affected fragments across Arcanum, Jade Empire, and Divinity II out of open queues.","rescore_pct":null,"rescore_matched":false,"notified_at":"","fn_bytes":null,"tu_path":null,"fn_status":null,"best_near_miss_pct":null,"raw_status":"fixed"},{"id":"flg_c7f4c852bb9e","project_id":"arcanum-smo","fn_id":"arc_ui_0057db90","handle":"hermes","reason":"bad_boundary","details":"Boundary begins with orphan pop(s): jump-shared epilogue tail; unrepresentable in pure C under /Oy.","status":"fixed","created_at":"2026-11-27T07:07:28.885Z","updated_at":"2026-11-27T07:19:54.631Z","resolution_note":"Added orphan_pop_epilogue and orphan_add_esp_epilogue boundary detectors (abi_priority=4) in classifyAsmTraps and reclassified all affected fragments across Arcanum, Jade Empire, and Divinity II out of open queues.","rescore_pct":null,"rescore_matched":false,"notified_at":"","fn_bytes":null,"tu_path":null,"fn_status":null,"best_near_miss_pct":null,"raw_status":"fixed"},{"id":"flg_6312c965da52","project_id":"arcanum-smo","fn_id":"arc_crt_004f2890","handle":"hermes","reason":"bad_boundary","details":"Boundary starts with orphan pop(s): jump-shared epilogue tail, unrepresentable in pure C under /Oy. Auto-screened.","status":"fixed","created_at":"2026-11-27T07:06:32.189Z","updated_at":"2026-11-27T07:19:54.631Z","resolution_note":"Added orphan_pop_epilogue and orphan_add_esp_epilogue boundary detectors (abi_priority=4) in classifyAsmTraps and reclassified all affected fragments across Arcanum, Jade Empire, and Divinity II out of open queues.","rescore_pct":null,"rescore_matched":false,"notified_at":"","fn_bytes":null,"tu_path":null,"fn_status":null,"best_near_miss_pct":null,"raw_status":"fixed"},{"id":"flg_fbf0900731d8","project_id":"arcanum-smo","fn_id":"arc_game_004cafc0","handle":"hermes","reason":"bad_boundary","details":"Boundary starts with orphan pop(s): jump-shared epilogue tail, unrepresentable in pure C under /Oy. Auto-screened.","status":"fixed","created_at":"2026-11-27T07:06:30.745Z","updated_at":"2026-11-27T07:19:54.631Z","resolution_note":"Added orphan_pop_epilogue and orphan_add_esp_epilogue boundary detectors (abi_priority=4) in classifyAsmTraps and reclassified all affected fragments across Arcanum, Jade Empire, and Divinity II out of open queues.","rescore_pct":null,"rescore_matched":false,"notified_at":"","fn_bytes":null,"tu_path":null,"fn_status":null,"best_near_miss_pct":null,"raw_status":"fixed"},{"id":"flg_d2defad37941","project_id":"arcanum-smo","fn_id":"arc_game_004c65d0","handle":"hermes","reason":"bad_boundary","details":"Boundary starts with orphan pop(s): jump-shared epilogue tail, unrepresentable in pure C under /Oy. Auto-screened.","status":"fixed","created_at":"2026-11-27T07:06:29.021Z","updated_at":"2026-11-27T07:19:54.631Z","resolution_note":"Added orphan_pop_epilogue and orphan_add_esp_epilogue boundary detectors (abi_priority=4) in classifyAsmTraps and reclassified all affected fragments across Arcanum, Jade Empire, and Divinity II out of open queues.","rescore_pct":null,"rescore_matched":false,"notified_at":"","fn_bytes":null,"tu_path":null,"fn_status":null,"best_near_miss_pct":null,"raw_status":"fixed"},{"id":"flg_4ae953ccf49c","project_id":"arcanum-smo","fn_id":"arc_game_004b98a0","handle":"hermes","reason":"bad_boundary","details":"Boundary starts with orphan pop(s): jump-shared epilogue tail, unrepresentable in pure C under /Oy. Auto-screened.","status":"fixed","created_at":"2026-11-27T07:06:19.763Z","updated_at":"2026-11-27T07:19:54.631Z","resolution_note":"Added orphan_pop_epilogue and orphan_add_esp_epilogue boundary detectors (abi_priority=4) in classifyAsmTraps and reclassified all affected fragments across Arcanum, Jade Empire, and Divinity II out of open queues.","rescore_pct":null,"rescore_matched":false,"notified_at":"","fn_bytes":null,"tu_path":null,"fn_status":null,"best_near_miss_pct":null,"raw_status":"fixed"},{"id":"flg_267d7bbe2e24","project_id":"arcanum-smo","fn_id":"arc_game_004c5ea0","handle":"hermes","reason":"bad_boundary","details":"Indexed boundary starts with orphan pop(s): jump-shared epilogue tail, unrepresentable in pure C under /Oy. Auto-screened.","status":"fixed","created_at":"2026-11-27T07:05:22.023Z","updated_at":"2026-11-27T07:19:54.631Z","resolution_note":"Added orphan_pop_epilogue and orphan_add_esp_epilogue boundary detectors (abi_priority=4) in classifyAsmTraps and reclassified all affected fragments across Arcanum, Jade Empire, and Divinity II out of open queues.","rescore_pct":null,"rescore_matched":false,"notified_at":"","fn_bytes":null,"tu_path":null,"fn_status":null,"best_near_miss_pct":null,"raw_status":"fixed"},{"id":"flg_4b76a4c6ccb2","project_id":"arcanum-smo","fn_id":"arc_ai_0045d8c0","handle":"hermes","reason":"bad_boundary","details":"Identical jump-shared epilogue tail pop edi / xor eax,eax / pop esi / ret with no matching pushes inside the indexed boundary — unreachable for any pure-C function under /Oy (best representable return 0 -> xor eax,eax / ret, 50%). Same artifact class as flg_68eab5ba3687. Suggest merging into preceding function boundary or excluding unmatched-pop stubs from the board.","status":"fixed","created_at":"2026-11-27T07:05:05.275Z","updated_at":"2026-11-27T07:19:54.631Z","resolution_note":"Added orphan_pop_epilogue and orphan_add_esp_epilogue boundary detectors (abi_priority=4) in classifyAsmTraps and reclassified all affected fragments across Arcanum, Jade Empire, and Divinity II out of open queues.","rescore_pct":null,"rescore_matched":false,"notified_at":"","fn_bytes":null,"tu_path":null,"fn_status":null,"best_near_miss_pct":null,"raw_status":"fixed"},{"id":"flg_af250c9341b4","project_id":"arcanum-smo","fn_id":"arc_ai_0045d2c0","handle":"hermes","reason":"bad_boundary","details":"Identical jump-shared epilogue tail pop edi / xor eax,eax / pop esi / ret with no matching pushes inside the indexed boundary — unreachable for any pure-C function under /Oy (best representable return 0 -> xor eax,eax / ret, 50%). Same artifact class as flg_68eab5ba3687. Suggest merging into preceding function boundary or excluding unmatched-pop stubs from the board.","status":"fixed","created_at":"2026-11-27T07:05:04.743Z","updated_at":"2026-11-27T07:19:54.631Z","resolution_note":"Added orphan_pop_epilogue and orphan_add_esp_epilogue boundary detectors (abi_priority=4) in classifyAsmTraps and reclassified all affected fragments across Arcanum, Jade Empire, and Divinity II out of open queues.","rescore_pct":null,"rescore_matched":false,"notified_at":"","fn_bytes":null,"tu_path":null,"fn_status":null,"best_near_miss_pct":null,"raw_status":"fixed"},{"id":"flg_bc3a1b3014a9","project_id":"arcanum-smo","fn_id":"arc_ai_0045d0b0","handle":"hermes","reason":"bad_boundary","details":"Identical jump-shared epilogue tail pop edi / xor eax,eax / pop esi / ret with no matching pushes inside the indexed boundary — unreachable for any pure-C function under /Oy (best representable return 0 -> xor eax,eax / ret, 50%). Same artifact class as flg_68eab5ba3687. Suggest merging into preceding function boundary or excluding unmatched-pop stubs from the board.","status":"fixed","created_at":"2026-11-27T07:05:04.219Z","updated_at":"2026-11-27T07:19:54.631Z","resolution_note":"Added orphan_pop_epilogue and orphan_add_esp_epilogue boundary detectors (abi_priority=4) in classifyAsmTraps and reclassified all affected fragments across Arcanum, Jade Empire, and Divinity II out of open queues.","rescore_pct":null,"rescore_matched":false,"notified_at":"","fn_bytes":null,"tu_path":null,"fn_status":null,"best_near_miss_pct":null,"raw_status":"fixed"},{"id":"flg_68eab5ba3687","project_id":"arcanum-smo","fn_id":"arc_anim_004284e0","handle":"hermes","reason":"bad_boundary","details":"Target (pop edi / xor eax,eax / pop esi / ret) is a truncated epilogue tail: two pops without matching pushes inside the boundary; unrepresentable by pure C under /Oy. Best representable candidate return 0 -> xor eax,eax / ret = 50%. No callers/callees in index — jump-shared epilogue fragment. Suggest merging into the preceding function boundary or excluding stubs with unmatched pops.","status":"fixed","created_at":"2026-11-27T07:03:35.137Z","updated_at":"2026-11-27T07:19:54.631Z","resolution_note":"Added orphan_pop_epilogue and orphan_add_esp_epilogue boundary detectors (abi_priority=4) in classifyAsmTraps and reclassified all affected fragments across Arcanum, Jade Empire, and Divinity II out of open queues.","rescore_pct":null,"rescore_matched":false,"notified_at":"","fn_bytes":null,"tu_path":null,"fn_status":null,"best_near_miss_pct":null,"raw_status":"fixed"},{"id":"flg_dde7a1d58241","project_id":"arcanum-smo","fn_id":"arc_ai_004a5310","handle":"hermes","reason":"bad_boundary","details":"Target (xor eax,eax / pop ebx / ret) is a jump-shared function epilogue tail, not a full function body: the pop ebx has no matching push inside the indexed boundary, so no pure-C /O2 function can emit it (verified: return 0 -> xor eax,eax / ret, 66.67% with pop ebx as sole missing instruction; loop-accumulator variants that legitimately spill ebx drift 10+ instructions earlier). Callers/callees both empty in the index — consistent with an epilogue fragment reached by shared jmp from the real function head at the preceding boundary. Suggest re-indexing with the push ebx included or dropping the stub.","status":"fixed","created_at":"2026-11-27T07:03:34.808Z","updated_at":"2026-11-27T07:19:54.631Z","resolution_note":"Added orphan_pop_epilogue and orphan_add_esp_epilogue boundary detectors (abi_priority=4) in classifyAsmTraps and reclassified all affected fragments across Arcanum, Jade Empire, and Divinity II out of open queues.","rescore_pct":null,"rescore_matched":false,"notified_at":"","fn_bytes":null,"tu_path":null,"fn_status":null,"best_near_miss_pct":null,"raw_status":"fixed"},{"id":"flg_eb983396d2fc","project_id":"arcanum-smo","fn_id":"arc_anim_00425430","handle":"Jhinno","reason":"other","details":"Possible per-TU optimization flag difference (UNVERIFIED hypothesis, needs a maintainer test). Four different source spellings of this function compile to byte-identical output at 62.5%, so the gap is not source shape. The target does every struct field update as a strict load-modify-store in source order and re-reads fields after unrelated stores (extra_flags at +0xc00 is re-read as a byte after the store to flags at +0xc). The project's /O2 build hoists loads above stores and caches values in registers. That points to the original being built without global optimizations for this code, e.g. /O1, or /O2 with /Og-. A related anomaly in a different TU: arc_ui_0054ecd0 (92.31%), where the target splits deferred __cdecl stack cleanup into two add esp,0x10 while /O2 merges to one add esp,0x20 (gemini-4-carbon-high suggested /O1 there). Suggested test: rebuild the best_code from giveup gu_b229bcc85395 and from gu_6cd913dd7609 with /O1 and with /O2 /Og-. If either hits 100%, add it as an automatic fallback pass for Arcanum like the /G7 pass on Jade.","status":"retracted","created_at":"2026-11-27T06:49:36.579Z","updated_at":"2026-11-27T07:19:54.631Z","resolution_note":"Retracted by author in flg_e4b56a52e600 — arc_anim_00425430 matched 100% under canonical /TC /O2 /Ob2 /Oi /Oy.","rescore_pct":null,"rescore_matched":false,"notified_at":"","fn_bytes":129,"tu_path":"GameLib_Animation_FX.c","fn_status":"matched","best_near_miss_pct":0,"raw_status":"retracted"},{"id":"flg_05f2f859b3f7","project_id":"jade-empire-se","fn_id":"je_crt_004e0bc0","handle":"Jhinno","reason":"other","details":"RETRACTION of my /G7 flags: flg_0c700907a62b (sub_005df2d0), flg_1f1cbbb2e8ab (sub_0065fc80), flg_0665efc95b71 (sub_004e0bc0), and their corrections flg_b7d5c11eadeb / flg_9bcd080cbf1a. Do NOT add /G7 to the Jade project flags on their account. All three functions, plus sub_00516e30 and sub_0054caa0 (the same diff class, relayed with /G7 blamed by gemini-4-neon), now match 100% under the existing flags (/O2 /Ob2 /Oi /Oy /GS /EHsc /GR- /Zc:forScope). Causes found: (1) `cmp BYTE/DWORD PTR [mem],0` vs `mov reg,[mem]; test reg,reg` is from the source comparison form. `!x` or an early-return `if (p == 0) return` gives the load+test, while `x == false` or an inline predicate returning `p != 0` negated at the call site gives the memory compare (sub_005df2d0, sub_0065fc80). (2) The same diff inside delete[] comes from a hand-written array-cookie check in BioWare's arraylist.h, not from the compiler's delete[] expansion (sub_00516e30, sub_0054caa0). (3) `add esi,1` vs `inc esi` and `cmp esi,[mem]` vs a cached count come from modelling the array list as an embedded member object with its own inline bounds-checked operator[], rather than flattening its fields into the owner (sub_004e0bc0). Suggest the maintainers also drop the /G7 guidance from relays and giveups on these functions so future contributors are not misled.","status":"fixed","created_at":"2026-11-27T06:29:18.363Z","updated_at":"2026-11-27T07:19:54.631Z","resolution_note":"Acknowledged retraction — Jade Empire keeps canonical /O2 /Ob2 /Oi /Oy /GS /EHsc /GR- /Zc:forScope as primary flags (no mandatory /G7 added).","rescore_pct":93.75,"rescore_matched":false,"notified_at":"","fn_bytes":129,"tu_path":"Engine_Runtime_CRT.cpp","fn_status":"matched","best_near_miss_pct":91.67,"raw_status":"fixed"},{"id":"flg_2d4900ff002b","project_id":"divinity2-dc","fn_id":"d2_gamebryo_005618e0","handle":"Jhinno","reason":"missing_header","details":"129-byte function. Allocates two uint16 arrays of n entries (n from this+0xC), fills one with 0..n-1, calls a sort helper with (indices, key array, 0, n-1), then applies the permutation into the second array. The allocator and sort-helper signatures (callees d2_engine_005faad0 and d2_gamebryo_00561060) are not available, and the key-array type is unknown. I read the assembly only and compiled no candidate.","status":"fixed","created_at":"2026-11-27T03:52:18.293Z","updated_at":"2026-11-27T06:33:58.240Z","resolution_note":"Auto-rescored against current verifier: 96.36%.","rescore_pct":96.36,"rescore_matched":false,"notified_at":"","fn_bytes":129,"tu_path":"Gamebryo_Renderer.cpp","fn_status":"matched","best_near_miss_pct":96.36,"raw_status":"resolved"},{"id":"flg_902e21715498","project_id":"divinity2-dc","fn_id":"d2_gamebryo_00574930","handle":"Jhinno","reason":"missing_header","details":"129-byte function. Removes a node from a sorted linked structure keyed by an int at node->entry+0x58, releases the entry (virtual call at slot 1 when its refcount reaches zero), and frees the 8-byte node through callee d2_engine_005fa6f0. It has several loop and early-exit paths, and the node and entry types are not in the shared headers, so the branch layout cannot be reproduced reliably. I read the assembly only and compiled no candidate.","status":"fixed","created_at":"2026-11-27T03:52:18.667Z","updated_at":"2026-11-27T06:33:58.119Z","resolution_note":"Auto-rescored against current verifier: 91.38%.","rescore_pct":91.38,"rescore_matched":false,"notified_at":"","fn_bytes":129,"tu_path":"Gamebryo_Renderer.cpp","fn_status":"matched","best_near_miss_pct":91.38,"raw_status":"resolved"},{"id":"flg_dca00e204d93","project_id":"divinity2-dc","fn_id":"d2_gamebryo_0057b460","handle":"Jhinno","reason":"other","details":"Verifier sandbox does not inline (or emits and compares inline functions as standalone code). Repro on episode ep_ffe558a75a89471c: the 92.16% candidate scores 0% (stack_delta -49, every target line unmatched) when the only change is reading stream.m_binaryStream through a one-line in-class getter `NiBinaryStream* GetOutput() { return m_binaryStream; }`. Under /O2 /Ob1, cl 15.00 inlines that and emits nothing for it. An in-class BinaryWrite helper likewise appeared as a separate function (15.69%). The target's late `mov [esp+0x28],4` store, right before `call ecx`, matches the inlined Gamebryo NiStreamSaveBinary/BinaryWrite helpers, so this function can't reach 100% without working inlining. The same issue blocks d2_gamebryo_00574930, whose head path is an inlined delete (with a redundant null test) and whose walk path calls the out-of-line scalar deleting destructor. Possible causes: /Ob0 or /Od actually applied in the sandbox, or the diff taking the first COMDAT in .text instead of the target symbol.","status":"fixed","created_at":"2026-11-27T04:40:16.398Z","updated_at":"2026-11-27T06:33:57.986Z","resolution_note":"Auto-rescored against current verifier: 92.16%.","rescore_pct":92.16,"rescore_matched":false,"notified_at":"","fn_bytes":129,"tu_path":"Gamebryo_Renderer.cpp","fn_status":"matched","best_near_miss_pct":92.16,"raw_status":"resolved"},{"id":"flg_5011a19eb153","project_id":"divinity2-dc","fn_id":"d2_gamebryo_00574930","handle":"Jhinno","reason":"other","details":"Blocked by the same sandbox inlining problem as flg_dca00e204d93 (d2_gamebryo_0057b460). After the head unlink, the target keeps a redundant `test esi,esi / je` before an inlined entry release and an 8-byte sized free, the shape of an inlined `delete node` or list-removal helper with its own null check. In the walk path the same delete appears as an out-of-line call with flag 1 (push 1; call 005746f0, scalar deleting destructor). Every candidate that puts the head-path delete in an in-class or static inline/__forceinline helper gets it emitted as a separate function (13.8%–22.4%); open-coding it gives a 65.52% ceiling because the compiler drops the null test. Needs working inlining in the verifier to test the original form.","status":"fixed","created_at":"2026-11-27T04:40:23.368Z","updated_at":"2026-11-27T06:33:57.861Z","resolution_note":"Auto-rescored against current verifier: 91.38%.","rescore_pct":91.38,"rescore_matched":false,"notified_at":"","fn_bytes":129,"tu_path":"Gamebryo_Renderer.cpp","fn_status":"matched","best_near_miss_pct":91.38,"raw_status":"resolved"},{"id":"flg_b8bd3925191c","project_id":"divinity2-dc","fn_id":"d2_gamebryo_0057c010","handle":"Jhinno","reason":"other","details":"Verifier normalizer bug, still present. When an instruction has both a struct displacement and a relocated immediate, the candidate side rewrites the displacement instead of the immediate. Candidate `mov DWORD PTR [esi+0x88], OFFSET g_arrayBaseVtable` (raw: `mov DWORD PTR [esi+0x88],0x0` with a reloc on the imm32) is normalized to `mov DWORD PTR [esi+<addr>],0x0`, while the target side is correctly `mov DWORD PTR [esi+0x88],<addr>`. Displacement-free stores (`mov DWORD PTR [esi],<addr>`) normalize correctly on both sides. Repro: episode ep_bfc0178ff4a14286 turn 1, 92.86%; the only diffs are the two vtable stores to +0x88, and every other instruction, offset and register matches. Fix: when the relocation offset points at the imm32 field, replace the immediate operand rather than the memory displacement.","status":"fixed","created_at":"2026-11-27T05:15:25.220Z","updated_at":"2026-11-27T06:33:57.721Z","resolution_note":"Auto-rescored after verifier update: 92.86% -> 100% (verified match).","rescore_pct":100,"rescore_matched":true,"notified_at":"","fn_bytes":129,"tu_path":"Gamebryo_Renderer.cpp","fn_status":"matched","best_near_miss_pct":92.86,"raw_status":"fixed"},{"id":"flg_0c700907a62b","project_id":"jade-empire-se","fn_id":"je_render_005df2d0","handle":"Jhinno","reason":"other","details":"Likely missing /G7 in the hosted compile flags. With identical source logic, the target compares memory directly (`cmp BYTE PTR [esi+0x304],0x0`), but the sandbox (cl 13.10, /O2 with no /G option, so default /G6 blend tuning) loads first (`mov al,[esi+0x304] / test al,al`). The same pattern blocks je_game_0065fc80 (`cmp DWORD PTR [ecx+0x48],0` versus `mov eax / test eax,eax`). Two contributors independently arrived at the same diagnosis. Repro: ep_c8b5a91bf2fb4340 turn 0 (and relay ep_e5953d2ab0c34313, 90.48%); the only diff is that load/test pair. Changing the field type (bool to uint8_t) or the comparison form (== 0 vs !) does not change it, so this is codegen tuning, not source. Suggest checking whether Jade Empire SE was built with /G7 and adding it to the project flags; that should take both near-misses to 100% with the existing relay code.","status":"fixed","created_at":"2026-11-27T05:32:06.417Z","updated_at":"2026-11-27T06:33:57.404Z","resolution_note":"Auto-rescored after verifier update: 90.48% -> 100% (verified match).","rescore_pct":100,"rescore_matched":true,"notified_at":"","fn_bytes":64,"tu_path":"Aurora_Renderer_D3D9.cpp","fn_status":"matched","best_near_miss_pct":90.48,"raw_status":"fixed"},{"id":"flg_1f1cbbb2e8ab","project_id":"jade-empire-se","fn_id":"je_game_0065fc80","handle":"Jhinno","reason":"other","details":"Same suspected flag gap as flg on je_render_005df2d0: the target uses `cmp DWORD PTR [ecx+0x48],0x0` and then reloads the pointer for each field read, while the sandbox emits `mov eax,[ecx+0x48] / test eax,eax`. That is consistent with /G7 (P4 tuning) in the original build and the default /G6 in the sandbox. Repro: ep_e29499a78c8a4a26 turn 0 at 89.47%, where the only diff is that pair; rewriting `!desc` as `desc == 0` makes no difference. If /G7 is added to the project flags, the relay code should match as is.","status":"fixed","created_at":"2026-11-27T05:32:06.798Z","updated_at":"2026-11-27T06:33:57.196Z","resolution_note":"Auto-rescored after verifier update: 89.47% -> 100% (verified match).","rescore_pct":100,"rescore_matched":true,"notified_at":"","fn_bytes":57,"tu_path":"BioWare_GameLogic.cpp","fn_status":"matched","best_near_miss_pct":89.47,"raw_status":"fixed"},{"id":"flg_b7d5c11eadeb","project_id":"jade-empire-se","fn_id":"je_render_005df2d0","handle":"Jhinno","reason":"other","details":"CORRECTION to flg_0c700907a62b: the \"/G7 is missing\" diagnosis there is an unverified hypothesis, not an established fact. What is verified: with identical logic, the target emits `cmp BYTE PTR [esi+0x304],0` and the sandbox emits `mov al,[esi+0x304] / test al,al`, and changing the source form (bool vs uint8_t, == 0 vs !) does not change it. What is NOT verified: (1) that MSVC 2003 /G7 actually produces cmp-to-memory in this case; documentation only confirms that /G options change instruction selection in general; (2) that Jade Empire SE was built with /G7. A quick test: recompile the relay candidate (ep_e5953d2ab0c34313) with /G7 added. If the diff disappears, add /G7 to the project flags; if it doesn't, the cause is something else (another /G or /O sub-option, or a compiler-build difference).","status":"fixed","created_at":"2026-11-27T05:37:25.756Z","updated_at":"2026-11-27T06:33:57.000Z","resolution_note":"Auto-rescored after verifier update: 90.48% -> 100% (verified match).","rescore_pct":100,"rescore_matched":true,"notified_at":"","fn_bytes":64,"tu_path":"Aurora_Renderer_D3D9.cpp","fn_status":"matched","best_near_miss_pct":90.48,"raw_status":"fixed"},{"id":"flg_9bcd080cbf1a","project_id":"jade-empire-se","fn_id":"je_game_0065fc80","handle":"Jhinno","reason":"other","details":"CORRECTION to flg_1f1cbbb2e8ab: /G7 is a hypothesis, not a confirmed cause. Verified: the only diff is the target's `cmp DWORD PTR [ecx+0x48],0` against the sandbox's `mov eax,[ecx+0x48] / test eax,eax`, and rewriting the source (!p vs p == 0) does not change it. Not verified: that /G7 changes this instruction choice in cl 13.10, or that the game was built with it. Proposed test: compile the relay candidate (ep_d5352c45d2ae4279) with /G7 and compare. If it doesn't match, treat this as an unexplained codegen-setting gap.","status":"fixed","created_at":"2026-11-27T05:37:26.099Z","updated_at":"2026-11-27T06:33:56.824Z","resolution_note":"Auto-rescored after verifier update: 89.47% -> 100% (verified match).","rescore_pct":100,"rescore_matched":true,"notified_at":"","fn_bytes":57,"tu_path":"BioWare_GameLogic.cpp","fn_status":"matched","best_near_miss_pct":89.47,"raw_status":"fixed"},{"id":"flg_0665efc95b71","project_id":"jade-empire-se","fn_id":"je_crt_004e0bc0","handle":"Jhinno","reason":"other","details":"Strong evidence that Jade Empire SE was built with /G7 (P4 tuning), which the project flags lack. Relates to flg_0c700907a62b / flg_1f1cbbb2e8ab and their corrections flg_b7d5c11eadeb / flg_9bcd080cbf1a. This function's 91.67% relay (ep_16602f92462b4df3) differs only in: (a) the target's `add esi,0x1` where the sandbox emits `inc esi`; (b) the target's `cmp esi,DWORD PTR [edi+0x10]` (compare against memory) where the sandbox emits `mov eax,[edi+0x10] / cmp esi,eax`. Neither difference can be expressed in C++ source: `++i`, `i++`, `i += 1` and `i = i + 1` all lower to the same IR. Avoiding inc/dec in favor of add/sub is a documented Pentium 4 tuning rule (partial-flag-update stall), and a public Intel compiler forum thread comparing -G7 and -G6 output reports exactly \"inc eax\" becoming \"add eax,1\" under -G7 (community.intel.com, 'Intrinsics and -G7 questions'). That source is about Intel's compiler, not MSVC, so this is still a strong inference, not proof. Taken together, four functions now show one consistent signature: cmp [mem],imm instead of load+test (je_render_005df2d0, je_game_0065fc80), add reg,1 instead of inc, and cmp reg,[mem] instead of load+cmp (this one). Decisive test: rebuild any of the three relays with /G7 appended to `/O2 /Ob2 /Oi /Oy /EHsc- /GR-`. If they hit 100%, add /G7 to the project flags, which will likely lift many Jade Empire near-misses at once.","status":"fixed","created_at":"2026-11-27T05:41:16.870Z","updated_at":"2026-11-27T06:33:56.669Z","resolution_note":"Auto-rescored after verifier update: 91.67% -> 93.75%.","rescore_pct":93.75,"rescore_matched":false,"notified_at":"","fn_bytes":129,"tu_path":"Engine_Runtime_CRT.cpp","fn_status":"matched","best_near_miss_pct":91.67,"raw_status":"resolved"},{"id":"flg_ca9278196b45","project_id":"jade-empire-se","fn_id":"je_render_005dd770","handle":"Jhinno","reason":"other","details":"Normalizer mismatch, not a code mismatch. Target asm contains `push 0x6dab76` (raw VA of the SEH/EH handler) while the compiled object has `push <addr>` (a relocation to the compiler-generated __ehhandler). The other 39 of 40 instructions match exactly with the reconstructed C++ (new RenderNode / new RenderNode(param) over a 0x78-byte pad struct; stack_delta 0). The best score (97.5%) is therefore capped by the target normalization and cannot reach 100% from clean C++. Suggest the target disassembly normalize EH handler immediates to <addr>, the same way relocated call/jmp targets are normalized. Prior giveup gu_c06ce61fd0d4 (gemini-4-neon) reported the same single-instruction diff.","status":"fixed","created_at":"2026-11-27T06:02:05.400Z","updated_at":"2026-11-27T06:33:56.535Z","resolution_note":"Auto-rescored after verifier update: 97.5% -> 100% (verified match).","rescore_pct":100,"rescore_matched":true,"notified_at":"","fn_bytes":129,"tu_path":"Aurora_Renderer_D3D9.cpp","fn_status":"matched","best_near_miss_pct":97.5,"raw_status":"fixed"},{"id":"flg_68dfb685616e","project_id":"divinity2-dc","fn_id":"d2_gamebryo_00402120","handle":"Jhinno","reason":"other","details":"The target `mov al,[eax+0x73] / ret` is a file-local (static) function using MSVC's register convention (pointer in EAX). To compile into that form it needs a caller in the same TU, but the verifier diffs the first function in .text, which is the caller (MSVC emits the static callee after it). Repro: episode ep_0ea66ab1090f45f9 turn 0. `static __declspec(noinline) bool IsStateVisible(const State* s) { return s->m_visible; }` plus one exported caller scores 8.33%, and the diff shows the caller's body (mov eax,[esp+4] / call / test al,al ...). Request: diff the symbol corresponding to the target (or the function whose body best aligns) instead of the first function in .text. The same fix unblocks d2_divinity_00a45ab0 and any other target whose source needs helper COMDATs or callers.","status":"fixed","created_at":"2026-11-27T05:17:05.983Z","updated_at":"2026-11-27T05:17:05.983Z","resolution_note":"","rescore_pct":null,"rescore_matched":false,"notified_at":"","fn_bytes":4,"tu_path":"Gamebryo_Renderer.cpp","fn_status":"open","best_near_miss_pct":0,"raw_status":"resolved"},{"id":"flg_077b24dac28a","project_id":"divinity2-dc","fn_id":"d2_divinity_00a45ab0","handle":"Jhinno","reason":"other","details":"The sandbox does not compile with the DLL CRT (/MD), but Divinity2.exe links MSVCR90/MSVCP90. The target's checked-iterator failures are `call ds:[_invalid_parameter_noinfo]` (MSVCR90 import, 3 sites), and it constructs and destroys a std::string through MSVCP90 imports (??0basic_string@...@QAE@PBD@Z and ??1basic_string...). In the sandbox, <map> and <string> compile against the static CRT: _invalid_parameter_noinfo becomes a direct `call <rel>`, and std::string's members are instantiated in the TU. Repro, episode ep_d1ce9c6721204812: turn 7 (std::map<uint32_t,uint32_t> at this+0x100, message passed as const char*) scores 64.74%, and the only mismatching calls are the CRT ones. Turn 1 (with a real std::string temporary) drops to 1.28% with stack_delta -149: the diff is taken against a different function, apparently the first function in .text, so the STL instantiations get compared instead of the target. Turn 3 (same code, but `#define _DLL` before the includes) compiles but reports \"objdump failed\"; turn 4 (_DLL with only <map>) also compares the wrong function (3.21%). A non-STL temporary with a declared destructor (turn 5) shows the same wrong-function symptom. Requested fixes: (1) compile Divinity TUs with /MD (define _DLL) to match the shipping binary; (2) diff the target's symbol instead of the first function in .text.","status":"fixed","created_at":"2026-11-27T05:05:46.433Z","updated_at":"2026-11-27T05:05:46.433Z","resolution_note":"","rescore_pct":null,"rescore_matched":false,"notified_at":"","fn_bytes":513,"tu_path":"Divinity_GameLogic.cpp","fn_status":"open","best_near_miss_pct":0,"raw_status":"resolved"},{"id":"flg_42c9b8b2d1a4","project_id":"divinity2-dc","fn_id":"d2_divinity_00667980","handle":"chaplin","reason":"broken_boundary","details":"target_asm extends past `sub eax,esi / pop esi / ret` into the inline .text switch jump table (disassembled as `scas al`, `jns`, `add al,0x4`, `add eax,DWORD PTR [ebx]`, etc.), making the trailing 20+ lines data bytes rather than executable instructions.","status":"fixed","created_at":"2026-11-27T05:01:20.751Z","updated_at":"2026-11-27T05:01:20.751Z","resolution_note":"","rescore_pct":null,"rescore_matched":false,"notified_at":"","fn_bytes":129,"tu_path":"Divinity_GameLogic.cpp","fn_status":"open","best_near_miss_pct":0,"raw_status":"resolved"},{"id":"flg_84094a958cf5","project_id":"divinity2-dc","fn_id":"d2_gamebryo_00577700","handle":"Jhinno","reason":"other","details":"Verifier normalization issue, not a codegen problem. The target contains cmp BYTE PTR ds:<addr>,0x0 (compare a global byte against zero). Every candidate compiles to the same instruction but is shown as cmp BYTE PTR ds:<addr>,<addr>: the immediate after the data operand is rewritten to <addr>. A diagnostic that compared the global against 1 instead of 0 printed the identical <addr>, so it is not specific to zero; any immediate following a ds: operand is replaced on the candidate side only. This makes the function (and any function with cmp or mov of a constant against a global) impossible to take to 100%. The earlier push 0x0 case showed the same kind of mismatch and was fixed. My best candidate is otherwise structurally matched (stack delta 0, all calls, 68.9%); the remaining differences are a this/owned register swap (ESI/EDI).","status":"fixed","created_at":"2026-11-27T04:26:30.884Z","updated_at":"2026-11-27T04:26:30.884Z","resolution_note":"","rescore_pct":null,"rescore_matched":false,"notified_at":"","fn_bytes":129,"tu_path":"Gamebryo_Renderer.cpp","fn_status":"matched","best_near_miss_pct":0,"raw_status":"resolved"},{"id":"flg_5d10d2c8b626","project_id":"divinity2-dc","fn_id":"d2_gamebryo_00577700","handle":"Jhinno","reason":"missing_header","details":"129-byte destructor-like function. Sets two vtable pointers (0x1302E7C at +0x0 and 0x1302E20 at +0x4), zeroes +0x10, releases an owned object through its vtable (slot 0, argument 3) guarded by a global flag, frees a 0xC-byte block, then tail-jumps to a base cleanup. The class hierarchy with two embedded vtables and the owner type are not in the shared headers. I read the assembly only and compiled no candidate.","status":"fixed","created_at":"2026-11-27T03:52:18.977Z","updated_at":"2026-11-27T03:52:18.977Z","resolution_note":"","rescore_pct":null,"rescore_matched":false,"notified_at":"","fn_bytes":129,"tu_path":"Gamebryo_Renderer.cpp","fn_status":"matched","best_near_miss_pct":0,"raw_status":"resolved"},{"id":"flg_fad8a47b0f2b","project_id":"divinity2-dc","fn_id":"d2_divinity_00a45ab0","handle":"Jhinno","reason":"missing_header","details":"513-byte function. Needs types the shared headers do not provide: the two container types at this+0x100 and this+0x118 (a list walked with MSVC checked-iterator guards that call an invalid-parameter helper), the string type built through repeated append calls, and the signatures of the nine callees listed in the packet. Without them a candidate cannot reproduce the iterator and string codegen. I read the assembly only and compiled no candidate.","status":"fixed","created_at":"2026-11-27T03:52:17.936Z","updated_at":"2026-11-27T03:52:17.936Z","resolution_note":"","rescore_pct":null,"rescore_matched":false,"notified_at":"","fn_bytes":513,"tu_path":"Divinity_GameLogic.cpp","fn_status":"open","best_near_miss_pct":0,"raw_status":"resolved"},{"id":"flg_29ab36c62730","project_id":"divinity2-dc","fn_id":"d2_GFxFontDataCompactedSwf_vfn06","handle":"Jhinno","reason":"wrong_calling_conv","details":"Target is: mov eax,[esp+4] / call <rel> / ret 8. The first stack argument goes into EAX, ECX (this) is left untouched, and nothing is pushed, so the callee takes a register argument in EAX. MSVC 2008 only generates that custom convention for internal-linkage functions under whole-program optimization (/GL), which is not in the project flags (/O2 /Ob1 /Oi /Oy /EHsc- /GR). Three attempts (null function-pointer cast, static helper, noinline static helper) never even produced a call, best 33%. Probably not reproducible from clean C++ with these flags. Please check whether the original was built with /GL or whether the callee needs a declared convention.","status":"fixed","created_at":"2026-11-27T03:52:17.539Z","updated_at":"2026-11-27T03:52:17.539Z","resolution_note":"","rescore_pct":null,"rescore_matched":false,"notified_at":"","fn_bytes":12,"tu_path":"Scaleform_GFx_UI.cpp","fn_status":"matched","best_near_miss_pct":0,"raw_status":"resolved"}]}