Skip to content
Back to skills

Casesumm Eval

ASecurity

Evaluates the ability of language models to generate accurate, concise, and legally faithful summaries of long U.S. Supreme Court opinions. It probes the alignment between automatic NLP metrics and expert human judgment in a high-stakes, domain-specific summarization task. Use when the user wants to benchmark on CaseSumm, or asks about evaluating this task. Reports ROUGE.

  • 3 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added September 11, 2026
researchpython

Security analysis

A100/100

Scanned September 11, 2026

npx -y skills add qhjqhj00/research-skills-pool --skill casesumm-eval --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Casesumm Eval?

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

Security grade badge for Casesumm Eval
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/qhjqhj00-casesumm-eval/badge)](https://www.skillsdirectory.com/skills/qhjqhj00-casesumm-eval)

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: casesumm-eval
description: Evaluates the ability of language models to generate accurate, concise, and legally faithful summaries of long U.S. Supreme Court opinions. It probes the alignment between automatic NLP metrics and expert human judgment in a high-stakes, domain-specific summarization task. Use when the user wants to benchmark on CaseSumm, or asks about evaluating this task. Reports ROUGE.
metadata:
  skill_kind: dataset_eval
  source_arxiv: 2501.00097
  bibtex_key: [REDACTED]
  confidence: high
---

# casesumm-eval

> CaseSumm: A Large-Scale Dataset for Long-Context Summarization from U.S. Supreme Court Opinions — Heddaya et al. (2024) (arXiv:2501.00097, 2024)

## What this evaluates

Evaluates the ability of language models to generate accurate, concise, and legally faithful summaries of long U.S. Supreme Court opinions. It probes the alignment between automatic NLP metrics and expert human judgment in a high-stakes, domain-specific summarization task.

## Datasets

- **CaseSumm** — total 25600; splits: test (-1)

## Metrics

- `ROUGE` **(primary)** — range: [0, 1]
  - Computes n-gram overlap between generated summary and reference syllabus. The paper reports both recall (sensitivity) and precision (specificity) scores.
- `BERTScore` — range: [0, 1]
  - Measures semantic similarity using contextual embeddings from BERT, reporting recall and precision metrics.
- `G-Eval` — range: [1, 5]
  - LLM-based evaluation scoring summaries on dimensions including Coherence, Relevance, Fluency, Sensitivity, Specificity, Clarity, and Style using adapted prompts.

## Input / output format

**Input**: Full text of a U.S. Supreme Court opinion.

**Output**: A generated summary of the opinion.

## Scoring recipe

```python
def compute_metrics(summary, reference):
    rouge_r = rouge_score(reference, summary, rouge_type='ROUGE-L', average='recall')
    bert_r = bertscore_score(reference, summary, metric='recall')
    g_eval_scores = llm_evaluate(summary, reference, dimensions=['Coherence', 'Relevance', 'Fluency', 'Sensitivity', 'Specificity', 'Clarity', 'Style'])
    human_ranking = expert_judges_rank(summary, reference)
    return rouge_r, bert_r, g_eval_scores, human_ranking
```

## Common pitfalls

- Automatic metrics like ROUGE and BERTScore heavily favor models that maximize recall, often at the cost of brevity and readability, which contradicts expert human preference.
- High automatic scores do not guarantee factual accuracy or legal faithfulness; models can achieve strong metric scores while containing hallucinations or precedent misattributions.
- Reference syllabuses are typically longer than desired summaries, causing automatic metrics to penalize concise, human-preferred outputs.

## Evidence (verbatim from paper)

> Overall, we find that fine-tuning Mistral is particularly effective at improving the recall scores across all the metrics: ROUGE recall scores increase by an average of 21 points, BERTScore recall by 15 points. However, effects of fine-tuning on precision are weaker and more mixed. Perhaps fine-tuning sacrifices brevity for inclusion of more words in a syllabus, i.e., improves the sensitivity of summaries at a cost to specificity.

## Citation

```bibtex
@misc{heddaya2024casesumm,
  title={CaseSumm: A Large-Scale Dataset for Long-Context Summarization from U.S. Supreme Court Opinions},
  author={Heddaya et al. (2024)},
  year={2024},
  note={arXiv:2501.00097}
}
```

- arXiv: 2501.00097

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.