dotbench / README.md
remi's picture
Add 27-case dotbench tool-calling suite
26227d7
|
Raw History Blame Contribute Delete
1.25 kB
metadata
pretty_name: dotbench
tags:
  - tool-calling
  - structured-outputs
  - json-schema
  - benchmark
  - llm-evaluation

dotbench

Benchmark suite for testing, diagnosing, and comparing tool-calling correctness, JSON Schema enforcement, and latency overhead across OpenAI-compatible inference endpoints.

Contents

  • requests.jsonl — 27 real-world tool-calling cases spanning:
    • tool_calling (11): parallel tool calls, thinking-block isolation, out-of-order arguments, duplicate JSON keys, XML delimiter escaping, tool_choice: required vs. auto consistency
    • schema_features (6): JSON Schema features including format, maxLength, pattern, recursive $ref, and boolean subschemas
    • conditional_constraints (6): conditional and relational JSON Schema constraints (if/then/else, dependentRequired, not, uniqueItems, allOf)
    • complex_schemas (4): large, deeply nested, and length/regex-bounded schemas

Usage

Run directly with dotbench:

dotbench run -m <model-id> --base-url https://api.provider.com/v1

Or pin a specific revision:

dotbench run --dataset hf://dottxt/dotbench/requests.jsonl --dataset-revision main -m <model-id>