Documentation
¶
Overview ¶
Command pig-evals runs PiG's documentation evals, the Go port of Pi's packages/evals.
pig-evals docs [--provider P --model M] [--runs-per-variant N] [-t PATTERN] [FILE...]
builds the without_docs and with_docs images, runs every planned case in a fresh container and writes the paired comparison under internal/evals/.eval (src/cli.ts). Inside an image the same binary is the entry point (`pig-evals entrypoint`, docker/entrypoint.ts) and runs the suites.
pig-evals host [-t PATTERN] [FILE...]
runs the host evals on this machine (`vitest run --project host`) and writes vitest.json to the current directory.
pig-evals audit [-t PATTERN] [FILE...]
runs the documentation audit on this machine (`vitest run --project audit`, Pi's `npm run eval:audit`); the host project leaves it out because it is expensive.
Click to show internal directories.
Click to hide internal directories.