Skip to content

feat(scripts): add standardized compiled model evaluation benchmark tool#1285

Merged
tushuhei merged 1 commit into
mainfrom
pr2-evaluate-model
Jul 16, 2026
Merged

feat(scripts): add standardized compiled model evaluation benchmark tool#1285
tushuhei merged 1 commit into
mainfrom
pr2-evaluate-model

Conversation

@tushuhei

Copy link
Copy Markdown
Member
  • Create scripts/evaluate_model.py to evaluate compiled JSON models against raw test datasets.
  • Create scripts/tests/test_evaluate_model.py to verify accuracy, precision, recall, and F-score math over canonical transition boundaries.
  • Document expected test data separator format inside evaluate_model.py CLI --help string and module-level docstring.

TAG=agy
CONV=bf288707-19d3-4345-a919-c02472e344ae

- Create scripts/evaluate_model.py to evaluate compiled JSON models against raw test datasets.
- Create scripts/tests/test_evaluate_model.py to verify accuracy, precision, recall, and F-score math over canonical transition boundaries.
- Import and use the canonical separator from budoux.utils.SEP instead of hardcoding '▁'.
- Treat slashes as literal text content inside evaluate_model.py, removing blind slash normalization to avoid corrupting sentences containing slashes.
- Document expected test data separator format inside evaluate_model.py CLI --help string and module-level docstring.

TAG=agy
CONV=bf288707-19d3-4345-a919-c02472e344ae
@tushuhei
tushuhei requested a review from kojiishi July 16, 2026 00:12

@kojiishi kojiishi left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@tushuhei
tushuhei merged commit b3bcaf4 into main Jul 16, 2026
43 checks passed
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.

2 participants