Skip to content

fix: harden ordinal realization and equivalence - #43

Merged
aryamantodkar merged 1 commit into
fix/realizer-edge-cases/measurementfrom
fix/realizer-edge-cases/ordinal
Aug 29, 2026
Merged

fix: harden ordinal realization and equivalence#43
aryamantodkar merged 1 commit into
fix/realizer-edge-cases/measurementfrom
fix/realizer-edge-cases/ordinal

Conversation

@aryamantodkar

Copy link
Copy Markdown
Contributor

Summary

  • accept optional articles, conjunctions, hyphenated ordinal words, and ordinal scales through undecillionth
  • support canonical numeric suffix and Roman numeral forms
  • reject invalid suffixes, signs, malformed Roman forms, and unrelated trailing text
  • add evaluation-only ordinal equivalence without adding display aliases to runtime candidates
  • document ordinal coverage and add regression tests

Validation

  • cargo test --manifest-path rust/Cargo.toml
  • uv run pytest
  • uv run ruff check .

This PR is stacked on #42.

@aryamantodkar
aryamantodkar merged commit b8f5af7 into epic/realizer-edge-cases Aug 29, 2026
@aryamantodkar
aryamantodkar deleted the fix/realizer-edge-cases/ordinal branch August 29, 2026 10:38
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