Luma Payroll Gym
← Heatmap / Gemini 3.1 Flash Lite · Task 7
Gemini 3.1 Flash Lite · Tool use · Task 7 (Calculation, wage cap binds) 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 8370.45 8370.45 8370.45 8370.45
employee contribution 200.00 200.00 200.00 200.00
allowed deduction 370.62 370.62 370.62 370.62
taxable pay 7799.83 7799.83 7799.83 7799.83
income tax 1267.96 1267.96 1267.96 1267.96
net pay 6531.87 6531.87 6531.87 6531.87
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 · 4 tool calls · 4.5s · $0.0032
ComponentScoreClauses
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": "9869ba945ef7380b-payroll", "kind": "payroll"}
]
Assistant
read_document(document_id="9869ba945ef7380b-payroll")
Tool
{
  "kind": "payroll",
  "record": {"gross_pay": "8370.45", "payroll_month": "2026-05", "allowed_deduction": "370.62"}
}
Assistant
lookup_reference(reference="first-half")
Tool
{
  "reference": "first-half",
  "months": ["2026-01", "2026-06"],
  "rate": "0.04",
  "cap": "5000.00",
  "deduction": "400.00",
  "free": "1000.00",
  "upper": "3600.00",
  "middle_rate": "0.10",
  "upper_rate": "0.24"
}
Assistant
calculate(program="employee_contribution = round(min(8370.45, 5000.00) * 0.04, 2)\ntaxable_pay = 8370.45 - employee_contribution - 370.62\nincome_tax = round(max(0, min(taxable_pay - 1000.00, 3600.00 - 1000.00)) * 0.10 + max(0, taxable_pay - 3600.00) * 0.24, 2)\nnet_pay = 8370.45 - employee_contribution - 370.62 - income_tax")
Tool
{
  "results": {"employee_contribution": "200.00", "taxable_pay": "7799.83", "income_tax": "1267.96", "net_pay": "6531.87"}
}
Assistant
{
  "decision": "calculate",
  "currency": "LCR",
  "gross_pay": "8370.45",
  "employee_contribution": "200.00",
  "allowed_deduction": "370.62",
  "taxable_pay": "7799.83",
  "income_tax": "1267.96",
  "net_pay": "6531.87",
  "clauses": ["R1", "R2", "R3", "R4", "R5", "R6"]
}
Rollout #2 100.0% passed · 4 tool calls · 4.3s · $0.0032
ComponentScoreClauses
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": "9869ba945ef7380b-payroll", "kind": "payroll"}
]
Assistant
read_document(document_id="9869ba945ef7380b-payroll")
Tool
{
  "kind": "payroll",
  "record": {"gross_pay": "8370.45", "payroll_month": "2026-05", "allowed_deduction": "370.62"}
}
Assistant
lookup_reference(reference="first-half")
Tool
{
  "reference": "first-half",
  "months": ["2026-01", "2026-06"],
  "rate": "0.04",
  "cap": "5000.00",
  "deduction": "400.00",
  "free": "1000.00",
  "upper": "3600.00",
  "middle_rate": "0.10",
  "upper_rate": "0.24"
}
Assistant
calculate(program="employee_contribution = round(min(8370.45, 5000.00) * 0.04, 2)\ntaxable_pay = 8370.45 - employee_contribution - 370.62\nincome_tax = round(max(0, min(taxable_pay - 1000.00, 3600.00 - 1000.00)) * 0.10 + max(0, taxable_pay - 3600.00) * 0.24, 2)\nnet_pay = 8370.45 - employee_contribution - 370.62 - income_tax")
Tool
{
  "results": {"employee_contribution": "200.00", "taxable_pay": "7799.83", "income_tax": "1267.96", "net_pay": "6531.87"}
}
Assistant
{
  "decision": "calculate",
  "currency": "LCR",
  "gross_pay": "8370.45",
  "employee_contribution": "200.00",
  "allowed_deduction": "370.62",
  "taxable_pay": "7799.83",
  "income_tax": "1267.96",
  "net_pay": "6531.87",
  "clauses": ["R1", "R2", "R3", "R4", "R5", "R6"]
}
Rollout #3 100.0% passed · 4 tool calls · 4.2s · $0.0033
ComponentScoreClauses
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": "9869ba945ef7380b-payroll", "kind": "payroll"}
]
Assistant
read_document(document_id="9869ba945ef7380b-payroll")
Tool
{
  "kind": "payroll",
  "record": {"gross_pay": "8370.45", "payroll_month": "2026-05", "allowed_deduction": "370.62"}
}
Assistant
lookup_reference(reference="first-half")
Tool
{
  "reference": "first-half",
  "months": ["2026-01", "2026-06"],
  "rate": "0.04",
  "cap": "5000.00",
  "deduction": "400.00",
  "free": "1000.00",
  "upper": "3600.00",
  "middle_rate": "0.10",
  "upper_rate": "0.24"
}
Assistant
calculate(program="employee_contribution = round(min(8370.45, 5000.00) * 0.04, 2)\ntaxable_pay = 8370.45 - employee_contribution - 370.62\nincome_tax_part1 = max(0, min(taxable_pay - 1000.00, 2600.00)) * 0.10\nincome_tax_part2 = max(0, taxable_pay - 3600.00) * 0.24\nincome_tax = round(income_tax_part1 + income_tax_part2, 2)\nnet_pay = 8370.45 - employee_contribution - 370.62 - income_tax")
Tool
{
  "results": {"employee_contribution": "200.00", "taxable_pay": "7799.83", "income_tax_part1": "260.0000", "income_tax_part2": "1007.9592", "income_tax": "1267.96", "net_pay": "6531.87"}
}
Assistant
{
  "decision": "calculate",
  "currency": "LCR",
  "gross_pay": "8370.45",
  "employee_contribution": "200.00",
  "allowed_deduction": "370.62",
  "taxable_pay": "7799.83",
  "income_tax": "1267.96",
  "net_pay": "6531.87",
  "clauses": ["R1", "R2", "R3", "R4", "R5", "R6"]
}