repair-evidence-readme.md

back to table · edit · history · where entries came from · files · download

2176 bytes, as of the version from 2026-11-18 01:45 (current). Recorded here, not run.

# T741 citation-anchor repair evidence

This repair changes only the conversion formula's anchor key and its Definition
citation. No number, formula text, convention, source code, mathematical input,
parameter identity, precision claim or completeness statement changed. The
original `generate.py`, `generate-compute-v2.py`, `values.json` and all other
original attachments remain byte-identical on the website.

The 20-entry `repair_numerical_check.py` is a read-only regression check using
saved certified checkpoints. It is not a fresh independent scientific verdict.
Download the attached generator, compute source, values, before/after documents
and `skill-validation.json` into the same directory. With Sage and numberdb,
pipe the API key to `sage -python repair_numerical_check.py`; do not pass it as an
argument. In this campaign the actual command was:

```sh
cat "$NUMBERDB_KEY_FILE" | agents/sage.sh \
  "$TMPDIR/repair_numerical_check.py" "$TMPDIR/generate.py" \
  "$TMPDIR/generate-compute-v2.py" "$TMPDIR/values.json" \
  "$TMPDIR/before-document.json" "$TMPDIR/after-document.json" \
  "$TMPDIR/skill-validation.json"
```

The browser checker uses Playwright to replay each freshly downloaded server
HTML at its original URL and click the actual citation. It sends no credentials
to the browser. It reads `before-page.html` or `after-page.html` from TMPDIR:

```sh
FONTCONFIG_FILE=/home/ubuntu/.cache/numberdb/fonts/fonts.conf \
PYTHONPATH="$NUMBERDB_BROWSER_PYTHONPATH${PYTHONPATH:+:$PYTHONPATH}" \
LD_LIBRARY_PATH="$NUMBERDB_BROWSER_LIBRARY_PATH${LD_LIBRARY_PATH:+:$LD_LIBRARY_PATH}" \
PLAYWRIGHT_BROWSERS_PATH=/home/ubuntu/.cache/numberdb/browsers \
python3 "$TMPDIR/repair_browser_check.py" after
```

Use `before` for the recorded failing state. Playwright is 1.64.1; Chromium is
156.0.8078.4. SageMath 10.9 and numberdb 0.1.10 were used for numerical checks.
The local/live archived canonical bundle is verified in skill-validation.json.
A fresh independent critique is required for the exact final revision and all
attachments; Definition/Formulas participate in the argument-review digest.
The prior critic's verdict and argument sidecar are unchanged.