pairwise-combinations
/pairwise-combinations
Generate a small all-pairs (pairwise) test set covering every pair of parameter values, with a bundled stdlib Python script, plus constraints to exclude impossible combinations. Use for configuration matrices (browser x OS x role x language), feature flags, or any form with many independent options.
- Author
- RobinBeraud ↗
- Repository
- claude-qa-skills ↗
- Licence
- MIT
- Last repository change
- 10.11.2026
Assessment and security
- Files in this package
- 2
- Scripts
- 1
- HTML comments
- 0
- URLs in SKILL.md
- 0
No signals detected. Repository changed on 10.11.2026, without references to retired models or APIs.
MIT, open: use and modify while retaining author attribution.
- 1 scripts in this package. Review them before installing, as Claude may execute them.
Scripts: scripts/pairwise.py
What it does and when to use it
Generate a small all-pairs (pairwise) test set covering every pair of parameter values, with a bundled stdlib Python script, plus constraints to exclude impossible combinations. Use for configuration matrices (browser x OS x role x language), feature flags, or any form with many independent options.
Original author description
Generate a small all-pairs (pairwise) test set covering every pair of parameter values, with a bundled stdlib Python script, plus constraints to exclude impossible combinations. Use for configuration matrices (browser x OS x role x language), feature flags, or any form with many independent options.
How it works
- Steps
- Output
- Notes
SKILL.md preview
---
name: pairwise-combinations
description: "Generate a small all-pairs (pairwise) test set covering every pair of parameter values, with a bundled stdlib Python script, plus constraints to exclude impossible combinations. Use for configuration matrices (browser x OS x role x language), feature flags, or any form with many independent options."
---
# Pairwise combinations
Most defects are triggered by one parameter or an interaction of two. Pairwise covers every pair with a fraction of the full matrix.
## Steps
1. List parameters and their values. Keep values representative (partitions), not exhaustive.
2. Write constraints for impossible combinations, e.g. `os=iOS & browser=Edge`.
3. Run the script:
```bash
python "${CLAUDE_SKILL_DIR}/scripts/pairwise.py" params.json --format md
```
`params.json`:
```json
{"parameters": {"browser": ["Chrome","Firefox","Safari"], "role": ["admin","accountant","viewer"], "lang": ["fr","es","pt"]},
"exclude": [{"browser": "Safari", "role": "viewer"}],
"seed": 1}
```
4. Report the number of rows versus the full product, and the pairs that a constraint made impossible.
5. Add by hand any **high-risk triple** the business cares about (pairwise does not cover triples).
## Output
A Markdown or CSV table, one row per test configuration, and a one-line coverage summary from the script.
## Notes
The script is greedy (not optimal) but deterministic for a given seed; it verifies that every allowed pair is covered and exits non-zero otherwise.
Files in this package (2)
- SKILL.md 1 KB
- scripts/pairwise.py 5 KB
Versions
The database has no other skills named pairwise-combinations.
Database snapshot: 13.11.2026 · package version 373e891c2363 (SHA-256 digest of the entire package)
Downloads in the last 30 days: 0 · ranking
Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.
Similar skills
- 100pairwise-test-case-generator
Generates parameterized test inputs combining boundary-value, equivalence-class, and pairwise-combinatorial cases from a typed multi-input specification - produces the cross-product of cases up to a configurable strength (1-wise / 2-wise / N-wise) using all-pairs reduction so… - 100test-design-techniques
When the user wants to design test cases systematically — boundary value analysis, equivalence partitioning, pairwise / combinatorial, state-transition, decision tables, classification trees, error guessing. Use when the user mentions "test design," "boundary tests,"… - 100pairwise
Generate a minimal pairwise covering array for factors with arbitrary mixed level counts, using the bundled deterministic generator. TRIGGER — invoke when a debugging or testing plan has 3+ independent factors whose level counts do not fit the fixed taguchi arrays (a 4-level… - 100feature-flag-test-matrix-reference
Feature-flag test matrix design: the flag-state combinatorics problem (N flags × M variants × K user-segments = N×M×K test cases), the canonical coverage strategies (pairwise interaction coverage; default-only smoke; full matrix; risk-driven matrix), the workflow for building…