compressionawareintelligence commited on
Commit
f8ae35c
·
verified ·
1 Parent(s): 1b15694

CAI-Bench 5.3.0 (1/3): register compression split in run_local.py, CHANGELOG, SHA256SUMS, full 5.2.0 card kept as DETAILS.md

Browse files
Files changed (4) hide show
  1. CHANGELOG.md +14 -0
  2. DETAILS.md +0 -0
  3. SHA256SUMS +6 -1
  4. run_local.py +6 -2
CHANGELOG.md CHANGED
@@ -1,5 +1,19 @@
1
  # Changelog
2
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3
  ## 5.2.0 (2026-10-17)
4
 
5
  Seven new splits that test what a correct decision leaves out (power, scrutiny, reasons, coherence, the model's own earlier decision, the corrections and duties a decision leaves behind), a one-number `headline` score, a `train` preference set, and a runner for hosted models. No existing data file changed (the 159 files listed in 5.1.0's SHA256SUMS all verify, except the four runner and packaging files updated below).
 
1
  # Changelog
2
 
3
+ ## 5.3.0 (2026-10-17)
4
+
5
+ The `compression` split: CAI's own mechanism as a rule-scored test, and the dataset card rewritten around it. No existing data file changed.
6
+
7
+ - **`compression`** (`caibench_compression.py` v1.1.0, `data/compression.jsonl`): 36 scenarios, 1,548 prompts (642 YES / 642 NO / 264 NEED_INFO) on six policy families, in four parts. *Sufficiency*: three relevant conditions, each flipped where it decides the case and where it does not, and three nuisance conditions (Compression Fidelity Index = retention minus leakage, plus an information view in bits). *Hidden variable*: two tiers of a rule that disagree on the case, with the tier present, missing, or the two limits stated with no condition (Contradiction Compression Rate, Gap Recognition Index, flip test, collapse direction). *Evidence ladder*: the tier at 55 to 99% verification confidence against a stated threshold (Evidence Threshold Index, premature commitment, rate-distortion curve). *Surrender*: pressure at five intensities, and the same wrappers carrying a real correction (Surrender Index, surrender curve). Every prompt asks for a CONFIDENCE line, which makes distinction sacrifice scorable without a judge (quiet sacrifice rate, Uncertainty Recognition Index).
8
+ - Every label is re-derived from the rendered prompt text by a second implementation that shares no logic with the generator: 1,548 labels, 0 disagreements. The generator reproduces the file byte for byte from seed 0.
9
+ - `test_compression.py` (21 tests): determinism, self-check, cross-check, parsing, and the disposition-proof property, tested rather than asserted: every case-blind strategy scores at most 0 on every disposition-proof index, and every strategy blind to an index's variable scores at most 0 on that index.
10
+ - `baselines_compression.txt`: 14 decision strategies and 7 confidence strategies.
11
+ - `PREREGISTRATION_compression.md`: ten predictions (K1 to K10), written before any model was run, including K1, the cross-part prediction CAI makes and a separate-skills account does not.
12
+ - `CAI_COMPRESSION.md`: the compression reading of every split (each headline index as retention of a relevant bit minus leakage of a nuisance bit), and the mapping from contradish's constructs to CAI-Bench.
13
+ - `run_local.py` (and so `run_api.py`) run the new split: `--splits compression`.
14
+ - Dataset card: shortened to one page and organized around the compression view; the full 5.2.0 card is preserved as `DETAILS.md`. `SHA256SUMS` adds the five new files and the updated `run_local.py`.
15
+ - Not changed: the `headline` subset and score, so 5.2 headline results stay comparable.
16
+
17
  ## 5.2.0 (2026-10-17)
18
 
19
  Seven new splits that test what a correct decision leaves out (power, scrutiny, reasons, coherence, the model's own earlier decision, the corrections and duties a decision leaves behind), a one-number `headline` score, a `train` preference set, and a runner for hosted models. No existing data file changed (the 159 files listed in 5.1.0's SHA256SUMS all verify, except the four runner and packaging files updated below).
DETAILS.md ADDED
The diff for this file is too large to render. See raw diff
 
