Skip to content
Back to skills

Path Covariance Adaptation

ASecurity

Update CMA-ES cumulative step-size paths and covariance matrix from selected normalized steps.

  • 247 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added September 9, 2026
testing

Security analysis

A100/100

Scanned September 9, 2026

npx -y skills add VectorSpaceLab/AREX-Skill --skill path_covariance_adaptation --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Path Covariance Adaptation?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Path Covariance Adaptation
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/vectorspacelab-path-covariance-adaptation/badge)](https://www.skillsdirectory.com/skills/vectorspacelab-path-covariance-adaptation)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

SKILL.md
---
name: path_covariance_adaptation
description: Update CMA-ES cumulative step-size paths and covariance matrix from selected normalized steps.
---

# CSA and Covariance Adaptation

Use this skill after a CMA-ES generation has produced selected normalized steps. It updates the sigma evolution path, global step-size, covariance evolution path, and covariance matrix.

## Inputs
- Current `p_sigma`, `p_c`, `sigma`, covariance matrix, weighted step `y_w`, selected `y` vectors, selected `z` vectors, and strategy parameters.

## Outputs
- Updated paths, sigma, covariance, eigenvalues, condition number, and booleans showing whether sigma and covariance changed.

## Workflow
1. Update the isotropic path from selected `z` steps.
2. Compare its norm to the expected norm of a standard normal vector and update sigma on the log scale.
3. Update the covariance path from the weighted `y` step.
4. Apply rank-one and rank-mu covariance terms, symmetrize, and floor eigenvalues for numerical safety.

## Validation
Run the included tests or `validate_skill_tree.py --run-tests`.

## Limitations
The reduced recovery uses positive recombination weights; active negative weights are not required for the selected proxy target.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.