Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
232 changes: 232 additions & 0 deletions docs/audits/2026-11-e0s/MANIFEST.md

Large diffs are not rendered by default.

97 changes: 97 additions & 0 deletions docs/audits/2026-11-e0s/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,97 @@
# E0 sweep artifacts (issue #68)

Committed copies of the E0+sweep run1 / run2 summaries, the fusion attribution
for those runs, and the commands needed to regenerate the attribution from
the per-question JSONL.

These files live under `docs/audits/` because that is the repository's existing
home for committed measurement artifacts (for example
`docs/audits/2026-09-05-brainbench/`). A `bench/results/` path is not usable:
the repository gitignores `/bench/` (reserved for the private kimetsu-bench
clone) and also gitignores `/e0s-results/` (the default output of
`scripts/experiments/e0s/run_e0s.sh`).

Scorer: `scripts/retrieval_eval.py` rank metrics, invoked via
`scripts/e0_eval.py --profile bench-sweep`. Retrieval only. Not an official
judge, and no reader.

## Binary and runners

- Binary: `kimetsu-e0s`, sha256
`262f17def1cfd67f07aaec325a2f2d23aa058d393adefc463d4bfc4c33391985`
(kimetsu 2.11.0, embeddings). On the box:
`/workspace/fuse/e0s/bin/kimetsu-e0s`.
- Run1 runner: `run_e0s.sh` at worktree commit `cc7b729`, sha256
`4b4155f1f352a76d421fe0e4152b30be6ef0ad54a41897ee0622e04c4c48605a`.
- Run2 runner: `scripts/experiments/e0s/rerun_run2.sh`, added in PR #79,
sha256 `0580084a8586919a84c61734672ef8f043cd9fe0753bde5554c44b196eca7545`.
- Wrapper hashes for the run1 tree (scripts and prepared data):
[wrapper-sha256.txt](wrapper-sha256.txt).
- Full box-path manifest, including the cargo build line and eval environment:
[MANIFEST.md](MANIFEST.md).

## Files

| File | What it is |
|---|---|
| [MANIFEST.md](MANIFEST.md) | Run manifest (commands, env, binary, data paths). |
| [wrapper-sha256.txt](wrapper-sha256.txt) | SHA-256 of the wrappers and data used for run1. |
| [determinism-diff.md](determinism-diff.md) | Row-level run1 vs run2 comparison. 1099 of 6291 rows changed; R@8 moved by at most 0.005. |

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

must-fix: "R@8 moved by at most 0.005" is not true and nothing computes it (determinism-diff.md has no R@8 figures). summary.json all-rows R@8, run1 -> run2: locomo-conv26 rrf_k60 0.487 -> 0.462 (-0.025), lme-oracle rrf_k60 0.624 -> 0.639 (+0.015). it only holds without rrf_k60 (max 0.0042). state the real max and cite run{1,2}/summary.json, or add a per-arm delta table to determinism-diff.md.

| [resolved-config-per-arm.json](resolved-config-per-arm.json) | Resolved broker / embedder config for each arm. |
| [SHA256SUMS](SHA256SUMS) | SHA-256 of every committed file here, plus commented hashes of the omitted JSONL. |
| [attribution-run1.md](attribution-run1.md), [attribution-run1.json](attribution-run1.json) | Fusion attribution on run1 (kill rule is evaluated here). |
| [attribution-run2.json](attribution-run2.json) | Same analysis on run2, as a stability check. |
| `run1/`, `run2/` | Per-run `summary.md` / `summary.json`, `capsule-hist.md` / `capsule-hist.json`, `*.meta.json`, `resolved-config-*.json`, and the locomo-conv26 JSONL. |

Stdout logs (`*.stdout.log`, `resolved-config-*.log`) are not included:
the repository gitignores `*.log`.

### Omitted JSONL

`run1/lme-oracle.jsonl` (2,355,878 bytes) and `run2/lme-oracle.jsonl`
(2,355,648 bytes) are larger than ~2 MiB and are not in this tree. Their
SHA-256 values are in [SHA256SUMS](SHA256SUMS). On the box they remain at:

- `/workspace/fuse/e0s/results/run1/lme-oracle.jsonl`
- `/workspace/fuse/e0s/results/run2/lme-oracle.jsonl`

`locomo-conv26.jsonl` for both runs is included (about 700 KiB each).

Prepared gold sets are not in this public repository. On the box:

- `/workspace/fuse/e0/data/locomo-conv26.json` sha256 `a996cc78f35f78d24114800636e4a2425ddf60639254532bfacff35a2013dcd7`
- `/workspace/fuse/e0/data/lme-oracle.json` sha256 `1dcfd431b1a145d2a234e07d1a72f246fbc37019bb4e3409a6a191beb965b129`

## Rerun attribution

The script is a byte-identical copy of the one that produced the committed
outputs (`scripts/experiments/e0s/fusion_attribution.py`, sha256
`c2fc141d9128eccccd69b670dd5fe2c54254a624020851d655a3d6a32fecbdcb`).
It takes `--results`, `--data`, and `--out-dir`. Defaults still point at the
box paths used for the original run.

From a checkout that already has both datasets' JSONL (including the omitted
lme-oracle files, placed next to the committed locomo-conv26 JSONL) and the
prepared gold sets:

```bash
python3 scripts/experiments/e0s/fusion_attribution.py \
--results docs/audits/2026-11-e0s \
--data /workspace/fuse/e0/data \
--out-dir docs/audits/2026-11-e0s
```

