Lcb Doctest Driven Development

Doctest-driven code generation for competitive-programming problems. The orchestrator first designs a quality gate of doctests (happy-path AND self-devised edge cases), verifies their expected values with a reference solution, injects them into the code generation prompt, then runs a reflection recovery loop until the code passes the gate. Use for any single-function / single-program coding task where correctness on unseen edge cases matters. The code-generating model never sees the hidden grading tests.

IBM e5e226b 11 files · 28.4 KB Updated

File contents

ibm/skillset-artifacts/tree/main/jessica-lcb-experiment/LCB/lcb_doctest/skill commit e5e226ba53

Frequently asked questions

npx skillmds@latest add ibm/lcb-doctest-driven-development