Skip to content

Add task variants - #16

Draft
palkan wants to merge 4 commits into
mainfrom
feat/variants
Draft

palkan wants to merge 4 commits into
mainfrom
feat/variants

Conversation

@palkan

@palkan palkan commented Oct 25, 2026 •

Copy link
Copy Markdown
Collaborator

Motivation

We want to see how changes at the harness/context level affect scores and metrics: adding documentation sources, codebase search indexes, guardrails at the application level, etc. That a new dimension to navigate LLM benchmarks within.

What is a variant?

A variant is a copy of the task with additional setup steps/patches and an extended instruction (optional). Everything else stays: the environment, the instruction, the grading.

To create a variant, you can:

  • Drop a variant-specific patch: environment+<variant>.patch (applied after the default environment.patch)
  • Drop a variant-specific instruction: instruction+<variant>.md (appended to the default instruction or to the shared part of instruction for multi-step tasks)
  • Declare variant-specific commands and files in the task's frontmatter:
---

  setup:
    commands: # default
       - bin/rails db:prepare
    variants:
      my_variant:
         commands: [] # variant-specific
---

Foo...

Optionally, you can provide a variant-specific Dockerfile and solution patches.

How to run

The same convention is proposed as for model efforts—using #:

lemans run --task ft-card-reactions#codegraph

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