Configuration Testerのロゴ

Configuration Tester

組織
AI-ModCon
configuration-tester

Runs testing of the generated configuration for the benchmark and identifies any issues that need correction. Use this skill after the completion of the configuration-implementor skill.

概要

公開者AI-ModCon
リポジトリgenesis-skills
スキル名configuration-tester
スター
37
フォーク
16
同梱ファイル
3
ライセンスBSD-2-Clause
リンク
  • Markdown形式の指示

    モデルが必要に応じて読み込むSKILL.mdファイルです。関連するリクエストがあったときだけトークンを消費します。

  • どのLLMでも利用可能

    AIスキルはプロバイダー固有のコードではなく、通常のMarkdownなので、GPT、Claude、Gemini、Grok、ローカルモデルで利用できます。

  • 3個の同梱ファイル

    モデルが作業中に読み取れるスクリプト、テンプレート、参考資料です。ファイルは読み取り専用で、実行されることはありません。

  • オープンソース

    AI-ModConがGitHubで公開しています。インストールする前にソースを確認してください。

インストール

AIスキル「Configuration Tester」をTypingMindにインストールすれば、どのLLMでも利用できます。SKILL.mdを読み取れる別のAIエージェントに追加することもできます。

1

TypingMindにインストール

TypingMindはGitHubフォルダから直接スキルをインストールします。SKILL.mdを読み取り、リソースファイルをまとめてローカルに保存します。

  1. アプリを開き、「プラグイン」→「スキル」に移動します。
  2. 「GitHubからインストール」を選択します。
  3. 以下のスキルフォルダのURLを貼り付けて確定します。
    https://github.com/AI-ModCon/genesis-skills/tree/main/skills/baseeval-skills/lm-eval-harness-skills/configuration-tester
  4. スキルを利用したいチャットごとに、そのスキルを有効にしてください。
「プラグイン」→「スキル」→「スキルを追加」→「GitHubのURLから」を選択し、フォルダのURLを貼り付けて「続行」を押します。
2

別のAIエージェントにインストール

Agent Skills形式を読み取れるAIエージェントなら、このスキルを利用できます。フォルダをそのAIエージェントのスキルディレクトリにコピーしてください。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/AI-ModCon/genesis-skills.git /tmp/genesis-skills
mkdir -p .claude/skills
cp -r /tmp/genesis-skills/skills/baseeval-skills/lm-eval-harness-skills/configuration-tester .claude/skills/configuration-tester
コピー後、新しいスキルを読み込むためにClaude Codeを再起動してください。

TypingMindで使用

TypingMindのチャットでConfiguration Testerを有効にするだけで、あとはモデルが対応します。名前と説明がシステムプロンプトに含まれ、関連するリクエストがあると、モデルが指示の全文を自動で読み込みます。手動で呼び出す必要はなく、実際に使用されるまでトークンを消費しません。

関連するリクエストがあるとすぐに、モデルが自動的にConfiguration Testerを読み込みます。

どのAIモデルでも利用可能

AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、Configuration Testerは作成時に想定されたモデルに縛られません。TypingMindに一度インストールすれば、ご自身のAPIキーを使って、GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama、またはご自身で実行するローカルモデルで利用できます。

  • 必要なときだけ読み込み

    システムプロンプトには名前と説明だけが含まれます。関連するリクエストが初めてあったときに指示を取得するため、スキルを使わない間は指示の読み込みにトークンを消費しません。

  • チャットの途中でモデルを切り替え

    スキルはコードではなく指示なので、モデルを切り替えてもそのまま使えます。次のモデルも同じSKILL.mdを読み込みます。

スキルの指示

モデルが読み込むSKILL.mdの内容です。スキルはモデルが従う指示なので、インストールする前に確認してください。

