test-case-generator

Solid

Generate comprehensive test cases including edge cases, stress tests, and counter-examples for algorithm correctness verification. Supports random generation, constraint-based generation, and brute force oracle comparison.

AI & Automation 814 stars 53 forks Updated today MIT

Install

View on GitHub

Quality Score: 95/100

Stars 20%
97
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# test-case-generator A specialized skill for generating comprehensive test cases for algorithm verification, including edge cases, stress tests, random inputs, and counter-example finding through brute force oracle comparison. ## Purpose Generate test cases for: - Correctness verification against problem constraints - Edge case identification and testing - Stress testing with large inputs - Counter-example finding for wrong solutions - Brute force oracle generation for validation ## Capabilities ### Core Features 1. **Random Test Generation** - Generate inputs within specified constraints - Support for various data types (arrays, trees, graphs, strings) - Configurable distributions (uniform, normal, edge-biased) - Reproducible tests with seed values 2. **Edge Case Generation** - Minimum/maximum constraint values - Empty inputs, single elements - Sorted/reverse sorted sequences - All same elements, alternating patterns - Boundary conditions 3. **Stress Testing** - Maximum constraint inputs - Time limit verification - Memory limit testing - Performance regression detection 4. **Counter-Example Finding** - Compare against brute force oracle - Binary search on input size for minimal failing case - Automatic test case minimization - Difference reporting 5. **Data Structure Generation** - Arrays: random, sorted, nearly sorted, with duplicates - Trees: binary trees, BSTs, balanced, skewed - Graphs: sparse, dense,...

Details

Author
a5c-ai
Repository
a5c-ai/babysitter
Created
4 months ago
Last Updated
today
Language
JavaScript
License
MIT

Related Skills