Compute hack/test_metric via the HuggingFace `evaluate` library. Use when the user has predictions + references and wants the canonical implementation of hack/test_metric.
Scanned 9/11/2026
Install to Claude Code
npx -y skills add qhjqhj00/research-skills-pool --skill hack-test-metric --agent claude-codeInstalls into .claude/skills of the current project.
Are you the author of Hack Test Metric?
Add the live security badge to your README — it updates automatically with every re-scan.
[](https://www.skillsdirectory.com/skills/qhjqhj00-hack-test-metric)More formats (shields.io, HTML) on the badges page.
---
name: hack-test-metric
description: Compute hack/test_metric via the HuggingFace `evaluate` library. Use when the user has predictions + references and wants the canonical implementation of hack/test_metric.
metadata:
skill_kind: metric
source_lib: huggingface-evaluate
hf_module: hack/test_metric
source: library_introspection
---
# hack-test-metric
> Metric `hack/test_metric` from the HuggingFace `evaluate` library.
## When to invoke
User asks to compute `hack/test_metric` or wants HF evaluate's canonical version.
## Recipe
```python
import evaluate
metric = evaluate.load("hack/test_metric")
result = metric.compute(predictions=preds, references=refs)
print(result)
```
## Don'ts
- Don't assume your in-house `hack/test_metric` matches HF — version conventions vary.
- Many evaluate metrics have task-specific arguments (`average=`, `lang=`, `model_type=`); read the metric card before reporting numbers.
Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.
No comments yet. Be the first to comment!
Use this skill when developing or maintaining browser extension code in the `browser/` directory, including Chrome/Firefox/Edge compatibility, content scripts, background scripts, or i18n updates.