#!/usr/bin/env python3 """Track 1 orchestrator: cost of scaling. For every configuration (replicas x CPU per replica x PostgreSQL CPU x pool size x env) and every repeat a FRESH bench stand is started (separate compose project, empty volumes), synthetic users/chats are created, then k6 runs an open-loop arrival-rate sweep. During each step the orchestrator samples CPU of every container (docker stats), DB pool waits (API stats log), PostgreSQL counters (pg_stat_database, pg_stat_statements) and HAProxy counters (show stat). python bench/track1/run.py --series fixed-total --label baseline \ --config replicas=1,api_cpus=2.0 --config replicas=2,api_cpus=1.0 --config replicas=4,api_cpus=0.5 \ --rates 200,400,600,800 --repeats 3 Output: evidence/track1//