Skip to content

Document off-schema key scoring in score_root - #95

Merged
boyang-zhang1 merged 1 commit into
mainfrom
boyang/document-offschema-key-scoring
Oct 26, 2026
Merged

boyang-zhang1 merged 1 commit into
mainfrom
boyang/document-offschema-key-scoring

Conversation

@boyang-zhang1

Copy link
Copy Markdown
Member

What
Rewrites the comment in score_root to state how off-schema keys are scored.

Why
#94 asked whether one cell per off-schema key is intended. It is: value F1 is defined over schema keys. The comment now says so, including that nested off-schema keys are ignored.

Changes

  • src/extract_bench/evaluation/metrics/extract/unified_evidence_metric.py: comment only.

Testing
Comment-only change; no behavior or score change. ruff check and ruff format --check pass.

Refs #94

Value F1 is defined over schema keys. State that an off-schema root key
counts as one opaque predicted cell and nested off-schema keys are
ignored, so readers can interpret precision (#94).
@boyang-zhang1
boyang-zhang1 merged commit cbd8d9c into main Oct 26, 2026
4 checks passed
@boyang-zhang1
boyang-zhang1 deleted the boyang/document-offschema-key-scoring branch October 26, 2026 17:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant