Download docs/VALIDATION.md from ghostcitadel/casino: direct link, hf CLI and curl.
- Browser
- Download file 3.68 kB
-
https://huggingface.co/datasets/ghostcitadel/casino/resolve/main/docs/VALIDATION.md
- Command line
-
hf download hf://datasets/ghostcitadel/casino/docs/VALIDATION.md
-
curl -L -o VALIDATION.md https://huggingface.co/datasets/ghostcitadel/casino/resolve/main/docs/VALIDATION.md
Validation Methodology
The release is fail-closed: generation and publication are not considered successful when a mandatory check fails.
Core generator validation
- OCEL structure — JSON Schema validation with ISO date-time checking.
- OCEL semantics — declared attribute types, unique identifiers, valid relationships, chronological event order, recorded-time causality, and consecutive sequence numbers.
- Accounting — zero transaction imbalance and exact replay of every stored posting balance.
- Game accounting — settled-round net-result equations and zero-result aborted rounds.
- Theoretical mathematics — exact fixed-paytable slot RTP and European roulette RTP.
- Foreign keys — every ledger transaction references an exported event.
- Ground-truth isolation — forbidden truth fields are absent from operational/OCEL outputs.
- ML structure — nonempty point-in-time tables and valid split assignments.
- SQLite integrity — clean SQLite foreign-key check and JSON/SQLite entity-count equality.
- Empirical game returns — predeclared tolerance based on sample size, with theoretical and observed values both reported.
Independent exported-artifact audit
audit_askersund.py rereads the delivered files rather than trusting generator state. It checks:
- Presence of payment, bonus, mixed-wallet, KYC, rejection, split-payment, chargeback, AML, RG, self-exclusion, and aborted-round scenarios.
- Withdrawal-hold reconciliation for paid, rejected, and still-open requests.
- Exported round-event balance attributes against exported ledger postings.
- Compensating-entry links for aborted rounds.
- Process-mining context and bounded event/object graph fan-out.
- Positive examples for RG, AML, and churn targets; fully observed churn windows.
- Deposit heterogeneity using overall unique-amount coverage and median within-player coefficient of variation, with observed SEK quantiles published.
- Same-day feature availability for every label cutoff and player-disjoint group assignments.
- Swedish fictional-name population and operational/truth population equality.
- Executable DuckDB queries for daily losses, deposit spikes, and low-turnover withdrawals.
- SQLite foreign keys and JSON/SQLite entity equality.
- External PM4Py OCEL 2.0 SQLite import and all 24 relational constraints. PM4Py can represent timestamped object changes as multiple object-table rows, so object identity is audited using unique
ocel:oid, not raw snapshot-row count. - Integer physical Parquet types for monetary columns.
- Repeated-run determinism: byte equality for exported files plus schema and canonical sorted-content equality for every DuckDB table.
Statistical interpretation
Theoretical RTP is a property of the declared game distribution. Empirical RTP is a sample statistic and varies between seeds. A narrow RTP assertion on a tiny fixture would be statistically dishonest, so the validator uses a predeclared sample-size-dependent tolerance and reports the actual rounds, stake, payout, and tolerance.
Process-mining schema conformance does not establish casino accounting correctness, and accounting correctness does not establish behavioral realism. These are separate validation layers.
External-validity boundary
Passing every check means the dataset is deterministic, internally consistent, queryable, and interoperable. It does not establish that base rates match a real casino, that RG labels are clinical diagnoses, that AML scenarios represent all typologies, or that the workflows constitute legal certification. Those limitations remain explicit in the dataset card.