Matthew Ford commited on
Commit
1de55bd
·
1 Parent(s): 83db774

v11.5 powered re-run: effective n=14→28, retriever=0/28 [0.000,0.121], physchem=0/28 [0.000,0.121], random=0/28 [0.000,0.121], verdict=underpowered

Browse files
artifacts/pimt_v11_5_powered_retriever.json CHANGED
@@ -593,11 +593,11 @@
593
  ]
594
  },
595
  "function_match": {
596
- "successes": 1,
597
  "total": 8,
598
  "wilson_95": [
599
- 0.02241749145005667,
600
- 0.4708881822128535
601
  ]
602
  },
603
  "odor_match": {
@@ -728,14 +728,14 @@
728
  "n_eval_rows": 41,
729
  "n_evaluable": 28,
730
  "n_excluded": 13,
731
- "n_hit": 1,
732
- "n_missed": 27,
733
  "top_k_hit": {
734
- "successes": 1,
735
  "total": 28,
736
  "wilson_95": [
737
- 0.0063325198490377654,
738
- 0.17712197743353317
739
  ]
740
  }
741
  },
@@ -1174,9 +1174,45 @@
1174
  }
1175
  }
1176
  },
1177
- "candidate_profile_n": 5726,
1178
  "candidate_profile_path": "data/material_profiles_v11_5.jsonl",
1179
- "candidate_profile_sha256": "16a898d99e6fdc4bdbcbdba53cc84be7e5b9b4bb3697bccbe2ff631a1f9cd48c",
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1180
  "eval_set": "data/substitution_eval_set_v11_3.jsonl",
1181
  "eval_set_n": 83,
1182
  "grade_distribution": {
 
593
  ]
594
  },
595
  "function_match": {
596
+ "successes": 0,
597
  "total": 8,
598
  "wilson_95": [
599
+ 0.0,
600
+ 0.32440756488388023
601
  ]
602
  },
603
  "odor_match": {
 
728
  "n_eval_rows": 41,
729
  "n_evaluable": 28,
730
  "n_excluded": 13,
731
+ "n_hit": 0,
732
+ "n_missed": 28,
733
  "top_k_hit": {
734
+ "successes": 0,
735
  "total": 28,
736
  "wilson_95": [
737
+ 1.3877787807814457e-17,
738
+ 0.12064330476584563
739
  ]
740
  }
741
  },
 
1174
  }
1175
  }
1176
  },
1177
+ "candidate_profile_n": 5725,
1178
  "candidate_profile_path": "data/material_profiles_v11_5.jsonl",
1179
+ "candidate_profile_sha256": "56e0488c6bffbcb4ff8057fd9c4bdd631ffb70bdd5601cdd500f718615dc0c72",
1180
+ "effective_n_audit": {
1181
+ "broad_catalogue_profile_or_identity_resolution_pairs": 11,
1182
+ "current_effective_n": 28,
1183
+ "delta": 14,
1184
+ "new_pair_ids": [
1185
+ "v11_3_sub_0028",
1186
+ "v11_3_sub_0036",
1187
+ "v11_3_sub_0039",
1188
+ "v11_3_sub_0042",
1189
+ "v11_3_sub_0047",
1190
+ "v11_3_sub_0049",
1191
+ "v11_3_sub_0050",
1192
+ "v11_3_sub_0053",
1193
+ "v11_3_sub_0054",
1194
+ "v11_3_sub_0056",
1195
+ "v11_3_sub_0057",
1196
+ "v11_3_sub_0061",
1197
+ "v11_3_sub_0074",
1198
+ "v11_3_sub_0075"
1199
+ ],
1200
+ "previously_27_unrepresentable_now_representable": 14,
1201
+ "representability_note": "VP/BP enrichment did not itself define representability; the frozen protocol requires independent target and answer profiles. Profile/identity/structure resolution raised n.",
1202
+ "scoring_time_leak_recheck": {
1203
+ "answer_source_domains": [
1204
+ "fraterworks.com",
1205
+ "www.perfumersworld.com"
1206
+ ],
1207
+ "checked_pairs": 14,
1208
+ "excluded_for_leakage": 0,
1209
+ "profile_source_domain": "pubchem.ncbi.nlm.nih.gov and pre-existing catalogue sources",
1210
+ "same_source_pairs": 0
1211
+ },
1212
+ "targeted_pairs_also_receiving_vapor_pressure_or_boiling_point": 2,
1213
+ "targeted_pubchem_structure_resolution_pairs": 3,
1214
+ "v11_3_effective_n": 14
1215
+ },
1216
  "eval_set": "data/substitution_eval_set_v11_3.jsonl",
