Skip to content

fix(brief): qualify error-origin evidence and unresolved call links - #1241

Merged
navidemad merged 3 commits into
mainfrom
codex/1231-error-evidence
Oct 18, 2026
Merged

navidemad merged 3 commits into
mainfrom
codex/1231-error-evidence

Conversation

@navidemad

@navidemad navidemad commented Oct 18, 2026 •

Copy link
Copy Markdown
Collaborator

Closes #1231

Summary

Error-origin distinguishes message definitions, documentation, candidate occurrences, local raise syntax, candidate conversion/rethrow handlers and candidate dependency boundaries. A same-name method call or import remains explicitly unresolved. #1197 stays closed.

The critical review also fixes global Python messages falsely assigned to the preceding function, nested-scope raises attributed to outer handlers, and the loss of useful ripgrep-07 conditions. Direct lexical references precede secondary snippets; those are independent context, never a composed path.

 message match / nearby function / caller name
- "is raised" / inferred containment / unqualified call chain
+ definition / documentation / candidate / syntax-backed local raise
+ actual Python function span; other scopes explicitly unresolved
+ candidate conversion; import binding and external emission unresolved
+ bounded independent lexical context, no composed call path

Evidence

  • Before: main's doc-only and receiver-homonym counterexamples are recorded in the initial report. Five additional review regression methods against PR head 1114d9b9 produce 7 failing assertions, 0 harness errors, exit 1. They cover global scope, nested function/async/class scopes, import shadowing, retained conditions and a direct/indirect homonym collision.

  • After: python3 -I probes/error-origin/tests/test_probe.py: 16 pass. python3 -I scripts/bench/probe-test.py --self-test: 24 pass. --check-all, SPDX and whitespace checks pass. Only output-contract assertions change in probe-test; no scorer code changes.

  • Generic scratch prototype: 4/4 review controls pass before integration, versus 0/4 on 1114d9b9; original seven controls include actual emission, conversion, rethrow, docstring-only, homonymous receiver and pinned requests-07. The rejected brief: error-origin pack — raise sites and callers of a quoted error (file_recall 15%) #1197 prototype is not ported.

  • Reviewed frozen 56-question comparison, exact commands and identities, shared protocol v4 from bench(brief): distinguish scorer failures and abstentions from valid coverage reports #1230/bench(brief): preserve source-file attribution across consecutive excerpt blocks #1235 via fix(bench): retain source ownership in unknown and mixed excerpts #1240, lock /tmp/pixel-benchmark.lock. Same native binary/source a0d99d62, SHA-256 fcde2a41d4d0e7017acdba2ee58e4803afa9379b8b3995b68e24b71ec14d8e64; same questions, pins, other probes, warm state and budgets. Both new arms complete/exit 0, 53 ok + 3 abstained, no errors/cuts/partials. The baseline reproduces all 56 previous brief texts.

    Metric Baseline Before review Reviewed
    all file_recall 0.425378 0.425378 0.424004
    all region_cov 0.084869 0.087198 0.086742
    error-origin file_recall 0.254737 0.254737 0.243748
    error-origin region_cov 0.050879 0.069507 0.065860

    ripgrep-07 region 0.003872 → 0.003125 → 0.003895: regression recovered with qualified independent context. requests-07 retains 0.005658 → 0.136806. Residual regression flask-07, region 0.066415 → 0.040112, file recall 0.461538 → 0.384615, from removing caller/test snippets derived from a falsely assigned global constant. These are coverage metrics, not answer-quality scores. Every question and category, including both deltas, are published; 53/56 questions retain coverage, 50/56 briefs are byte-identical to baseline.

  • Shipped offline judge on fixed native baseline: OK, 56 questions, 7 probe executions, deterministic x2/read-only/no timeout. Lexical guard flags are manually reviewed and documented, not reported as automatic passes.

  • Published signed head 7b8c1125da992acebfb9b1a643942af5332220d6 preserves measured program SHA-256 5ed40604621a1d3f6ece8b7eeae3669a91521d946fc0522d013535a78feb5ffc and manifest SHA-256 56f8b3a0f3258d1b647e47e6763bb663e216200e45433e0d4cf98f713f38be06. CI and CodeQL completed successfully on this exact head: tests/format, doctests, script/probe contracts, Clippy/features, MSRV, ranking/service-time, both install lanes and the three CodeQL analyses pass. Record the green verdict passes; dependency policy is skipped for unchanged dependencies and aggregate CodeQL is neutral. No review threads/findings remain. No Rust change, installation, mutation campaign, live-agent quality assessment or zero-call claim.

