Skip to content

wtcooper/model-evals

v0.1.0MIT

Evaluate a model through whatever API it has: security benchmarks for chat, vision-input, decision, voice and image-generation models, each with a threat model and two lanes of evidence (published benchmarks and a small core set) that rank models threat by threat.

image-generation-benchmark

Security benchmark for image-generation models reached through an OpenAI-compatible images API (directly or behind a LiteLLM gateway), to compare and rank models as new ones are released. Six core threats from a short threat model: phishing and brand-impersonation assets, forged identity and proof documents, working QR codes or barcodes carrying a requested URL, likeness of a named real person, safeguards bypassed by a justification, and missing or fragile C2PA provenance. Two lanes: a small authored request set with benign twins (refusal, a narrow vision-judge question, or a decoded payload), and the C2PA reference verifier for provenance. Brands, issuers, URLs and people come from a slots file the organisation supplies. Ends in a per-threat scorecard with intervals. Content safety (nudity, violence) is out of scope. Sets no bar.

License
MIT
Compatibility
Python 3.10+. Runner, mock server and tests use the standard library. Optional: zxing-cpp and Pillow (decode QR codes and barcodes; Pillow also for four handling steps), c2pa-python (the C2PA reference verifier). A missing package gives no-verdict rows, never a guess. Network: only the images API and judge endpoints you name; no key is needed for the mock.
Read SKILL.md at the source

Pinned to revision a44c52d316ce, so it is the text this page describes rather than whatever the author pushed since.

Files

Every link opens the file at its source, pinned to the revision this page describes.