# kosa8 bench

Ready-made benchmark environments on kosa8 Cloud: SWE-bench Verified, Terminal-Bench

kosa8 Cloud keeps a catalog of benchmarks: each instance's official image, pinned by
digest, and its official grader (hidden tests, run sealed). An instance's environment
is built by kosa8 the first time anyone uses it and restored in about a second after;
nothing to build or import yourself.

  kosa8 bench ls
  kosa8 bench show swe-bench-verified/django__django-11099
  kosa8 cloud sandbox create --template swe-bench-verified/django__django-11099
  kosa8 job submit --benchmark swe-bench-verified --instances 50 --solver "python agent.py"

Guide: https://docs.kosa8.com/guides/benchmarks/

Also known as: `benchmarks`

## Flags

| Flag | Type | What it does | Default |
|---|---|---|---|
| `--api` | string | kosa8 Cloud API address (default: as kosa8 cloud) |  |

## Example

```
  kosa8 bench ls
  kosa8 bench show swe-bench-verified/django__django-11099
  kosa8 bench prepare swe-bench-verified 50
```

## Subcommands

- [`kosa8 bench instances`](https://docs.kosa8.com/reference/bench-instances.md): List a benchmark's instances and their environments' state
- [`kosa8 bench ls`](https://docs.kosa8.com/reference/bench-ls.md): List the benchmarks, with their source and how many environments are built
- [`kosa8 bench prepare`](https://docs.kosa8.com/reference/bench-prepare.md): Build environments ahead of use (100 at most a call)
- [`kosa8 bench show`](https://docs.kosa8.com/reference/bench-show.md): Show an instance: its image, size, environment and (with --input) the problem

---
Source: https://docs.kosa8.com/reference/bench/
