benchmark-disclosure 0.1.0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (54) hide show
  1. benchmark_disclosure-0.1.0/.gitignore +9 -0
  2. benchmark_disclosure-0.1.0/CHANGELOG.md +16 -0
  3. benchmark_disclosure-0.1.0/LICENSE +202 -0
  4. benchmark_disclosure-0.1.0/NOTICE +16 -0
  5. benchmark_disclosure-0.1.0/PKG-INFO +208 -0
  6. benchmark_disclosure-0.1.0/README.md +175 -0
  7. benchmark_disclosure-0.1.0/docs/inspect-hook.md +75 -0
  8. benchmark_disclosure-0.1.0/docs/manifest.md +119 -0
  9. benchmark_disclosure-0.1.0/docs/report-format.md +40 -0
  10. benchmark_disclosure-0.1.0/examples/demo/critpt/README.md +120 -0
  11. benchmark_disclosure-0.1.0/examples/demo/critpt/after.html +277 -0
  12. benchmark_disclosure-0.1.0/examples/demo/critpt/after.json +2676 -0
  13. benchmark_disclosure-0.1.0/examples/demo/critpt/after.md +414 -0
  14. benchmark_disclosure-0.1.0/examples/demo/critpt/before.html +216 -0
  15. benchmark_disclosure-0.1.0/examples/demo/critpt/before.json +1282 -0
  16. benchmark_disclosure-0.1.0/examples/demo/critpt/before.md +296 -0
  17. benchmark_disclosure-0.1.0/examples/demo/critpt/hypothetical.html +277 -0
  18. benchmark_disclosure-0.1.0/examples/demo/critpt/hypothetical.json +2676 -0
  19. benchmark_disclosure-0.1.0/examples/demo/critpt/hypothetical.md +414 -0
  20. benchmark_disclosure-0.1.0/examples/demo/critpt/manifest.yaml +80 -0
  21. benchmark_disclosure-0.1.0/examples/demo/critpt/reproduce.sh +57 -0
  22. benchmark_disclosure-0.1.0/pyproject.toml +67 -0
  23. benchmark_disclosure-0.1.0/spec/mapping.yaml +764 -0
  24. benchmark_disclosure-0.1.0/spec/rubric-mapping.md +373 -0
  25. benchmark_disclosure-0.1.0/src/benchmark_disclosure/__init__.py +20 -0
  26. benchmark_disclosure-0.1.0/src/benchmark_disclosure/__main__.py +3 -0
  27. benchmark_disclosure-0.1.0/src/benchmark_disclosure/_registry.py +3 -0
  28. benchmark_disclosure-0.1.0/src/benchmark_disclosure/assess.py +543 -0
  29. benchmark_disclosure-0.1.0/src/benchmark_disclosure/cli.py +194 -0
  30. benchmark_disclosure-0.1.0/src/benchmark_disclosure/conformance.py +84 -0
  31. benchmark_disclosure-0.1.0/src/benchmark_disclosure/evidence.py +114 -0
  32. benchmark_disclosure-0.1.0/src/benchmark_disclosure/inspect_hook.py +579 -0
  33. benchmark_disclosure-0.1.0/src/benchmark_disclosure/mapping.py +301 -0
  34. benchmark_disclosure-0.1.0/src/benchmark_disclosure/otlp_file.py +98 -0
  35. benchmark_disclosure-0.1.0/src/benchmark_disclosure/paths.py +88 -0
  36. benchmark_disclosure-0.1.0/src/benchmark_disclosure/readers/__init__.py +173 -0
  37. benchmark_disclosure-0.1.0/src/benchmark_disclosure/readers/inspect_log.py +199 -0
  38. benchmark_disclosure-0.1.0/src/benchmark_disclosure/readers/otlp.py +209 -0
  39. benchmark_disclosure-0.1.0/src/benchmark_disclosure/report.py +491 -0
  40. benchmark_disclosure-0.1.0/src/benchmark_disclosure/rubric.py +64 -0
  41. benchmark_disclosure-0.1.0/src/benchmark_disclosure/signals.py +742 -0
  42. benchmark_disclosure-0.1.0/src/benchmark_disclosure/spec_markdown.py +93 -0
  43. benchmark_disclosure-0.1.0/tests/__init__.py +0 -0
  44. benchmark_disclosure-0.1.0/tests/conftest.py +110 -0
  45. benchmark_disclosure-0.1.0/tests/fixtures/README.md +9 -0
  46. benchmark_disclosure-0.1.0/tests/fixtures/epoch-methodology-2026-11-28.txt +1 -0
  47. benchmark_disclosure-0.1.0/tests/fixtures/manifest.yaml +38 -0
  48. benchmark_disclosure-0.1.0/tests/test_assess.py +324 -0
  49. benchmark_disclosure-0.1.0/tests/test_inspect_hook.py +267 -0
  50. benchmark_disclosure-0.1.0/tests/test_mapping.py +68 -0
  51. benchmark_disclosure-0.1.0/tests/test_otlp.py +151 -0
  52. benchmark_disclosure-0.1.0/tests/test_paths.py +28 -0
  53. benchmark_disclosure-0.1.0/tests/test_report.py +136 -0
  54. benchmark_disclosure-0.1.0/tests/test_signals.py +144 -0
