janwein commited on
Commit
7943e63
·
verified ·
1 Parent(s): 0c2418c

Release ChemBricks curated knowledge 2026-09-17.1

Browse files
.gitattributes CHANGED
@@ -58,3 +58,6 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
58
  # Video files - compressed
59
  *.mp4 filter=lfs diff=lfs merge=lfs -text
60
  *.webm filter=lfs diff=lfs merge=lfs -text
 
 
 
 
58
  # Video files - compressed
59
  *.mp4 filter=lfs diff=lfs merge=lfs -text
60
  *.webm filter=lfs diff=lfs merge=lfs -text
61
+ data/claims.jsonl filter=lfs diff=lfs merge=lfs -text
62
+ data/evidence.jsonl filter=lfs diff=lfs merge=lfs -text
63
+ data/records.jsonl filter=lfs diff=lfs merge=lfs -text
.gitignore ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ .build/
2
+ .cache/
3
+ .venv/
4
+ __pycache__/
5
+ .pytest_cache/
6
+ *.pyc
7
+ TOKEN
8
+ .env
9
+ .env.*
CITATION.cff ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ cff-version: 1.2.0
2
+ message: "Please cite ChemBricks when using this dataset."
3
+ type: dataset
4
+ title: "ChemBricks Knowledge: Evidence-Linked Chemistry Questions and Claims"
5
+ version: "2026-09-17.1"
6
+ date-released: "2026-09-17"
7
+ authors:
8
+ - name: ChemBricks
9
+ website: "https://chembricks.ai"
10
+ url: "https://huggingface.co/datasets/chembricks/chemistry-knowledge"
11
+ repository-code: "https://github.com/Chembricks/chembricks-knowledge"
12
+ license: MIT
13
+ abstract: "Curated computational chemistry questions, scientific audit trails, structured claims, and linked ChemBricks tool evidence."
CURATION.md ADDED
@@ -0,0 +1,57 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Curation and provenance
2
+
3
+ This is a dated public projection of the ChemBricks knowledge corpus. The creator, ChemBricks, requested the MIT license for this release. Source records are read without editing the source corpus, validation reports, review receipts, ledger, queue, or worker instructions.
4
+
5
+ ## What qualifies
6
+
7
+ Each source record must be current, have a completed ledger reference, and have unchanged record, trace and tool-log hashes. The release builder repeats the existing pure G1-G8 checks under the source validation policy and requires their claim results to agree with the stored report. It verifies applicable G9 replay evidence and G10 referee integrity. A record must have a passing independent model referee or a recorded building-agent trace review bound to the exact trace hash.
8
+
9
+ The word curated describes this computational review process. Building-agent reviews are AI reviews; they are not presented as independent human chemist annotations.
10
+
11
+ The existing source-confidence projection is applied transitively. A claim is eligible only when it and its arithmetic dependencies have passed, none are quarantined, evidence is linked, no dependency issue is found, and prediction timing has not failed. Low-trust, screening-grade, model-limit and unverified-timing qualifications remain attached.
12
+
13
+ The **records** subset contains complete, unchanged question/answer/trace text only when every structured claim is eligible and the record passes G6. Full prose is never made clean by deleting only its structured disputed claims.
14
+
15
+ The **claims** subset additionally contains eligible claims from mixed-result investigations. Their original record question and Limitations section supply context; no full answer from an ineligible record is presented as a clean answer. These claims keep their own statement, method, conditions, checks, source confidence and evidence. A failed design target is not converted to a passed finding.
16
+
17
+ The **evidence** subset contains every non-protocol tool-call row from the retained source captures, including intermediate calculations and recorded failures. These are raw observations, not an additional set of validated claims. Identical capture hashes are stored once; multiple questions or revisions sharing a capture are not independent replications.
18
+
19
+ ## Public-copy transformations
20
+
21
+ - Chemical arguments, responses, numeric values, response request IDs, model metadata and claim text are preserved.
22
+ - The release omits MCP protocol advertisements, private endpoint configuration, local runtime controls and worker configuration.
23
+ - Request-envelope client metadata is removed because it may contain local workspace paths or session metadata. Response metadata remains intact. Original tool-row hashes are retained separately from newly computed public-row hashes.
24
+ - Source-record hashes, full source-tool-log hashes, source-validation hashes, ledger commitments, curation decisions and source-code hashes are included. A source-tool-log hash identifies the original capture; the filtered public evidence file is not claimed to have that same file hash.
25
+ - Variable-shape scientific objects are stored losslessly in columns ending in `_json`. This avoids incompatible JSON/Arrow types in the Hugging Face viewer. Decode these columns with `json.loads`.
26
+ - Serialization uses UTF-8 and JSON escaping. Decoding restores the original text, including exact tool-response string values.
27
+ - The owner-authorized release license is `mit`. Historical source license labels remain in the provenance index as historical metadata; the license of this public release is given by LICENSE and the dataset card.
28
+ - Secret and private-host scans check the material selected for publication. Records with a remaining match are held out rather than having scientific text silently rewritten.
29
+
30
+ The release manifest states exact counts and exclusions. No new ChemBricks calculations or model-generated chemistry answers are produced by packaging.
31
+
32
+ ## Evidence versus experimental truth
33
+
34
+ Passed validation means that a claim meets the recorded provenance and consistency requirements. It does not establish experimental accuracy, causal mechanism, a general law of chemical space, or successful synthesis.
35
+
36
+ The dataset preserves the distinction between endpoint predictions and experimental measurements, logP and solubility, computed cross-route discrepancies and calibrated error bars, and prospective predictions and retrospective explanations. A calculation's returned trust factor is not an experimentally measured confidence probability.
37
+
38
+ G9 is sampled, not universal. Phase 0 records may have historically skipped G10. Individual gate states and referee scores are available on each row. The exact source policy versions and hashes are recorded; the release does not apply a new chemistry tolerance.
39
+
40
+ ## Splits and duplicate observations
41
+
42
+ This release has one split named `corpus`. At packaging time the source repository has no frozen scaffold holdout, so this is not a production training split or an independent evaluation benchmark. No random row split is supplied.
43
+
44
+ Before an evaluation, keep source captures, revisions, question paraphrases and linked comparisons together, then define a documented scaffold-based holdout from the captured structures. The molecule lists and source capture IDs help with this, but molecules appearing only in returned candidate lists must also be considered. A held-out result must not reappear through a derived question or the claims/evidence subsets.
45
+
46
+ ## Rebuilding
47
+
48
+ From the source repository:
49
+
50
+ ```bash
51
+ python -B huggingface/build_dataset.py
52
+ python -B huggingface/write_card.py
53
+ python -B huggingface/verify.py --seal
54
+ python -B huggingface/verify.py
55
+ ```
56
+
57
+ Rebuilding takes a new snapshot. It is not a promise to recreate the same release after new records or supersessions arrive. The ledger head, source-code hashes and snapshot time identify the source state. Release verification is offline and makes no chemistry calls.
DATA_DICTIONARY.md ADDED
@@ -0,0 +1,77 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Data dictionary
2
+
3
+ Every JSONL line is one JSON object. Three named Hugging Face configurations use the same unsplit `corpus` designation.
4
+
5
+ ## records
6
+
7
+ One complete eligible investigation per row. The useful reading columns are `question`, `beginner_question`, `answer`, `trace_markdown` and `limitations`. The beginner question is an existing source paraphrase, not a new claim.
8
+
9
+ | Columns | Meaning |
10
+ |---|---|
11
+ | record_id, created_at | Stable source identity and original creation time |
12
+ | family, tier, template_id | Source question taxonomy and template |
13
+ | paraphrases | Recorded alternative phrasings; not independent examples |
14
+ | molecule_smiles | Canonical structures in the record registry |
15
+ | claims_json, molecules_json | Complete structured claims and molecule registry, encoded as JSON strings |
16
+ | interpretations_json, derived_questions_json | Source interpretations and proposed follow-ups |
17
+ | source_confidence_json | Computed confidence projection for every claim, including dependencies and warnings |
18
+ | prediction_timing | Whether recorded pre-call writing order was verified, unverified, or not applicable under the source policy |
19
+ | validation_gates_json | Original G1-G11 statuses |
20
+ | referee_score, referee_model | Recorded independent model review; null or empty when not supplied |
21
+ | builder_review_recorded | Whether a matching building-agent trace-review receipt exists |
22
+ | source_model | Recorded question-writer model |
23
+ | source_capture_id | SHA-256 of the original complete tools.jsonl; a grouping key |
24
+ | source_record_sha256, source_trace_sha256 | Hashes of the original source files |
25
+ | ledger_entry, ledger_line | Commitment in provenance/source-ledger.jsonl |
26
+ | related_record_ids | Explicit supersedes and derived_from links |
27
+ | tags | Propagated confidence, method and timing qualifications |
28
+ | claims_count, tool_calls_count | Counts for this record and its retained non-protocol capture |
29
+ | creator, license | ChemBricks and mit for this release |
30
+
31
+ ## claims
32
+
33
+ One eligible claim per row. `id` is `record_id:claim_id`. Shared fields have the meanings above.
34
+
35
+ | Columns | Meaning |
36
+ |---|---|
37
+ | statement, claim_type, property | Original claim wording, category and property identifier |
38
+ | value, value_json, unit | Numeric convenience value, lossless original JSON value, and source unit |
39
+ | verdict | Always passed in this subset |
40
+ | tool, model, trust_factor | Actual recorded method; nullable trust when unavailable |
41
+ | conditions_json | Source phase, geometry, solvent, temperature and state |
42
+ | claim_json | Complete original claim including its evidence and checks |
43
+ | source_confidence_json | Dependency-aware confidence for this claim |
44
+ | full_record_eligible | Whether the complete source investigation also appears in records |
45
+ | limitations | The source Limitations section, retained even for a claim-only source |
46
+
47
+ A null scalar value can be valid for a directional ranking or a qualitative claim. `value_json` is authoritative for the original type. Null does not mean zero. Trust factors and screening outputs retain their documented limitations.
48
+
49
+ ## evidence
50
+
51
+ One public tool-call row per pair of `source_capture_id` and `request_id`.
52
+
53
+ | Columns | Meaning |
54
+ |---|---|
55
+ | tool, status, timestamp, duration_ms | Recorded execution information |
56
+ | args_json, response_json | Exact chemical arguments and response, represented as JSON strings |
57
+ | source_line | Original line number; gaps reflect omitted protocol rows |
58
+ | public_row_json | Complete retained public row with client request metadata removed |
59
+ | source_row_sha256 | Original row hash before public-copy metadata removal |
60
+ | row_sha256 | Hash of the public row excluding its own sha256 field |
61
+ | omitted_metadata_fields | Request-envelope metadata paths removed from the public row |
62
+
63
+ Join a claim to evidence using both its source capture ID and each evidence request ID. Claim JSON paths start at the full decoded response. JSON-encoded text content may need decoding while traversing a path.
64
+
65
+ The public-row hash uses SHA-256 over JSON with sorted keys, compact separators, UTF-8 characters unescaped, no NaN, and the `sha256` key omitted. The original response metadata is preserved, including request IDs. The source and public row hashes can differ without any chemical change.
66
+
67
+ ## Supporting files
68
+
69
+ - `schemas/*.schema.json`: exact public row schemas.
70
+ - `provenance/records.jsonl`: source hashes, original gate states, review receipts and historical license labels.
71
+ - `provenance/selection.jsonl`: eligible and excluded claim IDs, with reasons propagated through dependencies.
72
+ - `provenance/exclusions.json`: record-level exclusions.
73
+ - `provenance/source-ledger.jsonl`: frozen ledger prefix, including commitments to sources outside the selected release.
74
+ - `manifest.json`: counts, source state, policies, transformations and file hashes.
75
+ - `SHA256SUMS`: checksums of the distributable package.
76
+
77
+ The package verifier checks internal integrity and evidence links. Source-file hashes are commitments to the original private corpus; the package does not contain every original source file required to reconstruct that corpus.
LICENSE ADDED
@@ -0,0 +1,21 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ MIT License
2
+
3
+ Copyright (c) 2026 ChemBricks
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
README.md CHANGED
@@ -1,3 +1,229 @@
1
  ---
2
- license: mit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3
  ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
+ {
3
+ "pretty_name": "ChemBricks Knowledge: Evidence-Linked Chemistry",
4
+ "license": "mit",
5
+ "language": [
6
+ "en"
7
+ ],
8
+ "task_categories": [
9
+ "question-answering",
10
+ "text-generation"
11
+ ],
12
+ "tags": [
13
+ "chemistry",
14
+ "computational-chemistry",
15
+ "scientific-reasoning",
16
+ "tool-use",
17
+ "provenance",
18
+ "synthetic",
19
+ "text"
20
+ ],
21
+ "annotations_creators": [
22
+ "machine-generated"
23
+ ],
24
+ "language_creators": [
25
+ "machine-generated"
26
+ ],
27
+ "size_categories": [
28
+ "1K<n<10K"
29
+ ],
30
+ "configs": [
31
+ {
32
+ "config_name": "records",
33
+ "default": true,
34
+ "data_files": [
35
+ {
36
+ "split": "corpus",
37
+ "path": "data/records.jsonl"
38
+ }
39
+ ]
40
+ },
41
+ {
42
+ "config_name": "claims",
43
+ "data_files": [
44
+ {
45
+ "split": "corpus",
46
+ "path": "data/claims.jsonl"
47
+ }
48
+ ]
49
+ },
50
+ {
51
+ "config_name": "evidence",
52
+ "data_files": [
53
+ {
54
+ "split": "corpus",
55
+ "path": "data/evidence.jsonl"
56
+ }
57
+ ]
58
+ }
59
+ ]
60
+ }
61
  ---