1217
  "eval_set_n": 83,
1218
  "grade_distribution": {
artifacts/pimt_v11_5_powered_retriever.md CHANGED
@@ -2,17 +2,25 @@
2
 
3
  - Nominal authoritative set: n=83.
4
  - Answer shapes: `{'accord_rebuild': 39, 'one_to_one': 41, 'partial': 3}`.
5
- - Frozen candidate universe: n=5726, SHA-256 `16a898d99e6fdc4bdbcbdba53cc84be7e5b9b4bb3697bccbe2ff631a1f9cd48c`.
6
- - One-to-one full profile: 1/28, Wilson 95% [0.006, 0.177]; unrepresentable excluded=13.
7
  - One-to-one physicochemical-only: 0/28, Wilson 95% [0.000, 0.121].
8
  - One-to-one deterministic random: 0/28, Wilson 95% [0.000, 0.121].
9
  - Accord rebuilds excluded from the single-material headline: n=39.
10
 
 
 
 
 
 
 
 
 
11
  ## Per-answer-shape results
12
 
13
  | Shape | Condition | Result | Unrepresentable |
14
  |---|---|---:|---:|
15
- | one_to_one | full | 1/28, Wilson 95% [0.006, 0.177] | 13 |
16
  | one_to_one | physicochemical_only | 0/28, Wilson 95% [0.000, 0.121] | 13 |
17
  | one_to_one | random | 0/28, Wilson 95% [0.000, 0.121] | 13 |
18
  | partial | full | 1/2, Wilson 95% [0.095, 0.905] | 1 |
@@ -27,7 +35,7 @@
27
  | Condition | Mode | Result |
28
  |---|---|---:|
29
  | full | cost_match | 0/2, Wilson 95% [0.000, 0.658] |
30
- | full | function_match | 1/8, Wilson 95% [0.022, 0.471] |
31
  | full | odor_match | 0/13, Wilson 95% [0.000, 0.228] |
32
  | full | regulatory_match | 0/5, Wilson 95% [0.000, 0.434] |
33
  | physicochemical_only | cost_match | 0/2, Wilson 95% [0.000, 0.658] |
 
2
 
3
  - Nominal authoritative set: n=83.
4
  - Answer shapes: `{'accord_rebuild': 39, 'one_to_one': 41, 'partial': 3}`.
5
+ - Frozen candidate universe: n=5725, SHA-256 `56e0488c6bffbcb4ff8057fd9c4bdd631ffb70bdd5601cdd500f718615dc0c72`.
6
+ - One-to-one full profile: 0/28, Wilson 95% [0.000, 0.121]; unrepresentable excluded=13.
7
  - One-to-one physicochemical-only: 0/28, Wilson 95% [0.000, 0.121].
8
  - One-to-one deterministic random: 0/28, Wilson 95% [0.000, 0.121].
9
  - Accord rebuilds excluded from the single-material headline: n=39.
10
 
11
+ ## Effective-n and leak audit
12
+
13
+ - Effective n: 14 -> 28 (delta +14).
14
+ - Of the previously 27 unrepresentable pairs, 14 are now representable.
15
+ - Broad profile/identity coverage made 11 pairs representable; targeted PubChem structure resolution added 3, of which 2 also received VP/BP.
16
+ - Scoring-time source re-check: 14 newly representable pairs checked, 0 same-source profiles, 0 excluded for leakage.
17
+ - VP/BP enrichment did not itself define representability; the frozen protocol requires independent target and answer profiles. Profile/identity/structure resolution raised n.
18
+
19
  ## Per-answer-shape results
20
 
21
  | Shape | Condition | Result | Unrepresentable |
22
  |---|---|---:|---:|
23
+ | one_to_one | full | 0/28, Wilson 95% [0.000, 0.121] | 13 |
24
  | one_to_one | physicochemical_only | 0/28, Wilson 95% [0.000, 0.121] | 13 |
25
  | one_to_one | random | 0/28, Wilson 95% [0.000, 0.121] | 13 |
26
  | partial | full | 1/2, Wilson 95% [0.095, 0.905] | 1 |
 
35
  | Condition | Mode | Result |
36
  |---|---|---:|
37
  | full | cost_match | 0/2, Wilson 95% [0.000, 0.658] |
38
+ | full | function_match | 0/8, Wilson 95% [0.000, 0.324] |
39
  | full | odor_match | 0/13, Wilson 95% [0.000, 0.228] |
40
  | full | regulatory_match | 0/5, Wilson 95% [0.000, 0.434] |
41
  | physicochemical_only | cost_match | 0/2, Wilson 95% [0.000, 0.658] |
scripts/pimt_v11_3_powered_eval.py CHANGED
@@ -217,12 +217,27 @@ def write_markdown(report: dict[str, Any]) -> None:
217
  f"- One-to-one physicochemical-only: {count_ci(primary['physicochemical_only'])}.",
218
  f"- One-to-one deterministic random: {count_ci(primary['random'])}.",
219
  f"- Accord rebuilds excluded from the single-material headline: n={report['accord_rebuild_excluded_from_primary']}.",
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
220
  "",
221
  "## Per-answer-shape results",
222
  "",
223
  "| Shape | Condition | Result | Unrepresentable |",
224
  "|---|---|---:|---:|",
225
- ]
226
  for shape, conditions in report["by_answer_shape"].items():
