← Heatmap / Gemini 3.1 Flash Lite · Task 48
Gemini 3.1 Flash Lite · Tool use · Task 48 (Traps, missing gross pay)
Mean 92.2%
| Field | Expected | Rollout #1 (90%) | Rollout #2 (90%) | Rollout #3 (97%) |
|---|---|---|---|---|
| decision | clarify | clarify | clarify | clarify |
| reason code | MISSING_GROSS_PAY | MISSING_GROSS_PAY | MISSING_GROSS_PAY | MISSING_GROSS_PAY |
| clauses | R1 R7 | R1 R7 | R1 R7 | R1 R7 |
Prompt
Process this monthly payroll record under the supplied rulebook. Return the R6 or R7 JSON answer. Retrieve the case inputs with list_documents and read_document. Reference rows are available only through lookup_reference. Use calculate for exact decimal arithmetic.
Rollouts
Rollout #1 90.0% explanation · 4 tool calls · 5.1s · $0.0028
| Component | Score | Clauses |
|---|---|---|
| decision | 100.0% | R1 R7 |
| exact | 100.0% | R1 R7 |
| field accuracy | 100.0% | R1 R7 |
| citations | 100.0% | R1 R7 |
| explanation | 0.0% | R1 R7 |
Assistant
list_documents()Tool
[
{"id": "5e2ce3610eaf2eaa-payroll", "kind": "payroll"}
]
Assistant
read_document(document_id="5e2ce3610eaf2eaa-payroll")Tool
{
"kind": "payroll",
"record": {"payroll_month": "2026-09"}
}
Assistant
lookup_reference(reference="second-half")Tool
{
"reference": "second-half",
"months": ["2026-07", "2026-12"],
"rate": "0.04",
"cap": "4500.00",
"deduction": "400.00",
"free": "1200.00",
"upper": "3300.00",
"middle_rate": "0.12",
"upper_rate": "0.24"
}
Assistant
calculate(program="gross_pay = 0.00\ndecision = \"clarify\"\nreason_code = \"MISSING_GROSS_PAY\"")Tool
{
"error": "Unsupported expression; use numbers, names, + - * /, min, max, round(x, 2)"
}
Assistant
{
"decision": "clarify",
"reason_code": "MISSING_GROSS_PAY",
"clauses": ["R1", "R7"]
}
Rollout #2 90.0% explanation · 4 tool calls · 5.1s · $0.0028
| Component | Score | Clauses |
|---|---|---|
| decision | 100.0% | R1 R7 |
| exact | 100.0% | R1 R7 |
| field accuracy | 100.0% | R1 R7 |
| citations | 100.0% | R1 R7 |
| explanation | 0.0% | R1 R7 |
Assistant
list_documents()Tool
[
{"id": "5e2ce3610eaf2eaa-payroll", "kind": "payroll"}
]
Assistant
read_document(document_id="5e2ce3610eaf2eaa-payroll")Tool
{
"kind": "payroll",
"record": {"payroll_month": "2026-09"}
}
Assistant
lookup_reference(reference="second-half")Tool
{
"reference": "second-half",
"months": ["2026-07", "2026-12"],
"rate": "0.04",
"cap": "4500.00",
"deduction": "400.00",
"free": "1200.00",
"upper": "3300.00",
"middle_rate": "0.12",
"upper_rate": "0.24"
}
Assistant
calculate(program="decision = \"clarify\"\nreason_code = \"MISSING_GROSS_PAY\"")Tool
{
"error": "Unsupported expression; use numbers, names, + - * /, min, max, round(x, 2)"
}
Assistant
{
"decision": "clarify",
"reason_code": "MISSING_GROSS_PAY",
"clauses": ["R1", "R7"]
}
Rollout #3 96.7% passed · 4 tool calls · 6.3s · $0.0030
| Component | Score | Clauses |
|---|---|---|
| decision | 100.0% | R1 R7 |
| exact | 100.0% | R1 R7 |
| field accuracy | 100.0% | R1 R7 |
| citations | 100.0% | R1 R7 |
| explanation | 66.7% | R1 R7 |
Assistant
list_documents()Tool
[
{"id": "5e2ce3610eaf2eaa-payroll", "kind": "payroll"}
]
Assistant
read_document(document_id="5e2ce3610eaf2eaa-payroll")Tool
{
"kind": "payroll",
"record": {"payroll_month": "2026-09"}
}
Assistant
lookup_reference(reference="second-half")Tool
{
"reference": "second-half",
"months": ["2026-07", "2026-12"],
"rate": "0.04",
"cap": "4500.00",
"deduction": "400.00",
"free": "1200.00",
"upper": "3300.00",
"middle_rate": "0.12",
"upper_rate": "0.24"
}
Assistant
calculate(program="decision = \"clarify\"\nreason_code = \"MISSING_GROSS_PAY\"\nclauses = [\"R1\", \"R7\"]")Tool
{
"error": "Unsupported expression; use numbers, names, + - * /, min, max, round(x, 2)"
}
Assistant
{
"decision": "clarify",
"reason_code": "MISSING_GROSS_PAY",
"clauses": ["R1", "R7"],
"explanation": "The payroll record is missing the required gross_pay field."
}