Skip to content
Back to skills

Webmainbench Eval

ASecurity

Evaluates a model's ability to extract main content from HTML web pages by classifying semantic blocks and generating clean text or Markdown. It probes robustness across varying difficulty levels and rich content types such as tables, code, and equations. Use when the user wants to benchmark on WebMainBench, WCEB, or asks about evaluating this task. Reports ROUGE-N F1.

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

Security analysis

A100/100

Scanned September 11, 2026

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

Installs into .claude/skills of the current project.

Are you the author of Webmainbench Eval?

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

Security grade badge for Webmainbench Eval
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/qhjqhj00-webmainbench-eval/badge)](https://www.skillsdirectory.com/skills/qhjqhj00-webmainbench-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: webmainbench-eval
description: Evaluates a model's ability to extract main content from HTML web pages by classifying semantic blocks and generating clean text or Markdown. It probes robustness across varying difficulty levels and rich content types such as tables, code, and equations. Use when the user wants to benchmark on WebMainBench, WCEB, or asks about evaluating this task. Reports ROUGE-N F1.
metadata:
  skill_kind: dataset_eval
  source_arxiv: 2511.23119
  bibtex_key: liu2025dripper
  confidence: high
---

# webmainbench-eval

> Dripper: Token-Efficient Main HTML Extraction with a Lightweight LM — Liu et al. (2025) (arXiv:2511.23119, 2025)

## What this evaluates

Evaluates a model's ability to extract main content from HTML web pages by classifying semantic blocks and generating clean text or Markdown. It probes robustness across varying difficulty levels and rich content types such as tables, code, and equations.

## Datasets

- **WebMainBench** — total 7800; splits: test (7800)
- **WCEB** — total ?; splits: test (-1)

## Metrics

- `ROUGE-N F1` **(primary)** — range: [0, 1]
  - Standard ROUGE-N F1 score computed between the model's extracted text/markdown and the ground truth text. The paper reports the F1 measure for N-gram overlaps.

## Input / output format

**Input**: HTML document (raw or simplified), with a maximum context length of 32,000 tokens for the standard model.

**Output**: JSON classification of semantic blocks, which is subsequently converted to Markdown or plain text for evaluation. Inputs exceeding the context limit receive a score of 0.

## Scoring recipe

```python
def compute_metric(predictions, golds):
    scores = []
    for pred, gold in zip(predictions, golds):
        if pred is None or len(pred.strip()) == 0:
            scores.append(0.0)
        else:
            pred_text = convert_html_to_text(pred)
            gold_text = convert_html_to_text(gold)
            scores.append(rouge_f1(pred_text, gold_text))
    return sum(scores) / len(scores)
```

## Common pitfalls

- Inputs exceeding the 32k token context window are assigned a score of 0 for the standard model, which can artificially lower overall scores if not filtered or handled via fallback.
- Baseline tools output diverse formats (HTML+MD, MD, TEXT); evaluation requires consistent conversion to a common text format before computing ROUGE-N F1 to ensure fairness.

## Evidence (verbatim from paper)

> Table 2: Performance comparison on MainWebBench (ROUGE-N F1). Methods are categorized by Mode: Html+MD denotes tools outputting intermediate HTML converted to Markdown, while MD and TEXT denote native Markdown and Plain Text outputs, respectively.

## Citation

```bibtex
@misc{liu2025dripper,
  title={Dripper: Token-Efficient Main HTML Extraction with a Lightweight LM},
  author={Liu et al. (2025)},
  year={2025},
  note={arXiv:2511.23119}
}
```

- arXiv: 2511.23119

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.