Skip to content

Support ordered record arrays in Unified Value F1 - #168

Merged
xujustinj merged 1 commit into
mainfrom
xujustinj/ordered-array-alignment
Nov 20, 2026
Merged

xujustinj merged 1 commit into
mainfrom
xujustinj/ordered-array-alignment

Conversation

@xujustinj

Copy link
Copy Markdown

What changed

  • Use sequence alignment for record arrays with a structural: "ordered" rule. The alignment maximizes matching values in relative row order and gives partial credit for omissions and insertions.
  • Apply ordered child scores when pairing parent records. Pre-align identical prefixes and suffixes.

Test plan

  • 369 focused metric, evaluator, and annotation tests passed.
  • Checked 900 weighted alignment cases against exhaustive search and validated a single omission in a 5,000-row array.
  • Ruff lint, formatting, and git diff --check passed.

@xujustinj
xujustinj merged commit 3a4e213 into main Nov 20, 2026
3 checks passed
@xujustinj
xujustinj deleted the xujustinj/ordered-array-alignment branch November 20, 2026 20:57
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