Skip to content
Back to skills

Classactionprediction Eval

ASecurity

Predicts the outcome (win or lose) of U.S. class action lawsuits based on plaintiff complaint texts. It probes a model's ability to extract legally relevant allegations from long-form, unverified legal documents and make binary judgment predictions. Use when the user wants to benchmark on ClassActionPrediction, or asks about evaluating this task. Reports accuracy.

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

Security analysis

A100/100

Scanned September 11, 2026

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

Installs into .claude/skills of the current project.

Are you the author of Classactionprediction Eval?

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

Security grade badge for Classactionprediction Eval
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/qhjqhj00-classactionprediction-eval/badge)](https://www.skillsdirectory.com/skills/qhjqhj00-classactionprediction-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: classactionprediction-eval
description: Predicts the outcome (win or lose) of U.S. class action lawsuits based on plaintiff complaint texts. It probes a model's ability to extract legally relevant allegations from long-form, unverified legal documents and make binary judgment predictions. Use when the user wants to benchmark on ClassActionPrediction, or asks about evaluating this task. Reports accuracy.
metadata:
  skill_kind: dataset_eval
  source_arxiv: 2211.00582
  bibtex_key: [REDACTED]
  confidence: high
---

# classactionprediction-eval

> ClassActionPrediction: A Challenging Benchmark for Legal Judgment Prediction of Class Action Cases in the US — Semo et al. (2022) (arXiv:2211.00582, 2022)

## What this evaluates

Predicts the outcome (win or lose) of U.S. class action lawsuits based on plaintiff complaint texts. It probes a model's ability to extract legally relevant allegations from long-form, unverified legal documents and make binary judgment predictions.

## Datasets

- **ClassActionPrediction** — total 10800; splits: 5-fold cross-validation (-1); repo https://github.com/darrow-labs/ClassActionPrediction

## Metrics

- `accuracy` **(primary)** — range: [0, 1]
  - Proportion of correctly predicted win/lose labels out of total cases. Reported as mean ± standard deviation across 5 random seeds/folds.

## Input / output format

**Input**: Plaintiff complaint text (full text, unified allegations, or separated allegations), truncated to a maximum sequence length (2,048 tokens for Longformer/BigBird, 512 tokens for other models).

**Output**: Binary label: 'win' or 'lose'.

## Scoring recipe

```python
correct = sum(1 for pred, gold in zip(predictions, gold_labels) if pred == gold)
accuracy = correct / len(gold_labels)
# Report mean and standard deviation of accuracy across 5 cross-validation folds/seeds
```

## Common pitfalls

- Truncating full complaint texts to 2,048 tokens often cuts off the allegations section (which appears later in the document), making the 'Full Text' variant artificially harder than the allegations-only variants.
- Legal-domain pretrained models show a smaller performance gain over BERT on this dataset compared to other benchmarks because the complaint data was unseen during pretraining, unlike the case law used in other tasks.

## Evidence (verbatim from paper)

> For all experiments, we truncated the text to the model's maximum sequence length (2,048 for Longformer and BigBird, 512 otherwise), unless otherwise specified. All experiments have been performed on the binarized labels (win or lose). We ran the experiments with 5-fold cross-validation and averaged across 5 random seeds. Results are reported in the mean±std format averaged accuracy across 5 random seeds.

## Citation

```bibtex
@misc{semo2022classactionprediction,
  title={ClassActionPrediction: A Challenging Benchmark for Legal Judgment Prediction of Class Action Cases in the US},
  author={Semo et al. (2022)},
  year={2022},
  note={arXiv:2211.00582}
}
```

- arXiv: 2211.00582

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.