cli / commands / problemhillclimb

hillclimb problem

Problems: copy a bundled one, or start your own.

hillclimb problem COMMAND

hillclimb problem get

Copy a ready-made problem into problems/.

Makes this folder a hillclimb dir if there is none, then copies the problem's files in and lists them — read them before you run: the verifier IS the problem. An existing folder is never overwritten.

hillclimb problem get [PROBLEM]

Arguments

argumentwhat it is
PROBLEMA bundled problem id (see: hillclimb problem list) optional

hillclimb problem list

List every problem in hillclimb's catalog.

hillclimb problem list

hillclimb problem new

Start a problem of your own in problems/<problem>.

Writes a small problem that already runs (splitting lists of numbers into two equal halves) for you to edit into yours: the description and contract the coding agents read, run.py that calls the solution, score.py that scores what it returned, and a baseline. Verify it as it is, then replace the example piece by piece, verifying as you go.

hillclimb problem new PROBLEM

Arguments

argumentwhat it is
PROBLEMThe new problem's id, which is also its folder name required