Skip to content
Back to skills

Scholawrite Eval

ASecurity

Evaluates an LLM's ability to predict human scholarly writing intentions from a LaTeX draft and to iteratively edit the draft according to those intentions. It measures lexical diversity, topic consistency, and intention coverage across a 100-iteration self-writing process. Use when the user wants to benchmark on SCHOLAWRITE, or asks about evaluating this task. Reports intention coverage.

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

Security analysis

A100/100

Scanned September 11, 2026

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

Installs into .claude/skills of the current project.

Are you the author of Scholawrite Eval?

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

Security grade badge for Scholawrite Eval
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/qhjqhj00-scholawrite-eval/badge)](https://www.skillsdirectory.com/skills/qhjqhj00-scholawrite-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: scholawrite-eval
description: Evaluates an LLM's ability to predict human scholarly writing intentions from a LaTeX draft and to iteratively edit the draft according to those intentions. It measures lexical diversity, topic consistency, and intention coverage across a 100-iteration self-writing process. Use when the user wants to benchmark on SCHOLAWRITE, or asks about evaluating this task. Reports intention coverage.
metadata:
  skill_kind: dataset_eval
  source_arxiv: 2502.02904
  bibtex_key: [REDACTED]
  confidence: high
---

# scholawrite-eval

> ScholaWrite: A Dataset of End-to-End Scholarly Writing Process — Linghe Wang et al. (arXiv:2502.02904, 2025)

## What this evaluates

Evaluates an LLM's ability to predict human scholarly writing intentions from a LaTeX draft and to iteratively edit the draft according to those intentions. It measures lexical diversity, topic consistency, and intention coverage across a 100-iteration self-writing process.

## Datasets

- **SCHOLAWRITE** — total ?; splits: train (-1), test (-1)

## Metrics

- `lexical diversity` — range: [0, 1]
  - Number of unique tokens divided by total tokens generated in the final iteration.
- `topic consistency` — range: other
  - Cosine similarity between the embedding of the seed document and the embedding of the output from the final iteration.
- `intention coverage` **(primary)** — range: [0, 1]
  - Number of unique intention labels predicted across the entire 100 iterations divided by the 15 available labels in the taxonomy.

## Input / output format

**Input**: LaTeX draft text ('before_text') concatenated with task instructions and intention label definitions/verbalizers.

**Output**: For prediction: a single intention label from the 15-class taxonomy. For generation: revised LaTeX text (plain draft without delimiters, or token-wrapped diffs for training).

## Scoring recipe

```python
def score_lexical_diversity(final_output):
    tokens = final_output.split()
    return len(set(tokens)) / len(tokens) if tokens else 0.0

def score_topic_consistency(seed_doc, final_output):
    return cosine_similarity(embed(seed_doc), embed(final_output))

def score_intention_coverage(predicted_labels):
    return len(set(predicted_labels)) / 15
```

## Common pitfalls

- Test set sampling is limited to 300 keystroke entries per intention label due to budget constraints, not the full 20% split.
- GPT-4o baselines advance iterations regardless of intention prediction matches, while Llama models wait for a different intention, creating an unfair comparison in the iterative loop.
- Metrics are computed only on the final iteration's output (lexical diversity, topic consistency) or over the full 100 iterations (intention coverage).

## Evidence (verbatim from paper)

> • Lexical diversity: Assess the unique tokens model generated in the final iteration of writing, measured by the number of unique tokens divided by the total tokens generated. • Topic consistency: Cosine similarity between the seed document and output from the final iteration of writing. • Intention coverage: Assess the diversity of the model’s writing intention, measured by the number of unique labels predicted through the entire 100 iterations divided by all 15 intended labels available in our taxonomy.

## Citation

```bibtex
@misc{wang2025scholawrite,
  title={ScholaWrite: A Dataset of End-to-End Scholarly Writing Process},
  author={Linghe Wang et al.},
  year={2025},
  note={arXiv:2502.02904}
}
```

- arXiv: 2502.02904

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.