Merge Danger

Door: one-way for setup: the next pixel setup rewrites the installed first-party probe. A revert restores it on a subsequent setup.

Blast radius: error-origin briefs. Qualified lexical snippets may still include irrelevant homonyms. Dynamic bindings, external emission sites and runtime paths remain unresolved. Conservative scope handling reduces flask-07 retrieval; the bounded Python handler scan is heuristic.

Docs touched

probes/error-origin/README.md, .github/changelog.d/error-origin-evidence.fixed.md, historical and reviewed evidence under docs/bench/error-evidence-1231/, and the acceptance report's pointer to the latest comparison. ARCHITECTURE.md and agent prompt contracts are unchanged (same commands, files, probe set and delivery). Common scorer and historical measurement data remain unchanged.

@navidemad

Copy link
Copy Markdown
Collaborator Author

Error-origin evidence qualification — #1231, 2026-10-19

Verdict: improved evidence, with a measured coverage gain and one regression.
PR #1241 addresses #1231; #1197 remains closed. The rejected audit prototype was not ported.

Hypothesis and controls

Hypothesis: distinguish syntax-backed evidence roles from literal/name matches,
quote a matching Python conversion/rethrow handler and import boundary, and
leave lexical call/test links unresolved without extending them into causal chains.
A scratch prototype passed seven controls before integration: docstring-only,
local emission, message definition, conversion, rethrow, homonymous receiver and
requests-07. No benchmark paths, error types or answer strings select a code path.
The previous caller-by-name prototype was rejected in the #1197 audit.

python3 -I probes/error-origin/tests/test_probe.py: 11 tests pass. The five new
regression methods (python3 -I /tmp/pixel-1231/regression_before.py) run against main 7b178f5a's unchanged probe produce seven
failing assertions and zero harness errors. python3 -I scripts/bench/probe-test.py --self-test: 24 pass; --check-all: ok. SPDX, Python compilation and whitespace
checks pass. The source excerpt now retains its last line when below the cap.
Only output-contract assertions change in probe-test; no scorer code changes.

The shipped offline probe judge, using the same fixed native base briefs instead
of the unfrozen command route, reports OK over all 56 questions: seven runs,
deterministic x2, read-only, no timeout or stray output. This is diagnostic replay,
not a tool-call or answer-quality claim. The lexical overfitting guard flags four
prompts (parse, raises, runtime, cannot): manual source review identifies
standard ast.parse, the raise-node list and epistemic prose, not benchmark answers.
All raw controls and judge outputs remain under /tmp/pixel-1231/.

Frozen native comparison

Protocol v4 from the shared reference.
Measured candidate b634bd8cc68ef88407f2683d11ed8f0974848643, based on fresh main 7b178f5a.
Binary source a0d99d62, SHA-256 fcde2a41d4d0e7017acdba2ee58e4803afa9379b8b3995b68e24b71ec14d8e64.
Scorer SHA-256 95bf349407a86091b7627f0d7726697478408b743345b32d4ed919da36233106; questions SHA-256 984a632e96f5f32891279d58f872c3a891bfeabaee110b3993be313c63e17069.
Same seven pins, 14 probes, warm state, hook Pi brief_only, three parts / 3000 ms,
300 s process timeout, dedupe disabled. Only error-origin program/manifest differ.
Both complete/exit 0: 53 ok + 3 abstained, no errors, partials or cuts.
Abstentions stay in the denominator. Benchmark and judge serialized using
/tmp/pixel-benchmark.lock; the lock is cooperative, not a guarantee of an idle machine.

Exact argv, all probe hashes, pins and raw-report hashes: the identity below.
Reproduce from a checkout whose scorer has the hash above (later docs/test-only
commits retain the measured probe bytes). Use a fresh label/output directory
when repeating a run to preserve the recorded evidence:

