RL Environments · License or custom build
Did the agent make a real database cheaper to run?
Most RL environments for coding agents check whether the agent produced the right answer. Mine check something harder. The agent gets a slow SQL query, its own copy of the database and a shell, and has to tune the query.
It is scored on logical reads: how many database pages the query really touches. Not wall-clock time, which mostly measures the machine. Not how clean the execution plan looks, which is what the engine intends to do, not what it does.
The task sits where an environment is useful for training: frontier models succeed sometimes, but not reliably.