swarnnim/coding-task-factory ? reverse-engineered prompt

Reverse engineered prompt

Build me a Python 3.12 tool that takes a small working codebase and turns it into realistic coding challenge packages for AI evaluation.

I want it to generate task folders with a clear user instruction, a task spec, a starter version with the feature missing, a reference solution, a few intentionally wrong mutant versions, and tests that prove the feature can’t be faked or hardcoded. The tasks should feel like real product changes, things like discounts, shipping and tax, inventory reservation, search ranking, and loyalty points, with the exact rules changing by seed so each package is a bit different.

Also include a validator that runs every version against the tests and writes out evidence showing the starter fails, the reference passes, and the mutants get caught. Make it deterministic for the same seed, and let me generate one package or a whole set of samples. Keep it dependency free and make the tests strong enough to catch boundary mistakes and shortcuts. If you need to check current Harbor task format docs, look them up online first.

Are you gonna build this?

make sure you review the code using coderabbit

Try freeSponsored — opens CodeRabbit in a new tab