338 MB
7 files
Updated 2 days ago
README.md

Synthetic process event logs with exact ground truth

Generated entirely from code with no real event logs or third-party datasets. All timestamps use Europe/Stockholm offsets. The arrival window is 2025-10-01T00:00:00+02:00 through 2025-12-31T23:59:59+01:00; it includes the 2025-10-26 daylight-saving transition and Swedish public holidays. The SLA observation end is 2026-01-15T00:00:00+01:00.

Models

  • Arrivals and seasonality: weighted minute-level inverse-CDF sampling. Office processes peak on weekdays 08:00-18:00, with reduced evenings, weekends and public-holiday traffic. Incident and clinical processes run around the clock with day/night, weekend and holiday multipliers. A 14-day sinusoidal wave adds weekly seasonal variation. Open cases are concentrated in the final four arrival days.
  • Routing: explicit process-specific probabilistic transition graphs with optional activities, repeated rework loops, skipped segments, early termination, and fork/join parallel branches. The activity vocabularies contain 13-18 activities (within the requested 8-25 range).
  • Resources: order_to_cash: 80 accounts (76 people, 4 bots); it_incident: 120 accounts (115 people, 5 bots); invoice_approval: 60 accounts (57 people, 3 bots); hospital_patient: 180 accounts (174 people, 6 bots). Humans have roles, weekday or rotating shifts, absences, speed factors 0.74-1.32, and accumulated workloads. System activities use 24/7 bot accounts.
  • Queues: each resource has an availability clock. An eligible resource is selected by earliest feasible completion after its ready time, availability, shift and absences; workload and account break ties. Waiting therefore increases under load. Processing durations are log-normal, divided by resource speed.
  • Batching: designated activities use fixed daily batch slots. One selected person processes up to nine events 20 seconds apart; later groups are separated. Batch keys are recomputed from events, not copied from simulator state.
  • SLA: targets vary by case type. Explicit Wait for … activity durations are paused time. Complete cases contain a terminal activity; incomplete cases are measured to the observation end and counted not-yet-due only while active age is within target. Exact targets and terminal activities are repeated in each answer key.

Exact answer-key conventions

Case events are ordered by start, then activity name (event ID only resolves otherwise indistinguishable same-name ties). Throughput is maximum end minus minimum start. Processing/waiting percentiles use nearest rank at ceil(p*n), including the upper-middle convention for even medians. Negative directly-follows waits are counted but excluded from wait samples. Person-day uses the event start's Stockholm calendar date. Batches are greedy maximal non-overlapping same-person/activity runs with first-to-last start at most 180 seconds and size at least three.

Every clean answer key is computed by parsing the serialized clean CSV. The generator recomputes it a second time after writing and requires exact JSON equality. validate_outputs.py separately repeats the metrics, parses XES/OCEL, checks dirty manifests and compares each dirty variant's clean-rows key with the clean key.

Layout and reproduction

Each <process>/<size>/clean/ directory contains CSV, XES and answer_key.json; order-to-cash also contains .ocel.json. Each dirty/ directory contains the corresponding dirty files, dirty_manifest.json, and answer_key_clean_rows.json. Dirty manifests identify final dirty row number, source clean row, event ID, every operation, before/after values, and final values. Duplicate CSV rows intentionally retain the original event ID. Dirty OCEL event IDs are prefixed by dirty row number for JSON uniqueness and retain original_event_id.

Run with Python 3.11 or newer (standard library only):

python synthetic_process_logs.py --output generated_logs --sizes 200 20000 500000
python validate_outputs.py --root generated_logs --report generated_logs/validation_report.json

Fixed seeds are listed in manifest.json and every answer key. Re-running with the same Python version, seed and output arguments reproduces event content and keys. No network access is required.

Total size
338 MB
Files
7
Last updated
Nov 28
Pre-warmed CDN
US EU US EU

Contributors