Skip to content
Back to skills

Precision Recall F1 T

ASecurity

Evaluates a model's ability to identify and rank key moments (shots) in soccer match videos for summarization. It measures how well the model selects representative content when constrained to match the exact duration of a human-curated highlight summary. Use when the user has predictions and gold and needs to compute F1 Score@$T$.

  • 3 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added September 11, 2026
researchpythongo

Security analysis

A100/100

Scanned September 11, 2026

npx -y skills add qhjqhj00/research-skills-pool --skill precision-recall-f1-t --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Precision Recall F1 T?

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

Security grade badge for Precision Recall F1 T
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/qhjqhj00-precision-recall-f1-t/badge)](https://www.skillsdirectory.com/skills/qhjqhj00-precision-recall-f1-t)

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: precision-recall-f1-t
description: Evaluates a model's ability to identify and rank key moments (shots) in soccer match videos for summarization. It measures how well the model selects representative content when constrained to match the exact duration of a human-curated highlight summary. Use when the user has predictions and gold and needs to compute F1 Score@$T$.
metadata:
  skill_kind: metric
  source_arxiv: 2509.01439
  bibtex_key: [REDACTED]
  confidence: high
---

# precision-recall-f1-t

> SoccerHigh: A Benchmark Dataset for Automatic Soccer Video Summarization — Díaz-Juan et al. (2025) (arXiv:2509.01439, 2025)

## What this evaluates

Evaluates a model's ability to identify and rank key moments (shots) in soccer match videos for summarization. It measures how well the model selects representative content when constrained to match the exact duration of a human-curated highlight summary.

## Datasets

- **SoccerHigh** — total 237; splits: test (-1)

## Metrics

- `Precision@$T$` — range: [0, 1]
  - Standard precision computed on the set of selected shots after constraining the predicted summary duration to exactly match the ground truth duration $T$.
- `Recall@$T$` — range: [0, 1]
  - Standard recall computed on the set of selected shots after constraining the predicted summary duration to exactly match the ground truth duration $T$.
- `F1 Score@$T$` **(primary)** — range: [0, 1]
  - Harmonic mean of Precision@$T$ and Recall@$T$, computed after aligning the predicted summary length to the ground truth duration $T$.

## Input / output format

**Input**: Broadcast soccer video with annotated shots and importance scores; ground truth highlight summary with total duration $T$.

**Output**: Ranked list of selected shots forming a summary whose cumulative duration exactly matches the ground truth duration $T$.

## Scoring recipe

```python
def compute_metrics_t(predictions, ground_truth, T):
    selected = []
    current_dur = 0
    for shot in sorted(predictions, key=lambda x: x['score'], reverse=True):
        selected.append(shot['id'])
        current_dur += shot['duration']
        if current_dur >= T:
            break
    gt_set = set(gt['id'] for gt in ground_truth)
    pred_set = set(selected)
    tp = len(pred_set & gt_set)
    precision = tp / len(pred_set) if pred_set else 0
    recall = tp / len(gt_set) if gt_set else 0
    f1 = 2 * precision * recall / (precision + recall) if (precision + recall) > 0 else 0
    return precision, recall, f1
```

## Common pitfalls

- Assuming the model must output a fixed percentage (e.g., 15%) of the original video; the constraint only applies to the evaluation alignment, not the model's generation.
- Computing standard precision/recall without first truncating the predicted summary to match the ground truth duration $T$, which would penalize models for selecting valid but extra content.

## Evidence (verbatim from paper)

> We denote the temporal length of each ground truth summary as $T$ and define Precision$@T$, Recall$@T$, and the F1 Score$@T$ as evaluation metrics constrained by this length. During inference, predicted shots are ranked according to their importance scores, and only the top-ranked shots are selected until the cumulative duration matches the ground truth summary.

## Citation

```bibtex
@misc{diazjuan2025soccerhigh,
  title={SoccerHigh: A Benchmark Dataset for Automatic Soccer Video Summarization},
  author={Díaz-Juan et al. (2025)},
  year={2025},
  note={arXiv:2509.01439}
}
```

- arXiv: 2509.01439

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.