File size: 1,249 Bytes
26227d7
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
---
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`](https://github.com/dottxt-ai/dotbench):

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

Or pin a specific revision:

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