promptdojo_

Batch vs realtime — the 50% discount for work nobody is waiting on — step 5 of 7

Someone wrote a lane-comparison script to settle the cron-vs- endpoint argument — and it applies the batch discount to BOTH lanes. The printout claims realtime costs the same as batch, so the team is about to ship an endpoint for a job nobody waits on.

Fix monthly_cost so only the batch lane gets the 50% discount.

Expected output:

batch: $900/mo
realtime: $1,800/mo
The break is on line 8 — but read the whole snippet first.

full-screen editor opens — close anytime to keep reading.