FynoLabs

Glossary

What is a reference solution, or gold patch?

A reference solution is the known-correct answer that ships with a task, written by the task’s author. In code tasks it is often called the gold patch. Its job is to prove the task can be solved and that the checks accept a correct answer. It is kept out of the agent’s reach and is never the only answer the checks will accept.

Updated

All terms · Book a call

Reference solution

What it proves

That the task is solvable in the environment as shipped, with the tools and time allowed. Running the reference solution and getting full marks is the first check on any task.

Reference solution

What it must not become

The definition of correct. If the tests only pass for output that mirrors the reference, the task punishes every other valid approach. Tests should encode the requirement, and the reference should be one way of meeting it.

Reference solution

Keeping it away from the agent

The solution and the tests stay outside the image the agent runs in. If either leaks, the task measures retrieval and not skill.

In practice

Where this shows up in our work.

Related terms

Read next.

Need this done, not only defined?

Tell us what you are building. We start with a small paid pilot, and you approve on a sample before any volume.

Book a call · What we deliver