Skip to content

Default scorer is labels (slots stays available) - #103

Merged
bnsd55 merged 1 commit into
mainfrom
default-labels
Sep 20, 2026
Merged

bnsd55 merged 1 commit into
mainfrom
default-labels

Conversation

@bnsd55

@bnsd55 bnsd55 commented Sep 20, 2026

Copy link
Copy Markdown
Owner

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 slots to labels everywhere a default is declared.

Changes

  • 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.

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
bnsd55 merged commit 4828591 into main Sep 20, 2026
3 checks passed
@bnsd55
bnsd55 deleted the default-labels branch September 20, 2026 15:16
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