Skip to content
Back to skills

Data And Rewards

ASecurity

"Validate VLM-R1 JSONL datasets, map image roots, and choose or

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

Security analysis

A100/100

Pro scans all 6 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-20d01c5f/badge)](https://www.skillsdirectory.com/skills/vectorspacelab-data-and-rewards-20d01c5f)

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: "Validate VLM-R1 JSONL datasets, map image roots, and choose or
  test reward methods."
disable-model-invocation: true
metadata:
  disco-role: operating
license: Apache 2.0
---

# data-and-rewards

Use this sub-skill when you need to:
- validate single-image, multi-image, or text-only JSONL rows
- map relative image paths against paired image roots
- choose between file-level `reward_method` and row-level `accu_reward_method`
- explain answer formats for label, math, bbox, and OD fixtures
- run lightweight bbox scoring on tiny synthetic examples

## Start here
1. Read `references/data-formats.md`.
2. Read `references/reward-functions.md`.
3. Read `references/troubleshooting.md`.
4. Run `scripts/validate_jsonl_dataset.py` for schema checks.
5. Run `scripts/score_bbox_outputs.py` for tiny bbox fixtures.

## Route elsewhere
- Training command construction, launch flags, or DeepSpeed details -> `training-workflows`
- Model module interfaces or processor wiring -> `model-modules`
- Saved-output evaluation workflows -> `evaluation`

## What this sub-skill covers
- one JSON object per line
- `image` as a string or list of strings
- `conversations` with a question turn and an answer turn
- colon-separated file, image-root, and method pairing
- reward registry names: `accuracy`, `format`, `length`, `repetition`
- accuracy methods: `default`, `mcq`, `yes_no`, `llm`, `map`, `math`, `weighted_sum`, `od_ap`, `od_ap50`, `odLength`, `all_match`

## Guardrails
- Keep image paths relative to the paired image root.
- Keep answers concise; the loader wraps the stored answer in `<answer>...</answer>` internally.
- Do not tell future agents to inspect the source repository for these rules.

Files in this skill

  • SKILL.md1.7 KB
  • references/data-formats.md3.7 KB
  • references/reward-functions.md3.2 KB
  • references/troubleshooting.md2.6 KB
  • scripts/score_bbox_outputs.py10.8 KB
  • scripts/validate_jsonl_dataset.py12.5 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…