Skip to content
Back to skills

Failure Mode Diagnostics

ASecurity

Diagnose PINN failure-mode recovery runs with relative errors and optimizer progress checks.

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

Security analysis

A100/100

Scanned September 9, 2026

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

Installs into .claude/skills of the current project.

Are you the author of Failure Mode Diagnostics?

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

Security grade badge for Failure Mode Diagnostics
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/vectorspacelab-failure-mode-diagnostics/badge)](https://www.skillsdirectory.com/skills/vectorspacelab-failure-mode-diagnostics)

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

SKILL.md
---
name: failure_mode_diagnostics
description: Diagnose PINN failure-mode recovery runs with relative errors and optimizer progress checks.
---

# Failure Mode Diagnostics

Use this skill when comparing PINN predictions or reduced proxy outputs to a target field. It is especially useful for deciding whether a run shows high-error soft-constraint failure or improvement from a proposed remedy.

## Inputs
- Prediction and target arrays with matching shapes.
- Optional loss traces from vanilla or curriculum optimization.
- Relative-error thresholds for reduced recovery acceptance.

## Outputs
- Relative L2 error and absolute L2 error.
- Boolean flags for high relative error, finite loss trace, and loss improvement.
- A concise text summary for recovery and analysis reports.

## Workflow
1. Flatten prediction and target arrays while preserving numeric values.
2. Compute relative L2 error using a guarded target norm.
3. Compute root-mean-square absolute L2 error.
4. Check whether recorded losses are finite and improve.
5. Report metrics without claiming full reproduction unless the recovery target says so.

## Validation
Run the tests in `tests/`; they check exact, shifted, and constant predictions.

## Limitations
These diagnostics do not explain every loss-landscape property from the paper. They provide bounded executable evidence for recovery gating and refinement decisions.

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.