Skip to content
Back to skills

Rectified Ode Reflow

ASecurity

Simulate rectified-flow Euler transport and compute straightness, reflow, and convex transport diagnostics.

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

Security analysis

A100/100

Scanned September 9, 2026

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

Installs into .claude/skills of the current project.

Are you the author of Rectified Ode Reflow?

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

Security grade badge for Rectified Ode Reflow
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/vectorspacelab-rectified-ode-reflow/badge)](https://www.skillsdirectory.com/skills/vectorspacelab-rectified-ode-reflow)

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

SKILL.md
---
name: rectified_ode_reflow
description: Simulate rectified-flow Euler transport and compute straightness, reflow, and convex transport diagnostics.
---

# Rectified ODE Reflow

Use this skill when a learned rectified-flow velocity field must be integrated or audited for straightness. Do not use it to fit the velocity field.

## Inputs
- Initial samples `z0`.
- Affine velocity parameters compatible with `rectified_velocity_regression`.
- Euler step count.

## Outputs
- Final transported samples.
- Path length and direct endpoint distance.
- Straightness ratio and squared transport cost.

## Workflow
1. Integrate `z <- z + dt * v(z,t)` using Euler steps.
2. Accumulate segment lengths for each sample.
3. Compare accumulated path length with direct endpoint distance.
4. Report one-step and multi-step diagnostics for reduced recovery.

## Validation
Run `python tests/test_ode.py` or the Distiller validator with tests enabled.

## Limitations
The script checks the ODE/reflow mechanism on numeric vectors. Full image quality metrics require a separate heavy runtime that is outside this bounded reduced recovery.

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…