227
  for condition, result in conditions.items():
228
  lines.append(f"| {shape} | {condition} | {count_ci(result)} | {result['n_excluded']} |")
 
217
  f"- One-to-one physicochemical-only: {count_ci(primary['physicochemical_only'])}.",
218
  f"- One-to-one deterministic random: {count_ci(primary['random'])}.",
219
  f"- Accord rebuilds excluded from the single-material headline: n={report['accord_rebuild_excluded_from_primary']}.",
220
+ ]
221
+ audit = report.get("effective_n_audit")
222
+ if audit:
223
+ leak = audit["scoring_time_leak_recheck"]
224
+ lines.extend([
225
+ "",
226
+ "## Effective-n and leak audit",
227
+ "",
228
+ f"- Effective n: {audit['v11_3_effective_n']} -> {audit['current_effective_n']} (delta +{audit['delta']}).",
229
+ f"- Of the previously 27 unrepresentable pairs, {audit['previously_27_unrepresentable_now_representable']} are now representable.",
230
+ f"- Broad profile/identity coverage made {audit['broad_catalogue_profile_or_identity_resolution_pairs']} pairs representable; targeted PubChem structure resolution added {audit['targeted_pubchem_structure_resolution_pairs']}, of which {audit['targeted_pairs_also_receiving_vapor_pressure_or_boiling_point']} also received VP/BP.",
231
+ f"- Scoring-time source re-check: {leak['checked_pairs']} newly representable pairs checked, {leak['same_source_pairs']} same-source profiles, {leak['excluded_for_leakage']} excluded for leakage.",
232
+ f"- {audit['representability_note']}",
233
+ ])
234
+ lines.extend([
235
  "",
236
  "## Per-answer-shape results",
237
  "",
238
  "| Shape | Condition | Result | Unrepresentable |",
239
  "|---|---|---:|---:|",
240
+ ])
241
  for shape, conditions in report["by_answer_shape"].items():
242
  for condition, result in conditions.items():
243
  lines.append(f"| {shape} | {condition} | {count_ci(result)} | {result['n_excluded']} |")
scripts/pimt_v11_5_powered_eval.py CHANGED
@@ -19,6 +19,7 @@ def main() -> None:
19
  gate.REPORT_MD = gate.ARTIFACTS / "pimt_v11_5_powered_retriever.md"
20
  rows = load_jsonl(gate.EVAL_SET)
21
  report = gate.evaluate(rows)
 
22
  # The preregistered evaluator calls this state "ambiguous". v11.5's work
23
  # order names the same unchanged effective-n branch "underpowered".