Steps

  1. First test each of the individual functions within tasks/{benchmark_name}/utils.py, if it exists, to make sure they function as expected, focusing on potential edge cases. Save all custom testing scripts in tasks/{benchmark_name}/scratch/.

  2. Update the code to fix any issues that are identified.

  3. Test the functionality of each full task using scripts/test_config.sh in the configuration-tester skill directory. This script may take several minutes. It accepts overrides for model, model args, and sample limit, but use the default parameters unless there is a strong justification for changing them. Especially make sure that the model used is large enough to achieve better than zero accuracy on the task.

    Sandbox Mode:

    • Issue: lm-eval-harness requires access to /dev/shm (shared memory) for PyTorch/HuggingFace operations, which may be restricted in some sandbox modes
    • Symptoms: Errors mentioning /dev/shm or OpenMP shared-memory errors
    • Solution: Request user approval for running the test script outside the sandbox
  4. Examine the outputs under results/<task_name>/. This will contain a results_*.json file with summary metrics and a samples_*.jsonl file with the full formatted prompts and responses for each instance.

  5. Use scripts/display_sample_results.py --no-pager to extract the LLM inputs, LLM outputs, and resulting metrics from those files in an easily readable format when running non-interactively.

  6. Check each sample in detail using the Validation Checklist below to verify correctness. Track checklist progress in plan.md.

  7. If any issues are discovered, consult references/troubleshooting.md for common failure modes and solutions. Iterate until the task behavior and metrics look correct, but stop after 3 unsuccessful iterations and ask the user for guidance.

  8. Document testing results by appending a Testing Decision Log section to plan.md:

    markdown
    ## Testing Decision Log
    
    **Date**: <date>
    
    **Test Configuration**:
    - Model: <model used>
    - Samples tested: <number>
    - Test results: <summary of metrics>
    
    **Issues Found and Fixed**:
    - Issue 1: <description> - **Root cause**: <why it happened> - **Fix**: <what was changed>
    
    **Validation Results**:
    - All prompts formatted correctly: ✓/✗
    - Model outputs parsed successfully: ✓/✗
    - Metrics in expected range: ✓/✗
    - Spot-check accuracy: <description of manual verification>
    
    **Remaining Concerns**:
    - Concern 1: <if any> - **Severity**: <low/medium/high>
  9. Finalize with a concise testing summary. Ask the user for concurrence before completion.

Validation Checklist

Use this checklist to systematically verify test results. Copy this checklist into plan.md and track progress there.

Prompt Formatting

  • Template variables replaced: No literal {{...}} in prompts
  • Instructions present: Task instructions are included if required
  • Format is correct: Question/context/choices formatted as expected
  • Few-shot examples: If enabled, few-shot examples appear correctly formatted
  • No truncation: Prompts aren't unexpectedly cut off
  • Special characters: Quotes, newlines, etc. rendered correctly

Model Outputs

  • Non-empty: Model generated responses (not empty strings)
  • Appropriate length: Outputs aren't truncated too early
  • Expected format: Outputs match expected format (e.g., A/B/C/D for multiple choice)
  • Stopped correctly: Generation stopped at appropriate until tokens
  • Diverse: Outputs vary across samples (not all identical)

Output Parsing

  • Filter works: Filter correctly extracts answers from outputs
  • Edge cases handled: Handles malformed outputs gracefully
  • No errors: No parsing errors in logs
  • Consistent results: Same output consistently parsed the same way

Metrics

  • In expected range: Metrics are in valid range (e.g., 0-1 for accuracy)
  • Not all None/NaN: Metrics computed successfully
  • Reasonable values: Results seem plausible for the task
  • Metric breakdown: Per-sample metrics look sensible

Correctness Spot-Check

Manually verify at least 3 samples:

  • Sample 1: Prompt → Output → Metric is correct
  • Sample 2: Prompt → Output → Metric is correct
  • Sample 3: Prompt → Output → Metric is correct

Error Cases

  • No exceptions: No Python exceptions in logs
  • All samples processed: Sample count matches expected
  • No warnings: Or warnings are understood and acceptable

Scripts

test_config.sh

./test_config.sh <benchmark_name> <path_to_task_directory> [model] [model_args] [limit] [apply_chat_template]

