{
  "schema_version": 1,
  "generated_at_utc": "2026-10-27T10:51:47.335669+00:00",
  "title": "ZeroScream conditional SCI comparison",
  "scope": "Retain an already-unused legacy process after migration versus retire it on the same fixed VM. Equal capacity, duration, demand and utilization assumptions. Historical migration CI/inference is shared. A post-retirement verifier is an explicit incremental scenario.",
  "coefficients": {
    "cpu_min_w": 0.71,
    "cpu_max_w": 4.26,
    "memory_w_per_gb": 0.392,
    "disk_w_per_tb": 0.65,
    "ssd_w_per_tb": 1.2,
    "pue": 1.1,
    "grid_g_per_kwh": 431.95,
    "platform_embodied_kg": 1230.3,
    "lifespan_hours": 35040,
    "platform_vcpus": 32
  },
  "inventory": {
    "vm_memory_gb": 4.294967296,
    "disk_gb": 20,
    "disk_type": "pd-standard HDD",
    "edge_vcpus": 1,
    "edge_memory_gb": 0.536870912,
    "vm_machine_type": "e2-medium",
    "exposed_vcpus": 2,
    "sustained_effective_vcpus": 1
  },
  "ci": {
    "shared_job_seconds": 341.37282200000004,
    "verifier_job_seconds": 23.443585,
    "job_seconds": 341.37282200000004,
    "grid_g_per_kwh_scenarios": [
      343.48,
      579.44
    ],
    "runner_vcpus": 2,
    "runner_memory_gb": 8,
    "runner_storage_gb": 30,
    "grid_low": 343.48,
    "grid_high": 579.44,
    "disk_w_per_tb": 1.2
  },
  "observations": {
    "rss_delta_mib": 48.12963244778685,
    "energy_before_j": 263.55258620064,
    "energy_after_j": 249.81288520032,
    "energy_ci_low_j": -33.160011894794266,
    "energy_ci_high_j": 60.63941389543426,
    "local_package_observation": "Separate local RAPL study only. Not mapped to Iowa cloud energy or a cloud carbon saving."
  },
  "default_scenario": {
    "utilization": 0.5,
    "effective_cores": 1,
    "edge_fraction": 1,
    "deliveries_per_hour": 100,
    "horizon_hours": 720,
    "inference_queries": 40,
    "wh_per_query": 0.24,
    "include_verifier": true
  },
  "assumption_notes": [
    "50% CPU utilization is a published CCF fallback scenario, not observed production utilization. The same value is used on both sides.",
    "100 deliveries/hour, 720-hour horizon and 40 inference queries are illustrative scenario choices, not observed live volumes/call counts. Tool actions are not inference calls.",
    "Cloud Run is modeled continuously active by default; actual active time and physical allocation are unknown. Shared residual K retains unmodeled idle/other infrastructure.",
    "The CCF 1230.3 kg figure is a representative physical E2-platform estimate, not a whole charge per VM. The model allocates by core share and four-year lifetime. Effective one versus exposed two cores is a sensitivity.",
    "Cloud Run and CI embodied allocation use the same host as a disclosed surrogate, not verified underlying hardware.",
    "Inference energy values are workload-specific published proxies, not actual Duo energy, confidence bounds or a guaranteed upper bound. Inference location is also a scenario.",
    "AI serving energy proxy is treated as facility energy; PUE is not applied twice. AI training/hardware embodied allocation is retained in shared K.",
    "The gross 2025 grid factor is used without an 88% CFE discount.",
    "Remaining identical registry/network/secret/idle infrastructure remains in shared K; after-only extra overhead remains in nonnegative V. Neither residual is silently treated as zero.",
    "A complete comparative expression is provided; absolute deployment SCI is not verified. No resource deallocation or statistically reliable energy saving was observed.",
    "The default0.24Wh query proxy uses Google's full-serving-stack GeminiApps median. Other literature points have different boundaries and remain sensitivity scenarios; any missing AI serving energy remains in K. None describes actual Duo consumption."
  ],
  "observed_facts": {
    "vm": {
      "name": "zeroscream-controller",
      "machine_type": "e2-medium",
      "cpu_platform": "Intel Broadwell",
      "disks": [
        {
          "size_gb": 20,
          "type": "pd-standard"
        }
      ]
    },
    "ci_jobs": [
      {
        "label": "native_duo_runner",
        "project_id": 87992276,
        "id": 17450292279,
        "name": "workload",
        "status": "success",
        "duration_seconds": 328.103804,
        "queued_duration_seconds": 0.104834,
        "tag_list": [
          "gitlab--duo"
        ],
        "web_url": "https://gitlab.com/gitlab-ai-hackathon/transcend-october-2026/43538696/showcase/-/jobs/17450292279"
      },
      {
        "label": "merged_consumer_contract",
        "project_id": 88064453,
        "id": 17454151612,
        "name": "verify_consumer_contract",
        "status": "success",
        "duration_seconds": 13.269018,
        "queued_duration_seconds": 0.059546,
        "tag_list": [],
        "web_url": "https://gitlab.com/gitlab-ai-hackathon/transcend-october-2026/43538696/zeroscream-webhooks/-/jobs/17454151612"
      },
      {
        "label": "incremental_receipt_verifier",
        "project_id": 87992276,
        "id": 17459246905,
        "name": "zeroscream_evidence",
        "status": "success",
        "duration_seconds": 23.443585,
        "queued_duration_seconds": 0.060209,
        "tag_list": [],
        "web_url": "https://gitlab.com/gitlab-ai-hackathon/transcend-october-2026/43538696/showcase/-/jobs/17459246905"
      }
    ],
    "edge": {
      "service": "zeroscream",
      "limits": {
        "cpu": "1",
        "memory": "512Mi"
      },
      "scaling": {
        "autoscaling.knative.dev/maxScale": "1"
      },
      "public_url": "https://zeroscream-xwgfucopha-uc.a.run.app"
    },
    "google_grid_rows": [
      {
        "Google Cloud Region": "us-central1",
        "Location": "Iowa",
        "Google CFE": "0.88",
        "Grid carbon intensity (gCO2eq / kWh)": "431.95"
      },
      {
        "Google Cloud Region": "us-east1",
        "Location": "South Carolina",
        "Google CFE": "0.31",
        "Grid carbon intensity (gCO2eq / kWh)": "579.44"
      },
      {
        "Google Cloud Region": "us-east5",
        "Location": "Columbus",
        "Google CFE": "0.57",
        "Grid carbon intensity (gCO2eq / kWh)": "343.48"
      }
    ],
    "grid_source": "https://raw.githubusercontent.com/GoogleCloudPlatform/region-carbon-info/main/data/yearly/2025.csv",
    "model_scope": "Post-migration retirement decision; all unchanged product infrastructure and historical migration work present on both sides. No retrospective matched-load cloud-energy measurement is claimed."
  },
  "sources": [
    {
      "title": "SCI specification: boundaries, functional units, measured or modeled inputs",
      "url": "https://sci.greensoftware.foundation/"
    },
    {
      "title": "CCF operational coefficients and limitations",
      "url": "https://www.cloudcarbonfootprint.org/docs/methodology/"
    },
    {
      "title": "CCF embodied allocation methodology",
      "url": "https://www.cloudcarbonfootprint.org/docs/embodied-emissions/"
    },
    {
      "title": "CCF linked platform coefficients, e2-medium shared-core row",
      "url": "https://docs.google.com/spreadsheets/d/1k-6JtneEu4E9pXQ9QMCXAfyntNJl8MnV2YzO4aKHh-0/edit?usp=sharing"
    },
    {
      "title": "Google 2025 regional gross grid carbon factors",
      "url": "https://github.com/GoogleCloudPlatform/region-carbon-info/blob/main/data/yearly/2025.csv"
    },
    {
      "title": "E2 shared-core allocation",
      "url": "https://docs.cloud.google.com/compute/docs/general-purpose-machines"
    },
    {
      "title": "GitLab hosted runner size and region",
      "url": "https://docs.gitlab.com/ci/runners/hosted_runners/linux/"
    },
    {
      "title": "2026 inference-energy study, workload-dependent scenarios",
      "url": "https://arxiv.org/abs/2509.20241"
    },
    {
      "title": "Google Gemini Apps median prompt study; not Duo consumption",
      "url": "https://cloud.google.com/blog/products/infrastructure/measuring-the-environmental-impact-of-ai-inference/"
    }
  ],
  "saving_claim_allowed": false,
  "live_retirement_changed": false,
  "default_result": {
    "reference_before_g_per_100": 5.468659452163839,
    "reference_after_g_per_100": 5.468716680780243,
    "modeled_after_minus_before_g_per_100": 5.722861640384218e-05,
    "vm_reference_w": 4.5997898980352,
    "edge_reference_w": 2.9649987372544,
    "runner_reference_w": 8.9562,
    "vm_embodied_g_h": 1.0972281678082192,
    "edge_embodied_g_h": 1.0972281678082192,
    "shared_ci_g_per_migration": 0.5999991845220461,
    "shared_ai_proxy_g_per_migration": 4.146719999999999,
    "incremental_verifier_proxy_g": 0.04120460381076637,
    "functional_units_of_100": 720.0,
    "equation_before": "reference_before + K / functional_units",
    "equation_after": "reference_after + (K + V) / functional_units",
    "residual_K": "Unquantified common cloud/network/platform and AI hardware/training embodied allocation; present on BOTH sides, not set to zero.",
    "residual_V": "Additional after-only transition/canary/network/artifact overhead, if any; nonnegative and not assumed measured or zero.",
    "claim": "Conditional allocated reference model. No measured deployment carbon footprint or supported carbon saving."
  },
  "sensitivity_summary": {
    "scenarios": 1296,
    "after_minus_before_reference_range_g_per_100": [
      3.5540208149573094e-05,
      0.00261752783669152
    ],
    "any_reference_saving": false,
    "not_probability_distribution": true,
    "unknown_residuals": "K cancels only under the stated shared counterfactual. V is additional nonnegative after-only overhead. Neither is a verified estimate."
  }
}
