shamique commited on
Commit
10b03e6
·
verified ·
1 Parent(s): 2164917

Remove stray work file accidentally uploaded by publish glob

Browse files
Files changed (1) hide show
  1. companion_readme_work.md +0 -234
companion_readme_work.md DELETED
@@ -1,234 +0,0 @@
1
- ---
2
- license: cc-by-4.0
3
- language:
4
- - en
5
- size_categories:
6
- - 100K<n<1M
7
- task_categories:
8
- - other
9
- tags:
10
- - dft
11
- - materials-project
12
- - oqmd
13
- - jarvis
14
- - materials-screening
15
- - dft-stability
16
- - parquet
17
- - materials-science
18
- - battery-materials
19
- - inorganic-materials
20
- pretty_name: Scandium-Dataset
21
- configs:
22
- - config_name: default
23
- data_files:
24
- - split: train
25
- path: dataset/entries_v4_typed.parquet
26
- ---
27
-
28
- # Dataset Card — Scandium-Dataset v1.0.0
29
-
30
- ## Summary
31
-
32
- Scandium-Dataset provides a harmonized, quality-scored foundation of DFT-computed structural and thermodynamic properties across 267,230 materials from Materials Project, OQMD, and JARVIS-DFT. It supports the **early screening stage** of battery materials discovery — filtering by phase stability, electronic structure, and structural family — before downstream property prediction (ionic conductivity, mechanical stability, electrochemical window) via AIMD, NEB, or targeted DFT.
33
-
34
- *Previous versions positioned this as a solid-state battery discovery dataset. v1.0.0 corrects that framing: the data covers thermodynamic screening, not ionic transport. See [CHANGELOG](CHANGELOG.md) for details.*
35
-
36
- - **Version:** v1.0.0
37
- - **Total entries:** 267,230 (Gold: 96,242 | Validated: 140,382 | Raw: 30,108 | Experimental: 498)
38
- - **Strict Gold:** 56,966 entries (subset of Gold with all gates passed)
39
- - **Battery-relevant subset:** 82,925 entries | **Electrolyte candidate subset:** 41,665 entries (strict Gold)
40
-
41
- > *File names on disk (`battery_candidate_subset_v1.json`, `solid_electrolyte_candidate_subset_v1.json`) — the v3 suffix was retired in v1.0.0-rc2 when the scope was clarified.*
42
- - **Storage:** Typed Parquet (`dataset/entries_v4_typed.parquet`, 47 columns) with indexed lookup — 178 MB with proper int/float/bool types for HF Dataset viewer compat.
43
- - **Schema:** Full column dictionary at [`SCHEMA.md`](SCHEMA.md) — names, types, units, null semantics, source mappings.
44
- - **Preview:** [`dataset/entries_v4_typed_sample.parquet`](dataset/entries_v4_typed_sample.parquet) — 1,000-row stratified sample (1.25 MB) for schema inspection without downloading the full dataset.
45
- - **Experimental data:** 498 OBELiX entries integrated (Therrien et al. 2025) as `experimental_gold` tier with measured Li-ion conductivity.
46
- - **Transport proxy draft:** 24,873 BVSE migration barriers computed (bvlain engine) at 23% Li/Na coverage — see "Roadmap" below for the gap this addresses.
47
-
48
- ## Quick Start
49
-
50
- ```python
51
- # Inspect schema (no download needed)
52
- import pyarrow.parquet as pq
53
- schema = pq.read_schema("dataset/entries_v4_typed_sample.parquet")
54
- for f in schema:
55
- print(f"{f.name}: {f.type}")
56
-
57
- # Load full dataset
58
- import pandas as pd
59
- df = pd.read_parquet("dataset/entries_v4_typed.parquet")
60
- print(df.shape, list(df.columns))
61
-
62
- # Stream in batches (low memory)
63
- pf = pq.ParquetFile("dataset/entries_v4_typed.parquet")
64
- for batch in pf.iter_batches(batch_size=1000, columns=["formula","band_gap"]):
65
- df_chunk = batch.to_pandas()
66
- print(f"Loaded {len(df_chunk)} rows")
67
-
68
- # Filter by source before loading
69
- df_mp = pd.read_parquet("dataset/entries_v4_typed.parquet", filters=[("source","=","mp")])
70
-
71
- # Load partitioned source
72
- df_mp2 = pd.read_parquet("dataset/partitioned/source=mp/data.parquet")
73
-
74
- # Load from chunk
75
- df_chunk = pd.read_parquet("dataset/chunks/entries_v4_chunk_00.parquet")
76
- ```
77
-
78
- See [`SCHEMA.md`](SCHEMA.md) for full column dictionary with units and null semantics.
79
-
80
- ## Included vs. Not Included
81
-
82
- | Included | Not Included (requires augmentation) |
83
- |---|---|
84
- | Formation energy (eV/atom) — 100% | Ionic conductivity (S/cm) |
85
- | Energy above hull (eV/atom) — 90.4% | Migration/activation energy (NEB) |
86
- | Band gap (eV) — 99.9% | Electrochemical stability window |
87
- | Space group, volume, density — 99.9%+ | Elastic/shear moduli (full DFT) |
88
- | Crystal structure (pymatgen `Structure` JSON) — 100% | Experimental validation beyond pilot OBELiX integration |
89
- | Quality tier (Gold/Validated/Raw) — 100% | |
90
- | Provenance tracking (source, source_id, checksum) — 99.8% | |
91
- | SSE family classification (composition-based) — 100% | |
92
- | BVSE migration barrier proxy — 23% of Li/Na entries | |
93
-
94
- ## Suitable For / Not Suitable For
95
-
96
- **Suitable for:** phase stability screening, structural family classification, band gap prediction, materials-informatics benchmarking, pretraining general property predictors on inorganic crystal structures, cross-source DFT property harmonization studies.
97
-
98
- **Not suitable for (without augmentation):** direct ionic conductivity prediction, SSE performance ranking, electrochemical stability assessment. The dataset contains migration barrier proxies for 23% of Li/Na entries, but at ~75% skip rate due to bond-valence parameter coverage, these do not constitute a complete transport-property layer.
99
-
100
- ## What the Data Actually Supports
101
-
102
- ### Property coverage (verified against Parquet store)
103
-
104
- | Property | Coverage | Notes |
105
- |----------|----------|-------|
106
- | Formation energy | 267,230 (100%) | From MP, OQMD, JARVIS-DFT |
107
- | Energy above hull | 257,799 (96.5%) | **14,669 JARVIS entries newly computed** in v1.0.0-rc2 via internal convex hull; 8,933 JARVIS entries lack EaH due to sparse chemical systems |
108
- | Band gap | 267,079 (99.9%) | 151 OQMD entries with non-converged band gap |
109
- | Space group | 267,214 (100%) | spglib symmetry analysis |
110
- | Volume | 267,230 (100%) | From structure |
111
- | Density | 267,230 (100%) | From elements + volume |
112
- | Structure JSON | 267,230 (100%) | pymatgen Structure serialization |
113
- | Quality score | 267,230 (100%) | Composite score (0–88) |
114
- | Provenance | 267,230 (100%) | Source, source_id, checksum |
115
- | Duplicate group | 21,140 (7.9%) | Entries in dedup groups (31,997 total removed upstream) |
116
-
117
- ### SSE screening fields (stored in `ssb_screening` block)
118
-
119
- | Field | Coverage | Notes |
120
- |-------|----------|-------|
121
- | SSE family | 267,230 (100%) | Composition-based heuristic (not structure-based) |
122
- | Mobile ion | 267,230 (100%) | Li/Na/Mg presence-based |
123
- | CAVD channel dimensionality | **0%** | Algorithm was not re-run against Parquet store |
124
- | SSE candidate score | 100% | 5-gate system (thermo + electronic + mobility + window + mechanical) |
125
- | Thermo stability flag | 99.8% | E_hull < 0.025 eV/atom |
126
- | Bulk/shear modulus | 100% | Geometric density-based proxy (not DFT elastic tensors) |
127
- | Stability window | 1,814 (0.7%) | Grand-potential phase diagrams — computed for subset with low EaH |
128
- | Interfacial reaction energy | 39,706 (14.9%) | Decomposition energy vs Li |
129
- | BVSE migration barrier | 24,873 (23% of Li/Na) | bvlain v0.25.1, softBV percolation. **74.8% skip rate** on attempted entries (98,773) due to bond-valence parameter coverage gaps |
130
-
131
- ## Sources
132
-
133
- | Source | Entries | License | Download Date |
134
- |--------|---------|---------|---------------|
135
- | Materials Project | 69,279 | CC BY 4.0 | 2026-07-20 |
136
- | OQMD | 171,780 | Non-commercial + attribution | 2026-07-20 |
137
- | JARVIS-DFT | 25,673 | CC0 | 2026-07-20 |
138
- | OBELiX (experimental) | 498 | Per-article terms | 2026-07-24 |
139
-
140
- ## License Warning
141
-
142
- ⚠️ **This dataset is NOT uniformly licensed.** Each entry carries its own license.
143
- - `license: "CC-BY-4.0"` → MP entries (commercial safe, 26.1%)
144
- - `license: "CC0-1.0"` → JARVIS entries (commercial safe, 9.6%)
145
- - `license: "OQMD-noncommercial"` → OQMD entries (non-commercial only, 64.3%)
146
-
147
- See [`LICENSE_BREAKDOWN.md`](LICENSE_BREAKDOWN.md). A **Commercial-Safe edition** (MP+JARVIS, ~94,952 entries) is extractable via `scripts/extract_commercial_safe_edition.py`.
148
-
149
- ## Tier System
150
-
151
- | Tier | Count | Criteria |
152
- |------|-------|----------|
153
- | **Strict Gold** ⭐ | **56,966** | 11 gates: base Gold + quality ≥ 80 + no defects + provenance |
154
- | **Gold** | 96,242 | 8 gates: validated + unique + stable + complete metadata |
155
- | **Validated** | 140,382 | 5 gates: valid structure + targets + no critical issues |
156
- | **Raw** | 30,108 | Source + formula present (may have quality issues) |
157
- | **Experimental Gold** | 498 | OBELiX entries with measured conductivity |
158
-
159
- ## Family Imbalance
160
-
161
- The dataset skews heavily toward intermetallics (62.5%) and layered oxides (15.7%). Solid-electrolyte-relevant composition families are a small fraction:
162
-
163
- | Family | Total | Gold | Validated | Raw |
164
- |--------|-------|------|-----------|-----|
165
- | Intermetallic | 166,930 | 36,520 | 109,056 | 21,354 |
166
- | Layered oxide | 42,015 | 26,295 | 12,756 | 2,964 |
167
- | Halide SSE | 18,803 | 12,560 | 5,211 | 1,032 |
168
- | Sulfide SSE | 16,359 | 9,458 | 5,591 | 1,310 |
169
- | NASICON | 560 | 488 | 70 | 2 |
170
- | Garnet | 23 + 113 experimental | 19 | 4 | 0 |
171
-
172
- If your target chemistry is garnets or sulfides specifically, usable Gold-tier entries number in the tens to low thousands — consider targeted acquisition (ICSD, structured literature extraction) before expecting ML models to generalize within these families.
173
-
174
- ## BVSE Migration Barriers (Draft Quality)
175
-
176
- | Metric | Value |
177
- |--------|-------|
178
- | Total Li/Na entries | 108,015 |
179
- | Excluded (>60 sites) | 8,744 |
180
- | No structure (experimental) | 498 |
181
- | **Attempted** | **98,773** |
182
- | Barriers computed | 24,873 |
183
- | Superionic (≤0.25 eV) | 1,501 |
184
- | Good (0.25–0.40 eV) | 4,705 |
185
- | Moderate (0.40–0.55 eV) | 5,009 |
186
- | Poor (>0.55 eV) | 13,658 |
187
- | Skipped (no BV params) | 73,900 |
188
- | Errors | 0 |
189
- | **Coverage of attempted** | **25.2%** |
190
- | **Coverage of all Li/Na** | **23.0%** |
191
-
192
- **Caveat:** 73,900 skipped entries (~75% of attempted) reflect bond-valence parameter coverage, not a sampling gap. Entries are flagged with `bvse_skip_reason`. Engine: bvlain v0.25.1, validated against 7 known SSEs (5/7 pass within literature, 2 known-marginal outliers documented in KNOWN_ISSUES.md).
193
-
194
- ## Roadmap to True SSE-Property Coverage
195
-
196
- v1.0.0 provides thermodynamic and structural screening data. Planned extensions:
197
-
198
- 1. **CAVD re-computation** against the Parquet store (currently 0% coverage; algorithm exists in `scripts/compute_cavd_channel_dimensionality.py`)
199
- 2. **JARVIS EaH** re-computation against the Parquet store (currently 0% for 25,673 JARVIS entries; script exists in `scripts/compute_jarvis_hull_energy.py`)
200
- 3. **BVSE barrier expansion** — re-run with lower `--max-sites` threshold and extended parameter table to reduce the 75% skip rate
201
- 4. **MLIP-NEB migration barriers** for top-tier stable candidates (active development)
202
- 5. **DFT NEB validation** for a curated set of halide/sulfide/garnet candidates
203
- 6. **Elastic tensor data** from MP API for mechanical property validation (scaffold exists in `scripts/compute_mechanical_properties.py`)
204
- 7. **Experimental conductivity cross-references** beyond OBELiX pilot
205
-
206
- ## Benchmark
207
-
208
- Frozen train/val/test splits at [`dataset/splits/`](dataset/splits/). Four split types with RF+Ridge baselines in [`MODEL_LEADERBOARD.md`](MODEL_LEADERBOARD.md):
209
-
210
- | Split | Train | Val | Test | Purpose |
211
- |-------|-------|-----|------|---------|
212
- | Random 80/10/10 | 200,122 | 26,670 | 39,940 | Basic generalization |
213
- | Composition held-out | 213,383 | 27,011 | 26,338 | No formula overlap |
214
- | Family held-out | 260,984 | 5,165 | 583 | Cross-family |
215
- | Chemistry held-out | 227,384 | 26,673 | 12,675 | OOD (halides) |
216
-
217
- GNN baselines (CGCNN, MEGNet, ALIGNN) are in progress.
218
-
219
- ## Intended Use
220
-
221
- - **Primary:** Upstream materials screening — filtering by phase stability, electronic structure, and structural family
222
- - **Secondary:** Cross-source DFT property harmonization, materials-informatics benchmarking, pretraining structure-based property predictors
223
- - **Not recommended for:** Quantitative phase diagram construction (use MP/OQMD directly), SSE conductivity ranking (requires transport-property labels not in this dataset)
224
-
225
- ## Related Datasets
226
-
227
- - [**Scandium-Labs/solid-state-electrolyte-conductivity**](https://huggingface.co/datasets/Scandium-Labs/solid-state-electrolyte-conductivity) — the Scandium Labs **SSB electrolyte transport dataset**: literature-verified ionic conductivity & activation energy labels (183 verified) across 11 electrolyte families, with cross-paper consensus and a gold benchmark. Use it *downstream* of this dataset, where the screening filter has already narrowed candidates to those needing transport-property prediction.
228
-
229
- ## Maintenance
230
-
231
- - Version: v1.0.0
232
- - DOI: pending (Zenodo archival in progress)
233
- - Issue tracking: GitHub Issues
234
- - Contact: Scandium Labs