Files
mtusi2026lab5-fork/experiments/config/protocol.json

74 lines
1.5 KiB
JSON

{
"protocol_version": "lab5-idempotency-v1",
"registered_date": "2026-11-05",
"track": 2,
"repetitions": 5,
"seed": 2303,
"case_timeout_seconds": 180,
"poll_interval_seconds": 0.2,
"warmup_uploads": 1,
"workers": 2,
"prefetch_per_worker": 1,
"api_replicas": 2,
"job_timeout_seconds": 10,
"job_max_attempts": 5,
"profiles": [
{
"name": "rgb_small",
"width": 320,
"height": 200,
"alpha": false
},
{
"name": "rgba_medium",
"width": 640,
"height": 360,
"alpha": true
},
{
"name": "rgb_large",
"width": 1600,
"height": 1000,
"alpha": false
}
],
"scenarios": [
"control",
"duplicates",
"reorder",
"commit_publish_gap",
"crash_before_effect",
"crash_after_effect",
"crash_before_ack",
"old_after_v2",
"stale_lease"
],
"duplicates_before_ready": 5,
"duplicates_after_ready": 5,
"v1": {
"jpeg_quality": 85,
"webp_quality": 80
},
"v2": {
"jpeg_quality": 75,
"webp_quality": 65
},
"pass": {
"cases": 135,
"violations": 0,
"missing_required_artifacts": 0
},
"ports": {
"api": 18085,
"s3": 18900
},
"resources": {
"api_cpu_each": 0.5,
"api_memory_mib_each": 512,
"worker_cpu_each": 1,
"worker_memory_mib_each": 512,
"worker_tmpfs_mib": 64
},
"stop_policy": "Continue after an assertion failure when cleanup and quiescence succeed; otherwise preserve artifacts and stop with incomplete status. Never discard system failures."
}