2026-04-16 13:48:55 -07:00
|
|
|
{
|
|
|
|
|
"format_version": 1,
|
|
|
|
|
"fixture_id": "packed-event-world-scalar-condition-parity-save-slice-fixture",
|
|
|
|
|
"source": {
|
|
|
|
|
"kind": "captured-runtime",
|
2026-04-16 15:26:37 -07:00
|
|
|
"description": "Fixture proving the three aggregate cargo-class conditions execute through the world-scalar runtime path."
|
2026-04-16 13:48:55 -07:00
|
|
|
},
|
|
|
|
|
"state_save_slice_path": "packed-event-world-scalar-condition-parity-save-slice.json",
|
|
|
|
|
"commands": [
|
2026-04-16 15:26:37 -07:00
|
|
|
{
|
|
|
|
|
"kind": "service_trigger_kind",
|
|
|
|
|
"trigger_kind": 6
|
|
|
|
|
},
|
2026-04-16 13:48:55 -07:00
|
|
|
{
|
|
|
|
|
"kind": "service_trigger_kind",
|
|
|
|
|
"trigger_kind": 7
|
|
|
|
|
}
|
|
|
|
|
],
|
|
|
|
|
"expected_summary": {
|
|
|
|
|
"packed_event_collection_present": true,
|
2026-04-16 15:26:37 -07:00
|
|
|
"packed_event_record_count": 2,
|
|
|
|
|
"packed_event_decoded_record_count": 2,
|
|
|
|
|
"packed_event_imported_runtime_record_count": 2,
|
|
|
|
|
"packed_event_parity_only_record_count": 0,
|
|
|
|
|
"packed_event_blocked_unmapped_world_condition_count": 0,
|
2026-04-16 14:47:38 -07:00
|
|
|
"cargo_catalog_count": 11,
|
2026-04-16 15:26:37 -07:00
|
|
|
"event_runtime_record_count": 2,
|
|
|
|
|
"cargo_production_override_count": 3,
|
2026-04-17 20:26:29 -07:00
|
|
|
"world_flag_count": 12,
|
2026-04-16 15:26:37 -07:00
|
|
|
"total_event_record_service_count": 2,
|
|
|
|
|
"total_trigger_dispatch_count": 2
|
2026-04-16 13:48:55 -07:00
|
|
|
},
|
|
|
|
|
"expected_state_fragment": {
|
2026-04-16 15:26:37 -07:00
|
|
|
"world_flags": {
|
|
|
|
|
"world.aggregate_cargo_conditions_passed": true
|
|
|
|
|
},
|
2026-04-16 14:47:38 -07:00
|
|
|
"cargo_catalog": [
|
|
|
|
|
{
|
|
|
|
|
"slot_id": 1,
|
2026-04-16 15:26:37 -07:00
|
|
|
"label": "Cargo Production Slot 1",
|
|
|
|
|
"cargo_class": "factory"
|
2026-04-16 14:47:38 -07:00
|
|
|
}
|
|
|
|
|
],
|
2026-04-16 15:26:37 -07:00
|
|
|
"cargo_production_overrides": {
|
|
|
|
|
"1": 125,
|
|
|
|
|
"5": 75,
|
|
|
|
|
"9": 30
|
|
|
|
|
},
|
2026-04-16 13:48:55 -07:00
|
|
|
"packed_event_collection": {
|
|
|
|
|
"records": [
|
|
|
|
|
{
|
2026-04-16 15:26:37 -07:00
|
|
|
"import_outcome": "imported"
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"import_outcome": "imported",
|
2026-04-16 13:48:55 -07:00
|
|
|
"standalone_condition_rows": [
|
|
|
|
|
{
|
|
|
|
|
"raw_condition_id": 2419,
|
2026-04-16 15:26:37 -07:00
|
|
|
"recovered_cargo_class": "factory"
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"raw_condition_id": 2420,
|
|
|
|
|
"recovered_cargo_class": "farm_mine"
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"raw_condition_id": 2421,
|
|
|
|
|
"recovered_cargo_class": "other"
|
|
|
|
|
}
|
|
|
|
|
],
|
|
|
|
|
"decoded_conditions": [
|
|
|
|
|
{
|
|
|
|
|
"kind": "factory_production_total_threshold",
|
|
|
|
|
"comparator": "eq",
|
|
|
|
|
"value": 125
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"kind": "farm_mine_production_total_threshold",
|
|
|
|
|
"comparator": "eq",
|
|
|
|
|
"value": 75
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"kind": "other_cargo_production_total_threshold",
|
|
|
|
|
"comparator": "eq",
|
|
|
|
|
"value": 30
|
2026-04-16 13:48:55 -07:00
|
|
|
}
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|