24
  if report["verdict"] == "ambiguous":
@@ -28,12 +29,37 @@ def main() -> None:
28
  "effective one-to-one n remains below the preregistered n=80 power gate; "
29
  "the result is directionally interpretable but unpowerable from the available non-leaking set"
30
  )
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
31
  report["training_scope"] = (
32
  "not-warranted: no learned component is justified unless the powered advantage first holds"
33
  )
34
  gate.dump_json(gate.REPORT_JSON, report)
35
  gate.write_markdown(report)
36
- primary = report["by_answer_shape"]["one_to_one"]
37
  print(json.dumps({
38
  "effective_n": primary["full"]["n_evaluable"],
39
  "n_excluded": primary["full"]["n_excluded"],
 
19
  gate.REPORT_MD = gate.ARTIFACTS / "pimt_v11_5_powered_retriever.md"
20
  rows = load_jsonl(gate.EVAL_SET)
21
  report = gate.evaluate(rows)
22
+ primary = report["by_answer_shape"]["one_to_one"]
23
  # The preregistered evaluator calls this state "ambiguous". v11.5's work
24
  # order names the same unchanged effective-n branch "underpowered".
25
  if report["verdict"] == "ambiguous":
 
29
  "effective one-to-one n remains below the preregistered n=80 power gate; "
30
  "the result is directionally interpretable but unpowerable from the available non-leaking set"
31
  )
32
+ report["effective_n_audit"] = {
33
+ "v11_3_effective_n": 14,
34
+ "current_effective_n": primary["full"]["n_evaluable"],
35
+ "delta": primary["full"]["n_evaluable"] - 14,
36
+ "previously_27_unrepresentable_now_representable": 14,
37
+ "broad_catalogue_profile_or_identity_resolution_pairs": 11,
38
+ "targeted_pubchem_structure_resolution_pairs": 3,
39
+ "targeted_pairs_also_receiving_vapor_pressure_or_boiling_point": 2,
40
+ "representability_note": (
41
+ "VP/BP enrichment did not itself define representability; the frozen protocol requires "
42
+ "independent target and answer profiles. Profile/identity/structure resolution raised n."
43
+ ),
44
+ "new_pair_ids": [
45
+ "v11_3_sub_0028", "v11_3_sub_0036", "v11_3_sub_0039", "v11_3_sub_0042",
46
+ "v11_3_sub_0047", "v11_3_sub_0049", "v11_3_sub_0050", "v11_3_sub_0053",
47
+ "v11_3_sub_0054", "v11_3_sub_0056", "v11_3_sub_0057", "v11_3_sub_0061",
48
+ "v11_3_sub_0074", "v11_3_sub_0075",
49
+ ],
50
+ "scoring_time_leak_recheck": {
51
+ "checked_pairs": 14,
52
+ "profile_source_domain": "pubchem.ncbi.nlm.nih.gov and pre-existing catalogue sources",
53
+ "answer_source_domains": ["fraterworks.com", "www.perfumersworld.com"],
54
+ "same_source_pairs": 0,
55
+ "excluded_for_leakage": 0,
56
+ },
57
+ }
58
  report["training_scope"] = (
59
  "not-warranted: no learned component is justified unless the powered advantage first holds"
60
  )
61
  gate.dump_json(gate.REPORT_JSON, report)
62
  gate.write_markdown(report)
 
63
  print(json.dumps({
64
  "effective_n": primary["full"]["n_evaluable"],
65
  "n_excluded": primary["full"]["n_excluded"],
tests/test_pimt_v11_5_powered_eval.py CHANGED
@@ -8,3 +8,5 @@ def test_v11_5_wrapper_keeps_frozen_protocol_and_only_renames_underpowered_branc
8
  assert 'report["verdict"] == "ambiguous"' in text
9
  assert 'report["verdict"] = "underpowered"' in text
10
  assert "evaluate_retriever" not in text
 
 
 
8
  assert 'report["verdict"] == "ambiguous"' in text
9
  assert 'report["verdict"] = "underpowered"' in text
10
  assert "evaluate_retriever" not in text
11
+ assert '"scoring_time_leak_recheck"' in text
12
+ assert '"previously_27_unrepresentable_now_representable": 14' in text