62
+
63
+ # ChemBricks Knowledge
64
+
65
+ **Does caffeine prefer water or an oil-like liquid?**
66
+ **Why can adding one small group change a molecule's behavior?**
67
+ **Can we design a molecule that interacts more favorably with water while meeting other constraints?**
68
+ **How much energy does it take to remove an electron from a molecule?**
69
+
70
+ These are the kinds of questions behind this dataset. Each investigation connects a question to recorded calculations, an answer, and the evidence needed to examine that answer.
71
+
72
+ Created and curated by **[ChemBricks](https://chembricks.ai)** using our **[ChemBricks AI platform](https://cmbx.ai)**.
73
+
74
+ ![Physics, models, tools, questions, claims, checks and reusable context, with a feedback loop from checks to questions](assets/knowledge-path.png)
75
+
76
+ [Download the vector figure](assets/knowledge-path.svg).
77
+
78
+ *Physics informs the models; questions guide the calculations; checks determine which claims can become reusable context. The workflow also includes empirical descriptors and semiempirical methods, identified by their actual tool and model. The figure is a workflow schematic, not a claim that every row was independently validated by a high-level reference calculation.*
79
+
80
+ ## What you get
81
+
82
+ This release contains **346 complete curated investigations**, **6,665 eligible claims**, and **8,001 recorded tool-call pairs**.
83
+
84
+ The claim subset draws from **475 source investigations**. It includes usable findings from investigations whose complete traces contain a disputed, failed, inconclusive or range-quarantined claim. Those full traces are excluded from the default records subset. The evidence table preserves intermediate observations, including failures; an evidence row is not itself a validated claim.
85
+
86
+ | Configuration | Rows | Contents |
87
+ |---|---:|---|
88
+ | records, default | 346 | Questions, answers, scientific audit trails, molecule identities, all claims and their qualifications |
89
+ | claims | 6,665 | Individually eligible findings with methods, conditions, checks and evidence links |
90
+ | evidence | 8,001 | Chemical arguments and returned responses, with original request IDs and provenance |
91
+
92
+ All three configurations use the split **corpus**. This is an unsplit release, not an independent evaluation benchmark.
93
+
94
+ Snapshot: **2026-09-17T08:20:04Z**. Release: **2026-09-17.1**. The snapshot considered 479 current records from a ledger of 525 entries. It contains 462 distinct source captures across the claim/evidence release. Multiple records sharing a capture are not separate simulations.
95
+
96
+ ## A familiar example
97
+
98
+ One included investigation is **rec_20260914_1abcb4**:
99
+
100
+ > Why does the model say caffeine prefers water or octanol, and do its polarity and structure descriptors support that answer?
101
+
102
+ Open its row to see the recorded answer, methods, conditions and Limitations section. Numerical results remain attached to their tool evidence. In the partition questions, the oil-like reference liquid is **octanol**. The computed quantity is logP for the recorded molecular form, not a direct measurement of how much material dissolves in water.
103
+
104
+ ## Read a record
105
+
106
+ Load this dataset from [Hugging Face](https://huggingface.co/datasets/chembricks/chemistry-knowledge):
107
+
108
+ ```python
109
+ from datasets import load_dataset
110
+
111
+ records = load_dataset("chembricks/chemistry-knowledge", "records", split="corpus")
112
+ print(records[0]["question"])
113
+ print(records[0]["answer"])
114
+ print(records[0]["limitations"])
115
+ ```
116
+
117
+ For a local copy, run from this dataset directory:
118
+
119
+ ```python
120
+ from datasets import load_dataset
121
+
122
+ records = load_dataset(
123
+ "json",
124
+ data_files={"corpus": "data/records.jsonl"},
125
+ split="corpus",
126
+ cache_dir=".cache/datasets",
127
+ )
128
+ ```
129
+
130
+ The data also works with ordinary Python. See [examples/read_dataset.py](examples/read_dataset.py).
131
+
132
+ ## Follow a claim to its evidence
133
+
134
+ ```python
135
+ import json
136
+ from datasets import load_dataset
137
+
138
+ claims = load_dataset("chembricks/chemistry-knowledge", "claims", split="corpus")
139
+ evidence = load_dataset("chembricks/chemistry-knowledge", "evidence", split="corpus")
140
+
141
+ item = claims[0]
142
+ claim = json.loads(item["claim_json"])
143
+ reference = claim["evidence"][0]
144
+ call = next(
145
+ row for row in evidence
146
+ if row["source_capture_id"] == item["source_capture_id"]
147
+ and row["request_id"] == reference["request_id"]
148
+ )
149
+ response = json.loads(call["response_json"])
150
+ print(item["statement"])
151
+ print(item["conditions_json"])
152
+ print(reference["path"])
153
+ print(response)
154
+ ```
155
+
156
+ Columns ending in **_json** contain JSON strings so varying scientific structures load consistently in the dataset viewer. [DATA_DICTIONARY.md](DATA_DICTIONARY.md) describes the columns and JSON-path convention.
157
+
158
+ ## How the data was created
159
+
160
+ A question specifies molecules, methods, constraints and a budget. An isolated AI worker calls ChemBricks tools through a logging proxy and writes a scientific audit trail. Mechanical gates check schema, safety-screen completion, number provenance, methods, ranges, cross-checks and trust tags. Phase 1 uses an independent model referee and sampled replay checks. Accepted source records enter a hash-chained ledger.
161
+
162
+ For this release, the original evidence hashes and mechanical checks were verified again offline. Applicable referee and replay evidence were checked. Arithmetic claims inherit the confidence limits of their source claims; a passed calculator result cannot upgrade an unresolved source.
163
+
164
+ The default records subset requires every claim to qualify. This release includes 325 full records with a passing independent model referee and 164 with a matching recorded building-agent trace review. These counts overlap. Building-agent review is AI review, not an independent human annotation. Historical Phase 0 records retain their original gate states.
165
+
166
+ The original question, answer, scientific trace, numerical claims and chemical responses are not scientifically rewritten during packaging. Local client metadata is removed from public request envelopes. [CURATION.md](CURATION.md) explains selection, privacy transformations and provenance.
167
+
168
+ ## Coverage
169
+
170
+ | Family | Question type | Complete records |
171
+ |---|---|---:|
172
+ | A1 | Facts and molecular properties | 54 |
173
+ | A2 | Facts and molecular properties | 14 |
174
+ | A3 | Facts and molecular properties | 157 |
175
+ | B4 | Chemical series | 1 |
176
+ | B6 | Chemical series | 1 |
177
+ | C | Comparisons and counterfactuals | 82 |
178
+ | C2 | Comparisons and counterfactuals | 1 |
179
+ | E2 | Molecule design and discovery tasks | 1 |
180
+ | E5 | Molecule design and discovery tasks | 35 |
181
+
182
+ The complete-record subset covers 281 distinct canonical molecule strings in its recorded registries. This is a deliberately selected corpus of molecular properties, comparisons and design studies, not a representative sample of all chemical space. Paraphrases, related molecules and derived questions introduce substantial dependence.
183
+
184
+ ## What verified means here
185
+
186
+ Verified means **traceable to the recorded computation and checked under its declared policy**. It does not mean experimentally established truth.
187
+
188
+ - Predictions retain their actual model, conditions, applicability and trust information. A high tool trust factor is not a calibrated experimental confidence probability.
189
+ - Cross-route comparisons can support consistency without proving a mechanism or supplying an experimental error bar.
190
+ - Interpretations are distinguished from measurements. A missing descriptor cannot establish a proposed causal explanation.
191
+ - Some historical traces have unverified pre-call prediction timing. Their comparisons remain descriptive. The prediction_timing column preserves this distinction.
192
+ - Low-trust and screening-grade results retain their tags. A passed claim can still have a limited domain of use.
193
+ - Model-based designs are tested computational proposals. They do not establish synthesis, laboratory safety, availability, novelty, or broad chemical laws.
194
+ - The underlying model-training datasets, model weights and full high-level simulation trajectories are not included. This release contains the recorded outputs and knowledge-building investigations.
195
+
196
+ ## Intended uses and evaluation limits
197
+
198
+ Use the corpus to study evidence-grounded chemistry assistance, retrieve qualified computational context, inspect tool use, or develop scientific question-answering systems. Retain methods, uncertainty, limitations and provenance when constructing a downstream example.
199
+
200
+ No frozen scaffold holdout exists in the source snapshot. Before training and evaluation, define and document one that keeps linked records, shared captures, generated candidates and scaffold-related molecules from leaking across partitions. The claims and evidence subsets are alternate views of the same source material, not independent datasets.
201
+
202
+ ## Integrity and release files
203
+
204
+ Run **python -B verify.py** with Python 3.11+ and jsonschema to verify file checksums, public schemas, the ledger commitment chain, preserved trace hashes, claim eligibility and evidence links.
205
+
206
+ [manifest.json](manifest.json) records the exact source state, counts, code hashes and transformations. [SHA256SUMS](SHA256SUMS) covers the distributable files. The provenance directory retains source hashes and selection decisions. See [UPLOAD.md](UPLOAD.md) for publishing instructions.
207
+
208
+ ## Creators, license and citation
209
+
210
+ **Creator and publisher:** ChemBricks
211
+ **Company:** [chembricks.ai](https://chembricks.ai)
212
+ **AI platform:** [cmbx.ai](https://cmbx.ai)
213
+ **License:** [MIT](LICENSE), copyright 2026 ChemBricks
214
+
215
+ This release's curated data, documentation and figure are released under MIT at the dataset owner's direction. Historical source license labels are retained only in the provenance index. They describe the source records' earlier metadata.
216
+
217
+ ```bibtex
218
+ @misc{chembricks_knowledge_2026,
219
+ author = {{ChemBricks}},
220
+ title = {ChemBricks Knowledge: Evidence-Linked Chemistry Questions and Claims},
221
+ year = {2026},
222
+ version = {2026-09-17.1},
223
+ url = {https://huggingface.co/datasets/chembricks/chemistry-knowledge}
224
+ }
225
+ ```
226
+
227
+ [CITATION.cff](CITATION.cff) provides machine-readable citation metadata. Include the Hub revision when citing a particular snapshot; no DOI or associated paper is claimed.
228
+
229
+ Dataset layout follows the [Hugging Face dataset-card specification](https://huggingface.co/docs/hub/datasets-cards) and [data-file configuration](https://huggingface.co/docs/hub/datasets-data-files-configuration).
SHA256SUMS ADDED
@@ -0,0 +1,27 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ 8272d3b01c1bc7f76679df822f0cffe2f8ba97ce56d5dd74f99491aa30417405 .gitignore
2
+ 6d0d63e0c455807dce172b8d4c7f70469c660aef677e17df004aba22f4e530cb CITATION.cff
3
+ 57a77108487644819623b4344750125b3ec04e26d52f56c82d0517babc06bba2 CURATION.md
4
+ 9ad70d1cb47c13b00da733594255ffcffdbda42b35ba3eff51d712f2c85cf79a DATA_DICTIONARY.md
5
+ 305a95e714e4c265a76022043a0951a0f055274ec36c730e6f4605048fa4a0e5 LICENSE
6
+ bd31449c904429e49c9860ce39a90c769991626db8add012701dbaaddcb659c8 README.md
7
+ a9b1b35b8cb0f2624885ed456c608b48f02d510bf92c7456b9a8b4ffb292ee16 UPLOAD.md
8
+ 2b7511d0ab5154375ed9706c0b100b58093efcd32ec4cee0116428be17cbcc9b assets/knowledge-path.png
9
+ 8a51ce3b0b654cd6d7bc299322ff26fb85b191d064db7c5a70257138c26d5f3e assets/knowledge-path.svg
10
+ ae22eb2594bcd554c7a7ceb93832c70267698d47b184dfd671b8e6f8b9594027 build_dataset.py
11
+ a73b2b613f39413f8b4f8ecdd820529e15c555cb1861096c81a26178938a90e3 data/claims.jsonl
12
+ 3947b3e568526821c9689e84737cc29dadbe8aa766aa536512e75de761188c37 data/evidence.jsonl
13
+ 05f65efd63d71eef4f37ce53af1192166958d6d22dba8d21e15e67efa1ff71f6 data/records.jsonl
14
+ 2a5605d7d47e79d4d0c2a935e01df097eaf9b37e1a7823bf05f463a7d301c7bc examples/read_dataset.py
15
+ 011f64208a3be1e0a533e197bb92c27ae9d4b9a7556a97e37596b4479bb5787b manifest.json
16
+ baa550941803bcabfad44ec4e34fbe3388d26cd88aacbce37fe61f2040ee7127 provenance/exclusions.json
17
+ bbc5a8dcd7ef989f946566e4b5ea68c58d8097a2a59f5067fbb5ddf9cf2a7ba2 provenance/records.jsonl
18
+ 251bd68e0d57325fd2119a52ff5c8a1a1b8b5fbb5c85a937f80cb901e7ada5a5 provenance/selection.jsonl
19
+ 04ecc425deff76da43383e08e8ed89975b224650aa2f443c6cc3964bee293ab1 provenance/source-ledger.jsonl
20
+ e094f21278df1a80788c48238e67044819bc7a4155db228836a36cf874c04e65 schemas/claims.schema.json
21
+ 200763fdffc3ab00dccfb806019c81d5d9fd6e0d8ecb1fe8dd49be4a46001d01 schemas/evidence.schema.json
22
+ c9f9e57a3524e9c8eb0a42b6941962b615d543d623e5b07b4f70ca2bb8cd3211 schemas/records.schema.json
23
+ b9da65965c67ee7350775b0b047049903a9cfb9cbc0c8c122a8eb8539c791508 test_release.py
24
+ c9abce3267f5e13db78961110a6269c8abd5f78fb5886e98075b75fcd2c927ac upload.py
25
+ d78188c85bb1aa1745c35f8a639e5df1418b615ab63dfefa6a7794938e775deb verification.json
26
+ c0ca1f7de547621149a9ca66c0658a3d441d9169c8cb0e49eacc4726e5c0aea6 verify.py
27
+ 9d345a16ef338770723d11047b2a59ddc11bce0644ffaa094b6906bef22215e3 write_card.py
UPLOAD.md ADDED
@@ -0,0 +1,27 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Upload this dataset to Hugging Face
2
+
3
+ The dataset card is README.md. The three JSONL configurations load without a custom dataset-loading script.
4
+
5
+ The destination is [chembricks/chemistry-knowledge](https://huggingface.co/datasets/chembricks/chemistry-knowledge), the existing ChemBricks dataset repository. Authenticate by supplying an HF_TOKEN environment variable with write access to that destination. Keep credentials out of this folder and out of chat.
6
+
7
+ Run these commands from this dataset directory. The card already names the destination; after any local edits, regenerate it, then seal and verify the package:
8
+
9
+ ```bash
10
+ python -B write_card.py --repo-id chembricks/chemistry-knowledge
11
+ python -B verify.py --seal
12
+ python -B verify.py
13
+ ```
14
+
15
+ The optional uploader requires `jsonschema` and the official `huggingface_hub` package. Install them in your chosen Python environment if needed: `python -m pip install jsonschema huggingface_hub`. It validates the package, creates the named dataset repository if needed, and uploads only the files named in the manifest. Local build files, caches and credentials are not included.
16
+
17
+ ```bash
18
+ python -B upload.py --repo-id chembricks/chemistry-knowledge
19
+ ```
20
+
21
+ To create a private repository for an initial inspection, add `--private`. This flag controls creation of a new repository; it does not change the visibility of an existing one.
22
+
23
+ After upload, check that the records, claims and evidence configurations are visible in the dataset viewer and that the figure renders. Record the resulting dataset URL and immutable Hub revision in your release announcement. A DOI is optional and can be added later; none is claimed by this package.
24
+
25
+ A DOI, paper, gated-access agreement and custom loader are not required. The package already supplies the dataset card, MIT license, citation metadata, schemas, provenance, checksums, curation policy, examples and upload tooling. It deliberately supplies no train/test split: see CURATION.md before constructing an evaluation.
26
+
27
+ References: [Hugging Face dataset cards](https://huggingface.co/docs/hub/datasets-cards), [data configurations](https://huggingface.co/docs/hub/datasets-data-files-configuration), and [uploading folders](https://huggingface.co/docs/huggingface_hub/guides/upload).
assets/knowledge-path.png ADDED

Git LFS Details

  • SHA256: 2b7511d0ab5154375ed9706c0b100b58093efcd32ec4cee0116428be17cbcc9b
  • Pointer size: 131 Bytes
  • Size of remote file: 257 kB
assets/knowledge-path.svg ADDED
build_dataset.py ADDED
@@ -0,0 +1,368 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ """Build a public, evidence-preserving snapshot. Writes only beside this file.
2
+
3
+ Run from the source repository with Python 3.11+ and its existing dependencies.
4
+ No worker, chemistry endpoint, source-file write, or repository lock is used.
5
+ """
6
+ from __future__ import annotations
7
+
8
+ import argparse
9
+ import copy
10
+ from collections import Counter
11
+ from datetime import datetime, timezone
12
+ import hashlib
13
+ import json
14
+ from pathlib import Path
15
+ import re
16
+ import shutil
17
+ import subprocess
18
+ import sys
19
+
20
+ sys.dont_write_bytecode = True
21
+ DEST = Path(__file__).resolve().parent
22
+ ROOT = DEST.parent
23
+ sys.path.insert(0, str(ROOT))
24
+
25
+
26
+ def dumps(value):
27
+ return json.dumps(value, ensure_ascii=True, allow_nan=False, sort_keys=True, separators=(",", ":"))
28
+
29
+
30
+ def sha(data):
31
+ return hashlib.sha256(data).hexdigest()
32
+
33
+
34
+ def write(relative, content):
35
+ path = (DEST / relative).resolve()
36
+ if not path.is_relative_to(DEST):
37
+ raise ValueError("Output must stay inside huggingface/")
38
+ path.parent.mkdir(parents=True, exist_ok=True)
39
+ if isinstance(content, bytes):
40
+ path.write_bytes(content)
41
+ else:
42
+ path.write_text(content, encoding="utf-8")
43
+ return path
44
+
45
+
46
+ def json_file(relative, value):
47
+ return write(relative, json.dumps(value, ensure_ascii=True, allow_nan=False, indent=2) + "\n")
48
+
49
+
50
+ def jsonl_file(relative, rows):
51
+ return write(relative, "".join(dumps(row) + "\n" for row in rows))
52
+
53
+
54
+ # Check material being released, never read credentials or environment files.
55
+ PRIVATE_PATTERNS = {
56
+ "GitHub credential": r"\b(?:github_pat_[A-Za-z0-9_]{30,}|gh[pousr]_[A-Za-z0-9]{30,})\b",
57
+ "Hugging Face credential": r"\bhf_[A-Za-z0-9]{25,}\b",
58
+ "API credential": r"\bsk-(?:ant-|proj-)?[A-Za-z0-9_-]{24,}\b",
59
+ "private key": r"-----BEGIN (?:RSA |EC |OPENSSH )?PRIVATE KEY-----",
60
+ "authorization credential": r"(?i)\bBearer\s+[A-Za-z0-9._~+/-]{18,}",
61
+ "private host": r"(?i)(?:https?://[^\s\"<>]*\.ts\.net\b|/home/[A-Za-z0-9_.-]+/|orchestrator[-_][A-Za-z0-9_.-]+)",
62
+ "credential URL": r"https?://[^/\s:@]+:[^/\s@]+@",
63
+ }
64
+
65
+
66
+ def privacy_issues(value):
67
+ text = value if isinstance(value, str) else dumps(value)
68
+ return [name for name, pattern in PRIVATE_PATTERNS.items() if re.search(pattern, text)]
69
+
70
+
71
+ def clean_claim_ids(record, confidence):
72
+ """Use the existing transitive confidence policy, never a passed label alone."""
73
+ return {claim["id"] for claim in record["claims"]
74
+ if confidence[claim["id"]]["context_eligible"]}
75
+
76
+
77
+ def public_tool_row(original):
78
+ """Omit client metadata while preserving chemistry and response metadata."""
79
+ row = copy.deepcopy(original)
80
+ request = row.get("request", {})
81
+ removed = []
82
+ for owner, prefix in [(request, "request"), (request.get("params", {}), "request.params")]:
83
+ for key in ("_meta", "meta", "metadata"):
84
+ if key in owner:
85
+ owner.pop(key)
86
+ removed.append(prefix + "." + key)
87
+ row["sha256"] = sha(json.dumps({key:value for key,value in row.items() if key != "sha256"}, sort_keys=True, separators=(",", ":"), ensure_ascii=False, allow_nan=False).encode())
88
+ return row, removed
89
+
90
+
91
+ def receipt_index():
92
+ receipts = {}
93
+ source_hashes = {}
94
+ for path in sorted((ROOT / "docs").glob("*review*.json")):
95
+ if "referee" in path.name or "repeatability" in path.name:
96
+ continue
97
+ raw = path.read_bytes()
98
+ source_hashes[str(path.relative_to(ROOT))] = sha(raw)
99
+ document = json.loads(raw)
100
+ values = document if isinstance(document, list) else document.get("reviews", document.get("records", []))
101
+ for item in values:
102
+ rid = item.get("record_id", item.get("current_record"))
103
+ digest = item.get("trace_sha256")
104
+ if rid and digest:
105
+ receipts.setdefault((rid, digest), []).append({
106
+ "source": str(path.relative_to(ROOT)), "source_sha256": sha(raw),
107
+ "trace_sha256": digest, "reviewer_kind": "building_agent",
108
+ })
109
+ return receipts, source_hashes
110
+
111
+
112
+ def schema_for(rows):
113
+ if not rows:
114
+ raise ValueError("A declared configuration has no rows")
115
+ keys = set(rows[0])
116
+ props = {}
117
+ for key in sorted(keys):
118
+ types = set()
119
+ for row in rows:
120
+ if set(row) != keys:
121
+ raise ValueError("Inconsistent public columns")
122
+ value = row[key]
123
+ types.add("null" if value is None else "boolean" if isinstance(value, bool)
124
+ else "integer" if isinstance(value, int) else "number" if isinstance(value, float)
125
+ else "array" if isinstance(value, list) else "string" if isinstance(value, str) else "object")
126
+ # Nullable numeric fields remain a single Arrow-compatible scalar type.
127
+ if "number" in types:
128
+ types.discard("integer")
129
+ props[key] = {"type": sorted(types) if len(types) > 1 else next(iter(types))}
130
+ if "array" in types:
131
+ if not all(all(isinstance(v, str) for v in row[key]) for row in rows):
132
+ raise ValueError("Public list columns must contain strings")
133
+ props[key]["items"] = {"type": "string"}
134
+ return {"$schema": "https://json-schema.org/draft/2020-12/schema", "type": "object",
135
+ "additionalProperties": False, "required": sorted(keys), "properties": props}
136
+
137
+
138
+ def knowledge_figure():
139
+ """Adapt the seven existing repository-native SVG icons into one portable figure."""
140
+ page = (ROOT / "site/index.html").read_text()
141
+ icons = re.findall(r'<svg class="pathway-art".*?</svg>', page, re.S)
142
+ if len(icons) != 7:
143
+ raise ValueError("Expected the seven existing knowledge-path icons")
144
+ labels = ["Physics", "Models", "Tools", "Questions", "Claims", "Checks", "Context"]
145
+ captions = [("Reference energies", "and structures"), ("Learn patterns from", "simulation data"),
146
+ ("Run calculations", "and keep the evidence"), ("Ask what changes", "and why"),
147
+ ("State a result", "with its source"), ("Check numbers,", "methods and reasoning"),
148
+ ("Reuse knowledge", "with its limitations")]
149
+ parts = ['<svg xmlns="http://www.w3.org/2000/svg" width="1540" height="570" viewBox="0 0 1540 570" role="img" aria-labelledby="title description">',
150
+ '<title id="title">ChemBricks: from physics to verified context</title>',
151
+ '<desc id="description">Physics informs models. Tools record calculations. Questions guide tests. Claims cite evidence. Checks examine provenance and consistency. Context preserves results and limitations. Unresolved checks lead to new questions.</desc>',
152
+ '''<defs><marker id="arrow" markerWidth="8" markerHeight="8" refX="6" refY="4" orient="auto"><path d="M1 1 6 4 1 7" fill="none" stroke="#7c9a91" stroke-width="1.5"/></marker></defs>
153
+ <style>text{font-family:Arial,Helvetica,sans-serif}.diagram-wash{fill:#e7f0eb}.diagram-lines{stroke:#668b7c;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.diagram-faint{stroke:#adc6b9;stroke-width:1.5;fill:none}.diagram-core,.diagram-dot{fill:#286d53}.diagram-nodes{fill:#e6f2e9;stroke:#648e7b;stroke-width:1.5}.diagram-halo{stroke:#a6c4b5;stroke-width:1.5}.diagram-paper{fill:#fff;stroke:#527f6d;stroke-width:1.7;stroke-linejoin:round}.diagram-paper-back{fill:#e1eee5;stroke:#88ab98;stroke-width:1.5}.diagram-strong{stroke:#286d53;stroke-width:2.5;stroke-linecap:round;stroke-linejoin:round;fill:none}.diagram-stamp{fill:#e0efbd;stroke:#789651;stroke-width:1}.diagram-shield-inner{fill:#e7f2e6;stroke:#a0b997;stroke-width:1}.diagram-check{fill:none;stroke:#367844;stroke-width:4;stroke-linecap:round;stroke-linejoin:round}.diagram-approved{fill:#2e674c;stroke:#fff;stroke-width:2}.diagram-approved-mark{stroke:#fff;stroke-width:3;fill:none;stroke-linecap:round;stroke-linejoin:round}.diagram-equation{fill:#4a7162;font-size:11px}</style>''',
154
+ '<rect width="1540" height="570" rx="26" fill="#f5f8f4"/>',
155
+ '<text x="48" y="48" fill="#49735d" font-size="14" font-weight="700" letter-spacing="3">CHEMBRICKS KNOWLEDGE</text>',
156
+ '<text x="48" y="101" fill="#173c2c" font-size="40" font-weight="700">From physics to knowledge you can inspect</text>',
157
+ '<text x="48" y="137" fill="#576d62" font-size="19">Every reusable claim keeps a path back to its calculation, method and limits.</text>']
158
+ for i, (icon, label, caption) in enumerate(zip(icons, labels, captions)):
159
+ x = 48 + i * 209
160
+ parts.append(f'<rect x="{x}" y="177" width="190" height="245" rx="17" fill="{"#e4efd5" if i == 6 else "#ffffff"}" stroke="#d8e4d8"/>')
161
+ parts.append(f'<text x="{x+17}" y="204" fill="#7a9683" font-size="12" font-weight="700">0{i+1}</text>')
162
+ icon = re.sub(r'<svg[^>]*>', f'<svg x="{x+39}" y="207" width="112" height="108" viewBox="0 0 112 108" fill="none">', icon, count=1)
163
+ parts.append(icon)
164
+ parts.append(f'<text x="{x+95}" y="345" text-anchor="middle" fill="#173c2c" font-size="23" font-weight="700">{label}</text>')
165
+ for j, line in enumerate(caption):
166
+ parts.append(f'<text x="{x+95}" y="{374+j*21}" text-anchor="middle" fill="#576d62" font-size="15">{line}</text>')
167
+ if i < 6:
168
+ parts.append(f'<path d="M{x+193} 295h12" fill="none" stroke="#7c9a91" stroke-width="1.8" marker-end="url(#arrow)"/>')
169
+ parts += ['<path d="M1188 428v20q0 12-12 12H770q-12 0-12-12v-18" fill="none" stroke="#7c9a91" stroke-width="1.8" marker-end="url(#arrow)"/>',
170
+ '<text x="972" y="491" text-anchor="middle" fill="#527460" font-size="15">Surprises and unresolved checks guide the next question</text>',
171
+ '<path d="M48 519H1492" stroke="#d9e3d8"/>',
172
+ '<text x="48" y="548" fill="#45664f" font-size="15">Evidence stays attached: source / method / conditions / limitations</text>',
173
+ '<text x="1492" y="548" text-anchor="end" fill="#45664f" font-size="15">chembricks.ai | cmbx.ai</text>', '</svg>']
174
+ write("assets/knowledge-path.svg", "\n".join(parts) + "\n")
175
+
176
+
177
+ def build():
178
+ from harness.common import canonical_bytes
179
+ from harness.ledger import entry_hash, GENESIS
180
+ from harness.validate import validate, VALIDATOR_VERSION, PROTOCOL, section
181
+ from harness.phase1_check import review_integrity, replay_integrity
182
+ from harness.claim_context import project, VERSION
183
+
184
+ started = datetime.now(timezone.utc).isoformat(timespec="seconds").replace("+00:00", "Z")
185
+ ledger_bytes = (ROOT / "ledger/chain.jsonl").read_bytes()
186
+ if not ledger_bytes.endswith(b"\n"):
187
+ raise ValueError("Ledger append in progress; run again after it finishes")
188
+ chain = [json.loads(line) for line in ledger_bytes.splitlines() if line.strip()]
189
+ previous, identifiers = GENESIS, set()
190
+ for row in chain:
191
+ if row["prev"] != previous or row["entry"] != entry_hash(row) or row["record_id"] in identifiers:
192
+ raise ValueError("Invalid source ledger")
193
+ previous = row["entry"]
194
+ identifiers.add(row["record_id"])
195
+ receipt_map, receipt_sources = receipt_index()
196
+ # First copy a frozen source snapshot inside the permitted destination.
197
+ snapshot = DEST / ".build/snapshot"
198
+ current, excluded, source_status = [], [], Counter()
199
+ for line, ledger in enumerate(chain, 1):
200
+ rid = ledger["record_id"]
201
+ folder = ROOT / "records" / rid[4:8] / rid[8:10] / rid
202
+ source = {name: (folder / name).read_bytes() for name in ("record.json", "trace.md", "tools.jsonl", "validation.json")}
203
+ for name, key in (("record.json", "record_sha256"), ("trace.md", "trace_sha256"), ("tools.jsonl", "tools_sha256")):
204
+ if sha(source[name]) != ledger[key]:
205
+ raise ValueError(f"Source hash mismatch: {rid}/{name}")
206
+ validation = json.loads(source["validation.json"])
207
+ source_status[validation["status"]] += 1
208
+ if validation["status"] != "validated":
209
+ excluded.append({"record_id": rid, "reason": "superseded_or_not_current"})
210
+ continue
211
+ if validation.get("ledger") != {"line": line, "entry": "sha256:" + ledger["entry"]} or validation["gates"].get("G11") != "pass":
212
+ excluded.append({"record_id": rid, "reason": "ledger_finalization_incomplete"})
213
+ continue
214
+ for name, raw in source.items():
215
+ write(f".build/snapshot/{rid}/{name}", raw)
216
+ current.append((rid, line, ledger))
217
+ print(dumps({"stage": "snapshot", "ledger_entries": len(chain), "current": len(current), "ledger_head": previous}), flush=True)
218
+
219
+ records, claims, evidence, provenance, decisions = [], [], [], [], []
220
+ captured, privacy_excluded, confidence_counts = set(), [], Counter()
221
+ gates_count, model_count, family_count, property_count = Counter(), Counter(), Counter(), Counter()
222
+ for index, (rid, ledger_line, ledger) in enumerate(current, 1):
223
+ folder = snapshot / rid
224
+ record = json.loads((folder / "record.json").read_bytes())
225
+ validation = json.loads((folder / "validation.json").read_bytes())
226
+ trace = (folder / "trace.md").read_text()
227
+ rows = [json.loads(line) for line in (folder / "tools.jsonl").read_bytes().splitlines() if line.strip()]
228
+ check = validate(record, trace, rows, policy_version=validation.get("validator_version", VALIDATOR_VERSION))
229
+ if check["status"] != "validated" or check["claim_results"] != validation["claim_results"]:
230
+ failed = [k for k,v in check["gates"].items() if v == "fail"]
231
+ excluded.append({"record_id": rid, "reason": "offline_validation_failed", "gates": failed})
232
+ continue
233
+ entry = {"folder": folder, "record": record, "validation": validation, "trace": trace, "rows": rows}
234
+ integrity = review_integrity(folder, validation) + replay_integrity(entry)
235
+ if integrity:
236
+ excluded.append({"record_id": rid, "reason": "review_or_replay_integrity_failed", "issues": integrity})
237
+ continue
238
+ receipts = receipt_map.get((rid, ledger["trace_sha256"]), [])
239
+ if validation["gates"].get("G10") != "pass" and not receipts:
240
+ excluded.append({"record_id": rid, "reason": "no_recorded_curation"})
241
+ continue
242
+ confidence = project(record, validation, rows, trace)
243
+ eligible = clean_claim_ids(record, confidence)
244
+ ineligible = sorted(set(confidence) - eligible)
245
+ original_scientific_rows = [row for row in rows if row["tool"] not in PROTOCOL]
246
+ public_rows = [public_tool_row(row) for row in original_scientific_rows]
247
+ scientific_rows = [row for row, _ in public_rows]
248
+ # Source endpoint configuration and protocol advertisements are not public data.
249
+ leak = privacy_issues({"question": record["question"], "answer": record["answer"], "trace": trace,
250
+ "molecules": record["molecules"], "claims": record["claims"], "rows": scientific_rows})
251
+ if leak:
252
+ privacy_excluded.append({"record_id": rid, "reason": "private_material_detected", "categories": leak})
253
+ continue
254
+ if not eligible:
255
+ excluded.append({"record_id": rid, "reason": "no_eligible_claims"})
256
+ continue
257
+ timing = next(iter(confidence.values()))["prediction_timing"]
258
+ referee = validation.get("referee") or {}
259
+ capture = ledger["tools_sha256"]
260
+ full = not ineligible and validation["gates"].get("G6") == "pass"
261
+ common = {"record_id": rid, "question": record["question"]["text"], "family": record["question"]["family"],
262
+ "tier": record["question"]["tier"], "template_id": record["question"]["template_id"],
263
+ "created_at": record["created_at"], "creator": "ChemBricks", "license": "mit",
264
+ "source_capture_id": capture, "prediction_timing": timing,
265
+ "source_model": record["harness"]["model"],
266
+ "molecule_smiles": [m["smiles_canonical"] for m in record["molecules"]]}
267
+ for claim in record["claims"]:
268
+ if claim["id"] not in eligible:
269
+ continue
270
+ method = claim.get("method", {})
271
+ value = claim.get("value")
272
+ claims.append({**common, "claim_id": claim["id"], "id": rid + ":" + claim["id"],
273
+ "statement": claim["statement"], "claim_type": claim["type"], "property": claim.get("property", ""),
274
+ "value": float(value) if isinstance(value, (int,float)) and not isinstance(value,bool) else None,
275
+ "value_json": dumps(value), "unit": claim.get("unit") or "", "verdict": claim["verdict"],
276
+ "tool": method.get("tool") or "", "model": method.get("model_id") or "",
277
+ "trust_factor": float(method["trust_factor"]) if isinstance(method.get("trust_factor"), (float,int)) else None,
278
+ "tags": confidence[claim["id"]]["tags"], "full_record_eligible": full,
279
+ "conditions_json": dumps(claim.get("conditions", {})), "claim_json": dumps(claim),
280
+ "source_confidence_json": dumps(confidence[claim["id"]]),
281
+ "molecules_json": dumps(record["molecules"]), "limitations": section(trace, "Limitations"),
282
+ "validation_gates_json": dumps(validation["gates"])})
283
+ property_count[claim.get("property", claim["type"])] += 1
284
+ if full:
285
+ question = record["question"]
286
+ records.append({**common, "beginner_question": question["paraphrases"][0],
287
+ "paraphrases": question["paraphrases"], "answer": record["answer"]["text"], "trace_markdown": trace,
288
+ "claims_count": len(record["claims"]), "tool_calls_count": len(scientific_rows),
289
+ "claims_json": dumps(record["claims"]), "molecules_json": dumps(record["molecules"]),
290
+ "interpretations_json": dumps(record.get("interpretations", [])),
291
+ "derived_questions_json": dumps(record.get("derived_questions", [])),
292
+ "limitations": section(trace, "Limitations"), "source_confidence_json": dumps(confidence),
293
+ "validation_gates_json": dumps(validation["gates"]),
294
+ "referee_score": float(referee["score"]) if isinstance(referee.get("score"), (int,float)) else None,
295
+ "referee_model": referee.get("model") or "", "builder_review_recorded": bool(receipts),
296
+ "source_record_sha256": ledger["record_sha256"], "source_trace_sha256": ledger["trace_sha256"],
297
+ "ledger_entry": ledger["entry"], "ledger_line": ledger_line,
298
+ "related_record_ids": sorted({v for v in (record.get("supersedes"), question.get("derived_from")) if v}),
299
+ "tags": sorted({tag for item in confidence.values() for tag in item["tags"]})})
300
+ family_count[question["family"]] += 1
301
+ model_count[record["harness"]["model"]] += 1
302
+ confidence_counts[timing] += 1
303
+ for key,value in validation["gates"].items():
304
+ gates_count[key + ":" + value] += 1
305
+ decisions.append({"record_id": rid, "full_record_eligible": full, "eligible_claim_ids": sorted(eligible),
306
+ "excluded_claim_ids": ineligible,
307
+ "excluded_claim_details": {cid: confidence[cid] for cid in ineligible}})
308
+ provenance.append({"record_id": rid, "ledger_line": ledger_line, "ledger": ledger,
309
+ "source_validation_sha256": sha((folder / "validation.json").read_bytes()),
310
+ "source_license_label": record.get("license"), "release_license": "mit", "gates": validation["gates"],
311
+ "validator_version": validation["validator_version"], "harness_version": record["harness"]["harness_version"],
312
+ "referee": {k: referee[k] for k in ["score", "model", "runner", "rubric_version", "ratings", "input_hashes", "output_sha256"] if k in referee},
313
+ "builder_review_receipts": receipts, "prediction_timing": timing, "full_record_eligible": full})
314
+ if capture not in captured:
315
+ captured.add(capture)
316
+ for original, (row, removed) in zip(original_scientific_rows, public_rows):
317
+ evidence.append({"source_capture_id": capture, "request_id": row["request_id"], "tool": row["tool"],
318
+ "status": row["status"], "timestamp": row["ts"], "duration_ms": row["duration_ms"],
319
+ "source_line": row["line"], "row_sha256": row["sha256"],
320
+ "source_row_sha256": original["sha256"], "omitted_metadata_fields": removed,
321
+ "args_json": dumps(row["args"]), "response_json": dumps(row["response"]), "public_row_json": dumps(row)})
322
+ if index % 25 == 0:
323
+ print(dumps({"stage": "validate", "checked": index, "of": len(current), "records": len(records), "claims": len(claims)}), flush=True)
324
+ for name, values in [("records", records), ("claims", claims), ("evidence", evidence)]:
325
+ jsonl_file(f"data/{name}.jsonl", values)
326
+ json_file(f"schemas/{name}.schema.json", schema_for(values))
327
+ write("provenance/source-ledger.jsonl", ledger_bytes)
328
+ jsonl_file("provenance/records.jsonl", provenance)
329
+ jsonl_file("provenance/selection.jsonl", decisions)
330
+ json_file("provenance/exclusions.json", {"excluded_records": excluded, "privacy_excluded": privacy_excluded})
331
+ knowledge_figure()
332
+ commit = subprocess.run(["git", "rev-parse", "HEAD"], cwd=ROOT, capture_output=True, text=True, check=True).stdout.strip()
333
+ source_code = {str(path.relative_to(ROOT)): sha(path.read_bytes()) for path in sorted((ROOT / "harness").rglob("*.py"))}
334
+ manifest = {"release_version": "2026-09-17.1", "snapshot_started_at": started,
335
+ "created_by": "ChemBricks", "homepage": "https://chembricks.ai", "platform": "https://cmbx.ai", "license": "mit",
336
+ "source_git_commit": commit, "source_ledger_head": previous, "source_ledger_sha256": sha(ledger_bytes),
337
+ "source_ledger_entries": len(chain), "source_statuses": dict(source_status), "current_records_considered": len(current),
338
+ "records": len(records), "claims": len(claims), "evidence_rows": len(evidence),
339
+ "source_records_with_eligible_claims": len(provenance), "distinct_tool_captures": len(captured),
340
+ "builder_reviewed_full_records": sum(r["builder_review_recorded"] for r in records),
341
+ "referee_reviewed_full_records": sum(json.loads(r["validation_gates_json"])["G10"] == "pass" for r in records),
342
+ "molecules_in_full_records": len({s for r in records for s in r["molecule_smiles"]}),
343
+ "family_counts": dict(sorted(family_count.items())), "property_counts": dict(sorted(property_count.items())),
344
+ "writer_model_counts": dict(sorted(model_count.items())), "prediction_timing_counts": dict(confidence_counts),
345
+ "gate_counts": dict(sorted(gates_count.items())), "excluded_record_counts": dict(Counter(item["reason"] for item in excluded)),
346
+ "privacy_excluded_records": len(privacy_excluded), "source_confidence_policy": VERSION,
347
+ "split": "corpus", "frozen_scaffold_split_present": (ROOT / "harness/golden/held-out-scaffolds.json").exists(),
348
+ "source_code_sha256": source_code, "review_source_sha256": receipt_sources,
349
+ "transformations": ["Select current ledgered records and recheck frozen evidence without source writes.",
350
+ "Require a verified independent referee or matching recorded builder trace review.",
351
+ "Full traces require every claim to be context-eligible and G6 to pass.",
352
+ "The claims subset selects eligible claims, including from otherwise mixed-result records.",
353
+ "Retain methods, conditions, low-trust and timing qualifications without scientific rewriting.",
354
+ "Keep every non-protocol request/response row for retained captures; deduplicate identical full-capture hashes.",
355
+ "Omit private endpoint configuration, runtime controls, credentials and MCP protocol advertisements.",
356
+ "Remove request-envelope client metadata; preserve response metadata and chemical arguments exactly. Retain original row hashes alongside separately recomputed public-row hashes.",
357
+ "Release the selected material under the owner-requested MIT license; preserve historical source license labels in provenance."]}
358
+ json_file("manifest.json", manifest)
359
+ # The temporary copies were only needed to isolate validation from live collection.
360
+ shutil.rmtree(snapshot)
361
+ print(dumps({"stage": "complete", **{k:manifest[k] for k in ["records","claims","evidence_rows","current_records_considered","privacy_excluded_records"]}}), flush=True)
362
+ return manifest
363
+
364
+
365
+ if __name__ == "__main__":
366
+ parser = argparse.ArgumentParser(description=__doc__)
367
+ parser.parse_args()
368
+ build()
data/claims.jsonl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a73b2b613f39413f8b4f8ecdd820529e15c555cb1861096c81a26178938a90e3
3
+ size 39235886
data/evidence.jsonl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3947b3e568526821c9689e84737cc29dadbe8aa766aa536512e75de761188c37
3
+ size 25376952
data/records.jsonl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:05f65efd63d71eef4f37ce53af1192166958d6d22dba8d21e15e67efa1ff71f6
3
+ size 22742073
examples/read_dataset.py ADDED
@@ -0,0 +1,20 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ """Read the release with Python's standard library."""
2
+ import argparse
3
+ import json
4
+ from pathlib import Path
5
+
6
+ root = Path(__file__).resolve().parents[1]
7
+ parser = argparse.ArgumentParser(description=__doc__)
8
+ parser.add_argument("--record-id")
9
+ args = parser.parse_args()
10
+ with (root / "data/records.jsonl").open() as stream:
11
+ for line in stream:
12
+ record = json.loads(line)
13
+ if args.record_id is None or record["record_id"] == args.record_id:
14
+ print(record["record_id"])
15
+ print(record["beginner_question"])
16
+ print(record["answer"])
17
+ print("Limitations:", record["limitations"])
18
+ break
19
+ else:
20
+ raise SystemExit("Record not found in the complete-record subset.")
manifest.json ADDED
@@ -0,0 +1,491 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "release_version": "2026-09-17.1",
3
+ "snapshot_started_at": "2026-09-17T08:20:04Z",
4
+ "created_by": "ChemBricks",
5
+ "homepage": "https://chembricks.ai",
6
+ "platform": "https://cmbx.ai",
7
+ "license": "mit",
8
+ "source_git_commit": "73ffceccc9574c26915d1c07d95485a10e8132ea",
9
+ "source_ledger_head": "23f83c9448387d9fd733638c3dc7af395e9eb07f9fec64ea9d0eaf5db826b40d",
10
+ "source_ledger_sha256": "04ecc425deff76da43383e08e8ed89975b224650aa2f443c6cc3964bee293ab1",
11
+ "source_ledger_entries": 525,
12
+ "source_statuses": {
13
+ "validated": 479,
14
+ "superseded": 46
15
+ },
16
+ "current_records_considered": 479,
17
+ "records": 346,
18
+ "claims": 6665,
19
+ "evidence_rows": 8001,
20
+ "source_records_with_eligible_claims": 475,
21
+ "distinct_tool_captures": 462,
22
+ "builder_reviewed_full_records": 164,
23
+ "referee_reviewed_full_records": 325,
24
+ "molecules_in_full_records": 281,
25
+ "family_counts": {
26
+ "A1": 54,
27
+ "A2": 14,
28
+ "A3": 157,
29
+ "B4": 1,
30
+ "B6": 1,
31
+ "C": 82,
32
+ "C2": 1,
33
+ "E2": 1,
34
+ "E5": 35
35
+ },
36
+ "property_counts": {
37
+ "FractionCSP3": 3,
38
+ "MolWt": 4,
39
+ "NumAliphaticRings": 1,
40
+ "NumAromaticRings": 2,
41
+ "NumHAcceptors": 3,
42
+ "NumHDonors": 3,
43
+ "RingCount": 2,
44
+ "aliphatic_ring_count": 1,
45
+ "amino_nitrogen_xtb_mulliken_charge": 3,
46
+ "api_acceptance": 4,
47
+ "aromatic_ring_count": 43,
48
+ "atomic_charge_most_negative": 5,
49
+ "candidate_logp_order_difference": 1,
50
+ "candidate_logp_ordering_primary": 1,
51
+ "candidate_logp_ordering_screening": 1,
52
+ "candidate_logp_screening_order_difference": 1,
53
+ "carbonyl_oxygen_xtb_charge": 3,
54
+ "ea_vs_negative_lumo_discrepancy": 1,
55
+ "electron_affinity": 78,
56
+ "fraction_csp3": 95,
57
+ "h_bond_acceptor_count": 1,
58
+ "h_bond_donor_count": 1,
59
+ "hbond_acceptor_count": 15,
60
+ "hbond_acceptor_count_change": 1,
61
+ "hbond_acceptor_count_difference": 2,
62
+ "hbond_donor_count": 11,
63
+ "hbond_donor_count_change": 1,
64
+ "hbond_donor_count_difference": 2,
65
+ "heavy_atom_count": 18,
66
+ "heteroatom_count": 1,
67
+ "heteroatom_identity": 2,
68
+ "homo_energy": 108,
69
+ "homo_lumo_gap": 94,
70
+ "hydrogen_bond_acceptor_count": 61,
71
+ "hydrogen_bond_acceptors": 4,
72
+ "hydrogen_bond_donor_count": 49,
73
+ "hydrogen_bond_donors": 4,
74
+ "ionization_potential": 106,
75
+ "ip_homo_absolute_discrepancy": 1,
76
+ "ip_homo_discrepancy": 3,
77
+ "ip_minus_ea": 2,
78
+ "ip_negative_homo_discrepancy": 2,
79
+ "ip_vs_negative_homo_discrepancy": 27,
80
+ "koopmans_ip_homo_abs_difference": 1,
81
+ "koopmans_ip_homo_discrepancy": 18,
82
+ "koopmans_ip_homo_residual": 1,
83
+ "koopmans_ip_vs_homo_discrepancy": 1,
84
+ "labute_asa_change": 1,
85
+ "logp": 918,
86
+ "logp_candidate_difference_primary": 1,
87
+ "logp_candidate_difference_screening": 1,
88
+ "logp_candidate_order_difference_screening": 1,
89
+ "logp_candidate_order_screening": 3,
90
+ "logp_candidate_ordering": 5,
91
+ "logp_candidate_ordering_screening": 2,
92
+ "logp_candidate_ranking_difference": 1,
93
+ "logp_crippen": 1,
94
+ "logp_crippen_difference": 1,
95
+ "logp_cross_route_abs_difference": 9,
96
+ "logp_cross_route_absolute_difference": 77,
97
+ "logp_cross_route_absolute_discrepancy": 3,
98
+ "logp_cross_route_agreement_band": 1,
99
+ "logp_cross_route_difference": 32,
100
+ "logp_cross_route_discrepancy": 251,
101
+ "logp_cross_route_effect_spread": 1,
102
+ "logp_cross_route_shift_difference": 1,
103
+ "logp_crossroute_abs_difference": 1,
104
+ "logp_crossroute_absolute_difference": 3,
105
+ "logp_crossroute_discrepancy": 7,
106
+ "logp_difference": 1,
107
+ "logp_edit_cross_route_difference": 1,
108
+ "logp_edit_cross_route_discrepancy": 1,
109
+ "logp_edit_effect_cross_route_absolute_difference": 1,
110
+ "logp_edit_effect_cross_route_discrepancy": 1,
111
+ "logp_effect_cross_route_abs_difference": 1,
112
+ "logp_effect_cross_route_absolute_difference": 1,
113
+ "logp_effect_cross_route_difference": 1,
114
+ "logp_effect_cross_route_discrepancy": 1,
115
+ "logp_same_method_absolute_difference": 1,
116
+ "logp_screening": 78,
117
+ "logp_screening_candidate_ordering": 3,
118
+ "logp_screening_candidate_ordering_difference": 1,
119
+ "logp_screening_candidate_ranking_difference": 3,
120
+ "logp_screening_change": 51,
121
+ "logp_screening_crippen": 5,
122
+ "logp_screening_delta": 4,
123
+ "logp_screening_difference": 37,
124
+ "logp_screening_ordering": 1,
125
+ "logp_screening_ranking": 1,
126
+ "lumo_energy": 88,
127
+ "max_abs_xtb_charge": 6,
128
+ "maximum_absolute_xtb_charge": 5,
129
+ "maximum_absolute_xtb_charge_change": 1,
130
+ "maximum_absolute_xtb_charge_extremum": 3,
131
+ "mol_logp_descriptor": 1,
132
+ "mol_logp_rdkit": 2,
133
+ "mol_logp_rdkit_change": 1,
134
+ "mol_wt_descriptor": 1,
135
+ "molar_refractivity": 1,
136
+ "molecular_weight": 132,
137
+ "molecular_weight_change": 2,
138
+ "molecular_weight_descriptor": 21,
139
+ "molecular_weight_descriptor_change": 1,
140
+ "molecular_weight_descriptor_difference": 1,
141
+ "molecular_weight_difference": 1,
142
+ "molecular_weight_rdkit": 1,
143
+ "molmr": 3,
144
+ "molmr_descriptor_change": 1,
145
+ "molwt": 9,
146
+ "molwt_descriptor": 4,
147
+ "most_negative_charge": 3,
148
+ "most_negative_charge_change": 2,
149
+ "most_negative_q": 5,
150
+ "most_negative_xtb_charge": 2,
151
+ "most_negative_xtb_charge_change": 2,
152
+ "murcko_generic": 1,
153
+ "murcko_scaffold": 21,
154
+ "nitrogen_rdkit_index": 1,
155
+ "num_aliphatic_rings": 6,
156
+ "num_aromatic_rings": 80,
157
+ "num_h_acceptors": 174,
158
+ "num_h_acceptors_change": 4,
159
+ "num_h_acceptors_difference": 2,
160
+ "num_h_bond_acceptors": 7,
161
+ "num_h_bond_donors": 7,
162
+ "num_h_donors": 159,
163
+ "num_h_donors_change": 5,
164
+ "num_h_donors_difference": 1,
165
+ "num_hbond_acceptors": 10,
166
+ "num_hbond_donors": 10,
167
+ "num_heteroatoms": 3,
168
+ "num_hydrogen_bond_acceptors": 7,
169
+ "num_hydrogen_bond_donors": 8,
170
+ "num_rotatable_bonds": 21,
171
+ "num_saturated_rings": 2,
172
+ "octanol_minus_water_solvation_balance_change": 1,
173
+ "octanol_minus_water_solvation_change": 1,
174
+ "primary_logp_candidate_difference": 2,
175
+ "rdkit_descriptor_panel": 1,
176
+ "rdkit_fraction_csp3": 4,
177
+ "rdkit_mollogp": 27,
178
+ "rdkit_mollogp_change": 2,
179
+ "rdkit_molwt": 9,
180
+ "rdkit_num_aromatic_rings": 4,
181
+ "rdkit_num_h_acceptors": 5,
182
+ "rdkit_num_h_donors": 4,
183
+ "rdkit_num_rotatable_bonds": 2,
184
+ "rdkit_ring_count": 2,
185
+ "rdkit_structural_descriptor_panel": 1,
186
+ "ring_count": 90,
187
+ "rotatable_bond_count": 7,
188
+ "saturated_ring_count": 1,
189
+ "screening_crippen_logp_change": 2,
190
+ "screening_logp": 2,
191
+ "screening_logp_candidate_difference": 2,
192
+ "screening_logp_change": 6,
193
+ "solvation_balance_octanol_minus_water": 2,
194
+ "solvation_change_water_minus_octanol": 4,
195
+ "solvation_energy_octanol": 705,
196
+ "solvation_energy_octanol_change": 9,
197
+ "solvation_energy_octanol_difference": 16,
198
+ "solvation_energy_octanol_minus_water": 179,
199
+ "solvation_energy_octanol_minus_water_change": 1,
200
+ "solvation_energy_water": 795,
201
+ "solvation_energy_water_change": 7,
202
+ "solvation_energy_water_difference": 9,
203
+ "solvation_energy_water_minus_octanol": 29,
204
+ "solvation_energy_water_minus_octanol_change": 2,
205
+ "solvation_energy_water_minus_octanol_difference": 1,
206
+ "solvation_free_energy_octanol_minus_water": 1,
207
+ "solvation_free_energy_relative_split": 1,
208
+ "solvation_partition_balance_change": 1,
209
+ "solvation_partition_change_contrast": 1,
210
+ "solvation_partition_contrast": 1,
211
+ "solvation_shift_water_minus_octanol": 1,
212
+ "solvent_balance": 10,
213
+ "solvent_balance_candidate_difference": 1,
214
+ "solvent_balance_change": 78,
215
+ "solvent_balance_difference": 13,
216
+ "solvent_balance_octanol_minus_water": 57,
217
+ "solvent_balance_octanol_minus_water_change": 11,
218
+ "solvent_balance_water_minus_octanol": 1,
219
+ "solvent_change_balance": 1,
220
+ "solvent_change_contrast": 2,
221
+ "solvent_change_split": 1,
222
+ "solvent_component_balance": 1,
223
+ "solvent_free_energy_balance": 1,
224
+ "solvent_free_energy_balance_octanol_minus_water": 1,
225
+ "solvent_free_energy_difference_octanol_minus_water": 1,
226
+ "solvent_partition_delta_difference": 1,
227
+ "solvent_preference_octanol_minus_water": 1,
228
+ "solvent_preference_shift": 3,
229
+ "solvent_response_balance": 1,
230
+ "solvent_transfer_free_energy_change": 2,
231
+ "topological_polar_surface_area": 1,
232
+ "tpsa": 794,
233
+ "tpsa_candidate_ordering": 1,
234
+ "tpsa_change": 9,
235
+ "tpsa_difference": 10,
236
+ "tpsa_molwt_ratio": 1,
237
+ "tpsa_rdkit_subset": 1,
238
+ "water_minus_octanol_solvation_change": 2,
239
+ "water_solvation_candidate_difference": 1,
240
+ "water_vs_octanol_solvation_shift": 2,
241
+ "xtb_added_amine_charge": 1,
242
+ "xtb_added_fluorine_charge": 1,
243
+ "xtb_added_nitrogen_charge": 1,
244
+ "xtb_added_oxygen_charge": 1,
245
+ "xtb_adjacent_carbon_charge_difference": 1,
246
+ "xtb_charge_most_negative": 3,
247
+ "xtb_charge_most_positive": 3,
248
+ "xtb_charge_oxygen": 3,
249
+ "xtb_charge_span": 15,
250
+ "xtb_charge_span_change": 3,
251
+ "xtb_charge_span_difference": 1,
252
+ "xtb_edited_carbon_charge": 1,
253
+ "xtb_exocyclic_n_q": 1,
254
+ "xtb_fusion_carbon_charge_difference": 1,
255
+ "xtb_local_bond_charge_contrast": 1,
256
+ "xtb_local_group_charge_difference": 1,
257
+ "xtb_mapped_nitrogen_charge_far": 1,
258
+ "xtb_mapped_nitrogen_charge_near": 1,
259
+ "xtb_max_abs_charge": 12,
260
+ "xtb_max_abs_charge_change": 1,
261
+ "xtb_maximum_absolute_charge_difference": 1,
262
+ "xtb_mean_carbon_charge_difference": 1,
263
+ "xtb_methoxy_oxygen_charge": 3,
264
+ "xtb_most_negative_charge": 319,
265
+ "xtb_most_negative_charge_change": 24,
266
+ "xtb_most_negative_charge_difference": 24,
267
+ "xtb_most_negative_charge_order": 1,
268
+ "xtb_most_negative_oxygen_charge": 3,
269
+ "xtb_most_negative_q": 84,
270
+ "xtb_most_negative_q_change": 3,
271
+ "xtb_most_positive_charge": 27,
272
+ "xtb_most_positive_charge_change": 3,
273
+ "xtb_most_positive_charge_difference": 1,
274
+ "xtb_most_positive_q": 7,
275
+ "xtb_mulliken_charge_added_nitrogen": 1,
276
+ "xtb_mulliken_charge_introduced_n": 1,
277
+ "xtb_mulliken_charge_phenolic_oxygen": 3,
278
+ "xtb_mulliken_charge_target_carbon": 3,
279
+ "xtb_nitrogen_charge_change": 1,
280
+ "xtb_nitrogen_charge_difference": 1,
281
+ "xtb_outer_carbon_charge_difference": 1,
282
+ "xtb_retained_ring_n_q": 1,
283
+ "xtb_ring_n_charge": 3,
284
+ "xtb_ring_nitrogen_charge": 1,
285
+ "xtb_ring_oxygen_charge": 3,
286
+ "xtb_substitution_site_charge_difference": 1,
287
+ "xtb_target_carbon_charge": 6,
288
+ "xtb_target_carbon_q": 1
289
+ },
290
+ "writer_model_counts": {
291
+ "gpt-5.6-sol": 341,
292
+ "sonnet": 5
293
+ },
294
+ "prediction_timing_counts": {
295
+ "unverified": 101,
296
+ "verified": 245
297
+ },
298
+ "gate_counts": {
299
+ "G10:pass": 325,
300
+ "G10:skipped": 21,
301
+ "G11:pass": 346,
302
+ "G1:pass": 346,
303
+ "G2:pass": 346,
304
+ "G3:pass": 346,
305
+ "G4:pass": 346,
306
+ "G5:pass": 346,
307
+ "G6:pass": 346,
308
+ "G7:pass": 346,
309
+ "G8:pass": 346,
310
+ "G9:pass": 14,
311
+ "G9:skipped": 332
312
+ },
313
+ "excluded_record_counts": {
314
+ "superseded_or_not_current": 46,
315
+ "no_eligible_claims": 4
316
+ },
317
+ "privacy_excluded_records": 0,
318
+ "source_confidence_policy": "source-confidence-v1",
319
+ "split": "corpus",
320
+ "frozen_scaffold_split_present": false,
321
+ "source_code_sha256": {
322
+ "harness/__init__.py": "ab08d8b41a75905ad0b0d2588df5a9f923e72778b81feb01b95c4b190f5e6475",
323
+ "harness/activity.py": "3eaac28c805e02aa0173c2533f7858d39dc7c78ab6cfb6f521b73203837b8ddd",
324
+ "harness/audit.py": "d1fc2bee121415b6f43066988f2688f2be54d510856b32ef8e88af3f4050e1dc",
325
+ "harness/campaign.py": "aeb6da101e1892f70fd211b2217327e08e043eac1ccc7d3188a5e6131d40739b",
326
+ "harness/catalog.py": "2578cf29245b78246c43f47547c2c295fa713cfd51dab8fa58b9c7a59a6f3be3",
327
+ "harness/check.py": "978be4d23e788772523f833e1961272f234b9290461c4fcfaab38cf7100eac01",
328
+ "harness/claim_context.py": "1406b4ae72a313b4383028389b42bd625ff1459d69df645a45cb1ad54f185f54",
329
+ "harness/collection.py": "31a9449733d2eba4108b1bf870479e42f1bc8eed0bdcc626cbd109f2e49a4a9c",
330
+ "harness/common.py": "feea2e6bd1f93d7704405424b8b842b9bc7864786e83464d7f8759fd92841d45",
331
+ "harness/coverage.py": "f05ae33128ed5baabd0cd327074387bdb4f2bbf8ab1073bb276da6ec458aade3",
332
+ "harness/cross_checks.py": "fe5e68a9e760e7c35e7fb1086c91bed28c78a2beb2b39f2b64d02c0ad6a090ce",
333
+ "harness/design.py": "a7c1635058bc8b1cb644c33184e349c80e3c814781ff39145a983f95dd34ad92",
334
+ "harness/design_questions.py": "1f252ebf4b7a00c4eff2e7a48c0ed08c736fa52446b9b1e54409f165324760c9",
335
+ "harness/driver.py": "6b0477e4330756432fb7b84356abb71c9729d11641c98f3d7cb8c56ca763aed1",
336
+ "harness/edit_questions.py": "c2219573dd7bc1cd8053542375afe29ad239f05c237a7a2531869d8706e5f046",
337
+ "harness/endpoint_state.py": "20c331b16ab61aa1b473d3abeb80d557886f6cd16d2a99d8ac4c6debbc7c26d8",
338
+ "harness/env.py": "6fd60ce6a8f5c639e0ab810e54c6e21099682346eabbb6960da01fbef650b9ca",
339
+ "harness/expand.py": "818253cf7dd9c69f256bad7eb1ebb6b4674050519dbb3a56ca8f1795edcc6db1",
340
+ "harness/export_training.py": "58d44a0280648da2815911d799b1ff9446585870d266574991f4aa4c079f6972",
341
+ "harness/generate_questions.py": "df28fbfc806f666986c5beb690971b800eeec96b5a8881ea7e5f88e6997eadde",
342
+ "harness/golden/__init__.py": "a08547fbcf2933c0d250361c32f61441a45f0356c8bc2df405bd3696c7623a5d",
343
+ "harness/golden/__main__.py": "4c379ffaef89f3a3d9d7da428f9eb67b8fd180f810356666eecdf963d7aecef5",
344
+ "harness/golden/policy_review.py": "e4a381407611baeef9016b823ff4aa3b85c86f94179e766aa18d210a0abe2428",
345
+ "harness/ledger.py": "ef6131c06fe66fc0329f9bb6965288dc8751fbb01b8245db0d956b8c1bd6205e",
346
+ "harness/locking.py": "b1f7c7074418106e44faf774f856223d69eb1b6db38699ef2d649c36b88dc6c8",
347
+ "harness/mcp_proxy/__init__.py": "30fa631c411a321eb74a9851ab3ac03786ac8bb9b9be616845353edd4908ab9d",
348
+ "harness/mcp_proxy/__main__.py": "26d7123a171dc75d962e0fb96233b267780bd4c1766baa47ffad521ad5f2e077",
349
+ "harness/metrics.py": "70fc2283e49161a18f14111f24f0e1ab7092731d5d0890b467ecab6853bd3856",
350
+ "harness/named_questions.py": "01ca9c01d6252ae1ce64c6427f7b484d14cbcd7a3681bef97b87523f1954b039",
351
+ "harness/operations.py": "96326038af70e666943108e0ed4fecf25fce4518373dc9768df0bfcdacb4ab9b",
352
+ "harness/phase1_check.py": "5ba6db8ed4f957739c39f54e6fe70dee9262e273c18ef5bd597b3507c86d99fc",
353
+ "harness/phase1_questions.py": "47f168d464e5cba1c311ee133ffe76a0a82e3e265a7333ae3159aba0db15dca0",
354
+ "harness/predictions.py": "4b794014f0e712873f939fe785e688d1dbbb17e4160cba2ff7ae3ebca68ea526",
355
+ "harness/referee.py": "92e7f94feb2df268302a8310e7799242b1d054577fc842ed3588c18cf9bec87e",
356
+ "harness/replay_policy.py": "22279327781267a3a939ae2b72583d636b6be6520e12d0da4e2a6379909b9b80",
357
+ "harness/runners/__init__.py": "6cc2bf8a63a462d7f4b3b11f2b7dbca63e241a80aff4f1f5f83711852b2aedc2",
358
+ "harness/runners/claude_code.py": "23a236e047bf17585a7406a8fc0c2016e667daeecaa7d8a4fc759e779fd010a3",
359
+ "harness/runners/codex.py": "46f6266f75c37ead806d4aaec292a3ee625a128a0d709ce374387680963d81fd",
360
+ "harness/runners/common.py": "5628d5225b1a32436e70939cf4bfe1794473c5e9e021b941650e458ac7051af7",
361
+ "harness/runners/files.py": "b5d2ee79d0e9a9c4dd47a0c1d70ebf63bfbeb0683cb61abbc85e291a1b94f004",
362
+ "harness/runners/policy.py": "f4fc3bd8c9ff39569c9c35dafda408733d0aa357178add0a6c9ea18e3dfb6a33",
363
+ "harness/runners/processes.py": "d2eb3512dd19a18156270641f404de89bc4e30129f7ca0568a0de8d133afd7ba",
364
+ "harness/runners/replay.py": "c3e214d4e9794aadb52ae46a46a36a6bc6e9b0924e26b967304a70eb11d5da9c",
365
+ "harness/validate.py": "e86c7923a2468893b45791073f21001f7ae57c3a1bb1da9ced4b1a0b44b92069"
366
+ },
367
+ "review_source_sha256": {
368
+ "docs/phase0-trace-review.json": "387d57c47a6dffecfd5a06eb72a6647d1ee436b16a4ae28ebe076772eb9e32bc",
369
+ "docs/phase1-continuation-review.json": "8b783123a046ab8d1b3e206ce2776127374e9bf6d7fd273b88bcd7ca348e0d37",
370
+ "docs/phase1-second-continuation-review.json": "2c2d0d0cfcd4d190311c467baea295a017fb81bd874f5ee63d93499fdd55216c",
371
+ "docs/phase1-third-continuation-review.json": "29379e25bf4065b7c98f7031e328866c8a45443940d52587a65e7039b9158cfd",
372
+ "docs/phase1-trace-review.json": "6c4e26827601792fe718f862bcb2e51491b17670c0a49f75b83daf83cc0ee179"
373
+ },
374
+ "transformations": [
375
+ "Select current ledgered records and recheck frozen evidence without source writes.",
376
+ "Require a verified independent referee or matching recorded builder trace review.",
377
+ "Full traces require every claim to be context-eligible and G6 to pass.",
378
+ "The claims subset selects eligible claims, including from otherwise mixed-result records.",
379
+ "Retain methods, conditions, low-trust and timing qualifications without scientific rewriting.",
380
+ "Keep every non-protocol request/response row for retained captures; deduplicate identical full-capture hashes.",
381
+ "Omit private endpoint configuration, runtime controls, credentials and MCP protocol advertisements.",
382
+ "Remove request-envelope client metadata; preserve response metadata and chemical arguments exactly. Retain original row hashes alongside separately recomputed public-row hashes.",
383
+ "Release the selected material under the owner-requested MIT license; preserve historical source license labels in provenance."
384
+ ],
385
+ "files": {
386
+ ".gitignore": {
387
+ "sha256": "8272d3b01c1bc7f76679df822f0cffe2f8ba97ce56d5dd74f99491aa30417405",
388
+ "bytes": 75
389
+ },
390
+ "CITATION.cff": {
391
+ "sha256": "6d0d63e0c455807dce172b8d4c7f70469c660aef677e17df004aba22f4e530cb",
392
+ "bytes": 578
393
+ },
394
+ "CURATION.md": {
395
+ "sha256": "57a77108487644819623b4344750125b3ec04e26d52f56c82d0517babc06bba2",
396
+ "bytes": 6003
397
+ },
398
+ "DATA_DICTIONARY.md": {
399
+ "sha256": "9ad70d1cb47c13b00da733594255ffcffdbda42b35ba3eff51d712f2c85cf79a",
400
+ "bytes": 5141
401
+ },
402
+ "LICENSE": {
403
+ "sha256": "305a95e714e4c265a76022043a0951a0f055274ec36c730e6f4605048fa4a0e5",
404
+ "bytes": 1067
405
+ },
406
+ "README.md": {
407
+ "sha256": "bd31449c904429e49c9860ce39a90c769991626db8add012701dbaaddcb659c8",
408
+ "bytes": 11417
409
+ },
410
+ "UPLOAD.md": {
411
+ "sha256": "a9b1b35b8cb0f2624885ed456c608b48f02d510bf92c7456b9a8b4ffb292ee16",
412
+ "bytes": 2277
413
+ },
414
+ "assets/knowledge-path.png": {
415
+ "sha256": "2b7511d0ab5154375ed9706c0b100b58093efcd32ec4cee0116428be17cbcc9b",
416
+ "bytes": 256644
417
+ },
418
+ "assets/knowledge-path.svg": {
419
+ "sha256": "8a51ce3b0b654cd6d7bc299322ff26fb85b191d064db7c5a70257138c26d5f3e",
420
+ "bytes": 11144
421
+ },
422
+ "build_dataset.py": {
423
+ "sha256": "ae22eb2594bcd554c7a7ceb93832c70267698d47b184dfd671b8e6f8b9594027",
424
+ "bytes": 24812
425
+ },
426
+ "data/claims.jsonl": {
427
+ "sha256": "a73b2b613f39413f8b4f8ecdd820529e15c555cb1861096c81a26178938a90e3",
428
+ "bytes": 39235886
429
+ },
430
+ "data/evidence.jsonl": {
431
+ "sha256": "3947b3e568526821c9689e84737cc29dadbe8aa766aa536512e75de761188c37",
432
+ "bytes": 25376952
433
+ },
434
+ "data/records.jsonl": {
435
+ "sha256": "05f65efd63d71eef4f37ce53af1192166958d6d22dba8d21e15e67efa1ff71f6",
436
+ "bytes": 22742073
437
+ },
438
+ "examples/read_dataset.py": {
439
+ "sha256": "2a5605d7d47e79d4d0c2a935e01df097eaf9b37e1a7823bf05f463a7d301c7bc",
440
+ "bytes": 738
441
+ },
442
+ "provenance/exclusions.json": {
443
+ "sha256": "baa550941803bcabfad44ec4e34fbe3388d26cd88aacbce37fe61f2040ee7127",
444
+ "bytes": 4979
445
+ },
446
+ "provenance/records.jsonl": {
447
+ "sha256": "bbc5a8dcd7ef989f946566e4b5ea68c58d8097a2a59f5067fbb5ddf9cf2a7ba2",
448
+ "bytes": 787304
449
+ },
450
+ "provenance/selection.jsonl": {
451
+ "sha256": "251bd68e0d57325fd2119a52ff5c8a1a1b8b5fbb5c85a937f80cb901e7ada5a5",
452
+ "bytes": 660166
453
+ },
454
+ "provenance/source-ledger.jsonl": {
455
+ "sha256": "04ecc425deff76da43383e08e8ed89975b224650aa2f443c6cc3964bee293ab1",
456
+ "bytes": 243600
457
+ },
458
+ "schemas/claims.schema.json": {
459
+ "sha256": "e094f21278df1a80788c48238e67044819bc7a4155db228836a36cf874c04e65",
460
+ "bytes": 2513
461
+ },
462
+ "schemas/evidence.schema.json": {
463
+ "sha256": "200763fdffc3ab00dccfb806019c81d5d9fd6e0d8ecb1fe8dd49be4a46001d01",
464
+ "bytes": 1145
465
+ },
466
+ "schemas/records.schema.json": {
467
+ "sha256": "c9f9e57a3524e9c8eb0a42b6941962b615d543d623e5b07b4f70ca2bb8cd3211",
468
+ "bytes": 2936
469
+ },
470
+ "test_release.py": {
471
+ "sha256": "b9da65965c67ee7350775b0b047049903a9cfb9cbc0c8c122a8eb8539c791508",
472
+ "bytes": 4577
473
+ },
474
+ "upload.py": {
475
+ "sha256": "c9abce3267f5e13db78961110a6269c8abd5f78fb5886e98075b75fcd2c927ac",
476
+ "bytes": 1550
477
+ },
478
+ "verification.json": {
479
+ "sha256": "d78188c85bb1aa1745c35f8a639e5df1418b615ab63dfefa6a7794938e775deb",
480
+ "bytes": 1540
481
+ },
482
+ "verify.py": {
483
+ "sha256": "c0ca1f7de547621149a9ca66c0658a3d441d9169c8cb0e49eacc4726e5c0aea6",
484
+ "bytes": 10118
485
+ },
486
+ "write_card.py": {
487
+ "sha256": "9d345a16ef338770723d11047b2a59ddc11bce0644ffaa094b6906bef22215e3",
488
+ "bytes": 12455
489
+ }
490
+ }
491
+ }
provenance/exclusions.json ADDED
@@ -0,0 +1,205 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "excluded_records": [
3
+ {
4
+ "record_id": "rec_20260914_273ed3",
5
+ "reason": "superseded_or_not_current"
6
+ },
7
+ {
8
+ "record_id": "rec_20260914_47ac1c",
9
+ "reason": "superseded_or_not_current"
10
+ },
11
+ {
12
+ "record_id": "rec_20260914_c5d2dd",
13
+ "reason": "superseded_or_not_current"
14
+ },
15
+ {
16
+ "record_id": "rec_20260914_6551be",
17
+ "reason": "superseded_or_not_current"
18
+ },
19
+ {
20
+ "record_id": "rec_20260914_9b9afe",
21
+ "reason": "superseded_or_not_current"
22
+ },
23
+ {
24
+ "record_id": "rec_20260914_14485e",
25
+ "reason": "superseded_or_not_current"
26
+ },
27
+ {
28
+ "record_id": "rec_20260914_46c73c",
29
+ "reason": "superseded_or_not_current"
30
+ },
31
+ {
32
+ "record_id": "rec_20260914_ca6e5d",
33
+ "reason": "superseded_or_not_current"
34
+ },
35
+ {
36
+ "record_id": "rec_20260914_938fe1",
37
+ "reason": "superseded_or_not_current"
38
+ },
39
+ {
40
+ "record_id": "rec_20260914_2a7bd5",
41
+ "reason": "superseded_or_not_current"
42
+ },
43
+ {
44
+ "record_id": "rec_20260914_cc8eec",
45
+ "reason": "superseded_or_not_current"
46
+ },
47
+ {
48
+ "record_id": "rec_20260914_fd0674",
49
+ "reason": "superseded_or_not_current"
50
+ },
51
+ {
52
+ "record_id": "rec_20260914_afd7a9",
53
+ "reason": "superseded_or_not_current"
54
+ },
55
+ {
56
+ "record_id": "rec_20260914_3b8981",
57
+ "reason": "superseded_or_not_current"
58
+ },
59
+ {
60
+ "record_id": "rec_20260914_d8b8b0",
61
+ "reason": "superseded_or_not_current"
62
+ },
63
+ {
64
+ "record_id": "rec_20260914_94999a",
65
+ "reason": "superseded_or_not_current"
66
+ },
67
+ {
68
+ "record_id": "rec_20260915_c7e0ba",
69
+ "reason": "superseded_or_not_current"
70
+ },
71
+ {
72
+ "record_id": "rec_20260915_6a6ef0",
73
+ "reason": "superseded_or_not_current"
74
+ },
75
+ {
76
+ "record_id": "rec_20260915_7ef45e",
77
+ "reason": "superseded_or_not_current"
78
+ },
79
+ {
80
+ "record_id": "rec_20260915_7aa885",
81
+ "reason": "superseded_or_not_current"
82
+ },
83
+ {
84
+ "record_id": "rec_20260915_951052",
85
+ "reason": "superseded_or_not_current"
86
+ },
87
+ {
88
+ "record_id": "rec_20260915_aba5b0",
89
+ "reason": "superseded_or_not_current"
90
+ },
91
+ {
92
+ "record_id": "rec_20260915_13378d",
93
+ "reason": "superseded_or_not_current"
94
+ },
95
+ {
96
+ "record_id": "rec_20260915_4524b6",
97
+ "reason": "superseded_or_not_current"
98
+ },
99
+ {
100
+ "record_id": "rec_20260915_e935ea",
101
+ "reason": "superseded_or_not_current"
102
+ },
103
+ {
104
+ "record_id": "rec_20260916_cf31f0",
105
+ "reason": "superseded_or_not_current"
106
+ },
107
+ {
108
+ "record_id": "rec_20260916_bd6402",
109
+ "reason": "superseded_or_not_current"
110
+ },
111
+ {
112
+ "record_id": "rec_20260916_542f3c",
113
+ "reason": "superseded_or_not_current"
114
+ },
115
+ {
116
+ "record_id": "rec_20260916_790d63",
117
+ "reason": "superseded_or_not_current"
118
+ },
119
+ {
120
+ "record_id": "rec_20260916_eed51c",
121
+ "reason": "superseded_or_not_current"
122
+ },
123
+ {
124
+ "record_id": "rec_20260916_67181b",
125
+ "reason": "superseded_or_not_current"
126
+ },
127
+ {
128
+ "record_id": "rec_20260916_73173f",
129
+ "reason": "superseded_or_not_current"
130
+ },
131
+ {
132
+ "record_id": "rec_20260916_80ed3e",
133
+ "reason": "superseded_or_not_current"
134
+ },
135
+ {
136
+ "record_id": "rec_20260916_895d3e",
137
+ "reason": "superseded_or_not_current"
138
+ },
139
+ {
140
+ "record_id": "rec_20260916_d2e242",
141
+ "reason": "superseded_or_not_current"
142
+ },
143
+ {
144
+ "record_id": "rec_20260916_bc6308",
145
+ "reason": "superseded_or_not_current"
146
+ },
147
+ {
148
+ "record_id": "rec_20260916_942766",
149
+ "reason": "superseded_or_not_current"
150
+ },
151
+ {
152
+ "record_id": "rec_20260916_87de54",
153
+ "reason": "superseded_or_not_current"
154
+ },
155
+ {
156
+ "record_id": "rec_20260916_051afe",
157
+ "reason": "superseded_or_not_current"
158
+ },
159
+ {
160
+ "record_id": "rec_20260916_05ff1f",
161
+ "reason": "superseded_or_not_current"
162
+ },
163
+ {
164
+ "record_id": "rec_20260916_1bc779",
165
+ "reason": "superseded_or_not_current"
166
+ },
167
+ {
168
+ "record_id": "rec_20260916_600a8c",
169
+ "reason": "superseded_or_not_current"
170
+ },
171
+ {
172
+ "record_id": "rec_20260916_eed34c",
173
+ "reason": "superseded_or_not_current"
174
+ },
175
+ {
176
+ "record_id": "rec_20260916_6945d2",
177
+ "reason": "superseded_or_not_current"
178
+ },
179
+ {
180
+ "record_id": "rec_20260916_da339e",
181
+ "reason": "superseded_or_not_current"
182
+ },
183
+ {
184
+ "record_id": "rec_20260916_975962",
185
+ "reason": "superseded_or_not_current"
186
+ },
187
+ {
188
+ "record_id": "rec_20260914_f40469",
189
+ "reason": "no_eligible_claims"
190
+ },
191
+ {
192
+ "record_id": "rec_20260914_7cbf35",
193
+ "reason": "no_eligible_claims"
194
+ },
195
+ {
196
+ "record_id": "rec_20260914_dbb935",
197
+ "reason": "no_eligible_claims"
198
+ },
199
+ {
200
+ "record_id": "rec_20260916_72a97d",
201
+ "reason": "no_eligible_claims"
202
+ }
203
+ ],
204
+ "privacy_excluded": []
205
+ }
provenance/records.jsonl ADDED
The diff for this file is too large to render. See raw diff
 
provenance/selection.jsonl ADDED
The diff for this file is too large to render. See raw diff
 
provenance/source-ledger.jsonl ADDED
The diff for this file is too large to render. See raw diff
 
schemas/claims.schema.json ADDED
@@ -0,0 +1,149 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "type": "object",
4
+ "additionalProperties": false,
5
+ "required": [
6
+ "claim_id",
7
+ "claim_json",
8
+ "claim_type",
9
+ "conditions_json",
10
+ "created_at",
11
+ "creator",
12
+ "family",
13
+ "full_record_eligible",
14
+ "id",
15
+ "license",
16
+ "limitations",
17
+ "model",
18
+ "molecule_smiles",
19
+ "molecules_json",
20
+ "prediction_timing",
21
+ "property",
22
+ "question",
23
+ "record_id",
24
+ "source_capture_id",
25
+ "source_confidence_json",
26
+ "source_model",
27
+ "statement",
28
+ "tags",
29
+ "template_id",
30
+ "tier",
31
+ "tool",
32
+ "trust_factor",
33
+ "unit",
34
+ "validation_gates_json",
35
+ "value",
36
+ "value_json",
37
+ "verdict"
38
+ ],
39
+ "properties": {
40
+ "claim_id": {
41
+ "type": "string"
42
+ },
43
+ "claim_json": {
44
+ "type": "string"
45
+ },
46
+ "claim_type": {
47
+ "type": "string"
48
+ },
49
+ "conditions_json": {
50
+ "type": "string"
51
+ },
52
+ "created_at": {
53
+ "type": "string"
54
+ },
55
+ "creator": {
56
+ "type": "string"
57
+ },
58
+ "family": {
59
+ "type": "string"
60
+ },
61
+ "full_record_eligible": {
62
+ "type": "boolean"
63
+ },
64
+ "id": {
65
+ "type": "string"
66
+ },
67
+ "license": {
68
+ "type": "string"
69
+ },
70
+ "limitations": {
71
+ "type": "string"
72
+ },
73
+ "model": {
74
+ "type": "string"
75
+ },
76
+ "molecule_smiles": {
77
+ "type": "array",
78
+ "items": {
79
+ "type": "string"
80
+ }
81
+ },
82
+ "molecules_json": {
83
+ "type": "string"
84
+ },
85
+ "prediction_timing": {
86
+ "type": "string"
87
+ },
88
+ "property": {
89
+ "type": "string"
90
+ },
91
+ "question": {
92
+ "type": "string"
93
+ },
94
+ "record_id": {
95
+ "type": "string"
96
+ },
97
+ "source_capture_id": {
98
+ "type": "string"
99
+ },
100
+ "source_confidence_json": {
101
+ "type": "string"
102
+ },
103
+ "source_model": {
104
+ "type": "string"
105
+ },
106
+ "statement": {
107
+ "type": "string"
108
+ },
109
+ "tags": {
110
+ "type": "array",
111
+ "items": {
112
+ "type": "string"
113
+ }
114
+ },
115
+ "template_id": {
116
+ "type": "string"
117
+ },
118
+ "tier": {
119
+ "type": "integer"
120
+ },
121
+ "tool": {
122
+ "type": "string"
123
+ },
124
+ "trust_factor": {
125
+ "type": [
126
+ "null",
127
+ "number"
128
+ ]
129
+ },
130
+ "unit": {
131
+ "type": "string"
132
+ },
133
+ "validation_gates_json": {
134
+ "type": "string"
135
+ },
136
+ "value": {
137
+ "type": [
138
+ "null",
139
+ "number"
140
+ ]
141
+ },
142
+ "value_json": {
143
+ "type": "string"
144
+ },
145
+ "verdict": {
146
+ "type": "string"
147
+ }
148
+ }
149
+ }
schemas/evidence.schema.json ADDED
@@ -0,0 +1,64 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "type": "object",
4
+ "additionalProperties": false,
5
+ "required": [
6
+ "args_json",
7
+ "duration_ms",
8
+ "omitted_metadata_fields",
9
+ "public_row_json",
10
+ "request_id",
11
+ "response_json",
12
+ "row_sha256",
13
+ "source_capture_id",
14
+ "source_line",
15
+ "source_row_sha256",
16
+ "status",
17
+ "timestamp",
18
+ "tool"
19
+ ],
20
+ "properties": {
21
+ "args_json": {
22
+ "type": "string"
23
+ },
24
+ "duration_ms": {
25
+ "type": "integer"
26
+ },
27
+ "omitted_metadata_fields": {
28
+ "type": "array",
29
+ "items": {
30
+ "type": "string"
31
+ }
32
+ },
33
+ "public_row_json": {
34
+ "type": "string"
35
+ },
36
+ "request_id": {
37
+ "type": "string"
38
+ },
39
+ "response_json": {
40
+ "type": "string"
41
+ },
42
+ "row_sha256": {
43
+ "type": "string"
44
+ },
45
+ "source_capture_id": {
46
+ "type": "string"
47
+ },
48
+ "source_line": {
49
+ "type": "integer"
50
+ },
51
+ "source_row_sha256": {
52
+ "type": "string"
53
+ },
54
+ "status": {
55
+ "type": "string"
56
+ },
57
+ "timestamp": {
58
+ "type": "string"
59
+ },
60
+ "tool": {
61
+ "type": "string"
62
+ }
63
+ }
64
+ }
schemas/records.schema.json ADDED
@@ -0,0 +1,160 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "type": "object",
4
+ "additionalProperties": false,
5
+ "required": [
6
+ "answer",
7
+ "beginner_question",
8
+ "builder_review_recorded",
9
+ "claims_count",
10
+ "claims_json",
11
+ "created_at",
12
+ "creator",
13
+ "derived_questions_json",
14
+ "family",
15
+ "interpretations_json",
16
+ "ledger_entry",
17
+ "ledger_line",
18
+ "license",
19
+ "limitations",
20
+ "molecule_smiles",
21
+ "molecules_json",
22
+ "paraphrases",
23
+ "prediction_timing",
24
+ "question",
25
+ "record_id",
26
+ "referee_model",
27
+ "referee_score",
28
+ "related_record_ids",
29
+ "source_capture_id",
30
+ "source_confidence_json",
31
+ "source_model",
32
+ "source_record_sha256",
33
+ "source_trace_sha256",
34
+ "tags",
35
+ "template_id",
36
+ "tier",
37
+ "tool_calls_count",
38
+ "trace_markdown",
39
+ "validation_gates_json"
40
+ ],
41
+ "properties": {
42
+ "answer": {
43
+ "type": "string"
44
+ },
45
+ "beginner_question": {
46
+ "type": "string"
47
+ },
48
+ "builder_review_recorded": {
49
+ "type": "boolean"
50
+ },
51
+ "claims_count": {
52
+ "type": "integer"
53
+ },
54
+ "claims_json": {
55
+ "type": "string"
56
+ },
57
+ "created_at": {
58
+ "type": "string"
59
+ },
60
+ "creator": {
61
+ "type": "string"
62
+ },
63
+ "derived_questions_json": {
64
+ "type": "string"
65
+ },
66
+ "family": {
67
+ "type": "string"
68
+ },
69
+ "interpretations_json": {
70
+ "type": "string"
71
+ },
72
+ "ledger_entry": {
73
+ "type": "string"
74
+ },
75
+ "ledger_line": {
76
+ "type": "integer"
77
+ },
78
+ "license": {
79
+ "type": "string"
80
+ },
81
+ "limitations": {
82
+ "type": "string"
83
+ },
84
+ "molecule_smiles": {
85
+ "type": "array",
86
+ "items": {
87
+ "type": "string"
88
+ }
89
+ },
90
+ "molecules_json": {
91
+ "type": "string"
92
+ },
93
+ "paraphrases": {
94
+ "type": "array",
95
+ "items": {
96
+ "type": "string"
97
+ }
98
+ },
99
+ "prediction_timing": {
100
+ "type": "string"
101
+ },
102
+ "question": {
103
+ "type": "string"
104
+ },
105
+ "record_id": {
106
+ "type": "string"
107
+ },
108
+ "referee_model": {
109
+ "type": "string"
110
+ },
111
+ "referee_score": {
112
+ "type": [
113
+ "null",
114
+ "number"
115
+ ]
116
+ },
117
+ "related_record_ids": {
118
+ "type": "array",
119
+ "items": {
120
+ "type": "string"
121
+ }
122
+ },
123
+ "source_capture_id": {
124
+ "type": "string"
125
+ },
126
+ "source_confidence_json": {
127
+ "type": "string"
128
+ },
129
+ "source_model": {
130
+ "type": "string"
131
+ },
132
+ "source_record_sha256": {
133
+ "type": "string"
134
+ },
135
+ "source_trace_sha256": {
136
+ "type": "string"
137
+ },
138
+ "tags": {
139
+ "type": "array",
140
+ "items": {
141
+ "type": "string"
142
+ }
143
+ },
144
+ "template_id": {
145
+ "type": "string"
146
+ },
147
+ "tier": {
148
+ "type": "integer"
149
+ },
150
+ "tool_calls_count": {
151
+ "type": "integer"
152
+ },
153
+ "trace_markdown": {
154
+ "type": "string"
155
+ },
156
+ "validation_gates_json": {
157
+ "type": "string"
158
+ }
159
+ }
160
+ }
test_release.py ADDED
@@ -0,0 +1,101 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ """Regression checks for public-copy curation and provenance."""
2
+ import copy
3
+ import hashlib
4
+ import json
5
+
6
+ import pytest
7
+
8
+ from build_dataset import clean_claim_ids, privacy_issues, public_tool_row, schema_for
9
+ from verify import pointer, verify_evidence
10
+
11
+
12
+ def canonical(value):
13
+ return json.dumps(value, sort_keys=True, separators=(",", ":"), ensure_ascii=False, allow_nan=False).encode()
14
+
15
+
16
+ def example_row():
17
+ # Synthetic bookkeeping fixture, not a chemistry observation.
18
+ value = {"line": 7, "ts": "2026-09-17T00:00:00Z", "duration_ms": 1,
19
+ "tool": "fixture_tool", "args": {"smiles": "C", "properties": ["fixture"]},
20
+ "request_id": "fixture-request", "status": "ok",
21
+ "request": {"id": 1, "jsonrpc": "2.0", "method": "tools/call",
22
+ "params": {"name": "fixture_tool", "arguments": {"smiles": "C", "properties": ["fixture"]},
23
+ "_meta": {"workspaces": {"/home/example/private": {"session": "not-public"}}}}},
24
+ "response": {"jsonrpc": "2.0", "id": 1, "result": {
25
+ "_meta": {"request_id": "fixture-request", "model_version": "fixture-v1"},
26
+ "structuredContent": {"number": 1.25, "trust_factor": 75.5}}}}
27
+ value["sha256"] = hashlib.sha256(canonical(value)).hexdigest()
28
+ return value
29
+
30
+
31
+ def public_projection():
32
+ original = example_row()
33
+ public, removed = public_tool_row(original)
34
+ return original, public, {
35
+ "request_id": public["request_id"], "tool": public["tool"], "status": public["status"],
36
+ "timestamp": public["ts"], "duration_ms": public["duration_ms"], "source_line": public["line"],
37
+ "row_sha256": public["sha256"], "source_row_sha256": original["sha256"],
38
+ "omitted_metadata_fields": removed, "args_json": json.dumps(public["args"]),
39
+ "response_json": json.dumps(public["response"]), "public_row_json": json.dumps(public),
40
+ }
41
+
42
+
43
+ def test_projection_removes_only_client_metadata():
44
+ original = example_row()
45
+ before = copy.deepcopy(original)
46
+ public, removed = public_tool_row(original)
47
+ assert original == before
48
+ assert public["args"] == original["args"]
49
+ assert public["response"] == original["response"]
50
+ assert public["response"]["result"]["_meta"]["request_id"] == "fixture-request"
51
+ assert removed == ["request.params._meta"]
52
+ assert public["sha256"] != original["sha256"]
53
+ assert not privacy_issues(public)
54
+ assert privacy_issues(original)
55
+
56
+
57
+ def test_public_evidence_hash_checks_the_response():
58
+ original, public, exported = public_projection()
59
+ verify_evidence(exported)
60
+ public["response"]["result"]["structuredContent"]["number"] = 2.5
61
+ exported["response_json"] = json.dumps(public["response"])
62
+ exported["public_row_json"] = json.dumps(public)
63
+ with pytest.raises(AssertionError, match="hash"):
64
+ verify_evidence(exported)
65
+
66
+
67
+ def test_flat_argument_column_cannot_disagree_with_public_row():
68
+ _, _, exported = public_projection()
69
+ exported["args_json"] = json.dumps({"smiles": "CC"})
70
+ with pytest.raises(AssertionError, match="Arguments"):
71
+ verify_evidence(exported)
72
+
73
+
74
+ def test_passed_arithmetic_does_not_override_ineligible_sources():
75
+ record = {"claims": [{"id":"primary", "verdict":"inconclusive"},
76
+ {"id":"arithmetic", "verdict":"passed"},
77
+ {"id":"independent", "verdict":"passed"}]}
78
+ confidence = {"primary":{"context_eligible":False},
79
+ "arithmetic":{"context_eligible":False},
80
+ "independent":{"context_eligible":True}}
81
+ assert clean_claim_ids(record,confidence) == {"independent"}
82
+
83
+
84
+ def test_schema_supports_nullable_scalars_and_rejects_shape_drift():
85
+ schema = schema_for([{"value":None,"tags":[]}, {"value":1.0,"tags":["low-trust"]}])
86
+ assert schema["properties"]["value"]["type"] == ["null","number"]
87
+ with pytest.raises(ValueError, match="columns"):
88
+ schema_for([{"value":1}, {"unexpected":1}])
89
+
90
+
91
+ def test_pointer_decodes_nested_response_text_and_escaped_keys():
92
+ response = {"result":{"content":[{"text":json.dumps({"a/b":{"~key":1.25}})}]}}
93
+ assert pointer(response,"/result/content/0/text/a~1b/~0key") == 1.25
94
+ with pytest.raises(KeyError):
95
+ pointer(response,"/result/absent")
96
+
97
+
98
+ def test_secret_scan_checks_dictionary_keys_as_well_as_values():
99
+ assert privacy_issues({"workspaces":{"/home/example/private":{}}})
100
+ assert privacy_issues("gh" + "p_" + "x"*40)
101
+ assert not privacy_issues({"request_id":"fixture-request","model":"recorded-model"})
upload.py ADDED
@@ -0,0 +1,38 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ """Upload only the verified public files to a named Hugging Face dataset."""
2
+ import argparse
3
+ import os
4
+ from pathlib import Path
5
+ import sys
6
+
7
+ sys.dont_write_bytecode = True
8
+ ROOT = Path(__file__).resolve().parent
9
+
10
+
11
+ def main():
12
+ parser = argparse.ArgumentParser(description=__doc__)
13
+ parser.add_argument("--repo-id", required=True, help="Your organization/dataset-name")
14
+ parser.add_argument("--private", action="store_true", help="Create a new repository as private")
15
+ args = parser.parse_args()
16
+ if "/" not in args.repo_id or args.repo_id.startswith("YOUR_ORG/"):
17
+ parser.error("Supply your actual organization and dataset name.")
18
+ if not os.environ.get("HF_TOKEN"):
19
+ parser.error("Supply HF_TOKEN through your environment.")
20
+ from verify import verify
21
+ manifest = verify(ROOT)
22
+ os.environ.setdefault("HF_HOME", str(ROOT / ".cache/huggingface"))
23
+ try:
24
+ from huggingface_hub import HfApi
25
+ except ImportError:
26
+ parser.error("The optional uploader requires the official huggingface_hub package.")
27
+ api = HfApi(token=os.environ["HF_TOKEN"])
28
+ api.create_repo(args.repo_id, repo_type="dataset", private=args.private, exist_ok=True)
29
+ result = api.upload_folder(
30
+ repo_id=args.repo_id, repo_type="dataset", folder_path=str(ROOT),
31
+ allow_patterns=sorted([*manifest["files"], "manifest.json", "SHA256SUMS"]),
32
+ commit_message="Release ChemBricks curated knowledge " + manifest["release_version"],
33
+ )
34
+ print(result.commit_url)
35
+
36
+
37
+ if __name__ == "__main__":
38
+ main()
verification.json ADDED
@@ -0,0 +1,50 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "python": "3.13.12",
3
+ "datasets": "5.0.1",
4
+ "huggingface_hub": "1.31.0",
5
+ "network_for_data_loading": "disabled",
6
+ "dataset_card": "pass",
7
+ "regression_tests": {
8
+ "passed": 7
9
+ },
10
+ "configurations": {
11
+ "records": {
12
+ "rows": 346,
13
+ "columns": 34,
14
+ "first_row_round_trip": "pass",
15
+ "status": "pass",
16
+ "all_rows_round_trip": "pass"
17
+ },
18
+ "claims": {
19
+ "rows": 6665,
20
+ "columns": 32,
21
+ "first_row_round_trip": "pass",
22
+ "status": "pass",
23
+ "all_rows_round_trip": "pass"
24
+ },
25
+ "evidence": {
26
+ "rows": 8001,
27
+ "columns": 13,
28
+ "first_row_round_trip": "pass",
29
+ "status": "pass",
30
+ "all_rows_round_trip": "pass"
31
+ }
32
+ },
33
+ "figure": {
34
+ "status": "rendered",
35
+ "svg": "assets/knowledge-path.svg",
36
+ "png": "assets/knowledge-path.png",
37
+ "renderer": "CairoSVG 2.9.1",
38
+ "width": 3080,
39
+ "height": 1140,
40
+ "source_svg_sha256": "8a51ce3b0b654cd6d7bc299322ff26fb85b191d064db7c5a70257138c26d5f3e",
41
+ "visual_review": "Seven stages, labels, captions and feedback arrow checked at page-sized resolution; no clipping observed."
42
+ },
43
+ "data_sha256": {
44
+ "records": "05f65efd63d71eef4f37ce53af1192166958d6d22dba8d21e15e67efa1ff71f6",
45
+ "claims": "a73b2b613f39413f8b4f8ecdd820529e15c555cb1861096c81a26178938a90e3",
46
+ "evidence": "3947b3e568526821c9689e84737cc29dadbe8aa766aa536512e75de761188c37"
47
+ },
48
+ "card_metadata_sha256": "19601634a77a01278a65e6a5496357c948a00e1ca4d5758ee1a73bd0f867bae6",
49
+ "publication": "prepublication_checks_only"
50
+ }
verify.py ADDED
@@ -0,0 +1,193 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ """Verify or seal the distributable dataset without contacting any service."""
2
+ from __future__ import annotations
3
+ import argparse
4
+ import hashlib
5
+ import json
6
+ from pathlib import Path
7
+ import re
8
+ import sys
9
+
10
+ sys.dont_write_bytecode = True
11
+ ROOT = Path(__file__).resolve().parent
12
+ TOP_FILES = {"README.md", "LICENSE", "CURATION.md", "DATA_DICTIONARY.md", "UPLOAD.md",
13
+ "CITATION.cff", "build_dataset.py", "write_card.py", "verify.py", "upload.py",
14
+ "test_release.py", "verification.json", ".gitignore"}
15
+ PUBLIC_DIRS = {"data", "assets", "schemas", "provenance", "examples"}
16
+ SECRET = re.compile(r"\b(?:github_pat_[A-Za-z0-9_]{30,}|gh[pousr]_[A-Za-z0-9]{30,}|hf_[A-Za-z0-9]{25,}|sk-(?:ant-|proj-)?[A-Za-z0-9_-]{24,})\b|-----BEGIN (?:RSA |EC |OPENSSH )?PRIVATE KEY-----")
17
+ PRIVATE = re.compile(r"/home/[A-Za-z0-9_.-]+/|https?://[^\s\"<>]*\.ts\.net\b")
18
+
19
+
20
+ def digest(raw):
21
+ return hashlib.sha256(raw).hexdigest()
22
+
23
+
24
+ def canonical(value):
25
+ return json.dumps(value, sort_keys=True, separators=(",", ":"), ensure_ascii=False, allow_nan=False).encode()
26
+
27
+
28
+ def read_rows(path):
29
+ with path.open(encoding="utf-8") as stream:
30
+ return [json.loads(line) for line in stream if line.strip()]
31
+
32
+
33
+ def pointer(value, path):
34
+ if path in ("", "$"):
35
+ return value
36
+ parts = path[1:].split("/") if path.startswith("/") else path.removeprefix("$.").split(".")
37
+ for part in parts:
38
+ if isinstance(value, str):
39
+ value = json.loads(value)
40
+ part = part.replace("~1", "/").replace("~0", "~")
41
+ value = value[int(part)] if isinstance(value, list) else value[part]
42
+ return value
43
+
44
+
45
+ def references(value):
46
+ if isinstance(value, dict):
47
+ if isinstance(value.get("request_id"), str) and isinstance(value.get("path"), str):
48
+ yield value
49
+ for child in value.values():
50
+ yield from references(child)
51
+ elif isinstance(value, list):
52
+ for child in value:
53
+ yield from references(child)
54
+
55
+
56
+ def verify_evidence(row):
57
+ public = json.loads(row["public_row_json"])
58
+ assert digest(canonical({k:v for k,v in public.items() if k != "sha256"})) == row["row_sha256"] == public["sha256"], "Public tool-row hash mismatch"
59
+ assert public["args"] == json.loads(row["args_json"]), "Arguments differ"
60
+ assert public["response"] == json.loads(row["response_json"]), "Response differs"
61
+ for key, other in [("request_id","request_id"),("tool","tool"),("status","status"),("line","source_line"),("ts","timestamp"),("duration_ms","duration_ms")]:
62
+ assert public[key] == row[other], "Evidence projection differs: " + key
63
+ assert re.fullmatch("[0-9a-f]{64}", row["source_row_sha256"]), "Invalid source row hash"
64
+ request = public.get("request", {})
65
+ assert not any(k in request or k in request.get("params", {}) for k in ("_meta", "meta", "metadata")), "Client metadata was retained"
66
+ assert not SECRET.search(row["public_row_json"]) and not PRIVATE.search(row["public_row_json"]), "Private evidence content"
67
+ return public
68
+
69
+
70
+ def manifest_files(root):
71
+ files = []
72
+ for path in sorted(root.rglob("*")):
73
+ relative = path.relative_to(root)
74
+ if not path.is_file() or path.is_symlink():
75
+ continue
76
+ if (len(relative.parts) == 1 and relative.name in TOP_FILES) or relative.parts[0] in PUBLIC_DIRS:
77
+ if "__pycache__" not in relative.parts and path.suffix != ".pyc":
78
+ files.append(path)
79
+ return files
80
+
81
+
82
+ def seal(root=ROOT):
83
+ root = Path(root).resolve()
84
+ assert root == ROOT or root.is_relative_to(ROOT), "Seal output must remain inside huggingface/"
85
+ manifest = json.loads((root / "manifest.json").read_text())
86
+ manifest["files"] = {str(p.relative_to(root)): {"sha256":digest(p.read_bytes()), "bytes":p.stat().st_size} for p in manifest_files(root)}
87
+ (root / "manifest.json").write_text(json.dumps(manifest, ensure_ascii=True, allow_nan=False, indent=2) + "\n")
88
+ names = [*manifest["files"], "manifest.json"]
89
+ (root / "SHA256SUMS").write_text("".join(digest((root/name).read_bytes()) + " " + name + "\n" for name in sorted(names)))
90
+ return manifest
91
+
92
+
93
+ def verify(root=ROOT):
94
+ from jsonschema import Draft202012Validator
95
+ root = Path(root).resolve()
96
+ manifest = json.loads((root / "manifest.json").read_text())
97
+ assert manifest["license"] == "mit" and manifest["created_by"] == "ChemBricks"
98
+ for name, item in manifest["files"].items():
99
+ path = (root / name).resolve()
100
+ assert path.is_relative_to(root) and not (root / name).is_symlink()
101
+ assert digest(path.read_bytes()) == item["sha256"] and path.stat().st_size == item["bytes"], "File differs: " + name
102
+ sums = {}
103
+ for line in (root / "SHA256SUMS").read_text().splitlines():
104
+ expected, name = line.split(" ", 1)
105
+ assert name in manifest["files"] or name == "manifest.json", "Unexpected checksum path"
106
+ assert name not in sums, "Duplicate checksum path"
107
+ assert digest((root/name).read_bytes()) == expected, "Checksum differs: " + name
108
+ sums[name] = expected
109
+ assert set(sums) == set(manifest["files"]) | {"manifest.json"}
110
+ data = {}
111
+ for name in ("records", "claims", "evidence"):
112
+ schema = json.loads((root / "schemas" / (name + ".schema.json")).read_text())
113
+ validator = Draft202012Validator(schema)
114
+ data[name] = read_rows(root / "data" / (name + ".jsonl"))
115
+ for row in data[name]:
116
+ validator.validate(row)
117
+ serialized = json.dumps(row)
118
+ assert not SECRET.search(serialized) and not PRIVATE.search(serialized), "Private material in " + name
119
+ expected = manifest["evidence_rows" if name == "evidence" else name]
120
+ assert len(data[name]) == expected, "Count differs: " + name
121
+ by_call = {}
122
+ for row in data["evidence"]:
123
+ key = row["source_capture_id"], row["request_id"]
124
+ assert key not in by_call, "Duplicate evidence join key"
125
+ by_call[key] = verify_evidence(row)
126
+ provenance = {row["record_id"]: row for row in read_rows(root / "provenance/records.jsonl")}
127
+ ledger_raw = (root / "provenance/source-ledger.jsonl").read_bytes()
128
+ assert digest(ledger_raw) == manifest["source_ledger_sha256"]
129
+ chain = read_rows(root / "provenance/source-ledger.jsonl")
130
+ previous, ledger = "0" * 64, {}
131
+ for i, row in enumerate(chain, 1):
132
+ assert row["prev"] == previous and row["record_id"] not in ledger
133
+ assert digest((row["record_sha256"] + row["tools_sha256"] + row["trace_sha256"] + previous).encode()) == row["entry"]
134
+ previous = row["entry"]
135
+ ledger[row["record_id"]] = (i,row)
136
+ assert previous == manifest["source_ledger_head"] and len(chain) == manifest["source_ledger_entries"]
137
+ for rid, source in provenance.items():
138
+ assert (source["ledger_line"],source["ledger"]) == ledger[rid]
139
+ assert source["release_license"] == "mit"
140
+ claim_index = {}
141
+ for row in data["claims"]:
142
+ key = row["record_id"], row["claim_id"]
143
+ assert key not in claim_index and row["id"] == ":".join(key)
144
+ claim = json.loads(row["claim_json"])
145
+ confidence = json.loads(row["source_confidence_json"])
146
+ assert claim["verdict"] == row["verdict"] == "passed"
147
+ assert confidence["context_eligible"] and not confidence["issues"] and confidence["prediction_timing"] != "fail"
148
+ assert all(s["verdict"] == "passed" and not s["quarantined"] for s in confidence["sources"])
149
+ assert row["statement"] == claim["statement"] and row["value_json"] == json.dumps(claim.get("value"),sort_keys=True,separators=(",",":"))
150
+ assert row["license"] == "mit" and row["creator"] == "ChemBricks"
151
+ assert row["source_capture_id"] == provenance[row["record_id"]]["ledger"]["tools_sha256"]
152
+ for ref in references([claim, confidence]):
153
+ source = by_call[(row["source_capture_id"], ref["request_id"])]
154
+ pointer(source["response"], ref["path"])
155
+ claim_index[key] = row
156
+ seen = set()
157
+ for row in data["records"]:
158
+ rid = row["record_id"]
159
+ assert rid not in seen
160
+ seen.add(rid)
161
+ source = provenance[rid]
162
+ assert source["full_record_eligible"] and source["ledger"]["record_sha256"] == row["source_record_sha256"]
163
+ assert digest(row["trace_markdown"].encode()) == source["ledger"]["trace_sha256"] == row["source_trace_sha256"]
164
+ assert row["source_capture_id"] == source["ledger"]["tools_sha256"]
165
+ assert row["license"] == "mit" and row["creator"] == "ChemBricks"
166
+ claims = json.loads(row["claims_json"])
167
+ assert len(claims) == row["claims_count"]
168
+ assert json.loads(row["validation_gates_json"])["G6"] == "pass"
169
+ for claim in claims:
170
+ exported = claim_index[(rid,claim["id"])]
171
+ assert exported["full_record_eligible"] and json.loads(exported["claim_json"]) == claim
172
+ confidence = json.loads(row["source_confidence_json"])
173
+ assert all(item["context_eligible"] for item in confidence.values())
174
+ assert all(row["full_record_eligible"] == (row["record_id"] in seen) for row in data["claims"])
175
+ card = (root / "README.md").read_text()
176
+ metadata = json.loads(card.split("---",2)[1])
177
+ assert metadata["license"] == "mit" and metadata["language"] == ["en"]
178
+ assert {c["config_name"] for c in metadata["configs"]} == set(data)
179
+ for config in metadata["configs"]:
180
+ assert config["data_files"] == [{"split":"corpus","path":"data/" + config["config_name"] + ".jsonl"}]
181
+ assert "assets/knowledge-path.svg" in card and "https://chembricks.ai" in card and "https://cmbx.ai" in card
182
+ assert "MIT License" in (root / "LICENSE").read_text()
183
+ print(json.dumps({"status":"pass","records":len(data["records"]),"claims":len(data["claims"]),"evidence_rows":len(data["evidence"]),"files":len(manifest["files"])}))
184
+ return manifest
185
+
186
+
187
+ if __name__ == "__main__":
188
+ parser = argparse.ArgumentParser(description=__doc__)
189
+ parser.add_argument("--seal", action="store_true")
190
+ args = parser.parse_args()
191
+ if args.seal:
192
+ seal()
193
+ verify()
write_card.py ADDED
@@ -0,0 +1,197 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ """Write the dataset card from the measured release manifest."""
2
+ import argparse
3
+ import json
4
+ from pathlib import Path
5
+
6
+ ROOT = Path(__file__).resolve().parent
7
+
8
+
9
+ def write_card(repo_id="chembricks/chemistry-knowledge"):
10
+ manifest = json.loads((ROOT / "manifest.json").read_text())
11
+ records = [json.loads(line) for line in (ROOT / "data/records.jsonl").read_text().splitlines()]
12
+ metadata = {
13
+ "pretty_name": "ChemBricks Knowledge: Evidence-Linked Chemistry",
14
+ "license": "mit", "language": ["en"],
15
+ "task_categories": ["question-answering", "text-generation"],
16
+ "tags": ["chemistry", "computational-chemistry", "scientific-reasoning", "tool-use", "provenance", "synthetic", "text"],
17
+ "annotations_creators": ["machine-generated"],
18
+ "language_creators": ["machine-generated"],
19
+ "size_categories": ["1K<n<10K"],
20
+ "configs": [{"config_name": name, **({"default":True} if name=="records" else {}),
21
+ "data_files":[{"split":"corpus","path":"data/"+name+".jsonl"}]}
22
+ for name in ("records","claims","evidence")],
23
+ }
24
+ family_names = {"A":"Facts and molecular properties", "B":"Chemical series", "C":"Comparisons and counterfactuals",
25
+ "D":"Reactions", "E":"Molecule design and discovery tasks", "F":"Method limits", "K":"Class hypotheses"}
26
+ family_table = "\n".join("| " + family + " | " + family_names.get(family[:1],family) + " | " + str(count) + " |"
27
+ for family,count in manifest["family_counts"].items())
28
+ source_count = manifest["source_records_with_eligible_claims"]
29
+ sample = next((r for r in records if "caffeine" in r["question"].lower()), records[0])
30
+ text = f"""# ChemBricks Knowledge
31
+
32
+ **Does caffeine prefer water or an oil-like liquid?**
33
+ **Why can adding one small group change a molecule's behavior?**
34
+ **Can we design a molecule that interacts more favorably with water while meeting other constraints?**
35
+ **How much energy does it take to remove an electron from a molecule?**
36
+
37
+ These are the kinds of questions behind this dataset. Each investigation connects a question to recorded calculations, an answer, and the evidence needed to examine that answer.
38
+
39
+ Created and curated by **[ChemBricks](https://chembricks.ai)** using our **[ChemBricks AI platform](https://cmbx.ai)**.
40
+
41
+ ![Physics, models, tools, questions, claims, checks and reusable context, with a feedback loop from checks to questions](assets/knowledge-path.png)
42
+
43
+ [Download the vector figure](assets/knowledge-path.svg).
44
+
45
+ *Physics informs the models; questions guide the calculations; checks determine which claims can become reusable context. The workflow also includes empirical descriptors and semiempirical methods, identified by their actual tool and model. The figure is a workflow schematic, not a claim that every row was independently validated by a high-level reference calculation.*
46
+
47
+ ## What you get
48
+
49
+ This release contains **{manifest['records']:,} complete curated investigations**, **{manifest['claims']:,} eligible claims**, and **{manifest['evidence_rows']:,} recorded tool-call pairs**.
50
+
51
+ The claim subset draws from **{source_count:,} source investigations**. It includes usable findings from investigations whose complete traces contain a disputed, failed, inconclusive or range-quarantined claim. Those full traces are excluded from the default records subset. The evidence table preserves intermediate observations, including failures; an evidence row is not itself a validated claim.
52
+
53
+ | Configuration | Rows | Contents |
54
+ |---|---:|---|
55
+ | records, default | {manifest['records']:,} | Questions, answers, scientific audit trails, molecule identities, all claims and their qualifications |
56
+ | claims | {manifest['claims']:,} | Individually eligible findings with methods, conditions, checks and evidence links |
57
+ | evidence | {manifest['evidence_rows']:,} | Chemical arguments and returned responses, with original request IDs and provenance |
58
+
59
+ All three configurations use the split **corpus**. This is an unsplit release, not an independent evaluation benchmark.
60
+
61
+ Snapshot: **{manifest['snapshot_started_at']}**. Release: **{manifest['release_version']}**. The snapshot considered {manifest['current_records_considered']:,} current records from a ledger of {manifest['source_ledger_entries']:,} entries. It contains {manifest['distinct_tool_captures']:,} distinct source captures across the claim/evidence release. Multiple records sharing a capture are not separate simulations.
62
+
63
+ ## A familiar example
64
+
65
+ One included investigation is **{sample['record_id']}**:
66
+
67
+ > {sample['beginner_question']}
68
+
69
+ Open its row to see the recorded answer, methods, conditions and Limitations section. Numerical results remain attached to their tool evidence. In the partition questions, the oil-like reference liquid is **octanol**. The computed quantity is logP for the recorded molecular form, not a direct measurement of how much material dissolves in water.
70
+
71
+ ## Read a record
72
+
73
+ Load this dataset from [Hugging Face](https://huggingface.co/datasets/{repo_id}):
74
+
75
+ \x60\x60\x60python
76
+ from datasets import load_dataset
77
+
78
+ records = load_dataset("{repo_id}", "records", split="corpus")
79
+ print(records[0]["question"])
80
+ print(records[0]["answer"])
81
+ print(records[0]["limitations"])
82
+ \x60\x60\x60
83
+
84
+ For a local copy, run from this dataset directory:
85
+
86
+ \x60\x60\x60python
87
+ from datasets import load_dataset
88
+
89
+ records = load_dataset(
90
+ "json",
91
+ data_files={{"corpus": "data/records.jsonl"}},
92
+ split="corpus",
93
+ cache_dir=".cache/datasets",
94
+ )
95
+ \x60\x60\x60
96
+
97
+ The data also works with ordinary Python. See [examples/read_dataset.py](examples/read_dataset.py).
98
+
99
+ ## Follow a claim to its evidence
100
+
101
+ \x60\x60\x60python
102
+ import json
103
+ from datasets import load_dataset
104
+
105
+ claims = load_dataset("{repo_id}", "claims", split="corpus")
106
+ evidence = load_dataset("{repo_id}", "evidence", split="corpus")
107
+
108
+ item = claims[0]
109
+ claim = json.loads(item["claim_json"])
110
+ reference = claim["evidence"][0]
111
+ call = next(
112
+ row for row in evidence
113
+ if row["source_capture_id"] == item["source_capture_id"]
114
+ and row["request_id"] == reference["request_id"]
115
+ )
116
+ response = json.loads(call["response_json"])
117
+ print(item["statement"])
118
+ print(item["conditions_json"])
119
+ print(reference["path"])
120
+ print(response)
121
+ \x60\x60\x60
122
+
123
+ Columns ending in **_json** contain JSON strings so varying scientific structures load consistently in the dataset viewer. [DATA_DICTIONARY.md](DATA_DICTIONARY.md) describes the columns and JSON-path convention.
124
+
125
+ ## How the data was created
126
+
127
+ A question specifies molecules, methods, constraints and a budget. An isolated AI worker calls ChemBricks tools through a logging proxy and writes a scientific audit trail. Mechanical gates check schema, safety-screen completion, number provenance, methods, ranges, cross-checks and trust tags. Phase 1 uses an independent model referee and sampled replay checks. Accepted source records enter a hash-chained ledger.
128
+
129
+ For this release, the original evidence hashes and mechanical checks were verified again offline. Applicable referee and replay evidence were checked. Arithmetic claims inherit the confidence limits of their source claims; a passed calculator result cannot upgrade an unresolved source.
130
+
131
+ The default records subset requires every claim to qualify. This release includes {manifest['referee_reviewed_full_records']:,} full records with a passing independent model referee and {manifest['builder_reviewed_full_records']:,} with a matching recorded building-agent trace review. These counts overlap. Building-agent review is AI review, not an independent human annotation. Historical Phase 0 records retain their original gate states.
132
+
133
+ The original question, answer, scientific trace, numerical claims and chemical responses are not scientifically rewritten during packaging. Local client metadata is removed from public request envelopes. [CURATION.md](CURATION.md) explains selection, privacy transformations and provenance.
134
+
135
+ ## Coverage
136
+
137
+ | Family | Question type | Complete records |
138
+ |---|---|---:|
139
+ {family_table}
140
+
141
+ The complete-record subset covers {manifest['molecules_in_full_records']:,} distinct canonical molecule strings in its recorded registries. This is a deliberately selected corpus of molecular properties, comparisons and design studies, not a representative sample of all chemical space. Paraphrases, related molecules and derived questions introduce substantial dependence.
142
+
143
+ ## What verified means here
144
+
145
+ Verified means **traceable to the recorded computation and checked under its declared policy**. It does not mean experimentally established truth.
146
+
147
+ - Predictions retain their actual model, conditions, applicability and trust information. A high tool trust factor is not a calibrated experimental confidence probability.
148
+ - Cross-route comparisons can support consistency without proving a mechanism or supplying an experimental error bar.
149
+ - Interpretations are distinguished from measurements. A missing descriptor cannot establish a proposed causal explanation.
150
+ - Some historical traces have unverified pre-call prediction timing. Their comparisons remain descriptive. The prediction_timing column preserves this distinction.
151
+ - Low-trust and screening-grade results retain their tags. A passed claim can still have a limited domain of use.
152
+ - Model-based designs are tested computational proposals. They do not establish synthesis, laboratory safety, availability, novelty, or broad chemical laws.
153
+ - The underlying model-training datasets, model weights and full high-level simulation trajectories are not included. This release contains the recorded outputs and knowledge-building investigations.
154
+
155
+ ## Intended uses and evaluation limits
156
+
157
+ Use the corpus to study evidence-grounded chemistry assistance, retrieve qualified computational context, inspect tool use, or develop scientific question-answering systems. Retain methods, uncertainty, limitations and provenance when constructing a downstream example.
158
+
159
+ No frozen scaffold holdout exists in the source snapshot. Before training and evaluation, define and document one that keeps linked records, shared captures, generated candidates and scaffold-related molecules from leaking across partitions. The claims and evidence subsets are alternate views of the same source material, not independent datasets.
160
+
161
+ ## Integrity and release files
162
+
163
+ Run **python -B verify.py** with Python 3.11+ and jsonschema to verify file checksums, public schemas, the ledger commitment chain, preserved trace hashes, claim eligibility and evidence links.
164
+
165
+ [manifest.json](manifest.json) records the exact source state, counts, code hashes and transformations. [SHA256SUMS](SHA256SUMS) covers the distributable files. The provenance directory retains source hashes and selection decisions. See [UPLOAD.md](UPLOAD.md) for publishing instructions.
166
+
167
+ ## Creators, license and citation
168
+
169
+ **Creator and publisher:** ChemBricks
170
+ **Company:** [chembricks.ai](https://chembricks.ai)
171
+ **AI platform:** [cmbx.ai](https://cmbx.ai)
172
+ **License:** [MIT](LICENSE), copyright 2026 ChemBricks
173
+
174
+ This release's curated data, documentation and figure are released under MIT at the dataset owner's direction. Historical source license labels are retained only in the provenance index. They describe the source records' earlier metadata.
175
+
176
+ \x60\x60\x60bibtex
177
+ @misc{{chembricks_knowledge_2026,
178
+ author = {{{{ChemBricks}}}},
179
+ title = {{ChemBricks Knowledge: Evidence-Linked Chemistry Questions and Claims}},
180
+ year = {{2026}},
181
+ version = {{{manifest['release_version']}}},
182
+ url = {{https://huggingface.co/datasets/{repo_id}}}
183
+ }}
184
+ \x60\x60\x60
185
+
186
+ [CITATION.cff](CITATION.cff) provides machine-readable citation metadata. Include the Hub revision when citing a particular snapshot; no DOI or associated paper is claimed.
187
+
188
+ Dataset layout follows the [Hugging Face dataset-card specification](https://huggingface.co/docs/hub/datasets-cards) and [data-file configuration](https://huggingface.co/docs/hub/datasets-data-files-configuration).
189
+ """
190
+ (ROOT / "README.md").write_text("---\n" + json.dumps(metadata, indent=2) + "\n---\n\n" + text)
191
+ print(json.dumps({"card":"README.md","repository_example":repo_id,"records":manifest["records"]}))
192
+
193
+
194
+ if __name__ == "__main__":
195
+ parser = argparse.ArgumentParser(description=__doc__)
196
+ parser.add_argument("--repo-id", default="chembricks/chemistry-knowledge")
197
+ write_card(parser.parse_args().repo_id)