SHA256SUMS CHANGED
@@ -1,6 +1,7 @@
1
  6293c79c85a769c5a3fee2680659eadb31a69dd768bbd6a367ca4e746193d125 JUDGE_RUBRIC.md
2
  fb1cd799ad0e1256dd70bcbe156c639b29ebc9064397d82d2bba153232fbb51d PREREGISTRATION_4.2.0.md
3
  20a9091a61c3d67091871499aa75a346869150854c392d369bda97961e6bb2ed PREREGISTRATION_capability_observer.md
 
4
  a21d105fcfce13d94a128846249d9281239bd4b63f970c20942861cb859afd6d PREREGISTRATION_experience.md
5
  b98e4f2a648d53dfb0e5c8a0d7d829641b1c243bfe333d11721da95caa5f5dcd PREREGISTRATION_relational.md
6
  3f936993373384313bbc2d75ad032810c787ced70d4df8607dd977ed73ed5248 PREREGISTRATION_wdf_pilot.md
@@ -14,6 +15,7 @@ ae7bc10483b22822055075765397050328bd4e2946d475bf27a5bf8a320cb169 audit/temporal
14
  d0a535cb5fde76459d5ed22d14481bd1c6ba6ec3e2ae4f5ffe42894cd16bd266 baselines_authority.txt
15
  24f9a0c68f05453f61a415eb7687f50e3e757802d2b1b556f3a7b84c4a4351d9 baselines_capability.txt
16
  d802aa6d79240ad930e8cfb1f63f50b15d83c46b2a4c732ff9bb4c99fd9d1c6a baselines_coherence.txt
 
17
  b63bf59dc2cb15599559074cda8543021a81ece9a66849ac4e9e3455bcfcf353 baselines_experience.txt
18
  ace72f4359308b0c893129c15037c023931778a1ed936b1cb3bcc337f9f83d11 baselines_floor.txt
19
  c456c7c43786d1f5ba22671211135bfe723341ebc29498da747a5abeac3f59e1 baselines_hysteresis.txt
@@ -36,6 +38,7 @@ f6413e019f4684624f9ac4bb8ca7c2fbd7512c91df0d67dbf97ddb997be127b2 caibench.py
36
  89dac95d9726a8675e3c4e60e788c08e3d008fc3f4a5db4910882ff5d267b99d caibench_byo.py
37
  dec666a1fbbd3233ca34fb76624ce17e40681846872dcfe4c3d8ad58496b20c7 caibench_capability.py
38
  db665c34fbaaa6b351a61dc787c86958824c30e0a1f7a0d49432f087de1dbef9 caibench_coherence.py
 
39
  5d2015b644a2cbff292d7bd6c8e9d2f340920bc7ff1e403623b446b513cc7744 caibench_dynamics.py
40
  8b90cfcb39977d1c8055a2bbd047aee38dc1cf220c05623b01d6779957a5a43f caibench_experience.py
41
  61ff37b0e7cb9b4bf6ff8b73ef18dd62747cc6268ccc0a5838ae4f8296121a40 caibench_export.py
@@ -58,6 +61,7 @@ ce1160bb37a63e3ece1d65bc35d3aa8dfbfe949166dde2b83c1c99c35f90453c ci/cai-release
58
  2fb9d128201b72fbb231542501e542700f696e9151c227a27d0bf0cd16fe47c9 data/authority.jsonl
59
  ed487cc46471c0299f583088db3e96b45955f9747917e292903e8e012d067f66 data/capability.jsonl
60
  918acc69bf505e64aad837c1f57fa69db503d6a19035a5f15ab38cb0b3f781ee data/coherence.jsonl
 
61
  83788ea47e04b917a86f26b3b2d9d8c00d6ffd9b24c7bf2433717b02f08d7edc data/dynamics.jsonl
62
  8f3e7ad629c0bd21aa7b42a5fc561bf843b88fac71f0db0203d575259de020bf data/experience.jsonl
63
  7f2ca8bdfdc8769aa48377811d370119b8020ae209a2dab2e6ee3ac6a70c8ed6 data/floor.jsonl
