IFStruct

IFStruct measures whether a model can generate JSON or YAML that satisfies an explicit schema and structural constraints. Pipette evaluates each published quantization with a deterministic validator rather than a judge model.

Configuration

Field Value
Benchmark ID eval_ifstruct_release_v1_0_ctx32768
Dataset scope All 2,000 prompts in the release_v1_0 set
Attempts 1 per prompt; 2,000 completions per model configuration
Sampling Temperature 0.6; no fixed seed
Published metric Per-prompt pass rate
Benchmark ID
eval_ifstruct_release_v1_0_ctx32768
Dataset scope
All 2,000 prompts in the release_v1_0 set
Attempts
1 per prompt; 2,000 completions per model configuration
Sampling
Temperature 0.6; no fixed seed
Published metric
Per-prompt pass rate

Dataset and generation

IFStruct is a Liquid AI benchmark, introduced in the IFStruct launch post. The dataset metadata defines the release version, sample count, and single attempt per prompt. All 2,000 prompts are used.

An approved evaluation runner generates the completions. Each prompt is sampled once without a fixed seed. See Evaluation Methodology for the shared generation and quality-result selection policy.

Scoring

Liquid's ifstruct validator checks each response deterministically:

  • JSON or YAML parsing
  • A fenced code block and no commentary outside the structured value, for prompts that request them
  • Top-level structure and wrapper key
  • Per-field schema rules: type, required fields, enum membership, and numeric bounds
  • Item count

Before these checks, the scorer rewrites model-specific reasoning markup into standard tags. The validator then removes reasoning blocks once: <think>…</think> and [THINK]…[/THINK] blocks, opening or closing tags that have no partner, and a gpt-oss assistantfinal preamble. Other visible reasoning text makes an unfenced response fail to parse. A sample passes only when the validator returns no errors.

The leaderboard publishes the share of the 2,000 prompts that pass. The scorer also reports slices by output format, top-level structure, entity type, and common error category.

The release data and sample definitions are in the IFStruct dataset. Validation is implemented in the version-specific IFStruct scorer, which calls the pinned IFStruct validator.