`--results` must contain `run1/{locomo-conv26,lme-oracle}.jsonl` and
`run2/{locomo-conv26,lme-oracle}.jsonl`. On the box, the complete tree is
still at `/workspace/fuse/e0s/results`, so this is the command that does not
need the omitted files to be copied first:

```bash
python3 scripts/experiments/e0s/fusion_attribution.py \
--results /workspace/fuse/e0s/results \
--data /workspace/fuse/e0/data \
--out-dir docs/audits/2026-11-e0s
```

The script writes `attribution-run1.md`, `attribution-run1.json`, and
`attribution-run2.json` into `--out-dir`. It does not launch a benchmark.
32 changes: 32 additions & 0 deletions docs/audits/2026-11-e0s/SHA256SUMS
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
# SHA-256 of committed artifacts and of omitted per-question JSONL (kept on the box).
# Omitted files are marked OMITTED and were larger than ~2 MiB.

21ae01f8fbbfa4ae07e8412b8bbb5b2d16c2222d415a0568059edc54c3730062 ./MANIFEST.md
b60d4580528a4fdfa03609874a084843130575da35c56425d3e0ec5f879d5dd8 ./attribution-run1.json
ca6de7f19f42809a58e4e828228036c96f6a841a3e58e7f101267d9641cd8b99 ./attribution-run1.md
d79849a0ef977fa0faae82f954b29ae60f5e3ae74797afc83a817e9f0416a01b ./attribution-run2.json
ecbdbf2124f586ab6e45a76b9256165b246594ed37291bafd3f450e1bce0d724 ./determinism-diff.md
14255708c55dcc6f1d15f4613aebfbed5ab198a5ffa36ed87963c9127589b710 ./resolved-config-per-arm.json
1b6ac1e2dc828f48b7674a8d734bb3ceb9c21b90a8439c65bbee8aa8a3546aff ./run1/capsule-hist.json
80eb578edff39beb9b94099fc9b03473d718f3cd863f6849d729cbae3917fba5 ./run1/capsule-hist.md
cd05ca18cb7f2e02d88817a0d9c7c4857d3a0671c1683c49ab0b8d3e2d597431 ./run1/lme-oracle.meta.json
37a370eef7b7b614070a8d25620cb06bf32affdbcfb3417ad2e55199d288a3af ./run1/locomo-conv26.jsonl
5f7966b67955bd088061e7cde91f9f2b66ae16976773f2c8b24ccd98f5aa1482 ./run1/locomo-conv26.meta.json
2c80146019e6ffa6ea6444503eabcc75023cd1c62d2117bed8d107b3a96e765e ./run1/resolved-config-lme-oracle.json
ff21c573391135ecaa7bd64d69f3f749cb2fea66fb98f4f792db6290ea165872 ./run1/resolved-config-locomo-conv26.json
be3d14fc19547cccc7f24aaea095ca15878f7a9588fb94e0b233be80f089503c ./run1/summary.json
7329b65c4f1854a469a9e8e9f9835a521f832d337ee37f77a762f70bb4d6e3e2 ./run1/summary.md
c4f92614d59921778a09f030f3ff7f93f1b140e7f5f18921e40a1f66c3e3d18d ./run2/capsule-hist.json
588dfae7badf7fbc52e3c9718af0c8c3e374f2887a6a7ddd25af497f06c749da ./run2/capsule-hist.md
c0c1c3b854e71152414aab1e5235b2da935f4599f808958be42b4bc0845ab592 ./run2/lme-oracle.meta.json
d095b04b7999f65dbd8ea1116e56679a538ed507eccecae63b416e482f5fffe8 ./run2/locomo-conv26.jsonl
f931d791d9126219f7d4f21545743660924cd9159d991256a96ae8eb6c557317 ./run2/locomo-conv26.meta.json
4ee24331c883d4a810d7efb42c0674dc8eac777469a7983b51ebfc1487c735a5 ./run2/resolved-config-lme-oracle.json
185e470dc18d3478a9f3f2e6dfb29db7d2863d500a3b765165cf9711252c4153 ./run2/resolved-config-locomo-conv26.json
82077cfe872b0347bd78da39393c588acf11e163787a3b8b95290377408336d8 ./run2/summary.json
d604317b8042e545e605a5d0ff47b0225a4de1e488c4ec09f123a74e23d54775 ./run2/summary.md
c00b010d3cd7bc00fe88eef497cf00dc1689fc055c6267ede238d215860b0e37 ./wrapper-sha256.txt

# omitted (live on the box at /workspace/fuse/e0s/results/...)
# OMITTED e6287fb20b4c984d65e065d57aa7e63769f2ae95d96663269519d568f8434eab run1/lme-oracle.jsonl # omitted,2355878 bytes; /workspace/fuse/e0s/results/run1/lme-oracle.jsonl

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should-fix: with the lme-oracle jsonl off-tree, none of the lme figures can be recomputed from a checkout. gzip -c run1/lme-oracle.jsonl is ~116 KB, so commit run{1,2}/lme-oracle.jsonl.gz and keep the raw sha here.

# OMITTED 4d74e27d5241744d02c3bc982ae600ecf82a136a0955a94e1e2d89e3c60743e6 run2/lme-oracle.jsonl # omitted,2355648 bytes; /workspace/fuse/e0s/results/run2/lme-oracle.jsonl
Loading
Loading