← Heatmap / Gemini 3.1 Flash Lite · Task 51
Gemini 3.1 Flash Lite · Tool use · Task 51 (Calculation, below tax-free line)
Mean 100.0%
| Field | Expected | Rollout #1 (100%) | Rollout #2 (100%) | Rollout #3 (100%) |
|---|---|---|---|---|
| decision | calculate | calculate | calculate | calculate |
| currency | LCR | LCR | LCR | LCR |
| gross pay | 850.21 | 850.21 | 850.21 | 850.21 |
| employee contribution | 51.01 | 51.01 | 51.01 | 51.01 |
| allowed deduction | 125.58 | 125.58 | 125.58 | 125.58 |
| taxable pay | 673.62 | 673.62 | 673.62 | 673.62 |
| income tax | 0.00 | 0.00 | 0.00 | 0.00 |
| net pay | 673.62 | 673.62 | 673.62 | 673.62 |
| clauses | R1 R2 R3 R4 R5 R6 | R1 R2 R3 R4 R5 R6 | R1 R2 R3 R4 R5 R6 | R1 R2 R3 R4 R5 R6 |
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 100.0% passed · 5 tool calls · 6.1s · $0.0038
| Component | Score | Clauses |
|---|---|---|
| decision | 100.0% | R1 R2 R3 R4 R5 R6 |
| exact | 100.0% | R1 R2 R3 R4 R5 R6 |
| field accuracy | 100.0% | R1 R2 R3 R4 R5 R6 |
| citations | 100.0% | R1 R2 R3 R4 R5 R6 |
Assistant
list_documents()Tool
[
{"id": "39d9a95cfc04fd53-payroll", "kind": "payroll"},
{"id": "39d9a95cfc04fd53-contract", "kind": "contract"}
]
Assistant
read_document(document_id="39d9a95cfc04fd53-payroll")Tool
{
"kind": "payroll",
"record": {"gross_pay": "850.21", "payroll_month": "2026-01", "allowed_deduction": "125.58"}
}
Assistant
read_document(document_id="39d9a95cfc04fd53-contract")Tool
{
"kind": "contract",
"gross_pay": "850.21"
}
Assistant
lookup_reference(reference="first-half")Tool
{
"reference": "first-half",
"months": ["2026-01", "2026-06"],
"rate": "0.06",
"cap": "4500.00",
"deduction": "400.00",
"free": "1100.00",
"upper": "2800.00",
"middle_rate": "0.12",
"upper_rate": "0.18"
}
Assistant
calculate(program="employee_contribution = round(min(850.21, 4500.00) * 0.06, 2)\ntaxable_pay = 850.21 - employee_contribution - 125.58\nincome_tax = round(max(0, taxable_pay - 1100.00) * 0.12, 2)\nnet_pay = 850.21 - employee_contribution - 125.58 - income_tax")Tool
{
"results": {"employee_contribution": "51.01", "taxable_pay": "673.62", "income_tax": "0.00", "net_pay": "673.62"}
}
Assistant
{
"decision": "calculate",
"currency": "LCR",
"gross_pay": "850.21",
"employee_contribution": "51.01",
"allowed_deduction": "125.58",
"taxable_pay": "673.62",
"income_tax": "0.00",
"net_pay": "673.62",
"clauses": ["R1", "R2", "R3", "R4", "R5", "R6"]
}
Rollout #2 100.0% passed · 5 tool calls · 5.7s · $0.0038
| Component | Score | Clauses |
|---|---|---|
| decision | 100.0% | R1 R2 R3 R4 R5 R6 |
| exact | 100.0% | R1 R2 R3 R4 R5 R6 |
| field accuracy | 100.0% | R1 R2 R3 R4 R5 R6 |
| citations | 100.0% | R1 R2 R3 R4 R5 R6 |
Assistant
list_documents()Tool
[
{"id": "39d9a95cfc04fd53-payroll", "kind": "payroll"},
{"id": "39d9a95cfc04fd53-contract", "kind": "contract"}
]
Assistant
read_document(document_id="39d9a95cfc04fd53-payroll")Tool
{
"kind": "payroll",
"record": {"gross_pay": "850.21", "payroll_month": "2026-01", "allowed_deduction": "125.58"}
}
Assistant
read_document(document_id="39d9a95cfc04fd53-contract")Tool
{
"kind": "contract",
"gross_pay": "850.21"
}
Assistant
lookup_reference(reference="first-half")Tool
{
"reference": "first-half",
"months": ["2026-01", "2026-06"],
"rate": "0.06",
"cap": "4500.00",
"deduction": "400.00",
"free": "1100.00",
"upper": "2800.00",
"middle_rate": "0.12",
"upper_rate": "0.18"
}
Assistant
calculate(program="contribution = round(min(850.21, 4500.00) * 0.06, 2)\ntaxable_pay = 850.21 - contribution - 125.58\ntax = max(0, (taxable_pay - 1100.00)) * 0.12\nincome_tax = round(tax, 2)\nnet_pay = 850.21 - contribution - 125.58 - income_tax")Tool
{
"results": {"contribution": "51.01", "taxable_pay": "673.62", "tax": "0.00", "income_tax": "0.00", "net_pay": "673.62"}
}
Assistant
{
"decision": "calculate",
"currency": "LCR",
"gross_pay": "850.21",
"employee_contribution": "51.01",
"allowed_deduction": "125.58",
"taxable_pay": "673.62",
"income_tax": "0.00",
"net_pay": "673.62",
"clauses": ["R1", "R2", "R3", "R4", "R5", "R6"]
}
Rollout #3 100.0% passed · 5 tool calls · 5.2s · $0.0038
| Component | Score | Clauses |
|---|---|---|
| decision | 100.0% | R1 R2 R3 R4 R5 R6 |
| exact | 100.0% | R1 R2 R3 R4 R5 R6 |
| field accuracy | 100.0% | R1 R2 R3 R4 R5 R6 |
| citations | 100.0% | R1 R2 R3 R4 R5 R6 |
Assistant
list_documents()Tool
[
{"id": "39d9a95cfc04fd53-payroll", "kind": "payroll"},
{"id": "39d9a95cfc04fd53-contract", "kind": "contract"}
]
Assistant
read_document(document_id="39d9a95cfc04fd53-payroll")Tool
{
"kind": "payroll",
"record": {"gross_pay": "850.21", "payroll_month": "2026-01", "allowed_deduction": "125.58"}
}
Assistant
read_document(document_id="39d9a95cfc04fd53-contract")Tool
{
"kind": "contract",
"gross_pay": "850.21"
}
Assistant
lookup_reference(reference="first-half")Tool
{
"reference": "first-half",
"months": ["2026-01", "2026-06"],
"rate": "0.06",
"cap": "4500.00",
"deduction": "400.00",
"free": "1100.00",
"upper": "2800.00",
"middle_rate": "0.12",
"upper_rate": "0.18"
}
Assistant
calculate(program="employee_contribution = round(min(850.21, 4500.00) * 0.06, 2)\ntaxable_pay = 850.21 - employee_contribution - 125.58\nincome_tax = round(max(0, taxable_pay - 1100.00) * 0.12 + max(0, taxable_pay - 2800.00) * (0.18 - 0.12), 2)\nnet_pay = 850.21 - employee_contribution - 125.58 - income_tax")Tool
{
"results": {"employee_contribution": "51.01", "taxable_pay": "673.62", "income_tax": "0.00", "net_pay": "673.62"}
}
Assistant
{
"decision": "calculate",
"currency": "LCR",
"gross_pay": "850.21",
"employee_contribution": "51.01",
"allowed_deduction": "125.58",
"taxable_pay": "673.62",
"income_tax": "0.00",
"net_pay": "673.62",
"clauses": ["R1", "R2", "R3", "R4", "R5", "R6"]
}