Repository navigation
Default scorer is labels (slots stays available) - #103
Merged
Merged
Conversation
Measured on the 7B (M5): labels field accuracy 0.82 vs slots 0.63 on typesafe, 0.72 vs 0.61 on bundled, order any-flip 0.03 vs 0.16. Flip the DEFAULT scoring from 'slots' to 'labels' everywhere a default is declared. - jevmlx/models.py: DEFAULT_SCORING = 'labels' constant (next to DEFAULT_MODEL). Exported from jevmlx/__init__.py and jevmlx/api.py. - api.py: decide/decide_many/choose/judge/rate/_one_field_decision signatures use DEFAULT_SCORING (7 sites). Docstring updated. - engine.py: run_parallel_generation/run_parallel_generation_batched/ _score_all_fields signatures use DEFAULT_SCORING (3 sites). Docstring updated to name labels as default. - cli.py: decide + eval --scoring defaults use DEFAULT_SCORING (3 sites). - evalrun.py: parallel_decide_fn uses DEFAULT_SCORING. - parity.py: check_scoring_parity/parity_report/write_parity_json gain an optional scoring param (defaults to None = engine default). - No literal 'scoring: str = "slots"' duplicates remain. - Bench matrix SCORERS tuple unchanged (runs both). Golden prompt vectors regenerated for BOTH scorers (new tags_multi_labels case). PROMPT_PROTOCOL.md regenerated + hand-prose updated to name labels as default. README: one sentence under 'Design your schema'. CHANGELOG bullet under Changed with the numbers. Tests: tests that relied on the default being slots now pin scoring='slots' explicitly (test_w5b, test_engine_fake, test_multi, test_w2e_calib, test_w4b_parity, test_cli_smoke). New tests: DEFAULT_SCORING is 'labels', decide/decide_many signatures use it, CLI default is labels, package exports it. 1087 tests pass, ruff clean.
bnsd55
force-pushed
the
default-labels
branch
from
September 20, 2026 15:13
d0885d9 to
00c21fc
Compare
8 of 10 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Default scorer is labels (slots stays available)
Measured on the 7B (M5): labels field accuracy 0.82 vs slots 0.63 on typesafe, 0.72 vs 0.61 on bundled, order any-flip 0.03 vs 0.16. Flip the DEFAULT scoring from
slotstolabelseverywhere a default is declared.Changes
DEFAULT_SCORING = "labels"constant (next toDEFAULT_MODEL). Exported fromjevmlx/__init__.pyandjevmlx/api.py.decide/decide_many/choose/judge/rate/_one_field_decisionsignatures useDEFAULT_SCORING(7 sites). Docstring updated.run_parallel_generation/run_parallel_generation_batched/_score_all_fieldssignatures useDEFAULT_SCORING(3 sites). Docstring updated to name labels as default.decide+eval--scoringdefaults useDEFAULT_SCORING(3 sites).parallel_decide_fnusesDEFAULT_SCORING.check_scoring_parity/parity_report/write_parity_jsongain an optionalscoringparam (defaults toNone= engine default).scoring: str = "slots"duplicates remain.SCORERStuple unchanged (runs both).Golden prompt vectors
Regenerated for BOTH scorers (new
tags_multi_labelscase).PROMPT_PROTOCOL.mdregenerated + hand-prose updated to name labels as default. README: one sentence under "Design your schema". CHANGELOG bullet under Changed with the numbers.Tests
Tests that relied on the default being slots now pin
scoring="slots"explicitly (test_w5b, test_engine_fake, test_multi, test_w2e_calib, test_w4b_parity, test_cli_smoke). New tests:DEFAULT_SCORINGis"labels",decide/decide_manysignatures use it, CLI default is labels, package exports it. 1087 tests pass, ruff clean.