Skip to content
Back to skills

Evaluation

ASecurity

Score retrieved duplicate maps and plot duplicate groups in imagededup.

  • 247 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added September 8, 2026
ai-agentsgo

Security analysis

A100/100

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

Scanned September 8, 2026

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

Installs into .claude/skills of the current project.

Are you the author of Evaluation?

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

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

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
description: "Score retrieved duplicate maps and plot duplicate groups in imagededup."
metadata:
  disco-role: operating
disable-model-invocation: true
license: Apache 2.0
---

# evaluation

Use this sub-skill when the user already has duplicate results and wants to score them or visualize them.

## Best-fit tasks

- Evaluate a retrieved duplicate map against a symmetric ground-truth map.
- Compute MAP, NDCG, Jaccard, precision, recall, F1, and support.
- Plot one image together with its duplicates.
- Understand whether a duplicate map is valid before scoring it.

## Read this sub-skill first when the request mentions

- `evaluate`
- `plot_duplicates`
- ground truth or retrieved maps
- MAP, NDCG, Jaccard, precision, recall, F1, or support
- classification metrics or information-retrieval metrics
- duplicate visualization

## Workflow overview

1. Confirm that both maps refer to the same filenames.
2. Confirm the duplicate relationships are symmetric.
3. Choose the metric family or let `evaluate` return them all.
4. Plot only after the filename exists in the duplicate map and the duplicate list is non-empty.

## Common decisions

- Use `metric='all'` when you want every metric in one pass.
- Use `metric='classification'` when you want per-class precision/recall/F1.
- Use `metric='map'`, `metric='ndcg'`, or `metric='jaccard'` when you want one IR score.
- Use `plot_duplicates` when you want a visual sanity check for one image and its retrieved duplicates.

## Helpful facts

- `evaluate` requires matching keys across the ground-truth and retrieved maps.
- Both maps must be symmetric.
- Information-retrieval metrics treat each key as a query.
- Classification metrics collapse symmetric pairs into unique unordered pairs.
- `plot_duplicates` accepts a map with or without scores.
- `plot_duplicates` raises if the requested filename has no duplicates.

## Troubleshooting pointer

Read [`references/troubleshooting.md`](references/troubleshooting.md) for symmetry validation failures, missing-key errors, empty duplicate lists, and headless plotting tips.

## Script helper

Run [`scripts/evaluate_plot_smoke.py`](scripts/evaluate_plot_smoke.py) to exercise scoring and plotting on a synthetic symmetric map.

## When to escalate elsewhere

- If you still need encodings or duplicate search, switch to the hashing or CNN sub-skill.
- If the task is only about generating hashes or feature vectors, stay out of this sub-skill.

## Good output expectations

A good evaluation-oriented answer should usually include:

- which metric family is being used
- whether the maps are symmetric and aligned
- what the returned metric types look like
- how to interpret the plot or figure output

Files in this skill

  • SKILL.md2.7 KB
  • references/api-reference.md1.8 KB
  • references/troubleshooting.md1.6 KB
  • references/workflows.md1.9 KB
  • scripts/evaluate_plot_smoke.py2.6 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.