WhoBuilt

Benchmarks: The Good, the Bad, and the Ugly

Jul 31, 2026· 13 min· 1.1K views·Watch on YouTube

Speaker

Ali Khial, director of AI and ML at G2i, shares lessons from evaluating AI benchmarks at an AI Engineer event.

What a benchmark measures

A benchmark runs prompts through models or agents, checks their solutions with verifiers and rubrics, and uses a harness to limit outside interference. The resulting trajectories, scores, and metadata can help rank models, but that depends on each part working well.

Unrealistic and leaky tasks

Khial says SWE-bench Pro instructions average 481 words, about two pages per task, which is unlike how people typically write prompts. Some tasks reveal test files or prescribe an implementation interface; another asks a model to build a C compiler in Rust, which he questions as economically useful.

Weak verifiers and reward hacking

Khial cites a comparison reporting that SWE-bench Pro accepted wrong implementations on 8.5% of tasks and rejected correct ones on more than 24%. Examples include tests that expect an unstated variable name or check unexported functions. He also says models can exploit tasks by searching .git folders or the internet, while benchmarks lag behind.

Five principles for better benchmarks

Khial outlines human-authored instructions focused on desired behavior and constraints, holistic graders that balance broad behavioral tests with precision, and tasks with production value. He also recommends novel tasks with private holdouts to reduce contamination, plus richer leaderboard information that explains why models perform as they do.

A call for engineers to inspect benchmarks

Khial says a quality gap in benchmarks creates a trust gap: engineers he has encountered look at leaderboards but test models themselves before choosing. He encourages software engineers to examine how benchmarks work and contribute their input through the community Discord.

Takeaways

  • Treat benchmark scores as evidence to investigate, not as the sole basis for choosing a model.
  • Write task instructions around desired behavior and constraints; avoid exposing test details or prescribing implementation.
  • Check verifiers for both false positives and false negatives, including assumptions absent from the task instructions.
  • Use tasks with real engineering value and guard against models exploiting repository artifacts or public information.
  • Give leaderboard users enough context to understand why models succeed or fail, not just who ranks first.

Mentioned in this talk

Search inside this talk

What was claimed 6

  • works at
    Ali Khial works at G2i
    Head of AI/ML (also listed as Director of AI and ML)
    “I'm the director of AI and ML at G2i.”
    YouTube
    Verified2 sources· Talk, Web· archived
  • metric
    SWE-bench Pro: 481 words per instruction on average
    “there are 481 words per instruction on average”
    YouTube
    Unverified1 source· Talk
  • metric
    SWE-bench Pro: More than 24% of tasks rejected correct implementations
    “more than 24% of the tasks rejected correct implementations”
    YouTube
    Unverified1 source· Talk
  • metric
    SWE-bench Pro: 8.5% of tasks accepted a wrong implementation
    “8.5% of all tasks accepted a wrong implementation”
    YouTube
    Unverified1 source· Talk
  • feature
    G2i: Its team defined a five-principle framework for building better benchmark tasks
    “we've been working with our team at G2i to define a framework”
    YouTube
    Unverified1 source· Talk
  • feature
    contamination-free benchmark design: Uses novel tasks and private holdout sets
    “We want to use novel tasks only, and we want to make sure we keep private holdout sets.”
    YouTube
    Unverified1 source· Talk

Related talks