Skip to content
Back to skills

Rectified Velocity Regression

ASecurity

Fit and audit a small rectified-flow velocity model with least-squares regression and optimizer evidence.

  • 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_velocity_regression --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Rectified Velocity Regression?

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

Security grade badge for Rectified Velocity Regression
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/vectorspacelab-rectified-velocity-regression/badge)](https://www.skillsdirectory.com/skills/vectorspacelab-rectified-velocity-regression)

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

SKILL.md
---
name: rectified_velocity_regression
description: Fit and audit a small rectified-flow velocity model with least-squares regression and optimizer evidence.
---

# Rectified Velocity Regression

Use this skill when rectified-flow records must be converted into a trained velocity field or when recovery must prove that an optimizer step happened. Do not use it to construct interpolation records.

## Inputs
- Records with `xt`, `t`, and `target_velocity`.
- Affine parameters `w_x`, `w_t`, and `b` per dimension.
- A learning rate and optional step count.

## Outputs
- Loss before and after training.
- Parameter values before and after training.
- Optimizer-change evidence and gradients.

## Workflow
1. Evaluate `v(x,t) = w_x * x + w_t * t + b` per dimension.
2. Compute mean squared error against `target_velocity`.
3. Compute analytic gradients and update parameters with SGD.
4. Report loss reduction and parameter changes.

## Validation
Run `python tests/test_velocity.py` or validate with `--run-tests`.

## Limitations
This deterministic affine model is intended for bounded recovery and unit tests; it is not a replacement for the paper's full neural image model.

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.