ai-modcon/genesis-skills/configuration-tester
Claude Code and agent skill by ai-modcon/genesis-skills
- community
Checking that the SKILL.md file is still in the repository.
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.
Install
npx vskill@latest install ai-modcon/genesis-skills/configuration-testerSKILL.md
Steps
- 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 intasks/{benchmark_name}/scratch/.
- Update the code to fix any issues that are identified.
- Test the functionality of each full task using
scripts/test_config.shin 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/shmor OpenMP shared-memory errors - Solution: Request user approval for running the test script outside the sandbox
- Examine the outputs under
results/<task_name>/. This will contain aresults_*.jsonfile with summary metrics and asamples_*.jsonlfile with the full formatted prompts and responses for each instance.
- Use
scripts/display_sample_results.py --no-pagerto extract the LLM inputs, LLM outputs, and resulting metrics from those files in an easily readable format when running non-interactively.
- Check each sample in detail using the Validation Checklist below to verify correctness. Track checklist progress in
plan.md.
- 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.
- 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>
```
- 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
untiltokens - [ ] 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
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
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/baseeval-skills/lm-eval-harness-skills/configuration-tester/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/ai-modcon/genesis-skills/configuration-tester)