Defaults may also be supplied via LM_EVAL_MODEL, LM_EVAL_MODEL_ARGS, LM_EVAL_LIMIT, and LM_EVAL_APPLY_CHAT_TEMPLATE.

model_args is required and must be specified either through the 4th argument or set by LM_EVAL_MODEL_ARGS.

Set apply_chat_template to true (or LM_EVAL_APPLY_CHAT_TEMPLATE=true) to pass --apply_chat_template to lm_eval. Use this when the model requires chat formatting (e.g., instruction-tuned models with a chat template). Defaults to false.

display_sample_results.py

python display_sample_results.py <jsonl_sample_file> [--no-pager]

同梱ファイル

スキルが読み込まれている間、モデルは必要に応じてこれらを読み取ります。読み取り可能なファイルとして提供され、実行されることはありません。

よくある質問

AIスキル「Configuration Tester」では何ができますか?

Runs testing of the generated configuration for the benchmark and identifies any issues that need correction. Use this skill after the completion of the configuration-implementor skill.

TypingMindでConfiguration Testerを使うメリットは何ですか?

一度インストールすれば、どのモデルでも使えるからです。Configuration Testerはプロバイダー固有のコードではなく、通常のMarkdownで記述されているため、同じスキルをGPT-5、Claude、Gemini、Grok、ローカルモデルで利用できます。チャットの途中でモデルを切り替えても、そのまま使い続けられます。TypingMindは自分のAPIキーで動作するため、シート単位のサブスクリプションではなく、プロバイダーに直接料金を支払います。スキルとチャットは自分のストレージに保持されます。

TypingMindにConfiguration Testerをインストールするにはどうすればよいですか?

TypingMindで「プラグイン」→「スキル」→「GitHubからインストール」を開き、https://github.com/AI-ModCon/genesis-skills/tree/main/skills/baseeval-skills/lm-eval-harness-skills/configuration-testerを貼り付けてください。TypingMindがSKILL.mdを読み込み、関連ファイルをまとめて、チャットごとに有効にできるスキルとしてインストールします。

Configuration Testerを使えるAIモデルはどれですか?

TypingMindに接続したどのモデルでも利用できます。AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、GPT、Claude、Gemini、Grok、ローカルモデルのいずれも、リクエストの内容がこのスキルの用途に合ったときに、このスキルを読み込めます。

Configuration Testerで使えるAIモデルの数に制限はありますか?

数に制限はありません。スキルに対応したモデルであれば、GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llamaなど、どのモデルでもConfiguration Testerを利用できます。すべてTypingMind上で、自分のAPIキーを使って利用できます。

AIスキル「Configuration Tester」は無料ですか?

はい。AI-ModConがBSD-2-ClauseライセンスのもとでGitHubに公開しています。ご利用のAIプロバイダーに支払うのは、使用したトークンの料金だけです。

AIスキルとは何ですか?

AIスキルは、特定のタスクの実行方法をAIモデルに教える、再利用可能な指示のセットです。オープンなAgent Skills形式に従い、名前と説明を含むSKILL.mdファイルに加え、モデルが必要とするスクリプト、テンプレート、参照ファイルで構成されます。モデルはリクエストがスキルに合致したときだけ指示を読み込むため、インストール済みのスキルも、使うまでは費用がかかりません。

AIスキルは、プラグインやMCPサーバーとどう違いますか?

プラグインやMCPサーバーは、モデルが呼び出せる新しいツールを提供します。ツールとは、どこかで実行され、結果を返すコードです。一方、AIスキルは、タスクへの取り組み方、従うべき手順、望ましい出力の例といった知識や進め方をモデルに伝えます。スキルは通常のMarkdownで記述されているため、サーバー、APIキー、実行環境は不要で、どのモデルでも利用できます。

すべて見る

今すぐ自分専用のAIワークスペースを作成

ニュースレターに登録すると、新機能や今後のプレゼント企画のお知らせが届きます👇