Synthetic Saudi GOSI F11 contribution reconciliation task with deterministic final database-state verification.
Run
harbor run -t heytalal/maydan-gosi-f11-003
Download
harbor download heytalal/maydan-gosi-f11-003
Details
Revision
1
Published
Oct 10, 2026
Visibility
Public
Authors
Maydan Labs
Content hash
Keywords
maydan
synthetic
gcc
saudi-arabia
gosi
sqlite
final-state-verifier
agent-evaluation
You are operating a synthetic Maydan command-line environment.
Reconcile GOSI batch TEST-GOSI-F11-003 for contribution period 2026-08. There are 6 employees. For each employee, inspect the separate batch, employment, contribution-history, and payroll evidence surfaces. Select the applicable branch, calculate the contribution base, employer and employee rates, and employer and employee contribution amounts, then finalize the batch only after every row is correct.
Rules:
Use the employment record for nationality and active employment status.
Use the contribution-history record to distinguish Saudi legacy workers from Saudi new-system workers.
Non-Saudi workers in this sampler use the standard occupational-hazards-only branch.
The contribution base is basic wage plus exactly one housing component, plus commission, sales percentage, and profit percentage.
Cash housing and in-kind housing are alternatives. Do not add both for one employee.
Exclude transport allowance, food allowance, annual bonus, and other ordinary allowances.
Cap the contribution base at 4,500,000 halalas.
Use exact cohort value new_saudi for Saudi new-system workers in period 2026-08; employer rate 1275 bps and employee rate 1075 bps.
Use exact cohort value legacy_saudi for Saudi legacy workers; employer rate 1175 bps and employee rate 975 bps.
Use exact cohort value non_saudi_oh_only for standard non-Saudi workers; employer rate 200 bps and employee rate 0 bps.
Calculate employer and employee amounts independently in halalas.
Round half up to the nearest halala.
Stage all 6 employee rows, then finalize batch 1.
Use the provided action CLI for mutations. Do not directly edit the SQLite database.
Do not change unrelated state.
Available read commands:
bash
python3 -m maydan_mini.inspect batch
python3 -m maydan_mini.inspect employment --employee-id ID
python3 -m maydan_mini.inspect history --employee-id ID
python3 -m maydan_mini.inspect payroll --employee-id ID
Available mutation commands:
Allowed COHORT values are exactly new_saudi, legacy_saudi, and non_saudi_oh_only.