python3 -c 'import fcntl,subprocess,sys; f=open("/tmp/pixel-benchmark.lock","a"); fcntl.flock(f,fcntl.LOCK_EX); sys.exit(subprocess.call(sys.argv[1:]))' \
  python3 -I scripts/bench/tool-census/score_brief.py pinned \
  --base /tmp/pixel-1197-audit/pixel \
  --probe-home /tmp/pixel-1197-audit/runs/probe-home-a0d99d6268b7 \
  --head-probe-commit b634bd8cc68ef88407f2683d11ed8f0974848643 \
  --repo /Users/navid/code/personal/pixel-1231-error-evidence \
  --questions /Users/navid/code/personal/pixel-1231-error-evidence/eval/brief-bench/questions.jsonl \
  --route hook --root /tmp/pixel-1231/state --out /tmp/pixel-1231/runs --label evidence1231
Category n file_recall base → head region_cov base → head
all 56 0.425378 → 0.425378 0.084869 → 0.087198
config 7 0.370308 → 0.370308 0.085233 → 0.085233
diagnosis 1 0.263158 → 0.263158 0.120877 → 0.120877
error-origin 7 0.254737 → 0.254737 0.050879 → 0.069507
flow 7 0.366213 → 0.366213 0.147829 → 0.147829
history 7 0.791444 → 0.791444 0.119940 → 0.119940
impact 6 0.183952 → 0.183952 0.000671 → 0.000671
lookup 7 0.297357 → 0.297357 0.063135 → 0.063135
overview 7 0.796465 → 0.796465 0.155627 → 0.155627
tests 7 0.331233 → 0.331233 0.038466 → 0.038466

Exact metrics/deltas: the tables below and in this report.
54/56 questions keep their coverage metrics. 50/56 briefs are byte-identical;
excalidraw-07, flask-04, flask-07 and fd-07 change text/qualification without
changing coverage. The two metric changes are:

Question file_recall region_cov base → head line_cov base → head
ripgrep-07 0.105263 → 0.105263 0.003872 → 0.003125 0.100588 → 0.081176
requests-07 0.750000 → 0.750000 0.005658 → 0.136806 0.047009 → 0.205128

requests-07 gains the actual caught-type import and HTTPAdapter.send handler,
including conn.urlopen, the reason-specific branches and the fallback
ConnectionError(e). These establish local conversion syntax. The formatting
of the text in urllib3 is outside the pinned repository and remains unverified.
ripgrep-07 loses second-level lexical context: the policy now stops at one
unresolved level instead of suggesting a causal chain. This is a coverage
regression, not a demonstrated answer-quality improvement for that question.

Limits and propagation

Producer: error-origin stdout. Consumers: the unchanged bundled-probe registry
and native host/merge; diagnostic probe-test and v4 scorer parse the same
headers/numbered-line contract. The manifest version is 0.3.0. No new stored
field, graph/extractor version, scorer protocol, command or install target.

Python syntax roles are bounded heuristics, not runtime tracing. Other languages
retain candidate matches. Imports may be shadowed; method/receiver bindings are
not resolved. Source scans and snippets are capped as documented in the
probe contract. No real agent campaign,
quality-reviewed zero-call result, local installation, Rust or mutation campaign.
Model caches, PATH tools and OS remain outside the frozen protocol. CI must
validate the final PR head; no merge is authorized by these results.

