Skip to main content
To find out whether a new prompt, model or agent is actually better, you run it on many tasks and score each result. This is called an eval. For coding tasks, scoring means running code: the model’s solution is run against tests it has not seen. Reinforcement learning (RL) is similar: each attempt, called an episode, needs a fresh environment in which the model can act. Both need the same thing: a clean, identical machine for every episode, many of them at once, with nothing shared between them, so that one episode can never affect another’s score. Here is how Fibre provides each part:

A small eval

This example evaluates three small programming tasks. For each task there is a candidate solution (standing in for what a model would return) and a set of hidden test cases. Every episode runs in its own sandbox, with no network access, and the scores are collected into one table.
1

The environment, once

2

The tasks and the model's answers

3

Run every episode in parallel

4

Clean up

For agents and RL

The same approach works for agent benchmarks and RL training runs. Each episode goes through four stages:
  1. It starts from the task’s snapshot: for example a repository at a given commit, a database with data in it, or a desktop with an application open.
  2. The agent acts: it runs commands, edits files, or uses the browser or desktop, for as many steps as it needs.
  3. A checker scores the result inside the same sandbox, for example by running hidden tests, comparing the final state, or computing a reward.
  4. The sandbox is deleted, so the next episode starts from a clean state.
Because a sandbox keeps its memory while it sleeps, a long episode can pause, for example while it waits for a slow model or for a person to label something, without keeping a machine awake and paid for.

At scale

When you run hundreds or thousands of episodes, keep these points in mind:

Snapshots

How every episode gets the same starting point.

Agents in parallel

The same pattern, used for real work instead of scoring.