本文へスキップ
Skillpedia
テスト20k · #10404

Assay

できること

このスキルは、AI の出力をコードのアサーションとモデルによる採点で確認する評価を設計する流れを、AI に案内します。AI 機能の信頼性を測りたい開発者やチーム向けです。

使う場面

  • ✓AI 機能が一貫して正しい出力を出すかをテストしたいとき。
  • ✓同じタスクの集合で、二つのプロンプトまたはモデルを比べたいとき。
  • ✓変更の後に AI の品質低下を検出する回帰テストが必要なとき。

スキルのリンク

https://github.com/danielmiessler/LifeOS/blob/main/LifeOS/install/skills/Assay/SKILL.md

コピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。

使い方

いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。

貼り付け用メッセージ

このスキルを使って手伝ってください:https://github.com/danielmiessler/LifeOS/blob/main/LifeOS/install/skills/Assay/SKILL.md このリンクのSKILL.mdファイルを読んで、私の作業でその指示に従ってください。
こういうスキルを、AIが自分で見つけてくれたら?無料のSkillpedia MCPをインストール。1行で、作業の前に15,000+のスキルから探してくれます。1分でインストール →

AIへの頼み方の例

“私の要約ツールを 20 件のサンプル記事で確認し、それぞれの実行がどの程度合格するかを報告する評価を作ってください。”

毎週5つの新しいスキル。1分で読めます。

仕組み

AI は、プロンプトとアサーションを含むテストケースを書きます。単純な確認はコードで行い、判断を伴う確認には採点するジャッジを使います。複数回の試行を行い、すべての試行が合格したかと、どれかが合格したかの両方を報告します。

技術的な内容(元のSKILL.md)

作者による元のテキスト(英語)をGitHubからそのまま表示しています。

Assay — Assertion-First AI Evaluation

Contents: Ideal State · Intent Routing · The taxonomy · Choosing a check: tier first, then shape · Selection, acceptance, and unavailable evidence · The canonical path · Doctrine (from Anthropic; encode, don't restate) · The image lane (visual evals) · Harness integration · Judgment-layer question systems · Data & Config · Gotchas · Examples

An eval gives an AI an input, then applies assertions to its output to measure success (Anthropic's definition). A case is {id, prompt, assert:[...]}. Each assertion is either deterministic (code, free) or model-graded (a calibrated judge). Cases run multiple trials and report pass^k (every trial passes; the reliability metric and the regression gate) and pass@k (any trial passes). Proof applies the same tiers to one run's output (the film, image, page, email or document it made) against what was asked, before the principal sees it: Intents/Proof.md, with the whole system in LIFEOS/DOCUMENTATION/Assay/AssaySystem.md. CreateQuestions designs the fast tier itself: it turns a fuzzy decision into a measured judgment-layer question system (LIFEOS/DOCUMENTATION/Assay/AssaySystem.md § Judgment layer).

Sources: Demystifying evals for AI agents (2026-01), A Statistical Approach to Model Evaluations (2024-11), develop tests, the eval-awareness contamination post (2026-03), and the live claude plugin eval surface.

Freshness contract: "aligned to Anthropic's doctrine" is a live claim. When designing a new suite class or touching ## Doctrine, re-fetch the demystifying-evals post and flag where it has moved. Report divergence, never auto-adopt; an unreachable URL never blocks a run.

Ideal State

  • Every check sits at the lowest tier that can honestly answer it (code, glance, judge, human), and only code runs on a blocking path.
  • Every score ships with pass^k, SEM and a 95% CI from the trials that completed, with the requested and completed trial counts beside it; fewer completed trials than requested never claims pass^k.
  • A judged check is calibrated against the principal's labels or reads PROVISIONAL wherever it shows, and a judged suite keeps an adversarial fixture its judge must fail.
  • A produced artifact is checked by Proof against what was asked before the principal sees it, and the receipt is bound to its bytes.
  • Transport failures, malformed verdicts and missing observations are reported as unavailable evidence, never as a pass, a quality failure or an adversarial catch.
  • A fuzzy decision handed to CreateQuestions leaves as a validated question system whose accuracy was measured on held-out cases the designer never saw, with its margin over one holistic baseline question, or as a stated finding that the judgment layer does not fit and what does; a design ends at a saved shadow registry row and never moves a caller toward enforce.
  • When Assay builds the eval system for a project, the project's ISA ends current: every criterion it checks names its suite or glance question in Test Strategy, and the hand-rolled eval code, rows and stale criteria it replaced are removed in the same change.

Intent Routing

Intent Trigger File
Proof "proof this", "check the output", "did it come out as asked", before showing any produced artifact Intents/Proof.md
RunEval "run the eval", "run suite", "evaluate this" Intents/RunEval.md
CreateSuite "new eval", "create a suite", "eval for X" Intents/CreateSuite.md
CreateJudge "write a judge", "llm-rubric", "grading criteria", "noul, choice or score", "glance question" Intents/CreateJudge.md
Calibrate "calibrate the judge", "judge agreement", "judged residue", "shrink the judges", "judged miss", "bunker miss" Intents/Calibrate.md
Compare "compare prompts", "compare models", "A/B this", "with/without", "ablation" Intents/Compare.md
ModelRetro "which model did we like", "model retro", "compare models looking back", "how did model X do historically" Intents/ModelRetro.md
RunAgentic "multi-turn eval", "agentic eval", "eval with tools", "plugin eval" Intents/RunAgentic.md
ViewResults "eval results", "how di
よくある質問

pass^k とは何ですか?

一連の実行のすべての試行が合格することです。信頼性を測る指標であり、回帰の判定基準です。

pass@k とは何ですか?

少なくとも 1 回の試行が合格することです。AI が最善の状態で何ができるかを示します。

1 つのタスクでの AI の作業を確認できますか?

はい。同じ確認項目で、1 回の実行の出力を依頼内容と照らし合わせ、人が見る前にレビューできます。

詳細

作者による元の説明

Assertion-first eval framework: code asserts, calibrated judges, pass@k, A/B comparison, agentic evals, judgment-layer question systems and code-extract-decide-write pipelines. USE WHEN eval, evaluate, benchmark, judge, judge prompt, judge panel, regression test, assert, llm-rubric, calibrate judge, judged residue, pass@k, pass^k, grade output, compare prompts or models, A/B test, which model did we like, model retro, ablation, with/without, test agent, agentic eval, noul/choice/score question, glance row, judged miss, proof this, check the output, did it come out as asked, design judgment que

repo: danielmiessler/LifeOS

人気

GitHubのスター
20k
ランキング
#10404
ライセンス
MIT
更新日
2026/10/28

このスキルは役に立ちますか?

0

ログイン して投票しましょう。

コメント

  • …

このリポジトリの他のスキル

似ているスキル