Put in order · Vibe coding with Claude Code course · Module 15: Advanced Claude Code
Sorting: A budget limit for a loop
Put the steps in order before you run generate-tests.sh with --max-budget-usd on all the files:
Items to put in order
- A review of the .tmp files after runs stopped by the limit
- A trial run on one file with --output-format json
- Adding --max-turns and --max-budget-usd with a margin
- Reading total_cost_usd and num_turns with jq
- A loop over all the files
You can check the correct answer by solving this task in the CodeWorlds game.