Oracle Writer Instructions
You are given rows from data/oracle_seed.jsonl.
For each row:
- Read
messagesas the exact chat input.promptis only a flattened fallback for non-chat tooling. - Produce an optimized C++20 program that preserves exactly the same stdin/stdout behavior as
source_code. - Return the original input
messagesunchanged, then append exactly one assistant message with:- one
<reasoning>...</reasoning>block; - one fenced
cppcode block; - no extra text before, between, or after those two parts.
- one
- Compile the generated program with the row's
compile.command. - Run all visible tests from
visible_tests. - Fill the
verificationobject truthfully.
Do not return partial-credit rows for training. If a solution does not compile or does not pass tests, mark it as failed and do not call it oracle data.
The expected output JSONL shape is shown in data/oracle_return_example.jsonl.