Skip to content
Back to skills

Morehopqa Eval

ASecurity

Evaluates multi-step reasoning capabilities beyond simple information extraction in question answering. It probes models' ability to perform arithmetic, commonsense, and symbolic reasoning by extending standard multi-hop questions with additional reasoning layers. Use when the user wants to benchmark on MoreHopQA, or asks about evaluating this task. Reports EM.

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

Security analysis

A100/100

Scanned September 11, 2026

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

Installs into .claude/skills of the current project.

Are you the author of Morehopqa Eval?

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

Security grade badge for Morehopqa Eval
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/qhjqhj00-morehopqa-eval/badge)](https://www.skillsdirectory.com/skills/qhjqhj00-morehopqa-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: morehopqa-eval
description: Evaluates multi-step reasoning capabilities beyond simple information extraction in question answering. It probes models' ability to perform arithmetic, commonsense, and symbolic reasoning by extending standard multi-hop questions with additional reasoning layers. Use when the user wants to benchmark on MoreHopQA, or asks about evaluating this task. Reports EM.
metadata:
  skill_kind: dataset_eval
  source_arxiv: 2406.13397
  bibtex_key: [REDACTED]
  confidence: high
---

# morehopqa-eval

> MoreHopQA: More Than Multi-hop Reasoning — Schnitzler et al. (2024) (arXiv:2406.13397, 2024)

## What this evaluates

Evaluates multi-step reasoning capabilities beyond simple information extraction in question answering. It probes models' ability to perform arithmetic, commonsense, and symbolic reasoning by extending standard multi-hop questions with additional reasoning layers.

## Datasets

- **MoreHopQA** — total 1118; splits: test (1118); repo https://github.com/Alab-NII/morehopqa

## Metrics

- `EM` **(primary)** — range: [0, 1]
  - Exact Match score: 1 if the postprocessed model-generated answer exactly matches the preprocessed ground-truth answer, 0 otherwise. Averaged over the dataset.
- `F1` — range: [0, 1]
  - Token-level F1 score computed between the postprocessed model-generated answer and the preprocessed ground-truth answer.

## Input / output format

**Input**: Instruction prompt containing the question, supporting context, and optional few-shot examples. Models are instructed to output the final answer enclosed in <answer> tags.

**Output**: Text string enclosed between <answer> and </answer> tags.

## Scoring recipe

```python
def compute_metrics(predictions, ground_truths):
    em_scores, f1_scores = [], []
    for pred, gt in zip(predictions, ground_truths):
        pred_str = extract_between(pred, '<answer>', '</answer>')
        pred_proc = postprocess_to_string(pred_str)
        gt_proc = preprocess_string(gt)
        em_scores.append(1.0 if pred_proc == gt_proc else 0.0)
        f1_scores.append(token_f1(pred_proc, gt_proc))
    return sum(em_scores) / len(em_scores), sum(f1_scores) / len(f1_scores)
```

## Common pitfalls

- Models often exhibit shortcut reasoning (answering the initial question correctly but failing sub-questions), which requires separate tracking rather than relying solely on overall accuracy.
- The evaluation mandates specific postprocessing (NER/datatype conversion) before comparison; skipping this step yields artificially low EM/F1 scores.
- Gemma-7B frequently outputs refusal strings like 'I cannot answer', which must be filtered or handled to prevent skewing the average performance.

## Evidence (verbatim from paper)

> We then attempt to convert this string into the respective built-in python datatype for the answer type, either directly or with the help of Named Entity Recognition, and convert it back to a default string representation. We then report the EM and F1 scores on the tokens between the preprocessed ground-truth answer and the postprocessed model-generated answer.

## Citation

```bibtex
@misc{schnitzler2024morehopqa,
  title={MoreHopQA: More Than Multi-hop Reasoning},
  author={Schnitzler et al. (2024)},
  year={2024},
  note={arXiv:2406.13397}
}
```

- arXiv: 2406.13397

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.