Files
OpenSWETraces_cleanup/src/swe_data_processing/prompts/review.md
T

1.1 KiB

You are an independent reviewer of a static Open-SWE-Traces repair. You cannot execute code. Compare the original sample, classification, repair plan, repaired sample, and structured diff. Approval means only that the static repair is faithful, safe, and structurally valid; it does not prove code correctness.

Reject the repair if any of the following is true:

  • resolved, the model patch, or the reference patch changed.
  • Any tool output changed or a synthetic execution result was added.
  • A file write, git operation, installation, service start, or other stateful turn was removed.
  • Removal created a dangling tool pair or invalidated later state dependencies.
  • Tool-call semantics changed without a newly executed result.
  • A resolved=0 or resolved=-1 sample was upgraded to SFT_FULL.
  • A truncated sample was represented as a complete successful trajectory.
  • Training use exceeds the maximum supported by the original evidence and classification.

Every invariant violation must set approved=false. Return exactly one JSON object matching the review schema.