metrik-bench
Sandboxed evaluation — or a refusal. Never an unsandboxed run.
$ metrik bench --check # what isolation is available here, and what is not
$ metrik bench <model> --task humaneval
Why this package is unusual
HumanEval and MBPP ask a model to write code and then run it. A benchmark runner that
exec()s model output on your machine is a remote-code-execution primitive with extra steps.
ADR 019 answers that by refusing rather
than degrading, and records the clause as not revisitable. There is no in-process fallback,
no --i-know-what-im-doing flag, and no configuration that produces one.
That is enforced in two places, deliberately:
- The type.
BenchResultcannot be constructed for a code-executing task without a sandbox attestation, andisolation: "none"fails validation. A runner that finds no container runtime can emit nothing at all. - The runner. It checks for a runtime before generating anything, so the refusal arrives in a second rather than after an hour of generation.
What a refusal looks like
error: humaneval executes model-generated code and no container runtime is available
-> Install Docker Desktop and start it, then re-run. `metrik bench --check` shows
what was probed. Tasks that do not execute code (mmlu) run without a container.
Note the last sentence: MMLU is multiple choice and needs no container. Requiring one for everything would push people to disable the check they actually need.
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file metrik_bench-0.1.1.tar.gz.
File metadata
- Download URL: metrik_bench-0.1.1.tar.gz
- Upload date:
- Size: 7.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d0ef4c5829476244f80f21d1756930d9dab199f7e5716404a46b86182766b766
|
|
| MD5 |
259a6f864e4568a2d8131d70badbe0a6
|
|
| BLAKE2b-256 |
da25523e39214955603c4c3a13443adf25300b01e9b8622653be87aad5ce799c
|
Provenance
The following attestation bundles were made for metrik_bench-0.1.1.tar.gz:
Publisher:
release.yml on Asmodeus14/Metrik
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
metrik_bench-0.1.1.tar.gz -
Subject digest:
d0ef4c5829476244f80f21d1756930d9dab199f7e5716404a46b86182766b766 - Sigstore transparency entry: 2303254272
- Sigstore integration time:
-
Permalink:
Asmodeus14/Metrik@9c134a9d427b3c44bc5a3ef6dfb07c018f609f97 -
Branch / Tag:
refs/tags/v0.1.1 - Owner: https://github.com/Asmodeus14
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@9c134a9d427b3c44bc5a3ef6dfb07c018f609f97 -
Trigger Event:
push
-
Statement type:
File details
Details for the file metrik_bench-0.1.1-py3-none-any.whl.
File metadata
- Download URL: metrik_bench-0.1.1-py3-none-any.whl
- Upload date:
- Size: 6.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3fd3cc2474fd41e08fb1cfb8a9bf833f0a7193c4ebf5340b7f818eff70c04f46
|
|
| MD5 |
953ea04c1c3c1a18f1d43a607af32074
|
|
| BLAKE2b-256 |
7c5d38a954cf4491121fd730207ad3ec1f34fd32b7f1748a2b0eda9c31c24759
|
Provenance
The following attestation bundles were made for metrik_bench-0.1.1-py3-none-any.whl:
Publisher:
release.yml on Asmodeus14/Metrik
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
metrik_bench-0.1.1-py3-none-any.whl -
Subject digest:
3fd3cc2474fd41e08fb1cfb8a9bf833f0a7193c4ebf5340b7f818eff70c04f46 - Sigstore transparency entry: 2303254387
- Sigstore integration time:
-
Permalink:
Asmodeus14/Metrik@9c134a9d427b3c44bc5a3ef6dfb07c018f609f97 -
Branch / Tag:
refs/tags/v0.1.1 - Owner: https://github.com/Asmodeus14
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@9c134a9d427b3c44bc5a3ef6dfb07c018f609f97 -
Trigger Event:
push
-
Statement type: