Skip to content

zebralogic:chat never applies its ChatFormatter — scored in completion mode #313

Closed

Description

@abhishekraok

register_variant("zebralogic", "chat", formatter=ChatFormatter(), ...) sets a formatter, but the ZebraLogic task class pins request_type to RequestType.COMPLETION and its format_request never consults config.formatter (src/olmo_eval/evals/tasks/zebralogic.py). So the :chat variant silently runs as a raw completion — no chat template applied.

Confirmed empirically by a cross-architecture SFT eval session across three independent runs: zebralogic:chat's logged requests carry a raw string context (starts "\n# Example Puzzle"), while genuinely chat-formatted tasks in the same jobs (harmbench, ifeval_mt_wildchat) carry role/content message lists.

Impact is largest on small instruct-tuned models that depend on their chat template: a 1.3B-active MoE scored 0.007 vs 0.182/0.171 for 7B dense/hybrid on this task, and that gap is likely an artifact.

Fix shape: follow the idiom used elsewhere (e.g. gpqa.py, code_fresh.py) — request_type and format_request should defer to config.formatter when set. Note this will shift existing zebralogic:chat numbers, which are currently completion-mode numbers.

🤖 Generated with Claude Code

https://claude.ai/code/session_01B9VUctQuzfAtrdpk4wDjEx

Activity

  1. abhishekraok commented on Aug 23, 2026

    @abhishekraok
    CollaboratorAuthor

    Additional evidence: truncation ruled out as an alternative explanation for the anomalous small-model score — 0% of the MoE's zebralogic:chat generations truncated (max 7577 tokens vs an 8192 ceiling). The unapplied formatter remains the leading explanation.

    🤖 Generated with Claude Code

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions