BlogAI & ML

How to Build Science and Engineering Tasks for AI Agents

How to create science benchmark tasks for AI: use real field data, leave the key law unstated and grade exactly. Lessons from our civil engineering tasks.

Nomos Insights
Updated 6 min read

Many of the best known AI agent benchmarks test coding. SWE-bench, for example, is built from 2,294 real GitHub issues in popular Python repositories. But AI companies also want to know whether their agents can do real scientific and engineering work. Can an agent take messy field data, apply the right engineering judgment and come back with an answer a professional would trust?

To create a science benchmark task for AI, start from a real problem with realistic field data, leave the key relationship open for the agent to work out from that data, and grade the answer automatically against expected values from an independent generator. Then confirm that every model failure traces back to the science, not a technical slip.

Our domain experts built science tasks like that in civil engineering. Each one is a problem the agent, an AI model working on its own, solves in a terminal, with realistic field data, a program checking the answer and no human in the loop. Topics included pile capacity from field records, track settlement, stormwater loads and similar problems that take real engineering experience.

The main thing we learned is easy to state. If the instructions name the engineering law, a strong model solves the task in minutes. The tasks that held up made the agent work out which relationship the data supports, then track how things change from one event to the next.

How is a science task graded?

Automatically, and the result is pass or fail. The reference solution, the expert's own worked answer, must pass, and an agent that does nothing must fail. Expected values come from an independent generator, not from the reference solution. One reference run is done with networking turned off, to be sure nothing depends on the internet.

Before a task was accepted, it went through automated checks, runs by strong models that had to fail, and expert human review. In that review, our experts had to be satisfied that each model failure traced back to the science, not to a technical slip.

Any stated law gets solved

This was the first design lesson, and it shaped everything after it. If the instructions state an engineering law, the model copies it and solves the task in minutes. Models know the textbook very well.

So we changed the design. We left one relationship open within a clearly stated set of options, and added hidden state that carries from one event to the next. The agent has to work out which option the data supports, then track how things change over time. It's the same idea behind our hidden rule tasks.

When is a hard task not a fair one?

When the data cannot settle the choice the agent is asked to make. The open-choice design brought its own problem. On one task both models failed, which looked like a strong result. Then a reviewer ruled it under specified. The open choice read like a hidden convention rather than a judgment the data could settle. It also showed us how a tolerance, the allowed margin of error, has to work in these tasks: it must be tight enough that only the right reading of the data lands inside it. Once we stated every allowed form clearly, the same fix we describe in how to audit an AI benchmark for ambiguous tasks, both models landed within a couple of centimeters of the right answer. Fair, but no longer hard.

That's the real tension in this work. Hard and fair pull in different directions, and finding the spot where both are true takes patience.

When a task did get solved, our house rule was to change the science. Never just make the data bigger, cut the clock or tighten the tolerance. Those make a task more annoying, not more meaningful.

A few stories from the work

The missing stop. A reviewer noticed that a long stoppage in the graded data didn't match anything in the training logs. Fair point. We added a matching stop to the logs, and the task was accepted. Both models gave up, one after 6 minutes and one after 32, and both answers were rejected by the data.

The quick screen was right. A five minute test run gave us an early sign that one task was too easy. Full runs confirmed our read, as both models solved it. That is why we trust our quick screens and use them early, before more effort goes into a task.

Consistent notation. Different reviewers sometimes prefer different ways of writing the same math. We pick one format that every check accepts, use it everywhere and attach a short note explaining the choice. Calm, clear and documented.

Our experts filter out plenty of ideas along the way, and that's what screening is for. Some were too easy. Some were hard but not fair. Some we dropped at the idea stage because a quick screen showed they wouldn't hold up. The ones that got through were usually refined several times, each pass making the science sharper. Screening is also how we steer the difficulty mix, which we cover in what pass rate an AI benchmark should target.

Questions people ask us

What are science tasks for AI agents? Real scientific or engineering problems an agent solves from a terminal using data files, graded automatically.

Why do AI models solve many science tasks quickly? If the method is stated, they apply textbook knowledge very well. Hard tasks need the agent to work out which method the data supports.

How do you make a science task harder without making it unfair? Our house rule is to change the science, like adding carried state or an open but bounded choice, instead of adding more data or less time.

Do you need a domain expert to write science tasks for AI? Yes. Someone has to judge whether the data really supports one answer, and whether a model failure came from the science or a technical slip. That takes real field experience.

Need Science Tasks Built by Domain Experts?

Our domain experts write engineering and science tasks that are hard for the right reasons, and our reviewers check each one for fairness before it ships. If your lab needs scientific evaluation data delivered to a clear quality bar and timeline, our Model Evaluation and Rubrics team would be glad to talk.

Get in Touch
Filed underAI for ScienceCivil EngineeringTerminal-BenchAgentic AI