56 questions: baseline / candidate, protocol v4
Question Category file base head region base head delta region
pixel-01 overview 0.750000 0.750000 0.135223 0.135223 +0.000000
pixel-02 lookup 0.125000 0.125000 0.078431 0.078431 +0.000000
pixel-03 config 0.185185 0.185185 0.022078 0.022078 +0.000000
pixel-04 flow 0.055556 0.055556 0.000000 0.000000 +0.000000
pixel-05 history 0.363636 0.363636 0.000000 0.000000 +0.000000
pixel-06 tests 0.086957 0.086957 0.000000 0.000000 +0.000000
pixel-07 error-origin 0.111111 0.111111 0.000000 0.000000 +0.000000
pixel-08 impact 0.153846 0.153846 0.000000 0.000000 +0.000000
ripgrep-01 overview 0.800000 0.800000 0.017007 0.017007 +0.000000
ripgrep-02 lookup 0.307692 0.307692 0.073911 0.073911 +0.000000
ripgrep-03 config 0.454545 0.454545 0.022612 0.022612 +0.000000
ripgrep-04 flow 0.222222 0.222222 0.005003 0.005003 +0.000000
ripgrep-05 history 1.000000 1.000000 0.000000 0.000000 +0.000000
ripgrep-06 tests 0.217391 0.217391 0.022059 0.022059 +0.000000
ripgrep-07 error-origin 0.105263 0.105263 0.003872 0.003125 -0.000747
ripgrep-08 diagnosis 0.263158 0.263158 0.120877 0.120877 +0.000000
requests-01 overview 0.888889 0.888889 0.035600 0.035600 +0.000000
requests-02 lookup 0.208333 0.208333 0.028910 0.028910 +0.000000
requests-03 config 1.000000 1.000000 0.504363 0.504363 +0.000000
requests-04 flow 0.500000 0.500000 0.310200 0.310200 +0.000000
requests-05 history 1.000000 1.000000 0.666667 0.666667 +0.000000
requests-06 tests 0.000000 0.000000 0.000000 0.000000 +0.000000
requests-07 error-origin 0.750000 0.750000 0.005658 0.136806 +0.131148
requests-08 impact 0.125000 0.125000 0.003211 0.003211 +0.000000
excalidraw-01 overview 0.136364 0.136364 0.009748 0.009748 +0.000000
excalidraw-02 lookup 0.357143 0.357143 0.035714 0.035714 +0.000000
excalidraw-03 config 0.041667 0.041667 0.000000 0.000000 +0.000000
excalidraw-04 flow 0.000000 0.000000 0.000000 0.000000 +0.000000
excalidraw-05 history 0.176471 0.176471 0.006250 0.006250 +0.000000
excalidraw-06 tests 0.500000 0.500000 0.040723 0.040723 +0.000000
excalidraw-07 error-origin 0.011765 0.011765 0.009676 0.009676 +0.000000
excalidraw-08 impact 0.045455 0.045455 0.000000 0.000000 +0.000000
flask-01 overview 1.000000 1.000000 0.368508 0.368508 +0.000000
flask-02 lookup 0.250000 0.250000 0.090909 0.090909 +0.000000
flask-03 config 0.181818 0.181818 0.007817 0.007817 +0.000000
flask-04 flow 1.000000 1.000000 0.605303 0.605303 +0.000000
flask-05 history 1.000000 1.000000 0.000000 0.000000 +0.000000
flask-06 tests 0.714286 0.714286 0.064404 0.064404 +0.000000
flask-07 error-origin 0.461538 0.461538 0.066415 0.066415 +0.000000
flask-08 impact 0.029412 0.029412 0.000813 0.000813 +0.000000
fd-01 overview 1.000000 1.000000 0.514498 0.514498 +0.000000
fd-02 lookup 0.250000 0.250000 0.127820 0.127820 +0.000000
fd-03 config 0.190476 0.190476 0.039311 0.039311 +0.000000
fd-04 flow 0.285714 0.285714 0.109751 0.109751 +0.000000
fd-05 history 1.000000 1.000000 0.166667 0.166667 +0.000000
fd-06 tests 0.000000 0.000000 0.000000 0.000000 +0.000000
fd-07 error-origin 0.300000 0.300000 0.183030 0.183030 +0.000000
fd-08 impact 0.000000 0.000000 0.000000 0.000000 +0.000000
express-01 overview 1.000000 1.000000 0.008807 0.008807 +0.000000
express-02 lookup 0.583333 0.583333 0.006250 0.006250 +0.000000
express-03 config 0.538462 0.538462 0.000452 0.000452 +0.000000
express-04 flow 0.500000 0.500000 0.004545 0.004545 +0.000000
express-05 history 1.000000 1.000000 0.000000 0.000000 +0.000000
express-06 tests 0.800000 0.800000 0.142080 0.142080 +0.000000
express-07 error-origin 0.043478 0.043478 0.087500 0.087500 +0.000000
express-08 impact 0.750000 0.750000 0.000000 0.000000 +0.000000
Identity, commands, input and report hashes
{
  "native_source": "a0d99d6268b770b49bf44effef415ac95b1252aa",
  "candidate_commit": "b634bd8cc68ef88407f2683d11ed8f0974848643",
  "scorer_source": "b634bd8cc68ef88407f2683d11ed8f0974848643",
  "scorer_sha256": "95bf349407a86091b7627f0d7726697478408b743345b32d4ed919da36233106",
  "protocol_version": 4,
  "binary_sha256": "fcde2a41d4d0e7017acdba2ee58e4803afa9379b8b3995b68e24b71ec14d8e64",
  "questions_sha256": "984a632e96f5f32891279d58f872c3a891bfeabaee110b3993be313c63e17069",
  "argv": [
    "/Users/navid/.local/share/mise/installs/python/3.15.0/bin/python3",
    "-I",
    "/Users/navid/code/personal/pixel-1231-error-evidence/scripts/bench/tool-census/score_brief.py",
    "pinned",
    "--base",
    "/tmp/pixel-1197-audit/pixel",
    "--probe-home",
    "/tmp/pixel-1197-audit/runs/probe-home-a0d99d6268b7",
    "--head-probe-commit",
    "b634bd8cc68ef88407f2683d11ed8f0974848643",
    "--repo",
    "/Users/navid/code/personal/pixel-1231-error-evidence",
    "--questions",
    "/Users/navid/code/personal/pixel-1231-error-evidence/eval/brief-bench/questions.jsonl",
    "--route",
    "hook",
    "--root",
    "/tmp/pixel-1231/state",
    "--out",
    "/tmp/pixel-1231/runs",
    "--label",
    "evidence1231"
  ],
  "lock": "/tmp/pixel-benchmark.lock",
  "python": "3.15.0 (main, Oct  9 2026, 15:11:47) [Clang 22.1.3 ]",
  "base_probe_home": {
    "frozen": true,
    "home": "/private/tmp/pixel-1197-audit/runs/probe-home-a0d99d6268b7",
    "commit": "a0d99d6268b770b49bf44effef415ac95b1252aa",
    "probe_files": {
      "cand-j-callers/pixel-plugin.toml": "4535fb5b9935b31ea72219c476dea36944022c163b948630d7b87ec0a43fec30",
      "cand-j-callers/probe": "cf14ec0a61e34b8870a1c8421b0fde17e3e88870a3859e7b4cb5f7cd06e77ded",
      "cand-j-chain/pixel-plugin.toml": "36940a8b4be105293d3c6aae9c4bd6db30bf3f5867765c6f8f0e1e836c286231",
      "cand-j-chain/probe": "6a88df37b0cc2b95b1d05f3094d9197a7ad5a14c24102ae23e9e96b548bfba44",
      "cand-j-stop-cause/pixel-plugin.toml": "60cc795e085b65800467713223553ad68f7f02ce4bcc48d3cb978e508a52bfad",
      "cand-j-stop-cause/probe": "2fa455eaa2eba65815f0765ed3e2a92ecaec85f7e7621310dedfcb75f5f6e38b",
      "cand-k-code-sites/pixel-plugin.toml": "4b6934d13a144eb7fbae56091112dff1024910a5942263c30d33eb33e94e6966",
      "cand-k-code-sites/probe": "1475af5454eaf32311734f48107f0a9612907d0d53e1f2c059a057323826e127",
      "cand-k-commit-patch/pixel-plugin.toml": "c184afb77ce51ced638eb42b2910a64e67a8a7349badb21f644f2f24e285499c",
      "cand-k-commit-patch/probe": "e2d0a606f544aad1c3ec96ff755bb74d0ca89def9e5ba3c14238ff2cc8e5c7d1",
      "config-registry/pixel-plugin.toml": "81a31387e718aed5e8229ebb2b7cb16dfb3941be79c40a3bf742f290b8cfbb04",
      "config-registry/probe": "9ae398ef690ad181d005173f5f81c159b286ab8e80741dff8cc0f804860c8b4b",
      "doc-sections/pixel-plugin.toml": "cec670ad784c63d579b7f8cccab2e35c253d96abe4168efba925b69b5e69631a",
      "doc-sections/probe": "97b89c2521e10c95f5077b71f0abf7c82473be608178bb41571cf34c23d4ec99",
      "error-origin/pixel-plugin.toml": "92e36132a2a0895ec67f77c0a7b7f85e62306c82be91de0137ba70423461f681",
      "error-origin/probe": "1ea2b825e5b912708564f4001b8df897f498cbfc35e342e09c7d7881f6039e00",
      "flow-rank/pixel-plugin.toml": "78e574d59e33613dd6cd72522c4135f2c9000882121a89e11a1add7c82fadc9f",
      "flow-rank/probe": "6fdd598ae2b9fae7b3430f8284e6fb69f992390b10e7476738b048d74afff456",
      "history-fallback/pixel-plugin.toml": "bd45e81583779cb3d58476e67661fdeb131b1fe91ef48a4c0ddfcbd97b155b82",
      "history-fallback/probe": "e376833deb44fbb2e68f704cd239229e62268e9edaaa920fda677ae8e319f7c4",
      "name-files/pixel-plugin.toml": "6311975835f54880785c5c9d0611af1bd3084090c6a0ae27ab91a9d384e5adb0",
      "name-files/probe": "42781445e638b4e1bde9075db5a77b2cf9330f5651889621d3a3eb9ec2055474",
      "overview-answer-evidence/pixel-plugin.toml": "bad7296859efc2e4da03b9c0ed59cb6af56a1380409610891b02101c7c922926",
      "overview-answer-evidence/probe": "7f5f1be8239240a3ba92f20d3527fa80dcb3d74f32405c75b077d704e966d052",
      "rank-blocks/pixel-plugin.toml": "fca68611008fc8b35facd2081197e51afa8d04ccb3ab9b5316930a37792c6060",
      "rank-blocks/probe": "854f122c9733d5c87080ce2f015c84cbfc20e219f59d09fe0f468c5d5640068c",
      "test-bodies/pixel-plugin.toml": "713ea81bbecbcc7c2e37ec623757902fb30df0624d0ef9f971e0c7a257d20c85",
      "test-bodies/probe": "0ed7c49a317f54ed72e64400b6f059c76beba6b891f4c180bbae99d82983c15e"
    }
  },
  "head_probe_home": {
    "frozen": true,
    "home": "/private/tmp/pixel-1231/runs/probe-home-b634bd8cc68e",
    "commit": "b634bd8cc68ef88407f2683d11ed8f0974848643",
    "probe_files": {
      "cand-j-callers/pixel-plugin.toml": "4535fb5b9935b31ea72219c476dea36944022c163b948630d7b87ec0a43fec30",
      "cand-j-callers/probe": "cf14ec0a61e34b8870a1c8421b0fde17e3e88870a3859e7b4cb5f7cd06e77ded",
      "cand-j-chain/pixel-plugin.toml": "36940a8b4be105293d3c6aae9c4bd6db30bf3f5867765c6f8f0e1e836c286231",
      "cand-j-chain/probe": "6a88df37b0cc2b95b1d05f3094d9197a7ad5a14c24102ae23e9e96b548bfba44",
      "cand-j-stop-cause/pixel-plugin.toml": "60cc795e085b65800467713223553ad68f7f02ce4bcc48d3cb978e508a52bfad",
      "cand-j-stop-cause/probe": "2fa455eaa2eba65815f0765ed3e2a92ecaec85f7e7621310dedfcb75f5f6e38b",
      "cand-k-code-sites/pixel-plugin.toml": "4b6934d13a144eb7fbae56091112dff1024910a5942263c30d33eb33e94e6966",
      "cand-k-code-sites/probe": "1475af5454eaf32311734f48107f0a9612907d0d53e1f2c059a057323826e127",
      "cand-k-commit-patch/pixel-plugin.toml": "c184afb77ce51ced638eb42b2910a64e67a8a7349badb21f644f2f24e285499c",
      "cand-k-commit-patch/probe": "e2d0a606f544aad1c3ec96ff755bb74d0ca89def9e5ba3c14238ff2cc8e5c7d1",
      "config-registry/pixel-plugin.toml": "81a31387e718aed5e8229ebb2b7cb16dfb3941be79c40a3bf742f290b8cfbb04",
      "config-registry/probe": "9ae398ef690ad181d005173f5f81c159b286ab8e80741dff8cc0f804860c8b4b",
      "doc-sections/pixel-plugin.toml": "cec670ad784c63d579b7f8cccab2e35c253d96abe4168efba925b69b5e69631a",
      "doc-sections/probe": "97b89c2521e10c95f5077b71f0abf7c82473be608178bb41571cf34c23d4ec99",
      "error-origin/pixel-plugin.toml": "56f8b3a0f3258d1b647e47e6763bb663e216200e45433e0d4cf98f713f38be06",
      "error-origin/probe": "509b7d1b33b7fe18cd9a69a6073d98a89e9f2c432f1bd42e4f58c550b32456f1",
      "flow-rank/pixel-plugin.toml": "78e574d59e33613dd6cd72522c4135f2c9000882121a89e11a1add7c82fadc9f",
      "flow-rank/probe": "6fdd598ae2b9fae7b3430f8284e6fb69f992390b10e7476738b048d74afff456",
      "history-fallback/pixel-plugin.toml": "bd45e81583779cb3d58476e67661fdeb131b1fe91ef48a4c0ddfcbd97b155b82",
      "history-fallback/probe": "e376833deb44fbb2e68f704cd239229e62268e9edaaa920fda677ae8e319f7c4",
      "name-files/pixel-plugin.toml": "6311975835f54880785c5c9d0611af1bd3084090c6a0ae27ab91a9d384e5adb0",
      "name-files/probe": "42781445e638b4e1bde9075db5a77b2cf9330f5651889621d3a3eb9ec2055474",
      "overview-answer-evidence/pixel-plugin.toml": "bad7296859efc2e4da03b9c0ed59cb6af56a1380409610891b02101c7c922926",
      "overview-answer-evidence/probe": "7f5f1be8239240a3ba92f20d3527fa80dcb3d74f32405c75b077d704e966d052",
      "rank-blocks/pixel-plugin.toml": "fca68611008fc8b35facd2081197e51afa8d04ccb3ab9b5316930a37792c6060",
      "rank-blocks/probe": "854f122c9733d5c87080ce2f015c84cbfc20e219f59d09fe0f468c5d5640068c",
      "test-bodies/pixel-plugin.toml": "713ea81bbecbcc7c2e37ec623757902fb30df0624d0ef9f971e0c7a257d20c85",
      "test-bodies/probe": "0ed7c49a317f54ed72e64400b6f059c76beba6b891f4c180bbae99d82983c15e"
    }
  },
  "pins": {
    "Pixel-CLI__pixel": "fe0a1eab44420768a8b8a115fb91c4148292fd9f",
    "BurntSushi__ripgrep": "3fce3b5bb0236da2df6d99672afb8a719642eca7",
    "psf__requests": "611c6162cbc4ac2020a2f91c7cfa4f3abf9bbb60",
    "excalidraw__excalidraw": "541653c7c9d587d463a47daacff9fb30e45a52e7",
    "pallets__flask": "d086db856be187255b8ec61ef409357393020f32",
    "sharkdp__fd": "14dcd92fb76ca0ebc2e82671a275f67c790d25fc",
    "expressjs__express": "a419aa7350389a275ab45fde2e849ed1f02449ef"
  },
  "base_result": {
    "status": "complete",
    "exit_code": 0,
    "counts": {
      "ok": 53,
      "abstained": 3
    },
    "errors": []
  },
  "head_result": {
    "status": "complete",
    "exit_code": 0,
    "counts": {
      "ok": 53,
      "abstained": 3
    },
    "errors": []
  },
  "report_sha256": {
    "base": "2eadc24a2753f727defa84b341ec369a9ab2908031422374a1731e516ba82aca",
    "head": "915eb546c0a86e514a00d5b7b5e588117e3eb3c5f74d228e66df54b67a434cba"
  },
  "prototype_controls_sha256": "1068b6c1c97e0bfd43921fa1b60a059da6b55f071d17e1d2c1b92e54359b29c2",
  "native_comparison_exit": 0
}