@@ -0,0 +1,9 @@
1
+ __pycache__/
2
+ *.egg-info/
3
+ .pytest_cache/
4
+ .ruff_cache/
5
+ dist/
6
+ build/
7
+ .venv/
8
+ logs/
9
+ *.eval
@@ -0,0 +1,16 @@
1
+ # Changelog
2
+
3
+ ## 0.1.0 (2026-11-28)
4
+
5
+ - Rubric-to-telemetry mapping for the Epoch AI Benchmark Reviews rubric v1 (fetched
6
+ 2026-11-28). It covers the rubric's Reviewability grade, four Scoring checks and
7
+ seven Evaluation Quality questions as 14 scored entries, plus the rubric's note on
8
+ external reviews as an unscored entry. It also includes 36 evidence keys, a gap
9
+ analysis and proposed attributes.
10
+ - `benchmark-disclosure report`: reads Inspect logs, OTLP/JSON traces and logs, and
11
+ a disclosure manifest. It writes Markdown, HTML and JSON reports with found,
12
+ incomplete and not found statuses and per-section totals.
13
+ - Inspect hook (opt in with `BENCHMARK_DISCLOSURE=1`): emits GenAI
14
+ semantic-convention spans and writes a disclosure report per eval.
15
+ - `verify-rubric`, `conformance` and `mapping` commands.
16
+ - CritPt v2 demo, with a script that reproduces it.
@@ -0,0 +1,202 @@
1
+
2
+ Apache License
3
+ Version 2.0, January 2004
4
+ http://www.apache.org/licenses/
5
+
6
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
7
+
8
+ 1. Definitions.
9
+
10
+ "License" shall mean the terms and conditions for use, reproduction,
11
+ and distribution as defined by Sections 1 through 9 of this document.
12
+
13
+ "Licensor" shall mean the copyright owner or entity authorized by
14
+ the copyright owner that is granting the License.
15
+
16
+ "Legal Entity" shall mean the union of the acting entity and all
17
+ other entities that control, are controlled by, or are under common
18
+ control with that entity. For the purposes of this definition,
19
+ "control" means (i) the power, direct or indirect, to cause the
20
+ direction or management of such entity, whether by contract or
21
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
22
+ outstanding shares, or (iii) beneficial ownership of such entity.
23
+
24
+ "You" (or "Your") shall mean an individual or Legal Entity
25
+ exercising permissions granted by this License.
26
+
27
+ "Source" form shall mean the preferred form for making modifications,
28
+ including but not limited to software source code, documentation
29
+ source, and configuration files.
30
+
31
+ "Object" form shall mean any form resulting from mechanical
32
+ transformation or translation of a Source form, including but
33
+ not limited to compiled object code, generated documentation,
34
+ and conversions to other media types.
35
+
36
+ "Work" shall mean the work of authorship, whether in Source or
37
+ Object form, made available under the License, as indicated by a
38
+ copyright notice that is included in or attached to the work
39
+ (an example is provided in the Appendix below).
40
+
41
+ "Derivative Works" shall mean any work, whether in Source or Object
42
+ form, that is based on (or derived from) the Work and for which the
43
+ editorial revisions, annotations, elaborations, or other modifications
44
+ represent, as a whole, an original work of authorship. For the purposes
45
+ of this License, Derivative Works shall not include works that remain
46
+ separable from, or merely link (or bind by name) to the interfaces of,
47
+ the Work and Derivative Works thereof.
48
+
49
+ "Contribution" shall mean any work of authorship, including
50
+ the original version of the Work and any modifications or additions
51
+ to that Work or Derivative Works thereof, that is intentionally
52
+ submitted to Licensor for inclusion in the Work by the copyright owner
53
+ or by an individual or Legal Entity authorized to submit on behalf of
54
+ the copyright owner. For the purposes of this definition, "submitted"
55
+ means any form of electronic, verbal, or written communication sent
56
+ to the Licensor or its representatives, including but not limited to
57
+ communication on electronic mailing lists, source code control systems,
58
+ and issue tracking systems that are managed by, or on behalf of, the
59
+ Licensor for the purpose of discussing and improving the Work, but
60
+ excluding communication that is conspicuously marked or otherwise
61
+ designated in writing by the copyright owner as "Not a Contribution."
62
+
63
+ "Contributor" shall mean Licensor and any individual or Legal Entity
64
+ on behalf of whom a Contribution has been received by Licensor and
65
+ subsequently incorporated within the Work.
66
+
67
+ 2. Grant of Copyright License. Subject to the terms and conditions of
68
+ this License, each Contributor hereby grants to You a perpetual,
69
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
70
+ copyright license to reproduce, prepare Derivative Works of,
71
+ publicly display, publicly perform, sublicense, and distribute the
72
+ Work and such Derivative Works in Source or Object form.
73
+
74
+ 3. Grant of Patent License. Subject to the terms and conditions of
75
+ this License, each Contributor hereby grants to You a perpetual,
76
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
77
+ (except as stated in this section) patent license to make, have made,
78
+ use, offer to sell, sell, import, and otherwise transfer the Work,
79
+ where such license applies only to those patent claims licensable
80
+ by such Contributor that are necessarily infringed by their
81
+ Contribution(s) alone or by combination of their Contribution(s)
82
+ with the Work to which such Contribution(s) was submitted. If You
83
+ institute patent litigation against any entity (including a
84
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
85
+ or a Contribution incorporated within the Work constitutes direct
86
+ or contributory patent infringement, then any patent licenses
87
+ granted to You under this License for that Work shall terminate
88
+ as of the date such litigation is filed.
89
+
90
+ 4. Redistribution. You may reproduce and distribute copies of the
91
+ Work or Derivative Works thereof in any medium, with or without
92
+ modifications, and in Source or Object form, provided that You
93
+ meet the following conditions:
94
+
95
+ (a) You must give any other recipients of the Work or
96
+ Derivative Works a copy of this License; and
97
+
98
+ (b) You must cause any modified files to carry prominent notices
99
+ stating that You changed the files; and
100
+
101
+ (c) You must retain, in the Source form of any Derivative Works
102
+ that You distribute, all copyright, patent, trademark, and
103
+ attribution notices from the Source form of the Work,
104
+ excluding those notices that do not pertain to any part of
105
+ the Derivative Works; and
106
+
107
+ (d) If the Work includes a "NOTICE" text file as part of its
108
+ distribution, then any Derivative Works that You distribute must
109
+ include a readable copy of the attribution notices contained
110
+ within such NOTICE file, excluding those notices that do not
111
+ pertain to any part of the Derivative Works, in at least one
112
+ of the following places: within a NOTICE text file distributed
113
+ as part of the Derivative Works; within the Source form or
114
+ documentation, if provided along with the Derivative Works; or,
115
+ within a display generated by the Derivative Works, if and
116
+ wherever such third-party notices normally appear. The contents
117
+ of the NOTICE file are for informational purposes only and
118
+ do not modify the License. You may add Your own attribution
119
+ notices within Derivative Works that You distribute, alongside
120
+ or as an addendum to the NOTICE text from the Work, provided
121
+ that such additional attribution notices cannot be construed
122
+ as modifying the License.
123
+
124
+ You may add Your own copyright statement to Your modifications and
125
+ may provide additional or different license terms and conditions
126
+ for use, reproduction, or distribution of Your modifications, or
127
+ for any such Derivative Works as a whole, provided Your use,
128
+ reproduction, and distribution of the Work otherwise complies with
129
+ the conditions stated in this License.
130
+
131
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
132
+ any Contribution intentionally submitted for inclusion in the Work
133
+ by You to the Licensor shall be under the terms and conditions of
134
+ this License, without any additional terms or conditions.
135
+ Notwithstanding the above, nothing herein shall supersede or modify
136
+ the terms of any separate license agreement you may have executed
137
+ with Licensor regarding such Contributions.
138
+
139
+ 6. Trademarks. This License does not grant permission to use the trade
140
+ names, trademarks, service marks, or product names of the Licensor,
141
+ except as required for reasonable and customary use in describing the
142
+ origin of the Work and reproducing the content of the NOTICE file.
143
+
144
+ 7. Disclaimer of Warranty. Unless required by applicable law or
145
+ agreed to in writing, Licensor provides the Work (and each
146
+ Contributor provides its Contributions) on an "AS IS" BASIS,
147
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
148
+ implied, including, without limitation, any warranties or conditions
149
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
150
+ PARTICULAR PURPOSE. You are solely responsible for determining the
151
+ appropriateness of using or redistributing the Work and assume any
152
+ risks associated with Your exercise of permissions under this License.
153
+
154
+ 8. Limitation of Liability. In no event and under no legal theory,
155
+ whether in tort (including negligence), contract, or otherwise,
156
+ unless required by applicable law (such as deliberate and grossly
157
+ negligent acts) or agreed to in writing, shall any Contributor be
158
+ liable to You for damages, including any direct, indirect, special,
159
+ incidental, or consequential damages of any character arising as a
160
+ result of this License or out of the use or inability to use the
161
+ Work (including but not limited to damages for loss of goodwill,
162
+ work stoppage, computer failure or malfunction, or any and all
163
+ other commercial damages or losses), even if such Contributor
164
+ has been advised of the possibility of such damages.
165
+
166
+ 9. Accepting Warranty or Additional Liability. While redistributing
167
+ the Work or Derivative Works thereof, You may choose to offer,
168
+ and charge a fee for, acceptance of support, warranty, indemnity,
169
+ or other liability obligations and/or rights consistent with this
170
+ License. However, in accepting such obligations, You may act only
171
+ on Your own behalf and on Your sole responsibility, not on behalf
172
+ of any other Contributor, and only if You agree to indemnify,
173
+ defend, and hold each Contributor harmless for any liability
174
+ incurred by, or claims asserted against, such Contributor by reason
175
+ of your accepting any such warranty or additional liability.
176
+
177
+ END OF TERMS AND CONDITIONS
178
+
179
+ APPENDIX: How to apply the Apache License to your work.
180
+
181
+ To apply the Apache License to your work, attach the following
182
+ boilerplate notice, with the fields enclosed by brackets "[]"
183
+ replaced with your own identifying information. (Don't include
184
+ the brackets!) The text should be enclosed in the appropriate
185
+ comment syntax for the file format. We also recommend that a
186
+ file or class name and description of purpose be included on the
187
+ same "printed page" as the copyright notice for easier
188
+ identification within third-party archives.
189
+
190
+ Copyright [yyyy] [name of copyright owner]
191
+
192
+ Licensed under the Apache License, Version 2.0 (the "License");
193
+ you may not use this file except in compliance with the License.
194
+ You may obtain a copy of the License at
195
+
196
+ http://www.apache.org/licenses/LICENSE-2.0
197
+
198
+ Unless required by applicable law or agreed to in writing, software
199
+ distributed under the License is distributed on an "AS IS" BASIS,
200
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
201
+ See the License for the specific language governing permissions and
202
+ limitations under the License.
@@ -0,0 +1,16 @@
1
+ benchmark-disclosure
2
+ Copyright 2026 Krishna Balusu
3
+
4
+ This product quotes the rubric from Epoch AI's Benchmark Reviews documentation
5
+ (https://epoch.ai/data/benchmark-reviews-documentation/methodology). The quoted text
6
+ is © Epoch AI. It appears in spec/mapping.yaml, spec/rubric-mapping.md,
7
+ tests/fixtures and every report the tool generates, unchanged apart from the removal
8
+ of footnote markers.
9
+
10
+ The methodology page itself carries no licence notice. Epoch AI's review pages, which
11
+ reproduce the rubric (for example https://epoch.ai/benchmarks/critpt/review), state
12
+ that "Epoch AI’s work is free to use, distribute, and reproduce provided the source
13
+ and authors are credited under the Creative Commons Attribution license" and link
14
+ https://creativecommons.org/licenses/by/4.0/. This project credits Epoch AI as the
15
+ source and author of the quoted text, and each generated report carries that credit
16
+ and licence link. The project is independent of Epoch AI and is not endorsed by it.
@@ -0,0 +1,208 @@
1
+ Metadata-Version: 2.5
2
+ Name: benchmark-disclosure
3
+ Version: 0.1.0
4
+ Summary: Turn Inspect eval logs and OpenTelemetry GenAI traces into a disclosure report against a published benchmark-review rubric.
5
+ Project-URL: Repository, https://github.com/Krishnachaitanyakc/benchmark-disclosure
6
+ Project-URL: Changelog, https://github.com/Krishnachaitanyakc/benchmark-disclosure/blob/main/CHANGELOG.md
7
+ Project-URL: Issues, https://github.com/Krishnachaitanyakc/benchmark-disclosure/issues
8
+ Author: Krishna Balusu
9
+ License-Expression: Apache-2.0
10
+ License-File: LICENSE
11
+ License-File: NOTICE
12
+ Keywords: benchmarks,evaluation,genai,inspect-ai,opentelemetry,reproducibility
13
+ Classifier: Development Status :: 3 - Alpha
14
+ Classifier: Intended Audience :: Science/Research
15
+ Classifier: Programming Language :: Python :: 3
16
+ Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
17
+ Requires-Python: >=3.11
18
+ Requires-Dist: pyyaml>=6.0.1
19
+ Provides-Extra: conformance
20
+ Requires-Dist: pytest-genai-semconv>=0.1.0; extra == 'conformance'
21
+ Provides-Extra: dev
22
+ Requires-Dist: inspect-ai>=0.3.289; extra == 'dev'
23
+ Requires-Dist: opentelemetry-sdk>=1.30; extra == 'dev'
24
+ Requires-Dist: pytest-genai-semconv>=0.1.0; extra == 'dev'
25
+ Requires-Dist: pytest>=8; extra == 'dev'
26
+ Requires-Dist: ruff>=0.6; extra == 'dev'
27
+ Provides-Extra: inspect
28
+ Requires-Dist: inspect-ai>=0.3.289; extra == 'inspect'
29
+ Requires-Dist: opentelemetry-sdk>=1.30; extra == 'inspect'
30
+ Provides-Extra: otel
31
+ Requires-Dist: opentelemetry-sdk>=1.30; extra == 'otel'
32
+ Description-Content-Type: text/markdown
33
+
34
+ # benchmark-disclosure
35
+
36
+ `benchmark-disclosure` checks which parts of a benchmark review an eval run can
37
+ already answer. It reads [Inspect](https://inspect.aisi.org.uk/) eval logs,
38
+ OpenTelemetry GenAI traces and a short manifest of benchmark facts. Then it
39
+ reports, item by item against Epoch AI's published
40
+ [benchmark-review rubric](https://epoch.ai/data/benchmark-reviews-documentation/methodology),
41
+ which evidence a reviewer would find, where it is, and which evidence is missing.
42
+
43
+ **The problem.** On 2026-11-28 Epoch AI's Benchmark Reviews listed 32 reviews, and
44
+ 10 were marked Not enough info
45
+ ([included benchmarks](https://epoch.ai/data/benchmark-reviews-documentation/included-benchmarks)):
46
+ "Required information was unavailable to review, so a Verified/Flawed label cannot
47
+ be supported"
48
+ ([methodology](https://epoch.ai/data/benchmark-reviews-documentation/methodology)).
49
+ Most of those benchmarks withhold their tasks or grader, and this tool cannot
50
+ change that. What it addresses is the other half of the rubric's Reviewability
51
+ grade, the "harness/API settings used for each model (reasoning effort, token/time
52
+ limits, tool access, system prompts)". An eval harness already records most of those
53
+ settings at run time. Record formats such as Every Eval Ever can carry them, but
54
+ they are rarely published alongside a leaderboard in a form a reviewer can check
55
+ item by item against the rubric.
56
+
57
+ **What is new here:**
58
+
59
+ - **A mapping.** Each rubric item is linked to the Inspect log fields,
60
+ OpenTelemetry attributes or manifest fields that answer it, with the rubric text
61
+ quoted verbatim.
62
+ - **A gap analysis.** It lists what no current standard records and names the
63
+ upstream proposal each gap belongs to.
64
+ - **Tools.** A report generator, and an Inspect hook that emits the evidence as
65
+ GenAI semantic-convention spans.
66
+
67
+ **Who it is for:**
68
+
69
+ - Benchmark developers who want to publish a checkable disclosure with their
70
+ leaderboard.
71
+ - Reviewers who want to see quickly what a submission's logs do and do not show.
72
+ - People working on eval telemetry standards.
73
+
74
+ > Rubric text © Epoch AI, used under CC BY 4.0. This project is independent of
75
+ > Epoch AI. A disclosure report records what the inputs disclose. It is not an
76
+ > Epoch AI review and does not predict a verdict.
77
+
78
+ ## What is here
79
+
80
+ - [`spec/rubric-mapping.md`](https://github.com/Krishnachaitanyakc/benchmark-disclosure/blob/main/spec/rubric-mapping.md)
81
+ and [`spec/mapping.yaml`](https://github.com/Krishnachaitanyakc/benchmark-disclosure/blob/main/spec/mapping.yaml)
82
+ split the rubric (one Reviewability grade, four Scoring checks, seven Evaluation
83
+ Quality questions) into 14 scored entries. They also keep the rubric's note on
84
+ external reviews as an unscored entry.
85
+ - A CLI and library that report each item as **found**, **incomplete** or **not
86
+ found**, in Markdown, HTML and JSON.
87
+ - An opt-in Inspect hook that writes a report next to each log and emits GenAI
88
+ spans.
89
+ - A [CritPt v2 demo](https://github.com/Krishnachaitanyakc/benchmark-disclosure/tree/main/examples/demo/critpt)
90
+ with before and after reports, and a script that reproduces them.
91
+
92
+ ## Quick start
93
+
94
+ ```sh
95
+ pip install 'benchmark-disclosure[inspect]'
96
+
97
+ # report on existing logs and traces
98
+ benchmark-disclosure report logs/*.eval traces.jsonl --manifest disclosure.yaml --out reports/
99
+
100
+ # or have each eval write one (the hook is off unless enabled)
101
+ export BENCHMARK_DISCLOSURE=1 BENCHMARK_DISCLOSURE_TRACES_FILE=traces.jsonl
102
+ inspect eval my_task.py --model openai/gpt-4o
103
+ ls logs/disclosure-*.md
104
+ ```
105
+
106
+ Inputs are recognized by file suffix, and `.json` files by content:
107
+
108
+ - Inspect `.eval` and `.json` logs.
109
+ - OTLP/JSON traces and logs (`.json` or JSON Lines), as written by the hook or the
110
+ OpenTelemetry Collector file exporter.
111
+ - A YAML [manifest](https://github.com/Krishnachaitanyakc/benchmark-disclosure/blob/main/docs/manifest.md)
112
+ for benchmark-level facts such as task access, leaderboard settings,
113
+ contamination, human baselines and versioning.
114
+
115
+ Other commands:
116
+
117
+ - `benchmark-disclosure verify-rubric` re-checks every quoted rubric sentence
118
+ against the live page.
119
+ - `benchmark-disclosure conformance traces.jsonl` checks gen_ai spans with
120
+ [pytest-genai-semconv](https://pypi.org/project/pytest-genai-semconv/), a checker
121
+ by the same author (`pip install 'benchmark-disclosure[conformance]'`).
122
+ - `benchmark-disclosure mapping` prints the mapping tables.
123
+
124
+ ## How it decides
125
+
126
+ **Statuses.** An evidence key is **found** when the inputs hold a non-empty value
127
+ at a mapped location. The contents are not checked, apart from rejecting
128
+ placeholders such as "unknown". A key is **incomplete** in two cases:
129
+
130
+ - Only weaker evidence exists. Examples: a local dataset path rather than a
131
+ published location, inputs present in a log with no declared reviewer access,
132
+ a commit from a working tree with untracked or uncommitted files, or a settings
133
+ link the report cannot check.
134
+ - Only some of its parts are present, such as a code location without a commit.
135
+
136
+ It is **not found** when nothing is there. A setting left at a provider default, or
137
+ a limit that no log records, is not found too: the run used some value, but no log
138
+ says which.
139
+
140
+ **Combining.** A rubric item combines its required keys the same way across runs.
141
+ Items that ask about the published leaderboard count run evidence only when the
142
+ manifest declares the runs to be the leaderboard runs
143
+ (`leaderboard.runs_in_inputs: true`). These cover harness settings, elicitation and
144
+ resources, budgets, scaffold, versions, and runs per model. Otherwise they need the
145
+ leaderboard documented in the manifest. Settings and limits are read only from the
146
+ model under test's calls, not from grader or helper calls. A warning appears when
147
+ the runs' task names do not match the manifest's benchmark.
148
+
149
+ **Signals** describe the runs to help a reviewer start. Examples: tasks that ended
150
+ on limits, budgets or scaffolds that differ across models on the same task, runs
151
+ per task, and tasks no model solved. A signal never reports a match it has no
152
+ record of. Signals are not findings.
153
+
154
+ These statuses describe evidence. They are not Epoch's Full, Partial or Inadequate
155
+ grades, its Pass or Flag checks, or its verdicts.
156
+ [docs/report-format.md](https://github.com/Krishnachaitanyakc/benchmark-disclosure/blob/main/docs/report-format.md)
157
+ has the details.
158
+
159
+ ## Limits
160
+
161
+ - **It cannot publish withheld tasks.** For five of the ten Not enough info
162
+ benchmarks we found neither downloadable tasks nor a grader, and a third party's
163
+ telemetry does not change that.
164
+ - **It discloses the runs it is given.** Your runs show your settings. Leaderboard
165
+ settings need the developer's documentation or the leaderboard runs' own logs.
166
+ - **It does not judge.** Whether tasks are answerable or scorers correct is a
167
+ reviewer's call, as is whether limits are adequate.
168
+ - **It cannot see remote graders.** A local run of a benchmark that grades on a
169
+ server reports the local scorer, which may only collect answers. Its scoring
170
+ evidence then looks found unless the manifest declares `scoring.*` withheld.
171
+ - **It cannot attest that telemetry is genuine.** It reads what the files say.
172
+ - **It follows one rubric version.** That is Epoch's rubric v1 as fetched on
173
+ 2026-11-28; `verify-rubric` detects changed wording, not new items.
174
+ - **Content stays out of reports.** Task text, answers and prompts are withheld
175
+ unless you pass `--show-content`. Error messages are never shown; errors are
176
+ counted by type. So publishing a report does not leak a benchmark.
177
+
178
+ ## Related work
179
+
180
+ - **Benchmark quality criteria.** BetterBench
181
+ ([Reuel et al., 2024](https://arxiv.org/abs/2411.12990)) and the Agentic Benchmark
182
+ Checklist ([Zhu et al., 2025](https://arxiv.org/abs/2507.02825)) set quality
183
+ criteria for benchmarks. This tool checks evidence for one review rubric's items
184
+ in a given set of runs, and does not score quality.
185
+ - **Holistic evaluation.** HELM ([Liang et al., 2022](https://arxiv.org/abs/2211.09110))
186
+ and HAL ([Kapoor et al., 2025](https://arxiv.org/abs/2510.11977)) run models under
187
+ documented, shared settings. This tool reads Inspect logs and OpenTelemetry traces,
188
+ so it covers runs like theirs only when they are recorded in those formats.
189
+ - **Run records and benchmark cards.** These include
190
+ [Every Eval Ever](https://github.com/evaleval/every_eval_ever), whose Inspect
191
+ converter already extracts limits, sandbox, tools and generation settings,
192
+ [Evaluation Cards](https://arxiv.org/abs/2606.09809) and inspect_evals `eval.yaml`.
193
+ The mapping aligns its keys with Every Eval Ever 0.3.0 fields, and the manifest is
194
+ meant to converge with those formats.
195
+
196
+ ## Develop
197
+
198
+ ```sh
199
+ pip install -e '.[dev]'
200
+ pytest
201
+ ruff check src tests scripts && ruff format --check src tests scripts
202
+ python scripts/update_spec.py # after editing spec/mapping.yaml
203
+ ```
204
+
205
+ ## License
206
+
207
+ Apache-2.0. Rubric text is quoted from Epoch AI under CC BY 4.0, with credit; see
208
+ [NOTICE](https://github.com/Krishnachaitanyakc/benchmark-disclosure/blob/main/NOTICE).
@@ -0,0 +1,175 @@
1
+ # benchmark-disclosure
2
+
3
+ `benchmark-disclosure` checks which parts of a benchmark review an eval run can
4
+ already answer. It reads [Inspect](https://inspect.aisi.org.uk/) eval logs,
5
+ OpenTelemetry GenAI traces and a short manifest of benchmark facts. Then it
6
+ reports, item by item against Epoch AI's published
7
+ [benchmark-review rubric](https://epoch.ai/data/benchmark-reviews-documentation/methodology),
8
+ which evidence a reviewer would find, where it is, and which evidence is missing.
9
+
10
+ **The problem.** On 2026-11-28 Epoch AI's Benchmark Reviews listed 32 reviews, and
11
+ 10 were marked Not enough info
12
+ ([included benchmarks](https://epoch.ai/data/benchmark-reviews-documentation/included-benchmarks)):
13
+ "Required information was unavailable to review, so a Verified/Flawed label cannot
14
+ be supported"
15
+ ([methodology](https://epoch.ai/data/benchmark-reviews-documentation/methodology)).
16
+ Most of those benchmarks withhold their tasks or grader, and this tool cannot
17
+ change that. What it addresses is the other half of the rubric's Reviewability
18
+ grade, the "harness/API settings used for each model (reasoning effort, token/time
19
+ limits, tool access, system prompts)". An eval harness already records most of those
20
+ settings at run time. Record formats such as Every Eval Ever can carry them, but
21
+ they are rarely published alongside a leaderboard in a form a reviewer can check
22
+ item by item against the rubric.
23
+
24
+ **What is new here:**
25
+
26
+ - **A mapping.** Each rubric item is linked to the Inspect log fields,
27
+ OpenTelemetry attributes or manifest fields that answer it, with the rubric text
28
+ quoted verbatim.
29
+ - **A gap analysis.** It lists what no current standard records and names the
30
+ upstream proposal each gap belongs to.
31
+ - **Tools.** A report generator, and an Inspect hook that emits the evidence as
32
+ GenAI semantic-convention spans.
33
+
34
+ **Who it is for:**
35
+
36
+ - Benchmark developers who want to publish a checkable disclosure with their
37
+ leaderboard.
38
+ - Reviewers who want to see quickly what a submission's logs do and do not show.
39
+ - People working on eval telemetry standards.
40
+
41
+ > Rubric text © Epoch AI, used under CC BY 4.0. This project is independent of
42
+ > Epoch AI. A disclosure report records what the inputs disclose. It is not an
43
+ > Epoch AI review and does not predict a verdict.
44
+
45
+ ## What is here
46
+
47
+ - [`spec/rubric-mapping.md`](https://github.com/Krishnachaitanyakc/benchmark-disclosure/blob/main/spec/rubric-mapping.md)
48
+ and [`spec/mapping.yaml`](https://github.com/Krishnachaitanyakc/benchmark-disclosure/blob/main/spec/mapping.yaml)
49
+ split the rubric (one Reviewability grade, four Scoring checks, seven Evaluation
50
+ Quality questions) into 14 scored entries. They also keep the rubric's note on
51
+ external reviews as an unscored entry.
52
+ - A CLI and library that report each item as **found**, **incomplete** or **not
53
+ found**, in Markdown, HTML and JSON.
54
+ - An opt-in Inspect hook that writes a report next to each log and emits GenAI
55
+ spans.
56
+ - A [CritPt v2 demo](https://github.com/Krishnachaitanyakc/benchmark-disclosure/tree/main/examples/demo/critpt)
57
+ with before and after reports, and a script that reproduces them.
58
+
59
+ ## Quick start
60
+
61
+ ```sh
62
+ pip install 'benchmark-disclosure[inspect]'
63
+
64
+ # report on existing logs and traces
65
+ benchmark-disclosure report logs/*.eval traces.jsonl --manifest disclosure.yaml --out reports/
66
+
67
+ # or have each eval write one (the hook is off unless enabled)
68
+ export BENCHMARK_DISCLOSURE=1 BENCHMARK_DISCLOSURE_TRACES_FILE=traces.jsonl
69
+ inspect eval my_task.py --model openai/gpt-4o
70
+ ls logs/disclosure-*.md
71
+ ```
72
+
73
+ Inputs are recognized by file suffix, and `.json` files by content:
74
+
75
+ - Inspect `.eval` and `.json` logs.
76
+ - OTLP/JSON traces and logs (`.json` or JSON Lines), as written by the hook or the
77
+ OpenTelemetry Collector file exporter.
78
+ - A YAML [manifest](https://github.com/Krishnachaitanyakc/benchmark-disclosure/blob/main/docs/manifest.md)
79
+ for benchmark-level facts such as task access, leaderboard settings,
80
+ contamination, human baselines and versioning.
81
+
82
+ Other commands:
83
+
84
+ - `benchmark-disclosure verify-rubric` re-checks every quoted rubric sentence
85
+ against the live page.
86
+ - `benchmark-disclosure conformance traces.jsonl` checks gen_ai spans with
87
+ [pytest-genai-semconv](https://pypi.org/project/pytest-genai-semconv/), a checker
88
+ by the same author (`pip install 'benchmark-disclosure[conformance]'`).
89
+ - `benchmark-disclosure mapping` prints the mapping tables.
90
+
91
+ ## How it decides
92
+
93
+ **Statuses.** An evidence key is **found** when the inputs hold a non-empty value
94
+ at a mapped location. The contents are not checked, apart from rejecting
95
+ placeholders such as "unknown". A key is **incomplete** in two cases:
96
+
97
+ - Only weaker evidence exists. Examples: a local dataset path rather than a
98
+ published location, inputs present in a log with no declared reviewer access,
99
+ a commit from a working tree with untracked or uncommitted files, or a settings
100
+ link the report cannot check.
101
+ - Only some of its parts are present, such as a code location without a commit.
102
+
103
+ It is **not found** when nothing is there. A setting left at a provider default, or
104
+ a limit that no log records, is not found too: the run used some value, but no log
105
+ says which.
106
+
107
+ **Combining.** A rubric item combines its required keys the same way across runs.
108
+ Items that ask about the published leaderboard count run evidence only when the
109
+ manifest declares the runs to be the leaderboard runs
110
+ (`leaderboard.runs_in_inputs: true`). These cover harness settings, elicitation and
111
+ resources, budgets, scaffold, versions, and runs per model. Otherwise they need the
112
+ leaderboard documented in the manifest. Settings and limits are read only from the
113
+ model under test's calls, not from grader or helper calls. A warning appears when
114
+ the runs' task names do not match the manifest's benchmark.
115
+
116
+ **Signals** describe the runs to help a reviewer start. Examples: tasks that ended
117
+ on limits, budgets or scaffolds that differ across models on the same task, runs
118
+ per task, and tasks no model solved. A signal never reports a match it has no
119
+ record of. Signals are not findings.
120
+
121
+ These statuses describe evidence. They are not Epoch's Full, Partial or Inadequate
122
+ grades, its Pass or Flag checks, or its verdicts.
123
+ [docs/report-format.md](https://github.com/Krishnachaitanyakc/benchmark-disclosure/blob/main/docs/report-format.md)
124
+ has the details.
125
+
126
+ ## Limits
127
+
128
+ - **It cannot publish withheld tasks.** For five of the ten Not enough info
129
+ benchmarks we found neither downloadable tasks nor a grader, and a third party's
130
+ telemetry does not change that.
131
+ - **It discloses the runs it is given.** Your runs show your settings. Leaderboard
132
+ settings need the developer's documentation or the leaderboard runs' own logs.
133
+ - **It does not judge.** Whether tasks are answerable or scorers correct is a
134
+ reviewer's call, as is whether limits are adequate.
135
+ - **It cannot see remote graders.** A local run of a benchmark that grades on a
136
+ server reports the local scorer, which may only collect answers. Its scoring
137
+ evidence then looks found unless the manifest declares `scoring.*` withheld.
138
+ - **It cannot attest that telemetry is genuine.** It reads what the files say.
139
+ - **It follows one rubric version.** That is Epoch's rubric v1 as fetched on
140
+ 2026-11-28; `verify-rubric` detects changed wording, not new items.
141
+ - **Content stays out of reports.** Task text, answers and prompts are withheld
142
+ unless you pass `--show-content`. Error messages are never shown; errors are
143
+ counted by type. So publishing a report does not leak a benchmark.
144
+
145
+ ## Related work
146
+
147
+ - **Benchmark quality criteria.** BetterBench
148
+ ([Reuel et al., 2024](https://arxiv.org/abs/2411.12990)) and the Agentic Benchmark
149
+ Checklist ([Zhu et al., 2025](https://arxiv.org/abs/2507.02825)) set quality
150
+ criteria for benchmarks. This tool checks evidence for one review rubric's items
151
+ in a given set of runs, and does not score quality.
152
+ - **Holistic evaluation.** HELM ([Liang et al., 2022](https://arxiv.org/abs/2211.09110))
153
+ and HAL ([Kapoor et al., 2025](https://arxiv.org/abs/2510.11977)) run models under
154
+ documented, shared settings. This tool reads Inspect logs and OpenTelemetry traces,
155
+ so it covers runs like theirs only when they are recorded in those formats.
156
+ - **Run records and benchmark cards.** These include
157
+ [Every Eval Ever](https://github.com/evaleval/every_eval_ever), whose Inspect
158
+ converter already extracts limits, sandbox, tools and generation settings,
159
+ [Evaluation Cards](https://arxiv.org/abs/2606.09809) and inspect_evals `eval.yaml`.
160
+ The mapping aligns its keys with Every Eval Ever 0.3.0 fields, and the manifest is
161
+ meant to converge with those formats.
162
+
163
+ ## Develop
164
+
165
+ ```sh
166
+ pip install -e '.[dev]'
167
+ pytest
168
+ ruff check src tests scripts && ruff format --check src tests scripts
169
+ python scripts/update_spec.py # after editing spec/mapping.yaml
170
+ ```
171
+
172
+ ## License
173
+
174
+ Apache-2.0. Rubric text is quoted from Epoch AI under CC BY 4.0, with credit; see
175
+ [NOTICE](https://github.com/Krishnachaitanyakc/benchmark-disclosure/blob/main/NOTICE).