Skip to content
Back to skills

Evaluation And Metrics

ASecurity

"Evaluate DeTikZify outputs with metric wrappers, score generated

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

Works with

  • cli
  • api

Security analysis

A100/100

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

Scanned September 8, 2026

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

Installs into .claude/skills of the current project.

Are you the author of Evaluation And Metrics?

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

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

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: evaluation-and-metrics
description: "Evaluate DeTikZify outputs with metric wrappers, score generated
  TikZ programs, and reason about the repository's evaluation pipeline."
disable-model-invocation: true
metadata:
  disco-role: operating
license: Apache 2.0
---

# Evaluation and Metrics

Use this sub-skill when the task is about `examples/eval.py`, metric wrappers, score computation, comparison against references, or the evaluation side of compiled TikZ generation.

Route away from this sub-skill when the task is mostly about producing one new program, launching the web UI, or changing training loops.

## Fast Path

1. Confirm the package and compile helpers are available:
   ```bash
   python scripts/api_smoke.py
   python scripts/tikz_smoke.py
   ```
2. Read the metric reference before trying a scoring run:
   ```text
   references/metrics.md
   ```
3. Read the workflow reference if you need the model-input and caching behavior:
   ```text
   references/workflows.md
   ```

## What This Sub-Skill Owns

- the `detikzify.evaluate` metric wrappers
- score aggregation over generated and reference TikZ
- `ImageSim` and the perceptual scoring path
- `ClipScore`, `CrystalBLEU`, `DreamSim`, `KernelInceptionDistance`, and `TexEditDistance`
- redacted compile / rasterize metrics and token-efficiency style summaries
- the repo's evaluation pipeline and its compile-backed checks

## Common Decisions

- Use `ImageSim` / model-based scoring when you want perceptual similarity.
- Use the faster compiler-diagnostics path when you only need a cheap evaluation pass.
- Remember that some metrics are lazily imported and need optional dependencies.
- Keep the compile/rasterize path in mind: evaluation is not just string comparison.
- If the task asks about redacted outputs, inspect the compileable document and the redaction step separately.

## Bundled References

- [references/metrics.md](references/metrics.md): metric roles, lazy dependencies, and scoring behavior.
- [references/workflows.md](references/workflows.md): the evaluation pipeline, model-input choices, cache behavior, and scoring stages.
- [references/troubleshooting.md](references/troubleshooting.md): missing metric deps, compile issues, and evaluation-specific failure modes.

## Guardrails

- A metric import succeeding does not prove the model or render path works.
- Do not ignore compile failures when the score depends on compiled TikZ.
- Do not assume optional metric dependencies are present in a minimal install.

Files in this skill

  • SKILL.md2.5 KB
  • references/metrics.md1.2 KB
  • references/troubleshooting.md1.2 KB
  • references/workflows.md1.2 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.