PiotrSty commited on
Commit
11ee196
·
verified ·
1 Parent(s): 4735f04

Archive recognizer teacher pilot and unapproved geometry/text review data

Browse files
data/recognizer-data-v3-line-review-v1-20261005/README.md ADDED
@@ -0,0 +1,79 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Recognizer DATA ENGINE teacher pilot: result and crop review
2
+
3
+ ## Audited Remote Run
4
+
5
+ The returned archive SHA256 is
6
+ `e7f54254c33eeadaf6c873539d2657ca751909cb2f0cb66c4b815bf25ea27811`.
7
+ All 22 members and checksum coverage passed verification against the frozen
8
+ input ZIP, code commit `e24545b22b65d42937fd88714ff99c7b81e50f90`, model
9
+ revisions, reference-free inputs and pinned import versions. Token termination
10
+ and processor geometry were checked and proposals/report reproduced from raw
11
+ predictions. The evidence reports Tesla T4, Python 3.13.15, Torch 2.11.0+cu130
12
+ and Transformers 4.57.6. No inference was rerun locally.
13
+
14
+ - Qwen: 64 returned, 63 EOS, one 512-token cap/repetition, no missing inputs.
15
+ - TrOCR: 64 returned, 64 EOS, no caps or missing inputs.
16
+ - Proposals: **62 disagreements, one abstention, one agreement**.
17
+ - The agreement differs from the unreviewed source label: both models output
18
+ `Ołob` where the label contains `Oſob`. Agreement is not a ground-truth rule.
19
+ - Raw emitted glyph counts: Qwen `ſ` 4, `á` 31, `ɇ` 0; TrOCR `ſ` 0, `á` 3,
20
+ `ɇ` 0. These are output counts, **not recall or accuracy**.
21
+ - Zero clean training examples, zero gold labels, no SOTA claim. No CER/WER
22
+ quality ranking is computed against these unverified crop/label pairs.
23
+
24
+ ## Confirmed Crop/Label Problem
25
+
26
+ Visual inspection of `NA1_FT__433925__r011__line000` shows only a word
27
+ fragment in a 204x50 crop. Its unreviewed label is the entire line
28
+ `Na nieſkończoną BOGU Chwałɇ.`. The frozen original 903x109 region shows
29
+ that entire line. This is not solely a recognizer failure: the existing
30
+ component grouping retained a fragment while line-count equality accepted
31
+ the label. Count equality does not establish crop/reference alignment.
32
+
33
+ This is an agent inspection, not a user review event or gold transcription.
34
+ The original crop and label remain unchanged. At least this pair must be
35
+ rejected or re-cropped and independently reviewed before training. The
36
+ remaining 63 crops are **not** assumed geometrically correct.
37
+
38
+ ## Review Now, Do Not Rerun Colab
39
+
40
+ Prepared 64 line crops with 35 checksum-verified original source-region JPEGs.
41
+ The offline editor shows the line, full region, original weak label and both
42
+ raw OCR outputs. It exports a separate `slayer-recognizer-line-review-v1`
43
+ history with crop hash, region hash, text changes, reviewer and geometry choice.
44
+ Existing page-review exports keep their previous schema and behavior.
45
+
46
+ 1. Inspect the line crop first. If it contains exactly one complete line,
47
+ choose **Cała jedna linia**. If it is a fragment, clips letters, combines
48
+ multiple lines or belongs to a different source line, choose **Odrzuć
49
+ wycinek** and record the reason. Do not complete cut text from context.
50
+ 2. For complete crops, edit the transcription to match the visible image,
51
+ retaining old spelling, punctuation, abbreviations and historical glyphs.
52
+ Model/source labels are suggestions, not authority. Choose **Zweryfikowano
53
+ wzrokowo** only after checking the text; ambiguous readings remain pending.
54
+ 3. Save each decision, export history and return the JSON. The first entry is
55
+ the confirmed fragment, followed by the agreement and capped output.
56
+ An image-only geometry choice is distinct from a text-verification choice.
57
+
58
+ The editor blocks verified text with unreviewed geometry, and requires a reason
59
+ for a rejected crop. Rejected geometry stays explicit in queue and history.
60
+ Even verified text does not turn a rejected crop into a training example.
61
+ This stage creates no training labels automatically. Later import must require
62
+ both complete geometry and verified diplomatic text, preserve all originals,
63
+ and maintain document/split and duplicate controls before student training.
64
+
65
+ ## Reproduce The Offline Review
66
+
67
+ Use the frozen public review data bundle and GitHub code; the bundle contains
68
+ only images and JSON/JSONL metadata, not HTML/JS/Python or model weights.
69
+ After unpacking it, run the current repository command against its directory:
70
+
71
+ ```powershell
72
+ python -m training.build_annotation_review --manifest input/manifest.jsonl --diagnostics diagnostics.json --contexts contexts.json --geometry-review --output review
73
+ ```
74
+
75
+ 142 focused CPU tests passed after the auditor/editor changes. Isolated
76
+ Playwright/Edge checks at 1366x900 and 390x844 verified crop/context rendering,
77
+ mandatory geometry and rejection reason, export schema, reload persistence,
78
+ legacy mode and no console errors or mobile horizontal overflow. QA-generated
79
+ events are test-only and are excluded from research evidence and training data.
data/recognizer-data-v3-line-review-v1-20261005/checksums.json ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ {
2
+ "recognizer-data-v3-line-review-data.zip": "2c514d52bf1254aa6b7e3318e6aa2f6c15b24fa4f229a16865ceaff7c61cdc1b",
3
+ "review-report.json": "5ad210025d179d4239e063e19e04917f6f48534578625b499b199f45181b1ab0",
4
+ "README.md": "e223bcc78af9ce0c367bd52b990bc618e5d3e3d6bc733b487ae419d43f3cefb3",
5
+ "publication.json": "2cd97988f699fbf0feb7fa422eff64236f805fbc3ea0375132e8f7093b0a32e0"
6
+ }
data/recognizer-data-v3-line-review-v1-20261005/publication.json ADDED
@@ -0,0 +1,25 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "schema": "slayer-recognizer-data-v3-result-publication-v1",
3
+ "visibility": "public",
4
+ "code_revision": "b2d4b02371690da2de408b449d5c50fbb749f1d5",
5
+ "code_included": false,
6
+ "weights_included": false,
7
+ "sota_claim": false,
8
+ "training_examples_created": 0,
9
+ "gold_labels_created": 0,
10
+ "source_archive_sha256": "e7f54254c33eeadaf6c873539d2657ca751909cb2f0cb66c4b815bf25ea27811",
11
+ "focused_CPU_tests_passed": 142,
12
+ "scope": "64 training-source line crops and 35 frozen source regions for human review; not approved labels",
13
+ "scans_included": true,
14
+ "scan_license": "CC-BY-3.0",
15
+ "source_attribution": "IMPACT/PSNC Polish historical print corpus, source IDs/revisions/license retained in manifests",
16
+ "source_dataset_revision": "c7cb156fb95d2880699c33725bbaf1fbc1008fea",
17
+ "bundle_sha256": "2c514d52bf1254aa6b7e3318e6aa2f6c15b24fa4f229a16865ceaff7c61cdc1b",
18
+ "review_manifest_sha256": "ae9a4dcb667b753bb6592a3ee86a1cd54faf5a2839348e4027d44dc4a7fbe0c0",
19
+ "review_patch_schema": "slayer-recognizer-line-review-v1",
20
+ "files": {
21
+ "recognizer-data-v3-line-review-data.zip": "2c514d52bf1254aa6b7e3318e6aa2f6c15b24fa4f229a16865ceaff7c61cdc1b",
22
+ "review-report.json": "5ad210025d179d4239e063e19e04917f6f48534578625b499b199f45181b1ab0",
23
+ "README.md": "e223bcc78af9ce0c367bd52b990bc618e5d3e3d6bc733b487ae419d43f3cefb3"
24
+ }
25
+ }
data/recognizer-data-v3-line-review-v1-20261005/recognizer-data-v3-line-review-data.zip ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2c514d52bf1254aa6b7e3318e6aa2f6c15b24fa4f229a16865ceaff7c61cdc1b
3
+ size 25480953
data/recognizer-data-v3-line-review-v1-20261005/review-report.json ADDED
@@ -0,0 +1,24 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "schema": "slayer-recognizer-line-review-preparation-v1",
3
+ "lines": 64,
4
+ "source_regions": 35,
5
+ "source_archive_sha256": "e7f54254c33eeadaf6c873539d2657ca751909cb2f0cb66c4b815bf25ea27811",
6
+ "original_manifest_sha256": "e89e83506f8179c4a10a76bd29bbf18bbce84cbd8211076307fbcd3cdfcff158",
7
+ "review_manifest_sha256": "ae9a4dcb667b753bb6592a3ee86a1cd54faf5a2839348e4027d44dc4a7fbe0c0",
8
+ "review_summary": {
9
+ "manifest_sha256": "ae9a4dcb667b753bb6592a3ee86a1cd54faf5a2839348e4027d44dc4a7fbe0c0",
10
+ "pages": 64,
11
+ "flagged_pages": 0,
12
+ "issues": 0
13
+ },
14
+ "review_patch_schema": "slayer-recognizer-line-review-v1",
15
+ "geometry_decisions": [
16
+ "unreviewed",
17
+ "complete-line",
18
+ "reject-crop"
19
+ ],
20
+ "original_line_labels_changed": false,
21
+ "training_examples_created": 0,
22
+ "gold_labels_created": 0,
23
+ "claim_boundary": "Human review required for both geometry and diplomatic text. Complete-line is separate from text verification. No automatic training promotion."
24
+ }