feat: Sync evaluation codes and leaderboard with the latest version
#5
by DaekyuKwon - opened
No description provided.
DaekyuKwon changed pull request title from chore: Refresh sample_results and leaderboard to 2026-02-09 to feat: Sync evaluation codes and leaderboard with the latest version
Summary
- Sync evaluation pipeline with the latest version (NID filter, Hungarian matching, merged tables)
- Sync inference scripts (aws, google, llamaparse, microsoft, unstructured, upstage)
- Refresh
dataset/reference.jsonanddataset/sample_results/with 2026-02-09 inference runs (7 providers) - Update main README usage and leaderboard; update
scripts/README.md
Changes
Evaluation pipeline
src/: synclayout_evaluation.py,table_evaluation.py,utils.py; addgeometry.py(isolatedis_included); add_normalize_coordsshim to handle both dict/list coordinate formatsevaluate.py: new CLI flags (--ref-path,--pred-path,--mode {layout,table,all,speed},--evaluate-merged-table,--filter-by-gt-area,--min-match-score,--max-workers); writes<pred>.eval.json
Inference scripts
scripts/: addbase.py,doc_grouping.py; syncinfer_{aws,google,llamaparse,microsoft,unstructured,upstage}.pyandutils.py
Dataset
dataset/reference.json: updated to the latest versiondataset/sample_results/- Add 7 new samples (2026-02-09):
aws_260209.json,google_260209.json,llamaparse_260209.json,microsoft_260209.json,unstructured_260209.json,upstage_standard_260209.json,upstage_enhanced_260209.json
- Add 7 new samples (2026-02-09):
Docs & misc
README.md: updateEvaluationsection to match new CLI (--ref-path,--pred-path,--mode); refresh leaderboard (7 rows,2026-02-09)scripts/README.md: updated to the latest version.gitignore: ignorepredictions/,__pycache__/,*.eval.json
##Leaderboard (2026-02-09)
| Source | Request date | TEDS ↑ | TEDS-S ↑ | NID ↑ | Avg. Time (secs) ↓ |
|---|---|---|---|---|---|
| upstage (enhanced) | 2026-02-09 | 95.59 | 97.62 | 96.62 | 7.56 |
| upstage (standard) | 2026-02-09 | 96.06 | 97.25 | 96.29 | 3.77 |
| aws | 2026-02-09 | 95.48 | 96.99 | 95.97 | 7.95 |
| unstructured | 2026-02-09 | 80.26 | 89.51 | 91.78 | 6.80 |
| llamaparse | 2026-02-09 | 90.73 | 93.20 | 90.53 | 10.88 |
| microsoft | 2026-02-09 | 77.85 | 85.74 | 87.03 | 3.39 |
| 2026-02-09 | 78.30 | 80.71 | 82.17 | 37.00 |
DaekyuKwon changed pull request status to open
LGTM!
DaekyuKwon changed pull request status to merged