OpenParable
Skip to content
← Back to skills

Robustness Design

Testing & Quality
robustness-design

Robustness 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

View on GitHub ↗
QUICK START

How to use this skill

Bring this guide into your coding agent with a prompt tailored to the tool you use.

  1. Open your project in Codex.
  2. Copy and paste the prompt below.
  3. 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

  1. factor-identification → Identify robustness dimensions (noise type, shift type, severity)
  2. level-specification → Define severity levels for each perturbation
  3. baseline-selection → Select robust baselines for comparison
  4. metric-specification → Define degradation metrics (absolute and relative to clean)
  5. design-matrix-construction → Build perturbation grid
  6. sample-size-estimation → Determine samples needed per condition
  7. statistical-method-selection (tactic) → Choose tests for degradation significance

Budget Gate

Robustness TypeConditionsSeveritiesMin RunsNotes
Single perturbation13-53-5Quick sanity check
Multi-perturbation3-53 each9-15Standard robustness eval
Adversarial sweep1 attack5-10 epsilon5-10Adversarial robustness curve
Comprehensive5+ types3-5 each50+Publication-ready robustness
Cross-domainN domains1NTransfer evaluation

Available Tactics

Optional, no fixed order; the final leaf is always a sop.

TacticWhen to use
statistical-method-selectionSelect appropriate statistical methods for experiment analysis

Available SOPs

Optional, no fixed order; the final leaf is always a sop.

SOPWhen to use
baseline-selectionSelect appropriate baselines for experimental comparison
design-matrix-constructionBuild the experiment design matrix with proper orthogonality and balance
factor-identificationIdentify independent, dependent, and control variables for an experiment
level-specificationDetermine appropriate levels for each experimental factor
metric-specificationDefine experiment metrics and significance standards
sample-size-estimationSOP: power analysis and required experiment count estimation