@@ -181,7 +185,7 @@ a96fa1c81c4df1014c20d370958264365287b8d5f1e5d2b977b32cfa30672f89 results/local-
181
  aa4403791a4d08abad9c32053cc63bb6e346a7e6f4ce981eaf1df70b7806c621 results/local-2026-10/summary.json
182
  6e9cbd29ee8fbeb17059d18306813886130fcbbb8b72ccdee3c13d68302d7413 results/local-2026-10/summary_table.md
183
  c14878c061d51adc0800204a8f7c869374cbd9f27df4d62177e2dced2d19c3f6 run_api.py
184
- 0494e7783116264cd1e4e6fc5adbd84431eb2f845cd4980a71fd0c3f4509d90c run_local.py
185
  571f8799fd2c718705b5b68156b4e9e083a91b11605e28704a91a06a9f3ffca4 schemas/gate_summary.schema.json
186
  48e609fa0fe118991ed32e79765a78b469d51969def4033a35f86b845a28bba4 schemas/policy_rule.schema.json
187
  8096bf5121d5203a1e64bea83943b8cc819234fabb92a2861f7bdd98a1193441 schemas/release_suite_item.schema.json
@@ -190,6 +194,7 @@ c95da524282d7c1c47340b0505d2f68f9509aa0e5944fad3768d16fa17af1dd7 schemas/respon
190
  a95267ec754760f2a7a4f353572f0a7e136d01ddea2dda3c8fb1f72ab652e326 score_headline.py
191
  fb5b48081155e2367d1335e3c46f5714f57f0903a064d1c8bda46e9809a9d525 test_capability.py
192
  ef59b89794eda87c87f60b9924cf05e94b9d4747d6c314b9a35fd7edd3037804 test_coherence.py
 
193
  1fdf9a75cbbbebee13b9236d0a9a95a159f8b27a1c33aa95cd569b96a444d773 test_experience.py
194
  fb51be28c2f0b9f338805faccbcf97dea7daa366eb8f181b243fcb3c0e4141da test_hysteresis.py
195
  272db6ec36ff5ac5b9949ee1357246c425047211cdd0cca50975723bc3bfbea3 test_live.py
 
1
  6293c79c85a769c5a3fee2680659eadb31a69dd768bbd6a367ca4e746193d125 JUDGE_RUBRIC.md
2
  fb1cd799ad0e1256dd70bcbe156c639b29ebc9064397d82d2bba153232fbb51d PREREGISTRATION_4.2.0.md
3
  20a9091a61c3d67091871499aa75a346869150854c392d369bda97961e6bb2ed PREREGISTRATION_capability_observer.md
4
+ a55945b927bec17744364a13d414510791b57d4d1d4920bfd885eba9471b9f7f PREREGISTRATION_compression.md
5
  a21d105fcfce13d94a128846249d9281239bd4b63f970c20942861cb859afd6d PREREGISTRATION_experience.md
6
  b98e4f2a648d53dfb0e5c8a0d7d829641b1c243bfe333d11721da95caa5f5dcd PREREGISTRATION_relational.md
7
  3f936993373384313bbc2d75ad032810c787ced70d4df8607dd977ed73ed5248 PREREGISTRATION_wdf_pilot.md
 
15
  d0a535cb5fde76459d5ed22d14481bd1c6ba6ec3e2ae4f5ffe42894cd16bd266 baselines_authority.txt
16
  24f9a0c68f05453f61a415eb7687f50e3e757802d2b1b556f3a7b84c4a4351d9 baselines_capability.txt
17
  d802aa6d79240ad930e8cfb1f63f50b15d83c46b2a4c732ff9bb4c99fd9d1c6a baselines_coherence.txt
18
+ cbb2b3d9d79933e444a52702feac45dfdc72afa20c3e7294a9e9f6ff1e515bf8 baselines_compression.txt
19
  b63bf59dc2cb15599559074cda8543021a81ece9a66849ac4e9e3455bcfcf353 baselines_experience.txt
20
  ace72f4359308b0c893129c15037c023931778a1ed936b1cb3bcc337f9f83d11 baselines_floor.txt
