feat: add scoring cascade for reducing false negatives (#526)

* feat: add scoring cascade for reducing false negatives in answer verification

* style: fix black and isort formatting

Run black and isort to satisfy pre-commit checks.

Made-with: Cursor

* docs: add scoring cascade example to Quickstart section

Mention the experimental scoring cascade feature at the end of the
Quickstart section with a disclaimer and complete usage examples
showing both the dataset method and standalone function.

Made-with: Cursor

* docs: shorten scoring cascade section in README

Trim to a concise standalone example per review feedback.

Made-with: Cursor

* docs: simplify scoring cascade description in README

Made-with: Cursor

* update readme

---------

Co-authored-by: Zafir Stojanovski <zaf.stojano@gmail.com>
This commit is contained in:
Ritvik Rastogi 2026-04-18 01:09:15 +05:30 committed by GitHub
parent 437e0b49c4
commit 49b07130b3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 477 additions and 0 deletions

View file

@ -18,6 +18,7 @@ from . import (
probability,
)
from .factory import create_dataset, get_score_answer_fn, register_dataset
from .scoring import cascade_score, float_match, math_match, string_match, strip_latex
__version__ = "0.1.19"
__all__ = [
@ -37,4 +38,9 @@ __all__ = [
"create_dataset",
"register_dataset",
"get_score_answer_fn",
"cascade_score",
"strip_latex",
"string_match",
"float_match",
"math_match",
]