Scandiumlabs commited on
Commit
0ec1884
·
verified ·
1 Parent(s): aa15292

Upload docs/validation.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. docs/validation.md +64 -0
docs/validation.md ADDED
@@ -0,0 +1,64 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Validation
2
+
3
+ ## Validation Pipeline
4
+
5
+ Every entry in the Scandium Dataset passes through a deterministic validation
6
+ pipeline before entering its tier.
7
+
8
+ ### Structural Validation
9
+
10
+ 1. **Nsites ≥ 2**: Eliminates single-atom entries (no meaningful structure)
11
+ 2. **Volume > 10 ų**: Eliminates entries with zero or implausible volume
12
+ 3. **Min distance check**: Flags overlapping atoms (OQMD artifact detector)
13
+ 4. **Space group computation**: spglib symmetry detection
14
+
15
+ ### Property Validation
16
+
17
+ 1. **Target presence**: At least 2 of 3 targets (FE, EaH, BG) must exist
18
+ 2. **Physical range**: FE in [-5, +5] eV/atom, BG in [0, ~10] eV
19
+ 3. **Stability check**: EaH < 0.1 eV/atom or null (for Gold tier)
20
+
21
+ ### Quality Flags
22
+
23
+ Flags are generated by validators and ingested during scoring:
24
+
25
+ | Flag | Meaning |
26
+ |------|---------|
27
+ | `overlapping_atoms` | Min distance < 0.5 Å |
28
+ | `corrupted_structure` | Structure JSON unparseable |
29
+ | `extreme_*` | Property outside physical range |
30
+ | `heavy_element` | Contains elements with Z > 92 |
31
+ | `noble_gas` | Contains noble gas elements |
32
+ | `missing_spacegroup` | No space group computed |
33
+ | `bad_volume` | Volume missing or zero |
34
+ | `missing_EaH` | EaH not available (known for JARVIS) |
35
+
36
+ ## Tier Gates
37
+
38
+ ### Raw (Gate 0)
39
+ - Source and formula present
40
+ - Fallthrough for all entries
41
+
42
+ ### Validated (Gates 1-4)
43
+ 1. Valid structure (nsites ≥ 2, volume > 10)
44
+ 2. At least 2 of 3 targets present
45
+ 3. No critical quality flags
46
+ 4. Quality score ≥ 70
47
+
48
+ ### Gold (Gates 5-8)
49
+ 5. Not a duplicate (no duplicate_group)
50
+ 6. No label conflicts (no disagreement flags)
51
+ 7. Stable or near-stable (EaH < 0.1 or null)
52
+ 8. Complete metadata (space_group, density, elements)
53
+
54
+ ### Strict Gold (Gates 9-11)
55
+ 9. Provenance complete (source_id + checksum)
56
+ 10. Quality score ≥ 80 (calibrated: 85.2% valid at this threshold)
57
+ 11. No known defects (volume > 0, density > 0, space_group present)
58
+
59
+ ## Verification Reports
60
+
61
+ See `reports/validation_reports/` for:
62
+ - Per-source validation results
63
+ - Per-family validation results
64
+ - Cross-source agreement verification