Files
thptqg/go-parser/configs/2017-old2.yml
T
tiennm99 00a08d5fab refactor(parser): remove the Rust crate now that Go is at parity
The Go parser has matched the Rust one field-by-field across all four datasets,
so the Rust crate is retired and CI builds the Go binary instead.

crawl-baotintuc.js moves to go-parser/scripts/ — it is the only mechanism for
refreshing data/2017 and has a documented runbook. check-duplicates.js and
diff-datasets.js are dropped: both had been broken since before the repo was
unified, and neither had a caller. db-stats.js and verify-parity.js are dropped
as superseded by differential-parity.mjs, which compares more and cannot
silently skip a dataset.

The reader-fidelity oracle is kept and marked frozen. It was produced by the
Rust reader so it can no longer be regenerated, but it still fails if any single
cell of any of the 299 input files reads differently.

Source comments cite the original Rust by file and line; those paths resolve at
tag pre-go-parser-removal, recorded in go-parser/README.md.
2026-08-13 20:38:25 +07:00

27 lines
708 B
YAML

# thptqg2017 data-old2/ — 54 .xlsx files (corrected-export set).
#
# sheet_mode = "all": 24.HCM_UTLQ.xlsx overflows into Sheet2 (+6,446 rows).
# SBD validation: require ^\d+$ (build-database-old2.js:57 guard).
# strip_blank_rows = true: skip fully blank rows BEFORE counting sourceRows
# (build-database-old2.js:50-51 checks blank before sourceRows++).
#
# Table shape, INSERT and subject regexes are canonical — see src/schema.rs.
reader:
sheet_mode: all
strip_blank_rows: true
columns:
ho_ten: 0
ngay_sinh: 1
so_bao_danh: 2
diem_thi: 3
validation:
require_numeric_sbd: true
require_nonempty_name: true
require_nonempty_sbd: true
header:
tokens: ["HO_TEN", "HỌ TÊN", "STT"]