Skip to content
Back to skills

Datasets And Metrics

ASecurity

"Validate Maestro dataset layouts, Roboflow identifiers, COCO

  • 247 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added September 8, 2026
documentationapi

Works with

  • api

Security analysis

A100/100

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

Scanned September 8, 2026

npx -y skills add VectorSpaceLab/AREX-Skill --skill datasets-and-metrics --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Datasets And Metrics?

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

Security grade badge for Datasets And Metrics
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/vectorspacelab-datasets-and-metrics-49b7577b/badge)](https://www.skillsdirectory.com/skills/vectorspacelab-datasets-and-metrics-49b7577b)

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: datasets-and-metrics
description: "Validate Maestro dataset layouts, Roboflow identifiers, COCO
  adapters, metrics, run directories, reproducibility, and device selection."
disable-model-invocation: true
metadata:
  disco-role: operating
license: Apache 2.0
---

# datasets-and-metrics

Use this sub-skill for the shared data and metric layer that sits in front of all Maestro model workflows.

## Covers

- JSONL datasets with `train` / `valid` / `test` splits and required `image`, `prefix`, `suffix` keys.
- COCO datasets with `_annotations.coco.json` and VLM adapter callbacks.
- Roboflow identifier parsing and dataset resolution.
- Metric selection, tracking, plot export, and metric JSON dumps.
- Run directory creation, reproducibility seeding, and device-string parsing.

## Does not cover

- Florence-2, PaliGemma 2, or Qwen2.5-VL model-specific train, predict, collate, or formatter logic.
- Real Roboflow downloads unless you intentionally set `ROBOFLOW_API_KEY`.

## Start here

- [data formats](references/data-formats.md)
- [API reference](references/api-reference.md)
- [metrics and utilities](references/metrics-and-utilities.md)
- [troubleshooting](references/troubleshooting.md)
- [validate_jsonl_dataset.py](scripts/validate_jsonl_dataset.py)
- [smoke_coco_vlm_adapter.py](scripts/smoke_coco_vlm_adapter.py)

## Routing notes

- Route COCO detection string formatting and model-specific object-detection flows to sibling sub-skills such as `../florence-2/` and `../qwen-2-5-vl/`.
- Route JSON extraction prompt and collate behavior to `../paligemma-2/` or the relevant model sub-skill.
- Use this sub-skill to validate the shared dataset shape first, then hand off to the model-specific skill.

## Typical flow

1. Validate a JSONL dataset with `scripts/validate_jsonl_dataset.py`.
2. Resolve a local path or Roboflow identifier with `resolve_dataset_path()`.
3. For COCO data, provide prefix and suffix formatter callbacks to `COCOVLMAdapter` or `create_data_loaders()`.
4. Select metrics with `parse_metrics()` and track them with `MetricsTracker`.
5. Set reproducibility and device policy before model-specific training or inference.

## Quick rules

- `create_data_loaders()` expects `train`, `valid`, and `test` splits.
- COCO loading needs both formatter callbacks.
- `parse_metrics()` accepts `edit_distance`, `bleu`, and `mean_average_precision`.
- `parse_device_spec()` accepts `auto`, `cpu`, `cuda`, `cuda:N`, and `mps`.
- `ensure_reproducibility()` can be used at process start even when you do not pass a seed.

Files in this skill

  • SKILL.md2.5 KB
  • references/api-reference.md5.6 KB
  • references/data-formats.md3.6 KB
  • references/metrics-and-utilities.md3.9 KB
  • references/troubleshooting.md4 KB
  • scripts/smoke_coco_vlm_adapter.py3.7 KB
  • scripts/validate_jsonl_dataset.py4.3 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.