Skip to content

Assay 09 · Software engineering · Wave 3

Portage

Migrate a codebase across a breaking version change with identical behaviour afterwards.

The environment

Private for nowIn developmentEvals & results coming soon
Domain:
Software engineering
Substrate:
Container
Wave:
3 of 4
Status:
In development
Results:
Coming soon
Episode · schematic

Illustration

The scenario
A working codebase pinned to an old library, framework or language version. The target image only has the new version installed.
How tasks are generated
Two sources: curated real migrations across major versions of popular libraries, and a synthetic library generator that emits a v1, a breaking v2 and client code, for unlimited fresh tasks.
What the agent gets
A shell, file edits and both versions' documentation.
How it is graded
Differential testing: behaviour recorded from the old code on hidden inputs must match the migrated code. The build runs on the new version only, and a dependency and import audit finds no trace of the old one.
Scores zero
Vendoring the old version under another name, a shim that reimplements the old API wholesale, stubbing functions the hidden inputs exercise.

Three tiers.

  1. Easy

    Mechanical renames.

  2. Medium

    Changed defaults and return types.

  3. Hard

    Semantic changes where the same call now means something different.

Evals & results

Evals & results coming soon. Frontier-model baselines and a base-versus-trained comparison will be posted here when Portage is ready.

Next · Assay 10Lossplateau