Skip to content
Back to skills

Data And Rewards

ASecurity

"Prepare and validate verl post-training parquet data, reward-model

  • 247 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added September 9, 2026
code-qualitypythondebugging

Security analysis

A100/100

Pro scans all 5 files and shows the line behind each finding

Scanned September 9, 2026

npx -y skills add VectorSpaceLab/AREX-Skill --skill data-and-rewards --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Data And Rewards?

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

Security grade badge for Data And Rewards
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/vectorspacelab-data-and-rewards-6aaaf0e4/badge)](https://www.skillsdirectory.com/skills/vectorspacelab-data-and-rewards-6aaaf0e4)

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

Download with Pro
SKILL.md
---
name: data-and-rewards
description: "Prepare and validate verl post-training parquet data, reward-model
  metadata, and custom reward functions."
disable-model-invocation: true
metadata:
  disco-role: operating
license: Apache 2.0
---

# Data and Rewards

Use this sub-skill when the user needs to prepare, inspect, or debug verl post-training datasets and rewards before launching PPO-style training.

## Route Here For

- Creating or reviewing parquet rows with `data_source`, chat-template `prompt`, `ability`, `reward_model`, and `extra_info` fields.
- Validating one parquet file before wiring it into `data.train_files` or `data.val_files`.
- Aligning `reward_model.ground_truth` extraction with built-in or custom reward functions.
- Setting `custom_reward_function.path` and `custom_reward_function.name` for a Python reward module.
- Debugging prompt schema, multimodal placeholders, missing reward metadata, or reward-manager score failures.

## Bundled References

- Read `references/data-formats.md` for parquet row schemas, chat prompts, multimodal columns, and dataset-loader behavior.
- Read `references/reward-functions.md` for built-in reward dispatch, custom reward signatures, return values, and config keys.
- Read `references/troubleshooting.md` for common schema/reward failures and targeted fixes.

## Bundled Script

- Run `python scripts/validate_verl_parquet.py --help` for usage.
- Run `python scripts/validate_verl_parquet.py path/to/train.parquet --style-rule-requires-ground-truth --max-rows 200` to inspect schema without importing verl.
- Use `--json-output report.json` when a future agent needs machine-readable validation results.

## Working Pattern

1. Confirm every row has a dataset identifier in `data_source` and chat messages under the configured prompt key, usually `prompt`.
2. Confirm rule-based rows carry `reward_model.style == "rule"` and `reward_model.ground_truth` in the exact format expected by the reward function.
3. Keep reproducibility metadata such as `split`, `index`, raw question, raw answer, tool settings, and interaction settings under `extra_info`.
4. Validate a small sample with the bundled script before changing training configs.
5. For custom rewards, make the reward module importable by path and expose either `compute_score` or the configured function name.

## Boundaries

- This sub-skill does not own full PPO launch commands, rollout engine selection, installation, or cluster setup.
- Treat repo examples as schema evidence only; do not require future agents to call network-backed preprocessing scripts at runtime.

Files in this skill

  • SKILL.md2.5 KB
  • references/data-formats.md4.4 KB
  • references/reward-functions.md4.2 KB
  • references/troubleshooting.md3.3 KB
  • scripts/validate_verl_parquet.py8.7 KB

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.