status string | generator_version string | brand string | fictional_data bool | seed int64 | players int64 | simulation_days int64 | checks dict | object_attribute_history dict | statistics dict | game_math dict | limitations list |
|---|---|---|---|---|---|---|---|---|---|---|---|
PASS | 1.0.0 | Askersund Casno | true | 24,051,982 | 250 | 120 | {
"ocel_json_schema": true,
"ocel_semantic_integrity": true,
"double_entry_and_zero_balance_drift": true,
"round_math_and_theoretical_paytables": true,
"ledger_event_foreign_keys": true,
"no_ground_truth_label_leakage": true,
"ml_point_in_time_structure": true,
"ocel_sqlite_integrity": true,
"ocel_jso... | {
"objects": 68797,
"json_attribute_rows": 142316,
"json_history_values": 142316,
"boolean_values": 255,
"game_round_status_values": 61434,
"sqlite_snapshot_rows": 77297,
"sqlite_history_values": 142316,
"sqlite_decoded_values": 142316
} | {
"ocel_events": 73115,
"ocel_objects": 68797,
"event_object_relationships": 348082,
"object_object_relationships": 72513,
"event_types": 23,
"object_types": 12,
"sessions": 4228,
"settled_rounds": 60959,
"aborted_rounds": 475,
"ledger_transactions": 64030,
"ledger_postings": 189969,
"withdrawal... | {
"FROSTHAMNEN": {
"rounds": 43801,
"stake_ore": 163797323,
"gross_payout_ore": 162509831,
"empirical_rtp": 0.9921397250185828,
"theoretical_rtp": 0.96,
"theoretical_variance": 14.8684,
"rtp_standard_error": 0.018424262187022263,
"absolute_tolerance_four_se": 0.07369704874808905
},
... | [
"Development fixture, not production-scale or calibrated to real customer data.",
"Slots and roulette only; blackjack and crash are outside this fixture.",
"RG outputs are behavioral signals, never clinical diagnoses.",
"AML alerts and SAR-like workflows are observations, not ground truth."
] |
Askersund Casino — Synthetic OCEL 2.0 and ML Fixture
Ground truth is checked by the bundled validator and by one independent engine (Ghost Observatory); it is not a proof.
Published by Ghost Citadel Ltd, maker of Ghost Observatory.
Askersund Casino is a fictional internet-based casino headquartered in Askersund, Sweden. Every person, employee, account, payment, identity reference, and transaction is invented. This is not a real operator, licence, customer extract, compliance certification, or source of clinical diagnoses.
The fixture is a deterministic 250-player, 120-day development dataset with one reconciled source of truth for external process mining and machine learning. It emphasizes exact accounting, inspectable day-level behavior, overlapping anomalous behavior, operational edge cases, and strict separation of ground truth.
What you can analyze
- Daily and cumulative deposits, withdrawals, turnover, gross payouts, net gambling result, and wallet balances.
- Deposit, staking, and loss spikes relative to each player's previous 28 days.
- Repeated within-session deposits, loss chasing, nighttime sessions, dormancy, and reactivation.
- Heterogeneous deposits driven by player-specific medians and preferred amounts, continuous lognormal variation, convenience top-ups, payday effects, and irregular larger deposits. Amounts span small SEK top-ups to rare high-value deposits, with both whole-SEK and öre-level values.
- Minimal-turnover withdrawals, shared devices/instruments, chargebacks, and alert investigations.
- Withdrawal holds, rejection, split payments, KYC delays, and cases open at the simulation boundary.
- Bonus activation, mixed real/bonus stakes, wagering contribution, conversion, and forfeiture.
- OCEL withdrawal/KYC/RG lifecycles involving players, accounts, sessions, payments, and cases.
Negative net_result_ore means a player loss; positive means a player win. Monetary values are exact integer öre: divide by 100 for SEK only when presenting results.
Repository layout
ocel/
askersund_casno_ocel20.json OCEL 2.0 JSON exchange document
askersund_casno_ocel20.sqlite OCEL 2.0 relational exchange database
ocel20_structure_schema.json Structural JSON Schema used in validation
parquet/ Operational ML/feature-engineering tables
operational/ The same operational tables as CSV
askersund_operational.duckdb Query-ready operational database; no truth tables
ml/
labels.csv / labels.parquet Explicitly joinable point-in-time labels
split_metadata.csv Temporal and player-disjoint split assignments
ground_truth/
player_truth.csv / .parquet Archetypes, onset, rings, and churn truth
generate_askersund.py Deterministic generator and core validator
audit_askersund.py Independent exported-artifact audit
verify_determinism.py Repeated-export and canonical DuckDB comparison
determinism_report.json Observed repeated-run equality results
example_queries.sql Industry-oriented DuckDB queries
validation_report.json Core fail-closed validation results
industry_acceptance_report.json External compatibility and scenario audit
industry_acceptance_report.md Human-readable audit summary
manifest.json File hashes and generation metadata
OCEL 2.0 process mining
The JSON document follows the official OCEL 2.0 JSON structure: eventTypes, objectTypes, events, and objects. Events have qualified event-to-object relationships; objects have timestamped attributes and qualified object-to-object relationships. The SQLite export follows the official relational mapping.
Object types include players, accounts, sessions, devices, payment instruments/orders, withdrawals, game rounds, games, bonuses, KYC cases, and RG cases. Every event includes sequence_no and recorded_at; OCEL timestamps alone do not define a total causal order.
import pm4py
ocel = pm4py.read_ocel2("ocel/askersund_casno_ocel20.sqlite")
print(len(ocel.events), len(ocel.objects))
print(pm4py.ocel_get_object_types(ocel))
The audit uses PM4Py's current OCEL 2.0 reader and all 24 relational validation rules. JSON Schema validation and additional referential/temporal checks are run independently. See the published audit for observed results.
Specification reference: Berti et al., OCEL (Object-Centric Event Log) 2.0 Specification.
Operational and ML tables
| Table | Grain | Important fields |
|---|---|---|
players |
Player | Invented Swedish name/address, account, device, registration |
sessions |
Session | Start/end, device, rounds, stake, net result |
game_rounds |
Round | Game, status, real/bonus stake, payout, outcome |
payments |
Payment order/component | Direction, status, amount, parent reference |
withdrawals |
Withdrawal | Requested amount/time, KYC requirement, terminal/open status |
ledger_transactions |
Financial transaction | Type, event/reference, reversal link |
ledger_postings |
Posting | Signed amount and resulting balance by ledger account |
events |
Operational/OCEL event | Type, occurred time, JSON attributes |
event_objects |
Event-object relationship | Qualified object role |
player_daily |
Player-day | Past/current-day features, balances, cumulative position, spike ratios |
player_daily contains no archetype, onset, fraud-ring, or churn-truth columns. The three *_to_previous_28d_ratio features compare the current day with the preceding 28 days, excluding the current day from the baseline.
Example: largest daily player losses
SELECT player_id, day, deposit_ore, stake_ore, net_result_ore,
loss_to_previous_28d_ratio
FROM player_daily
WHERE net_result_ore < 0
ORDER BY net_result_ore
LIMIT 20;
More queries for deposit spikes, cumulative player position, low-turnover withdrawals, KYC aging, and session intensity are in example_queries.sql.
Labels and evaluation design
Labels are deliberately not in the operational database or OCEL files. Join ml/labels to player_daily on (player_id, cutoff_day = day) only when constructing a training/evaluation pipeline.
rg_onset_next_30d: private simulated onset occurs after the cutoff and within 30 days. This is a synthetic behavioral target, not a clinical diagnosis.aml_scheme_start_next_30d: a privately generated scheme begins in the next 30 days. Operational alerts are noisy observations, not truth.churn_start_next_30d: start of an observed run of at least 35 consecutive inactive days. It is empty when the full outcome window is unobservable or no prior activity exists.history_days_available: lets you enforce a minimum history policy. Cutoffs begin at day 30 so fully observed 35-day churn outcomes remain available in a 120-day fixture. A 60-day-history RG/AML evaluation can filter to cutoffs at day 60 or later; longer generation is recommended for 60-day-history churn experiments.
temporal_split is 70%/15%/15% by simulation day. player_group_split is deterministic and player-disjoint for an additional generalization test. Do not allow overlapping player windows to cross a chosen partition. Right-censored churn rows must not be treated as negative.
The design is informed by AMLworld, online-gambling churn windows, and the caution about contested player-risk ground truth in AI-enabled player-risk benchmarks.
Accounting and game rules
- Every ledger transaction sums to zero öre; every stored balance is recomputed from postings.
- Withdrawals move available cash to a hold account; rejection releases it and payment consumes it. Split components reconcile to the parent withdrawal.
- Aborted rounds have linked compensating transactions, never history-rewriting deletes.
- Chargebacks can produce a negative player-cash account; this is explicit debt, not silent balance clamping.
- Mixed-wallet payouts are allocated deterministically, with integer rounding assigned to the bonus component when both wallets participate.
- Bonus wagering contributes 100% on the slot and 10% on roulette. Withdrawal forfeits an active bonus.
Games:
- FROSTHAMNEN, math version
FH-1.0: fixed integer-weight paytable with theoretical RTP 0.96. Outcome weights[720,120,80,50,25,4,1]per 1,000 correspond to gross multipliers[0,1,2,5,10,20,100]. - NORDIC_ROULETTE, math version
ER-1.0: European numbers 0–36 and an even-money red bet; theoretical RTP 36/37 ≈ 0.972973.
Outcomes depend only on their deterministic game stream. They never depend on archetype, previous losses, withdrawals, AML/RG labels, or account value. Empirical RTP is reported with predeclared sample-size-dependent tolerance; it is not expected to equal theoretical RTP exactly.
Reproduce and validate
python -m pip install -r requirements.txt
python generate_askersund.py --output generated --players 250 --days 120 --seed 24051982
python audit_askersund.py generated
python generate_askersund.py --output generated_repeat --players 250 --days 120 --seed 24051982
python verify_determinism.py generated generated_repeat
Generation uses domain-separated seeded random streams. The manifest records SHA-256 hashes. PM4Py is used only as an external validation dependency and retains its own license; no PM4Py source code is bundled. The generator rejects configurations below 40 players or 90 days; larger configurations can be generated on demand.
Known limitations
- This is a rich development fixture, not production-scale data or evidence about Swedish gambling prevalence.
- Only one slot paytable and even-money roulette are included; blackjack, crash, sportsbook, jackpots, and complex slot features are outside this version.
- Behavioral archetypes provide scenario coverage, not calibrated real-world base rates.
- KYC, AML, and RG workflows simulate operational practices and are not legal advice or a complete Swedish compliance implementation.
- Fictional identities deliberately exclude valid personal identity numbers, BankID assertions, bank credentials, and real document numbers.
- A high audit score establishes internal consistency and interoperability, not external validity. Review
industry_acceptance_report.jsonbefore research use.
- Downloads last month
- 78