Skip to content
Back to skills

Metric Aggregation

ASecurity

Use this skill when you need to compute deterministic accuracy, exact match, token F1, and aggregate evaluation metrics.

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

Security analysis

A100/100

Scanned September 9, 2026

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

Installs into .claude/skills of the current project.

Are you the author of Metric Aggregation?

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

Security grade badge for Metric Aggregation
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/vectorspacelab-metric-aggregation/badge)](https://www.skillsdirectory.com/skills/vectorspacelab-metric-aggregation)

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

SKILL.md
---
name: metric_aggregation
description: Use this skill when you need to compute deterministic accuracy, exact match, token F1, and aggregate evaluation metrics.
---

# metric_aggregation

## When to use
Use this skill for paper-style language model evaluation harness work where reproducibility depends on explicit task contracts, model-request interfaces, response post-processing, metric aggregation, or an end-to-end auditable run. Do not use it to claim real leaderboard performance without a real model and dataset.

## Inputs
- Small JSON-like task, request, response, or metric records depending on the module.
- Optional deterministic fake model/data fixtures for bounded validation.
- A recovery attempt directory when producing experiment evidence.

## Outputs
- Validated Python dictionaries or JSON artifacts with deterministic fields.
- Clear traces that keep raw responses separate from filtered predictions and scores.

## Workflow
1. Read the task/module contract before executing code.
2. Validate required fields and fail loudly on incompatible output types or missing metrics.
3. Preserve raw inputs and produce explicit trace records for downstream modules.
4. Keep this skill self-contained and avoid reading the original lm-evaluation-harness repository during recovery.
5. Run the validation command below after edits.

## Validation
Run `python /share/project/yuyang/workspace/Paper2Skills/Distiller/skills/module-to-skill/scripts/validate_skill_tree.py <skill_dir> --run-tests`.

## Limitations
These utilities are compact faithful proxies for the harness mechanisms. They are not a replacement for the full upstream package when full-scale benchmark evaluation is required.

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…