Skip to content
Back to skills

Vlegal Bench Eval

ASecurity

Evaluates large language models on Vietnamese legal reasoning within a civil law framework. It probes capabilities ranging from statutory recall and hierarchical navigation to multi-step conflict detection, penalty estimation, and ethical bias analysis. Use when the user wants to benchmark on VLegal-Bench, or asks about evaluating this task. Reports Accuracy.

  • 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 vlegal-bench-eval --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Vlegal Bench Eval?

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

Security grade badge for Vlegal Bench Eval
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/qhjqhj00-vlegal-bench-eval/badge)](https://www.skillsdirectory.com/skills/qhjqhj00-vlegal-bench-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: vlegal-bench-eval
description: Evaluates large language models on Vietnamese legal reasoning within a civil law framework. It probes capabilities ranging from statutory recall and hierarchical navigation to multi-step conflict detection, penalty estimation, and ethical bias analysis. Use when the user wants to benchmark on VLegal-Bench, or asks about evaluating this task. Reports Accuracy.
metadata:
  skill_kind: dataset_eval
  source_arxiv: 2512.14554
  bibtex_key: [REDACTED]
  confidence: high
---

# vlegal-bench-eval

> VLegal-Bench: Cognitively Grounded Benchmark for Vietnamese Legal Reasoning of Large Language Models — Nguyen Tien Dong et al. (arXiv:2512.14554, 2025)

## What this evaluates

Evaluates large language models on Vietnamese legal reasoning within a civil law framework. It probes capabilities ranging from statutory recall and hierarchical navigation to multi-step conflict detection, penalty estimation, and ethical bias analysis.

## Datasets

- **VLegal-Bench** — total 10450; splits: test (-1)

## Metrics

- `Accuracy` **(primary)** — range: percent
  - Proportion of correctly predicted answers out of total instances. Standard exact-match for multiple-choice and classification tasks.
- `F1` — range: [0, 1]
  - Harmonic mean of precision and recall. Reported separately for positive (Y-F1) and negative (N-F1) classes in conflict detection tasks, and overall for extraction-style questions.
- `ROUGE-L` — range: [0, 1]
  - Longest Common Subsequence score measuring overlap between generated text and reference answers. Used for generation-level tasks like legal opinion drafting and summarization.

## Input / output format

**Input**: Task instructions and input query. For few-shot evaluation, a single task-specific demonstration example is prepended.

**Output**: Direct final answer, or intermediate chain-of-thought reasoning followed by the final response.

## Scoring recipe

```python
def compute_metrics(predictions, golds):
    acc = sum(1 for p, g in zip(predictions, golds) if p == g) / len(golds)
    f1 = f1_score(golds, predictions, average='macro')
    rouge_l = rouge_l_score(golds, predictions)
    return {'accuracy': acc, 'f1': f1, 'rouge_l': rouge_l}
```

## Common pitfalls

- Middle truncation is applied when inputs exceed context windows, potentially discarding critical information at the beginning or end of legal texts.
- Conflict detection tasks exhibit severe negative-class bias, causing many models to achieve 0.00 Y-F1 by predicting 'no conflict' for all cases.
- Few-shot demonstrations are explicitly drawn from a separate development set to prevent test-set leakage.
- Decoding temperature is fixed to 0 to eliminate sampling variance, which may penalize models that benefit from stochastic generation.

## Evidence (verbatim from paper)

> We adopt standardized evaluation metrics across tasks: Accuracy, F1 for multiple-choice and extraction-style questions, and ROUGE-L for generation-level tasks.

## Citation

```bibtex
@misc{nguyen2025vlegalbench,
  title={VLegal-Bench: Cognitively Grounded Benchmark for Vietnamese Legal Reasoning of Large Language Models},
  author={Nguyen Tien Dong et al.},
  year={2025},
  note={arXiv:2512.14554}
}
```

- arXiv: 2512.14554

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.