You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Adversarial harness: record runtime provenance in every live record #154
Problem: The fresh evaluation in #152 states its runtime (Ollama 0.40.16, model digest, 16,384-token context, sampling settings, cloud disabled) only in a hand-written docs/evaluations/2026-11-19/setup.json. No record carries those values and the harness doesn't capture them, so nothing ties them to the 32 runs. If a different quantisation or the excluded 4K-context setup had been used for some runs, the artifact, its hash and the tests would all still pass. The reproduction steps also stop short of how the two trial files became api.jsonl and how summary.md was produced.
Build:
In scripts/adversarial_eval.py --live, record per run: the runtime name and version (for Ollama, GET /api/version), the model's full digest (/api/show), and the effective context length and sampling options the request used. For hosted APIs, record the model id the provider returned. Never record keys, hostnames other than loopback, or user paths (scrub_evidence applies).
Add --combine trial-1.jsonl trial-2.jsonl -o api.jsonl and --summary options (or document the exact cat order and the --records ... > summary.md step), so setup.json's artifact_sha256 can be reproduced.
Tests: a fake Ollama endpoint (local HTTP server) whose version and digest end up in the record; combining is order-stable.
Where to look:scripts/adversarial_eval.py, src/secfoo/report/evidence.py, tests/test_adversarial_eval.py, docs/ADVERSARIAL_EVAL.md.
Done when: a live record carries runtime version, model digest and request options; the published artifact can be rebuilt byte-for-byte from the documented steps.
Activity
docs(eval): explain the 30 failed runs and report what each review co…
docs(eval): fresh two-trial local adversarial evaluation of the curre…
Adversarial harness: record runtime provenance in every live record (s…