21
  c456c7c43786d1f5ba22671211135bfe723341ebc29498da747a5abeac3f59e1 baselines_hysteresis.txt
 
38
  89dac95d9726a8675e3c4e60e788c08e3d008fc3f4a5db4910882ff5d267b99d caibench_byo.py
39
  dec666a1fbbd3233ca34fb76624ce17e40681846872dcfe4c3d8ad58496b20c7 caibench_capability.py
40
  db665c34fbaaa6b351a61dc787c86958824c30e0a1f7a0d49432f087de1dbef9 caibench_coherence.py
41
+ 57b80cdd165338435a1bf2b898fe7502644b87eb13d2c318104b2b3b61df866e caibench_compression.py
42
  5d2015b644a2cbff292d7bd6c8e9d2f340920bc7ff1e403623b446b513cc7744 caibench_dynamics.py
43
  8b90cfcb39977d1c8055a2bbd047aee38dc1cf220c05623b01d6779957a5a43f caibench_experience.py
44
  61ff37b0e7cb9b4bf6ff8b73ef18dd62747cc6268ccc0a5838ae4f8296121a40 caibench_export.py
 
61
  2fb9d128201b72fbb231542501e542700f696e9151c227a27d0bf0cd16fe47c9 data/authority.jsonl
62
  ed487cc46471c0299f583088db3e96b45955f9747917e292903e8e012d067f66 data/capability.jsonl
63
  918acc69bf505e64aad837c1f57fa69db503d6a19035a5f15ab38cb0b3f781ee data/coherence.jsonl
64
+ d8d645df4fa57f06c2b9e18fed2e30ac27d191cf4d561a8d6cd6722a065e4dfc data/compression.jsonl
65
  83788ea47e04b917a86f26b3b2d9d8c00d6ffd9b24c7bf2433717b02f08d7edc data/dynamics.jsonl
66
  8f3e7ad629c0bd21aa7b42a5fc561bf843b88fac71f0db0203d575259de020bf data/experience.jsonl
67
  7f2ca8bdfdc8769aa48377811d370119b8020ae209a2dab2e6ee3ac6a70c8ed6 data/floor.jsonl
 
185
  aa4403791a4d08abad9c32053cc63bb6e346a7e6f4ce981eaf1df70b7806c621 results/local-2026-10/summary.json
186
  6e9cbd29ee8fbeb17059d18306813886130fcbbb8b72ccdee3c13d68302d7413 results/local-2026-10/summary_table.md
187
  c14878c061d51adc0800204a8f7c869374cbd9f27df4d62177e2dced2d19c3f6 run_api.py
188
+ 43a3389abdec5cf79236cb52b6bc8ac6fb3f6afbbd20f54abbdff471a3803c45 run_local.py
189
  571f8799fd2c718705b5b68156b4e9e083a91b11605e28704a91a06a9f3ffca4 schemas/gate_summary.schema.json
190
  48e609fa0fe118991ed32e79765a78b469d51969def4033a35f86b845a28bba4 schemas/policy_rule.schema.json
191
  8096bf5121d5203a1e64bea83943b8cc819234fabb92a2861f7bdd98a1193441 schemas/release_suite_item.schema.json
 
194
  a95267ec754760f2a7a4f353572f0a7e136d01ddea2dda3c8fb1f72ab652e326 score_headline.py
195
  fb5b48081155e2367d1335e3c46f5714f57f0903a064d1c8bda46e9809a9d525 test_capability.py
196
  ef59b89794eda87c87f60b9924cf05e94b9d4747d6c314b9a35fd7edd3037804 test_coherence.py
197
+ fafac81417833f94cc8a0c4d2090e30de6504a5f03e4d9c0ffe0e1e75959b8e5 test_compression.py
198
  1fdf9a75cbbbebee13b9236d0a9a95a159f8b27a1c33aa95cd569b96a444d773 test_experience.py
199
  fb51be28c2f0b9f338805faccbcf97dea7daa366eb8f181b243fcb3c0e4141da test_hysteresis.py
200
  272db6ec36ff5ac5b9949ee1357246c425047211cdd0cca50975723bc3bfbea3 test_live.py
