Alexander Wirth commited on
Commit
8cb0406
·
1 Parent(s): 912fd32

docs: record SC1 regression root cause and recovery evidence

Browse files
SC_VERIFICATION_v2.4.0_2026-04-21.md CHANGED
@@ -1,7 +1,7 @@
1
  # SC Verification v2.4.0 (2026-04-21)
2
 
3
  ## Metadata
4
- - Timestamp (UTC): 2026-04-21T12:33:25Z
5
  - Scope:
6
  - /opt/ethno-api/ethno-enrichment/USDA-Phytochemical-Database-JSON v2
7
  - /opt/ethno-api/nexus_api/pseo
@@ -38,6 +38,12 @@
38
  5. Pushes (non-destructive):
39
  - `git push origin main`
40
  - `git push hf main`
 
 
 
 
 
 
41
 
42
  ## Checkpoint 1 - Remote status after correction
43
 
@@ -130,6 +136,18 @@ Result:
130
  - HF datasets-server endpoint verified live.
131
  - Status: PASS.
132
 
 
 
 
 
 
 
 
 
 
 
 
 
133
  ## Open risks
134
  - LOW: Full-file SHA comparison against live is unstable because Cloudflare injects per-request challenge token bytes into HTML tail. Marker-level and byte-size checks remain reproducible.
135
 
 
1
  # SC Verification v2.4.0 (2026-04-21)
2
 
3
  ## Metadata
4
+ - Timestamp (UTC): 2026-04-21T12:44:45Z
5
  - Scope:
6
  - /opt/ethno-api/ethno-enrichment/USDA-Phytochemical-Database-JSON v2
7
  - /opt/ethno-api/nexus_api/pseo
 
38
  5. Pushes (non-destructive):
39
  - `git push origin main`
40
  - `git push hf main`
41
+ 6. SC1 incident recovery (post-push):
42
+ - observed temporary regression: `viewer:false` and first-rows parse error
43
+ - root cause: README frontmatter `dataset_info.features` had dtype mismatches vs actual parquet schema
44
+ - fix: aligned dtypes in README for `patent_count_since_2020`, `inchi_key`, `iupac_verified`
45
+ - commit: `912fd328ff7d6852ca60b258cfc73a666ef37d97`
46
+ - re-verification: `viewer:true`, `first-rows` returns feature payload
47
 
48
  ## Checkpoint 1 - Remote status after correction
49
 
 
136
  - HF datasets-server endpoint verified live.
137
  - Status: PASS.
138
 
139
+ ## SC1 incident evidence (resolved)
140
+
141
+ Initial failing evidence:
142
+ - `curl -4 -s "https://datasets-server.huggingface.co/is-valid?dataset=wirthal1990-tech/USDA-Phytochemical-Database-JSON"`
143
+ returned `{"preview":false,"viewer":false,"search":false,"filter":false,"statistics":false}`
144
+ - `curl -4 -s "https://datasets-server.huggingface.co/first-rows?dataset=wirthal1990-tech/USDA-Phytochemical-Database-JSON&config=default&split=train"`
145
+ returned parse error for string-to-double conversion.
146
+
147
+ Resolved evidence:
148
+ - `is-valid` now returns `{"preview":true,"viewer":true,"search":true,"filter":true,"statistics":false}`
149
+ - `first-rows` now returns row/feature payload.
150
+
151
  ## Open risks
152
  - LOW: Full-file SHA comparison against live is unstable because Cloudflare injects per-request challenge token bytes into HTML tail. Marker-level and byte-size checks remain reproducible.
153