Skip to content
Back to skills

Deep Ritz Training Recovery

ASecurity

Run bounded Deep Ritz optimization and emit auditable recovery artifacts for variational PDE experiments.

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

Security analysis

A100/100

Scanned September 9, 2026

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

Installs into .claude/skills of the current project.

Are you the author of Deep Ritz Training Recovery?

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

Security grade badge for Deep Ritz Training Recovery
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/vectorspacelab-deep-ritz-training-recovery/badge)](https://www.skillsdirectory.com/skills/vectorspacelab-deep-ritz-training-recovery)

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

SKILL.md
---
name: deep_ritz_training_recovery
description: Run bounded Deep Ritz optimization and emit auditable recovery artifacts for variational PDE experiments.
---

# Deep Ritz Training Recovery

## When To Use

Use this skill after residual-network, stochastic-sampling, and variational-loss skills exist. It is for bounded recovery experiments that must prove the Deep Ritz mechanism executed without reading an original repository.

## Inputs

- Attempt directory.
- Generated skills root.
- Runtime handoff JSON.
- Module plan target.
- Recovery settings: dimension, width, blocks, steps, batch sizes, beta, learning rate, seed.

## Outputs

- `recovery/logs/training_trace.json` with loss, error, parameter snapshots, and optimizer evidence.
- `recovery/recovery_result.json` with metric and mechanism checks.
- Generated-skill invocation logs.

## Workflow

1. Import or call the generated network, sampler, and loss helpers.
2. Prefer PyTorch autograd if available.
3. Run fresh stochastic quadrature samples for each optimizer step.
4. Record parameter changes with `params_before` and `params_after`.
5. Evaluate relative L2 error on a fixed validation batch.
6. Mark reduced/proxy recovery honestly when the full paper budget is infeasible.

## Validation

Run:

```bash
python tests/test_training_recovery.py
```

## Limitations

The default harness is intentionally reduced and bounded. It validates mechanism fidelity, not the paper's full 50,000-step accuracy 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.