verify_translation
Run both original and ported code on the same inputs to prove equivalence. Reports matched, diverged, or inconclusive results, grading only cross-checked passes.
Instructions
PROVE that a port is equivalent: run both programs, compare their output.
You write the translation — you are the language model. This runs your source and your port on the same inputs and reports, per input, whether they matched, diverged, or could not be compared (a runtime that is missing or a program that failed on both sides is INCONCLUSIVE, never a pass).
Use it after porting anything: python3 -> go, node -> rust, a rewritten function against the original. Pair with compare_edge_cases to find the inputs worth testing.
A pass is graded cross_checked (two independent implementations, run
and agreeing — see grade_basis for which runtimes). A non-pass is
graded ungraded: never a softer positive grade.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| source_code | Yes | ||
| target_code | Yes | ||
| test_inputs | No | ||
| source_language | Yes | ||
| target_language | Yes |