ifeval-vibe
Everyday requests. Precise constraints. Room for good answers.
ifeval-vibe is a small English evaluation set for conversational instruction
following. Its prompts combine familiar tasks—writing a friendly note, explaining
an everyday phenomenon, summarizing a plan—with requirements such as exact word
counts, sentence openings, forbidden words, and structured output.
Each prompt pairs explicit checks with a semantic rubric. An answer can have the
right shape and still miss the point; the two dimensions are scored separately.
| At a glance | |
|---|---|
| Prompts | 55 |
| Categories | 11, with five prompts each |
| Explicit checks | 162 |
| Semantic criteria | 154 |
| Language | English |
| Split | test |
| Format | JSONL |
| Scoring tools | Python standard library, no API calls |
A taste of the data
Remind me what happens in Romeo and Juliet, including the ending. Use exactly
three sentences. Start every sentence with the letter S. Do not use the words
love, lovers, or romance.
The explicit checks verify the sentence count, sentence openings, and forbidden
words. The semantic rubric asks whether the plot and ending are accurate and
whether the phrasing is natural and coherent.
Other tasks ask for a poem whose line initials spell TEAS, a two-column comparison
table, a forty-word congratulatory message, or a JSON array of action items extracted
from a short note. Many prompts also ask for a particular tone or require retaining
details from supplied context.
Coverage
| Category | Examples of what it exercises |
|---|---|
| Literature | Plot summaries, discussion questions, miniature stories |
| Everyday science | Clear explanations, careful corrections, analogies |
| Food and home | Ingredient restrictions, household notes, timed routines |
| Social messages | Invitations, congratulations, considerate requests |
| Small decisions | Conditional advice, ordered suggestions, comparisons |
| Creative play | Acrostics, dialogue, fictional scenes |
| Explanations | Definitions, distinctions, concrete examples |
| Summarization | Fact preservation, tone changes, action extraction |
| Conversation context | Adapting to previously stated preferences |
| Light humor | Playful voices, fictional excuses, restrained humor |
| Reflection and preferences | Open questions, sentence starters, balanced advice |
Load the dataset
from datasets import load_dataset
data = load_dataset("rahular/ifeval-vibe", split="test")
print(data[0]["prompt"])
You can also read data/test.jsonl directly, one JSON object per
line. There are no reference answers: multiple responses can satisfy each prompt.
| Field | Type | Meaning |
|---|---|---|
id |
string | Stable identifier, chat_001 through chat_055 |
category |
string | One of the eleven topic categories |
prompt |
string | The complete user-facing instruction |
checks |
list of strings | Ordered explicit output checks |
semantic_criteria |
list of strings | Ordered criteria for meaning, accuracy, usefulness, or tone |
Check your responses
Download the repository to use the included scripts:
hf download rahular/ifeval-vibe --repo-type dataset --local-dir ifeval-vibe
cd ifeval-vibe
The checker needs Python 3.10 or later, with no additional Python packages.
Supply a JSONL file with one final answer for each prompt:
{"id": "chat_001", "response": "Your final answer goes here."}
Run the mechanical checks and create a contextual review template:
python evaluate.py --responses responses.jsonl \
--output scores.json --review-template review.json
By default, all 55 IDs must appear exactly once. Use --allow-partial to evaluate a
subset; the report lists omitted IDs. Evaluate multiple samples in separate files.
Unknown IDs and duplicate IDs are rejected.
The default input is the final answer. If responses contain thinking followed by</think>, select --response-format thinking: only text after the last closing
tag is scored. A missing closing tag in that mode, or an empty final answer, fails
all criteria for that response. This tool scores answer quality and instruction
following; it does not measure repetition in a reasoning trace.
Complete the rubric review
Mechanical checks return true, false, or null when judgment is required.
All semantic criteria start as null. The script does not infer factual
correctness or tone from formatting, and does not silently count pending judgments
as passes.
Open review.json. Each entry includes the prompt, final answer, check descriptions,
mechanical findings, and semantic criteria. A human reviewer or a separately
configured judge should:
- Read the prompt and final answer together.
- Set each entry in
semantic_criteriatotrueorfalse, in its original order. - Resolve pending constraints using
constraint_overrides, keyed by zero-based
check index. A reviewer may also correct a mechanical false positive or false
negative. - Explain overrides and borderline judgments in
notes. Overrides require notes.
Then aggregate the completed review:
python evaluate.py --responses responses.jsonl \
--reviews review.json --output reviewed_scores.json
REVIEW_GUIDE.md gives the review protocol. The examples directory
contains two illustrative answers and a completed review, so the entire workflow
can be tried without generating responses:
python evaluate.py --responses examples/responses.jsonl --allow-partial \
--reviews examples/reviews.json --output example_scores.json
These examples demonstrate the file format; they are not canonical reference answers.
Scoring conventions
- Words: whitespace-separated tokens after removing leading bullet or numbered
list markers. Labels count as words; a hyphenated token counts as one word. - Word matches: case-insensitive whole words unless an exact case-sensitive
string is requested. Phrase checks use the specified literal spacing. - Lines: nonempty lines; surrounding blank lines do not add items.
- Paragraphs: blocks separated by one or more blank lines.
- Sentences: the intended unit is a grammatical sentence. The supplied
punctuation-based splitter handles list markers and common terminal punctuation,
but abbreviations and fragments can require reviewer overrides. - Durations: in
chat_014, parenthesized numbers denote minutes. Unit labels
such asminutesorminare optional; decimal durations are accepted. - Review: assess each criterion independently. Use only requirements present
in the prompt and rubric; do not add an unstated preferred style.
The report includes per-check and per-criterion results, per-prompt results, category
breakdowns, and review coverage. A prompt passes a dimension only if every criterion
in that dimension passes. A known failure makes that dimension fail even when
other judgments remain pending; otherwise, unresolved judgments leave it pending.
The joint result requires both dimensions to pass. Each aggregate includes passed,
failed, and pending counts; its pass rate is null while any corresponding result
is pending. Consult criterion-level coverage even when a prompt-level failure is
already known.
Provenance and limitations
These original prompts and rubrics were drafted with AI assistance in November
2026. The first item adapts a user-provided Romeo and Juliet example. The dataset
was inspired by the idea of verifiable instruction-following evaluation; it does
not copy IFEval items and does not implement the official IFEval protocol.
This is a compact diagnostic set, with five examples per topic. It is English-only,
contains no calibrated difficulty labels, and has not undergone an exhaustive
overlap or contamination audit. Rubric judgments can be subjective, and the
mechanical checker is deliberately lightweight. Review disagreements and document
overrides when reporting results. Scores should be interpreted alongside individual
answers and review coverage.
Version 1.0.0 preserves the original 55 prompts and their rubrics. The public
checker adds a general response/review interface and corrects duration parsing,
Markdown table validation, and JSON object checks. It leaves judgment-dependent
checks explicitly pending.
Files and validation
| File | Purpose |
|---|---|
data/test.jsonl |
Prompts, explicit checks, and semantic rubrics |
constraints.py |
Prompt-specific mechanical checks |
evaluate.py |
Input validation, review templates, and scoring |
metadata.json |
Dataset provenance and scoring conventions |
REVIEW_GUIDE.md |
Review procedure and judgment schema |
examples/ |
Illustrative inputs and completed review |
tests/test_evaluate.py |
Regression checks for scoring behavior |
Run the included checks with:
python -m unittest discover -s tests -v
License
A license has not yet been specified for this release.