# Why a benchmark upgrade took one task off the list

Forty-five tasks fit our computer budget in one release of Terminal-Bench, a collection of jobs for testing AI programs. We switched to the next release and used exactly the same limits on processing power, memory and storage. This time only 44 tasks qualified. Where had the other one gone?

The job was still there. In Terminal-Bench, an AI attempts a task by typing commands, and another program checks its work. In the new release, the checker for one task asked for more computing power than our budget allowed.

Both releases, v4.0.0 and v4.1.0, list the same 66 task names. Putting a task on the list requires enough resources both to do the work and to check the result. The missing task was `payments-pipeline-fix`. Its checker went from requesting 6 CPUs and 12,288 MB of memory to 8 CPUs and 16,384 MB. That put it beyond the old budget.

The filter checks the limits on CPUs, memory and storage separately for the program doing the work and for the checker. When the task lists no separate requirements for the checker, the filter uses the task’s own settings for both. [Terminal-Bench v4.1.0 release](https://github.com/harbor-framework/terminal-bench/releases/tag/v4.1.0) · [How the resource filter works](https://sapien1.com/research/terminal-bench-resource-settings)

## The difference shows up at some hardware limits

We made a list of every CPU, memory and storage limit declared in either release, then tested the 330 ways to combine them. In 285 combinations the two releases selected exactly the same task IDs, including combinations that selected nothing. The other 45 each lost the same task after the upgrade. Here 45 counts hardware settings. Only one task fell off those lists.

The new release alone supplied enough values for 220 combinations. None would have revealed the missing task. To find out what an upgrade does to your own task list, try your original settings first. To see where else the releases differ, use values from both.

## A bigger computer budget brought the task back

**At the original limits, 45 tasks became 44. Raising CPU and memory limits let 49 qualify in each release.**

| Ceilings per environment | v4.0.0 tasks | v4.1.0 tasks |
| --- | ---: | ---: |
| 6 CPUs, 12,288 MB memory, 10,240 MB storage | 45 | 44 |
| 8 CPUs, 16,384 MB memory, 10,240 MB storage | 49 | 49 |

At 6 CPUs, the newer release accepted 44 of the original 45 tasks. Keeping storage fixed and raising the CPU and memory limits produced the second row. The new release now accepted all 45 original tasks plus four others. Both versions show 49 on that row. To find out whether you can repeat the old test, you need to know which tasks those numbers represent.

The second row gives the tightest tested limits that recovered the first row’s original list. The 45 affected settings represented 14 distinct old lists. For each list, even the tightest tested new limits that admitted every original task also admitted two to seven others. If you want to repeat a test on precisely the old tasks, keep their IDs, check that all qualify, then ask for just those IDs.

## When the tasks match, the grader’s clock can still change

With 8 CPUs, 16,384 MB of memory and 15,000 MB of storage per environment, the releases selected the same 50 IDs. For a different task, `distributed-dedup`, the requested time to check the work rose from 1,800 seconds (30 minutes) to 3,900 seconds (65 minutes). Of the 285 settings that kept their old task lists, 32 included this task.

Harbor, the program running the test, can limit the time a checker gets. We held Harbor at one revision, used a multiplier of 1 and supplied no override. A cap of 1,800 seconds allowed 1,800 seconds in either release. With a 2,400-second (40-minute) cap, the old release still allowed 1,800 seconds and the new one allowed 2,400. Those numbers are time allowances. They don’t tell you how long the checking actually took. [How Harbor calculates the time limit](https://github.com/harbor-framework/harbor/blob/ec6aeab7fe0eb51df52b4e72c524daf5ea9cc5f4/src/harbor/trial/trial.py#L695-L705)

To repeat a run, save the release and Harbor revision, the selected IDs and the hardware limits. Record the time each task requested and the allowance the runner calculated. Include any maximum, factor used to scale the time, or setting that replaced the usual limit. Even the grading procedure can change. The maintainers explain how they changed the checker in v4.1.0 and used it to grade previously saved work again. [Maintainers’ release explanation](https://www.tbench.ai/news/terminal-bench-4-1)

A different part of a coding test can quietly change the comparison, too. Here’s how to [check which test file the software actually opened](https://sapien1.com/research/check-humaneval-plus-files).

## Related research

- [What hardware do the 66 Terminal-Bench tasks ask for?](https://sapien1.com/research/terminal-bench-resource-settings)
- [How to pick ten Terminal-Bench tasks by their stated hardware requirements](https://sapien1.com/research/reproduce-a-terminal-bench-preview)

[Testing models](https://sapien1.com/research#evaluations)