@navidemad

Copy link
Copy Markdown
Collaborator Author

Revue critique et corrections publiées dans le commit signé 7b8c112.

Constats vérifiés sur le candidat précédent 1114d9b9 :

  1. Le retrait complet du second niveau lexical supprimait les conditions utiles de ripgrep-07. Elles reviennent comme contexte indépendant, sans chemin composé ; chaque référence marque receiver/binding unresolved et scope unverified. Les correspondances directes passent avant le contexte indirect, avec déduplication par nom recherché pour éviter qu’un homonyme masque un site direct.
  2. Une constante Python globale pouvait être attribuée à la fonction précédente. Le périmètre réel de l’AST remplace cette inférence. Hors Python, la proximité reste explicitement scope unresolved.
  3. Des raises dans une fonction/async/classe imbriquée étaient attribués au handler extérieur. Ces portées sont exclues des extraits de conversion locale.
  4. Un import portant le nom intercepté ne prouve pas son binding : le libellé est maintenant dependency boundary candidate: matching import name; binding unresolved; external emission not inspected.

Le prototype hors crates passe 4/4 contrôles supplémentaires, contre 0/4 avant. Cinq méthodes de régression donnent 7 assertions en échec, 0 erreur de harness sans le correctif ; après correction, 16 tests de sonde + 24 autotests du harness passent. Les contrôles docstring-only, receiver homonyme, vraie émission, conversion et rethrow restent couverts. Judge offline sur les 56 briefs figés : OK, 7 exécutions, déterminisme x2, lecture seule, sans timeout. Le prototype précédemment rejeté n’a pas été repris.

