bayesflow-testing
CommunityWrite robust tests for BayesFlow.
Authormatthiaskloft
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill provides patterns and best practices for writing effective unit and integration tests for BayesFlow extension packages, ensuring code quality and reliability.
Core Features & Use Cases
- Test Structure Guidance: Offers a clear directory layout mirroring the source code.
- Shape and Output Validation: Demonstrates how to test simulator outputs and adapter pipelines.
- Mocking Strategies: Shows how to mock inference and summary networks for isolated testing.
- Use Case: When developing a new simulator for BayesFlow, use this Skill's patterns to write tests that verify its output shapes and data types, preventing subtle bugs.
Quick Start
Use the bayesflow-testing skill to write a test for a simulator's output shapes.
Dependency Matrix
Required Modules
None requiredComponents
references
💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: bayesflow-testing Download link: https://github.com/matthiaskloft/claude-skills/archive/main.zip#bayesflow-testing Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.