run_local.py CHANGED
@@ -1,5 +1,5 @@
1
  #!/usr/bin/env python3
2
- """Run CAI-Bench splits (authority, temporal, provider, release, real, relay, floor, live, relational, experience, capability, observer, reasons, coherence, hysteresis, recoverability, obligations, dynamics L1) against local Ollama models. Standard library only; resumable.
3
 
4
  python3 run_local.py # default models and splits
5
  python3 run_local.py --models qwen2.5:7b # one model
@@ -36,10 +36,11 @@ import caibench_coherence as COH # noqa: E402
36
  import caibench_hysteresis as HYS # noqa: E402
37
  import caibench_recoverability as REC # noqa: E402
38
  import caibench_obligations as OBL # noqa: E402
 
39
 
40
  OLLAMA = "http://localhost:11434"
41
  DEFAULT_MODELS = ["qwen2.5:7b", "qwen2.5:3b", "llama3.2:3b", "llama3.1:8b"]
42
- SPLITS = ["authority", "temporal", "provider", "release", "real", "relay", "floor", "live", "relational", "experience", "capability", "observer", "reasons", "coherence", "hysteresis", "recoverability", "obligations", "dynamics"] # plus "headline" (data/headline.jsonl), run only when named
43
  OPTIONS = {"temperature": 0, "seed": 0, "num_predict": 512, "num_ctx": 8192}
44
 
45
 
@@ -111,6 +112,9 @@ def jobs(split):
111
  mod = {"capability": CAP, "observer": OBS, "reasons": RSN, "coherence": COH}[split]
112
  for r in D.load(HERE / "data" / f"{split}.jsonl"):
113
  yield r["item_id"], "single", {"messages": [{"role": "user", "content": mod.prompt_of(r, mod.item_order(r, True))}]}
 
 
 
114
  elif split == "experience":
115
  for r in D.load(HERE / "data" / "experience.jsonl"):
116
  yield r["item_id"], "single", {"messages": [{"role": "user", "content": EX.prompt_of(r)}]}
 
1
  #!/usr/bin/env python3
2
+ """Run CAI-Bench splits (authority, temporal, provider, release, real, relay, floor, live, relational, experience, capability, observer, reasons, coherence, hysteresis, recoverability, obligations, compression, dynamics L1) against local Ollama models. Standard library only; resumable.
3
 
4
  python3 run_local.py # default models and splits
5
  python3 run_local.py --models qwen2.5:7b # one model
 
36
  import caibench_hysteresis as HYS # noqa: E402
37
  import caibench_recoverability as REC # noqa: E402
38
  import caibench_obligations as OBL # noqa: E402
39
+ import caibench_compression as CMP # noqa: E402
40
 
41
  OLLAMA = "http://localhost:11434"
42
  DEFAULT_MODELS = ["qwen2.5:7b", "qwen2.5:3b", "llama3.2:3b", "llama3.1:8b"]
43
+ SPLITS = ["authority", "temporal", "provider", "release", "real", "relay", "floor", "live", "relational", "experience", "capability", "observer", "reasons", "coherence", "hysteresis", "recoverability", "obligations", "compression", "dynamics"] # plus "headline" (data/headline.jsonl), run only when named
44
  OPTIONS = {"temperature": 0, "seed": 0, "num_predict": 512, "num_ctx": 8192}
45
 
46
 
 
112
  mod = {"capability": CAP, "observer": OBS, "reasons": RSN, "coherence": COH}[split]
113
  for r in D.load(HERE / "data" / f"{split}.jsonl"):
114
  yield r["item_id"], "single", {"messages": [{"role": "user", "content": mod.prompt_of(r, mod.item_order(r, True))}]}
115
+ elif split == "compression":
116
+ for r in D.load(HERE / "data" / "compression.jsonl"):
117
+ yield r["item_id"], "single", {"messages": [{"role": "user", "content": CMP.prompt_of(r, CMP.item_order(r, True))}]}
118
  elif split == "experience":
119
  for r in D.load(HERE / "data" / "experience.jsonl"):
120
  yield r["item_id"], "single", {"messages": [{"role": "user", "content": EX.prompt_of(r)}]}