Skip to content

(9/9) Fluency Task Declarations - #93

Open
kargibora wants to merge 2 commits into
refactor/task-yaml-elofrom
refactor/task-yaml-fluency
Open

(9/9) Fluency Task Declarations#93
kargibora wants to merge 2 commits into
refactor/task-yaml-elofrom
refactor/task-yaml-fluency

Conversation

@kargibora

Copy link
Copy Markdown
Collaborator

Summary

This PR packages the fluency benchmark as a declarative task; the last benchmark to migrate. With every dataset now owned by a task definition, it also deletes all the legacy code paths that existed only for unpackaged tasks. This completes the task-YAML stack.

Fluency as a packaged task

  • One fluency task family with 43 language variants (fluency-french, fluency-mandarin-chinese, …), resolved through the same suffix-variant mechanism as m-ArenaHard.
  • The multilingual-fluency dataset source and revision are pinned in the task YAML and loaded through a registered fluency dataset adapter.
  • New base_completion generation mode: the task protocol now declares that a base model continues raw text (instead of the runner inferring it from the task name).

Legacy removal

Since every task is now packaged, the following are gone (net −260 lines):

  • The fluency special cases in config.py and the pairwise runner — the runner has a single data path via the task's dataset adapter.
  • The monolithic judge-arena-dataset pattern-matching fallback in download_hf; downloads go only through task-declared, revision-pinned sources.
  • The legacy prompt-preset fallbacks (TASK_DEFAULT_PRESET, the fluency- name check) — presets come from the task YAML.
  • dataset_revisions.py deleted entirely; every revision pin lives in the task definition that uses it.

Notes:

Entire stack is tested with running smoke tests for each of the defined task. No error is raised.

One fluency task family with 43 language variants (fluency-<language>),
loading pinned multilingual-fluency contexts through a registered dataset
adapter. Adds the base_completion generation mode for base-model tasks.
Every benchmark now resolves through a packaged task definition, so this
deletes the paths that existed only for unpackaged tasks: the fluency
special cases in config and the pairwise runner, the monolithic
judge-arena-dataset fallback in download_hf, the legacy prompt-preset
fallbacks, and dataset_revisions.py (pins live in task YAML).
@geoalgo
geoalgo force-pushed the refactor/task-yaml-fluency branch from f7d502b to b46d5a4 Compare August 5, 2026 13:32
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