solution-comparator
SolidCompare multiple solutions for correctness and performance
AI & Automation 1,160 stars
71 forks Updated today MIT
Install
Quality Score: 94/100
Stars 20%
Recency 20%
Frontmatter 20%
Documentation 15%
Issue Health 10%
License 10%
Description 5%
Skill Content
# Solution Comparator Skill
## Purpose
Compare multiple algorithm solutions against the same test cases to verify correctness and benchmark performance.
## Capabilities
- Run solutions against same test cases
- Performance benchmarking and comparison
- Output diff analysis
- Find minimal failing test case
- Memory usage comparison
- Time complexity validation
## Target Processes
- correctness-proof-testing
- complexity-optimization
- upsolving
- algorithm-implementation
## Comparison Modes
1. **Correctness**: Compare outputs against a known-correct solution
2. **Performance**: Benchmark execution time across solutions
3. **Stress Testing**: Run with random large inputs to find discrepancies
4. **Minimal Counter-example**: Binary search to find smallest failing case
## Input Schema
```json
{
"type": "object",
"properties": {
"solutions": {
"type": "array",
"items": {
"type": "object",
"properties": {
"name": { "type": "string" },
"code": { "type": "string" },
"language": { "type": "string" }
}
}
},
"testCases": { "type": "array" },
"mode": {
"type": "string",
"enum": ["correctness", "performance", "stress", "minimal"]
},
"oracleSolution": { "type": "string" },
"timeout": { "type": "integer", "default": 5000 }
},
"required": ["solutions", "mode"]
}
```
## Output Schema
```json
{
"type": "object",
"properties": {
"success": { "type": "boolea...
Details
- Author
- a5c-ai
- Repository
- a5c-ai/babysitter
- Created
- 4 months ago
- Last Updated
- today
- Language
- JavaScript
- License
- MIT
Similar Skills
Semantically similar based on skill content — not just same category
AI & Automation Solid
solution-explainer
Generate clear explanations of algorithm solutions
1,160 Updated today
a5c-ai API & Backend Solid
schema-comparator
Compare database schemas between source and target environments for migration planning
1,160 Updated today
a5c-ai AI & Automation Solid
learn-alternatives
Compare different approaches to solve the same problem
4,608 Updated 2 days ago
FlorianBruniaux AI & Automation Solid
test-case-generator
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.
1,160 Updated today
a5c-ai AI & Automation Solid
interview-simulator
Simulate realistic coding interview experience
1,160 Updated today
a5c-ai