Skip to content

ZebraLogic prompt diverges from oe-eval: doubled braces rendered literally, re-wrapped lines #342

Closed

Description

@abhishekraok

The port escaped ZEBRA_GRID's braces ({{/}}) as if the string were a .format() template, but substitution is .replace() (src/olmo_eval/evals/tasks/zebralogic.py), so every prompt literally shows the example answer as

{{
    "reasoning": "...",
    "solution": {{

oe-eval's template has single braces (oe_eval/tasks/oe_eval_tasks/zebralogic.py), i.e. valid JSON. The prompt demonstrates malformed JSON as the required output format; a model that mimics it scores parsed=0 — extract_last_complete_json grabs the {{…}} span and json.loads fails.

Second divergence: the port re-wrapped the intro paragraph and the example reasoning string to ~90 columns; oe-eval keeps them as single long lines. Combined, rendered prompts differ from oe-eval on every doc (verified by rendering both templates on the same doc: 53 diff lines).

Also dropped relative to oe-eval: per-difficulty subaggregation (puzzle_accuracy_sub etc. by easy/hard via aggregate_by_category_fn) — we only report overall means. Relevant to the proposal to use easy for dev and hard as held-out test.

Fix: copy oe-eval's ZEBRA_GRID byte-for-byte. Unrelated to #313/#334 (chat formatting); affects both variants. Existing zebralogic numbers shift.

Activity

  1. added a commit that references this issue on Sep 2, 2026
    5ad7cfe
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