MedScale commited on
Commit
853a3f3
·
verified ·
1 Parent(s): 8d08c8f

release: publish metadata-rich SafeOCR viewer

Browse files
README.md CHANGED
@@ -12,6 +12,14 @@ tags:
12
  - verification
13
  - fhir
14
  - benchmark
 
 
 
 
 
 
 
 
15
  ---
16
 
17
  # SafeOCR-LabGold
@@ -69,7 +77,9 @@ SafeOCR's corruption pipeline includes a JPEG round-trip. Pillow can therefore p
69
 
70
  This renderer dependency does not change the frozen evaluation results or claim boundaries; it is a byte-level reproducibility constraint on regenerated corrupted images.
71
 
72
- The generator records exact case identity, template, source seed, corruption seed, document hash, page hash, image filename, and truth-region metadata. The canonical root `metadata.jsonl` remains byte-identical to `manifest.jsonl`. A derived `images/metadata.jsonl` adapter rewrites only `file_name` to be relative to the image directory so the Hugging Face `ImageFolder` viewer can load images together with the same metadata. The adapter does not alter the canonical manifest, image bytes, frozen split, or scientific results.
 
 
73
 
74
  ## Privacy
75
 
@@ -85,11 +95,14 @@ All records are synthetic. Synthetic patient names and identifiers are generated
85
 
86
  The published repository contains:
87
 
88
- - `images/*.png`: deterministic synthetic laboratory report pages;
89
- - `images/metadata.jsonl`: derived Hugging Face `ImageFolder` viewer adapter with image-directory-relative `file_name`;
90
- - `metadata.jsonl`: root metadata byte-identical to the canonical manifest;
91
  - `manifest.jsonl`: canonical audit manifest for the frozen release;
92
- - `dataset_info.json`: release counts and SHA-256 identities, including the viewer adapter hash;
 
 
 
 
 
93
  - `README.md`: this dataset card.
94
 
95
  External datasets used in the paper are not redistributed here.
 
12
  - verification
13
  - fhir
14
  - benchmark
15
+ configs:
16
+ - config_name: default
17
+ default: true
18
+ data_files:
19
+ - split: calibration
20
+ path: "viewer/calibration.parquet"
21
+ - split: evaluation
22
+ path: "viewer/evaluation.parquet"
23
  ---
24
 
25
  # SafeOCR-LabGold
 
77
 
78
  This renderer dependency does not change the frozen evaluation results or claim boundaries; it is a byte-level reproducibility constraint on regenerated corrupted images.
79
 
80
+ The generator records exact case identity, template, source seed, corruption seed, document hash, page hash, image filename, and truth-region metadata. The canonical root `metadata.jsonl` remains byte-identical to `manifest.jsonl`.
81
+
82
+ The Hugging Face Dataset Viewer uses a separate derived Parquet layer under `viewer/`. It is generated only after verifying the canonical manifest and every source-image SHA-256. The viewer layer embeds the same image bytes and exposes the frozen metadata as tabular columns, with explicit `calibration` (24 rows) and `evaluation` (48 rows) splits. It is a convenience representation only; `manifest.jsonl` and `images/` remain the audit source of truth.
83
 
84
  ## Privacy
85
 
 
95
 
96
  The published repository contains:
97
 
98
+ - `images/*.png`: canonical synthetic laboratory report pages;
 
 
99
  - `manifest.jsonl`: canonical audit manifest for the frozen release;
100
+ - `metadata.jsonl`: root metadata byte-identical to the canonical manifest;
101
+ - `images/metadata.jsonl`: compatibility ImageFolder metadata adapter;
102
+ - `viewer/calibration.parquet`: derived 24-row viewer split with embedded canonical images and metadata;
103
+ - `viewer/evaluation.parquet`: derived 48-row viewer split with embedded canonical images and metadata;
104
+ - `viewer/viewer_info.json`: viewer-layer counts and SHA-256 identities;
105
+ - `dataset_info.json`: canonical release counts and SHA-256 identities;
106
  - `README.md`: this dataset card.
107
 
108
  External datasets used in the paper are not redistributed here.
viewer/calibration.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a67fbcecc80674d1df53bb6378cae663a8018885eb4355ee8b904bb83dfcdeb6
3
+ size 1781400
viewer/evaluation.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:63408f207d03f597a725ba20c2a9ed2c30ca1117eea8948d0cb2b401679d442d
3
+ size 3720541
viewer/viewer_info.json ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "calibration_parquet_sha256": "a67fbcecc80674d1df53bb6378cae663a8018885eb4355ee8b904bb83dfcdeb6",
3
+ "calibration_rows": 24,
4
+ "evaluation_parquet_sha256": "63408f207d03f597a725ba20c2a9ed2c30ca1117eea8948d0cb2b401679d442d",
5
+ "evaluation_rows": 48,
6
+ "manifest_sha256": "3a3fcdf1e3e045c0b6f8b334457d1e22dbd247a6a556e08235f808143abf5cec",
7
+ "note": "Derived viewer artifacts; canonical authority remains manifest.jsonl and images/.",
8
+ "schema_version": 1
9
+ }