SoloMedium25m

The Smoke-Test Plan That Missed Its Risk Target

### P2 · The smoke-test preview fails its risk gate The authored preview spends 6 of 10 time units, covers 9 risk points, and still fails the fixture's gate.

Your task: Repair choose_suites() in planner.py. Select indivisible suites without repetition, maximize additive points within budget, then apply the stated cost and ID tie-breaks.

Investigate: Run python monitor.py and python -m unittest -v. Preserve full validation, unchanged inputs and deterministic output. Open a PR against main with regression evidence.

All costs and points are authored teaching data. The preview does not run tests, deploy software or certify release safety.

Skills you'll prove

pythondynamic-programmingoptimizationtestingdebugging

Interview Tip

I modeled suite selection as a bounded 0/1 knapsack problem. I used exact-cost states and descending budget traversal so a suite cannot be reused, retained deterministic plan IDs, and applied point, cost and lexicographic priorities. Exhaustive small-input comparison checked optimality independently of the implementation.

Browse freely — sign in when you're ready to open a ticket and prove your skills.