AI & Technical question

A frontier lab says its model scores well on public benchmarks but still fails on long-horizon, repo-scale engineering tasks. How would you design a contamination-resistant evaluation or RL environment that surfaces those failures, while preserving reproducibility, trustworthy reward signals, and automated code-correctness verification?

Practice this question out loud. An AI interviewer asks it, follows up like a real interviewer would, and scores your answer. Type or speak.

Start a mock interview on this question · Mock interview from a job description

What this question tests

Ability to design a rigorous, hard to game evaluation and training environment for long horizon coding tasks.

How to approach it

  1. Design tasks sourced from real, recent repository history, using issues and their actual merged fixes as ground truth, rather than easily memorized public benchmark problems.
  2. Prevent contamination by continuously rotating in newer repository snapshots and issues past the model's training cutoff, and by structurally transforming problems so they cannot be pattern matched from memorized training data.
  3. Ensure reproducibility by fully containerizing the repository environment and dependencies for each task, so results are stable across runs and not dependent on external, changing state.
  4. Build the reward signal around automated, objective verification, running the actual test suite or a constructed set of checks against the repository, rather than a model graded or subjective score that can be gamed.
  5. Extend coverage to long horizon, multi step tasks by requiring the agent to make a sequence of changes across multiple files and pass integration tests, not just a single isolated function fix.
  6. Validate the environment itself periodically by checking whether reward hacking is occurring, for example an agent passing tests without a genuinely correct fix, and patching the verification logic accordingly.

What a strong answer includes

Common mistakes

Likely follow-up questions

More ai & technical questions

More questions from Scale AI

Learn the skill behind it

Chapters of the AI PM course that teach what this question tests.

Preparing for a specific role?

Book summaries for this kind of question

Browse all 4,000+ questions in the bank