Robustness Design
Testing & Qualityrobustness-designRobustness Design is an Agent Skill for testing & quality published in the yogsoth-ai/de-anthropocentric-research-engine repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.
Design experiments to identify failure boundaries and robustness limits
QUICK START
How to use this skill
Bring this guide into your coding agent with a prompt tailored to the tool you use.
- Open your project in Codex.
- Copy and paste the prompt below.
- Review files and risks before approving any action.
Prompt to paste
Inspect the Agent Skill at https://github.com/yogsoth-ai/de-anthropocentric-research-engine/blob/HEAD/skills/robustness-design/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/robustness-design, but wait for my approval before writing files or running scripts.
Copying this prompt does not install or run the skill. Review third-party files before use.
Strategy: Robustness Design
Question: Under what conditions does the method fail?
Methodology
- Distribution Shift Testing: Evaluate under covariate shift, label shift, domain shift.
- Adversarial Robustness: Perturbation-based attacks (PGD, AutoAttack) at varying epsilon.
- Cross-Domain Transfer: Test on domains not seen during training.
- Noise Injection: Gaussian noise, label noise, missing data at varying severity.
- Stress Testing: Push inputs to boundary conditions (extreme lengths, rare categories, edge cases).
Execution Flow
- factor-identification → Identify robustness dimensions (noise type, shift type, severity)
- level-specification → Define severity levels for each perturbation
- baseline-selection → Select robust baselines for comparison
- metric-specification → Define degradation metrics (absolute and relative to clean)
- design-matrix-construction → Build perturbation grid
- sample-size-estimation → Determine samples needed per condition
- statistical-method-selection (tactic) → Choose tests for degradation significance
Budget Gate
| Robustness Type | Conditions | Severities | Min Runs | Notes |
|---|---|---|---|---|
| Single perturbation | 1 | 3-5 | 3-5 | Quick sanity check |
| Multi-perturbation | 3-5 | 3 each | 9-15 | Standard robustness eval |
| Adversarial sweep | 1 attack | 5-10 epsilon | 5-10 | Adversarial robustness curve |
| Comprehensive | 5+ types | 3-5 each | 50+ | Publication-ready robustness |
| Cross-domain | N domains | 1 | N | Transfer evaluation |
Available Tactics
Optional, no fixed order; the final leaf is always a sop.
| Tactic | When to use |
|---|---|
| statistical-method-selection | Select appropriate statistical methods for experiment analysis |
Available SOPs
Optional, no fixed order; the final leaf is always a sop.
| SOP | When to use |
|---|---|
| baseline-selection | Select appropriate baselines for experimental comparison |
| design-matrix-construction | Build the experiment design matrix with proper orthogonality and balance |
| factor-identification | Identify independent, dependent, and control variables for an experiment |
| level-specification | Determine appropriate levels for each experimental factor |
| metric-specification | Define experiment metrics and significance standards |
| sample-size-estimation | SOP: power analysis and required experiment count estimation |