rafmacalaba commited on
Commit
ca02fbf
·
verified ·
1 Parent(s): 26c2e59

Clarify offset audit and refresh export manifest

Browse files
Files changed (2) hide show
  1. README.md +1 -1
  2. metadata/manifest.json +8 -4
README.md CHANGED
@@ -42,7 +42,7 @@ The `related_mentions` config contains 2,384 positive spatial-linkage mentions u
42
  - `dataset` in passage rows is the **review collection/lane**, not the source corpus. `passage_origin` is the source prefix from the original passage key; `key` remains unchanged and preserves source document/page/chunk identity. `source_document_id` joins to `documents.document_id`.
43
  - `document_metadata` provides typed metadata. `documents` config has one row per reviewed document; `canonical_record_json` preserves the full canonical source record used by the analysis join, including every source field (such as source content/chunk/entity metadata). `metadata_source_file` identifies the canonical catalog file. Project id, title, document type, country, source URLs and all remaining fields are retained.
44
  - The original focus-sidecar fields (`h`, `key`, `dataset`, `split`, `focus`, `proposal_keep_only`, `passage`, `annotations`, validation/write timestamps) remain intact in passage records.
45
- - Original annotation character offsets are never rewritten. `related_mentions` adds `render_start`/`render_end`/`render_span` for five whitespace-only alignment recoveries; original offsets remain inside `annotation`.
46
  - `reports/pad-pid-geospatial-analysis.html` and the linked dataset census are refreshed from the same focus sidecar and document catalog.
47
  - `metadata/manifest.json` records source hashes, file hashes, split/class counts, and validation results.
48
 
 
42
  - `dataset` in passage rows is the **review collection/lane**, not the source corpus. `passage_origin` is the source prefix from the original passage key; `key` remains unchanged and preserves source document/page/chunk identity. `source_document_id` joins to `documents.document_id`.
43
  - `document_metadata` provides typed metadata. `documents` config has one row per reviewed document; `canonical_record_json` preserves the full canonical source record used by the analysis join, including every source field (such as source content/chunk/entity metadata). `metadata_source_file` identifies the canonical catalog file. Project id, title, document type, country, source URLs and all remaining fields are retained.
44
  - The original focus-sidecar fields (`h`, `key`, `dataset`, `split`, `focus`, `proposal_keep_only`, `passage`, `annotations`, validation/write timestamps) remain intact in passage records.
45
+ - Original annotation character offsets are never rewritten. Five source span slices do not exactly match passage text: four differ only by whitespace, and one end offset omits a closing parenthesis. The report's whitespace-flexible locator recovers all five; among related mentions, two need text recovery and one needs an end-offset adjustment. `related_mentions` adds passage-aligned `render_start`/`render_end`/`render_span`, preserving original span and offsets inside `annotation`.
46
  - `reports/pad-pid-geospatial-analysis.html` and the linked dataset census are refreshed from the same focus sidecar and document catalog.
47
  - `metadata/manifest.json` records source hashes, file hashes, split/class counts, and validation results.
48
 
metadata/manifest.json CHANGED
@@ -54,7 +54,10 @@
54
  "refugee_pads": 579,
55
  "umar_pads": 2109
56
  },
57
- "whitespace_alignment_adjustments": 1
 
 
 
58
  },
59
  "quality_checks": {
60
  "duplicate_focus_occurrences_skipped": 0,
@@ -64,12 +67,13 @@
64
  "full_canonical_document_record_preserved_as_json": true,
65
  "related_mentions_match_report_total": true,
66
  "passage_rows_roundtrip": true,
67
- "related_rows_roundtrip": true
 
68
  },
69
  "files": {
70
  "README.md": {
71
- "sha256": "ea50e1bf800fd8175c0e96003c4ffd57115ea05720581c9cafec7503478a2af1",
72
- "bytes": 4473
73
  },
74
  "data/documents.jsonl": {
75
  "sha256": "5fa57bc006762b1f7f049ab0baf42338ed83dfb58e13b366c9e0a4ba8dde7cf8",
 
54
  "refugee_pads": 579,
55
  "umar_pads": 2109
56
  },
57
+ "whitespace_alignment_adjustments": 1,
58
+ "source_span_text_mismatches": 5,
59
+ "related_span_text_mismatches": 2,
60
+ "non_whitespace_offset_mismatches": 1
61
  },
62
  "quality_checks": {
63
  "duplicate_focus_occurrences_skipped": 0,
 
67
  "full_canonical_document_record_preserved_as_json": true,
68
  "related_mentions_match_report_total": true,
69
  "passage_rows_roundtrip": true,
70
+ "related_rows_roundtrip": true,
71
+ "all_offset_mismatches_recovered_by_report_locator": true
72
  },
73
  "files": {
74
  "README.md": {
75
+ "sha256": "e114061c0e357cac0dc90d4ed0248081c5274656f2ef20a218d506704be29830",
76
+ "bytes": 4742
77
  },
78
  "data/documents.jsonl": {
79
  "sha256": "5fa57bc006762b1f7f049ab0baf42338ed83dfb58e13b366c9e0a4ba8dde7cf8",