Comparaison native figée sous /tmp/pixel-benchmark.lock, protocole commun v4 inchangé, même binaire/questions/pins/autres sondes. Les 56 textes de baseline sont reproduits exactement. Les deux nouveaux bras terminent complete/exit 0, 53 ok + 3 abstained, 0 erreur/coupure/partial.

Mesure Baseline Avant revue Après revue
file_recall global 0.425378 0.425378 0.424004
region_cov global 0.084869 0.087198 0.086742
file_recall error-origin 0.254737 0.254737 0.243748
region_cov error-origin 0.050879 0.069507 0.065860
region_cov ripgrep-07 0.003872 0.003125 0.003895
region_cov requests-07 0.005658 0.136806 0.136806
region_cov flask-07 0.066415 0.066415 0.040112

Régression résiduelle explicite : flask-07, file_recall 0.461538 → 0.384615. Le message global _no_app_msg était présenté in _get_current_object ; les appels/tests dérivés de ce faux rattachement sont retirés. On perd du contexte mesuré, sans en déduire un gain de qualité de réponse. Résoudre les usages/alias de cette constante demanderait une hypothèse distincte. 53/56 questions conservent leurs métriques et 50/56 briefs restent identiques à la baseline.

Rapport de revue et commandes · identités/hashes · 56 questions · catégories.

Les octets programme/manifest du head signé sont identiques à ceux du fixture de mesure immuable. Aucun scorer modifié, aucune installation ou campagne de mutations, aucune mesure live ni revendication zéro appel. Les liens dynamiques restent non résolus, la construction du message urllib3 reste non inspectée. #1197 reste CLOSED / COMPLETED. Le merge est demandé par le mainteneur et attend les checks du nouveau head.

@navidemad
navidemad merged commit 35916d9 into main Oct 18, 2026
16 checks passed
@navidemad
navidemad deleted the codex/1231-error-evidence branch October 18, 2026 23:53
LivioGama pushed a commit that referenced this pull request Nov 25, 2026
…1241)

* fix(brief): qualify error-origin evidence and unresolved call links

* docs(bench): record frozen error-evidence comparison and regression

* fix(brief): preserve qualified error context and respect lexical scopes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

fix(brief): qualify error-origin evidence and reject documentary or homonymous causes

1 participant