Skip to content

armgit / sie

Public Imported from GitHub
0

Open-source inference server and production cluster for all the models your agent needs.

6.0 KB
Raw Blame

Write public status updates from internal incident reports

What this shows

Twelve real incident reports from Wikimedia Foundation engineers go to SIE Cloud, one /v1/chat/completions call each, and come back as a four-line public status update. A report names hosts (gerrit1003), Phabricator tasks (T393034) and the responders who worked the outage. A status page must carry none of that, must state the outage window the report states, and must stay short enough to read at a glance.

The run is already recorded. The twelve requests and the exact responses they returned live in the public HuggingFace dataset superlinked/sie-task-evidence, pinned to one revision by fetch.py. Download it and you can re-derive the published number with no API key and no inference spend. Those are the same bytes behind the figure on superlinked.com/sre.

The dataset folder this fetches is named chat/, because the run was first published as the Chat task page's evidence. fetch.py pins the revision where that folder holds this run; later revisions hold the grounded-answer run that /chat publishes now, and examples/chat scores that one.

You cannot verify this by cloning alone. The clone gives you the code; the dataset gives you the evidence. Fetching it needs no account and no token.

  • Model: Qwen/Qwen3.8-27B-FP8
  • Endpoint: https://api.superlinked.com/v1/chat/completions
  • Model revision: 017b9c7af6b5689d5dd426a76e0bc077eb5ca20a, as GET /v1/models reported on 2026-09-21
  • Served deployment revision: 8bd714204e67a1c6c81f84b0dc486b6a6e96e943c42ff488f6b3cbf936e07955, the X-SIE-Model-Revision every recorded call carries. Models served together share this value, so it names the deployment rather than the weights.
  • SIE server version 0.7.3, recorded 2026-09-15

Each answer is scored against four checks, written before the run:

Check Passes when
format exactly four lines, labelled Status, Impact, Window and Cause, and the first line reads Status: Resolved
window the start and end in the Window line are times the report itself states
length the Impact and Cause sentences are 25 words or fewer
no_internal_identifiers no hostname, numbered instance, internal domain, Phabricator task or responder name appears

Run it

Download the recorded run, then score it. Both steps are standard library only, so there is nothing to install and no key to set:

python3 fetch.py
python3 score.py

Look at a request without sending it:

python3 run.py --show sessionstore

Send the calls yourself, which needs a key and spends credits:

uv sync
SIE_API_KEY=sk-sie-... uv run python run.py --output run-output

What result to expect

score.py prints 4/4 for each report and ends with:

12 of 12 incident reports passed all four checks

That is the figure the SRE solutions page publishes. The page displays four of the twelve reports, one in the hero and three in the proof grid; all twelve are in calls.json here and all twelve are scored. The page's playground runs a thirteenth call on a short excerpt of one report, which is not part of the twelve and is not shipped here.

score.py fails rather than skipping. A source file whose bytes no longer match inputs/cases.json, a case with no recorded call, a call nothing pins, a response that does not match its response_sha256, a call whose served model revision is not the one the manifest names, or pinned text that no longer rebuilds the recorded request body all exit non-zero. Nothing is scored around a missing input.

What this does NOT establish

  • Not that the updates are true. The four checks are mechanical. An update whose Cause line confidently misdescribes the outage passes all four, as long as it is well formed, short and leaks no identifiers. Nobody checked the twelve summaries against the reports for accuracy.
  • Not that the model never leaks. The leak check knows four regular expressions and the names each report itself lists. An internal identifier in a shape those patterns miss would pass.
  • Not a rate. This is one run of twelve reports on one day. Sampling defaults were used and no case was repeated, so a rerun can return different wording and a different score. Treat 12 of 12 as what this recording shows, not as a measured pass rate.
  • Not a general result about incident reports. All twelve come from one organisation, in one house format, with a {{Incident scorecard}} template the runner parses. Reports from a different tracker will need a different derivation and may score differently.
  • Not a benchmark. The recorded duration_ms values are provenance. They include queueing and whatever the cluster was doing at the time.
  • Not bound to the website. The same recordings back the fixtures in superlinked/sie-web under apps/site/tests/fixtures/reference/sre/, which is what that repository's CI checks. Nothing automatically ties the two copies together, so they could drift.
  • Not a guarantee the dataset is unchanged. fetch.py pins a dataset revision rather than main, so a later upload cannot silently change what you score. It does not prove the revision holds what it held yesterday.

Inputs

evidence/inputs/cases.json pins twelve Wikitech incident reports by revision id, with the SHA-256 and byte length of the wikitext beside it in evidence/inputs/sources/. Wikitech content is CC BY-SA 4.0, and evidence/manifest.json records the URL and licence of every report.

score.py verifies each file against its digest before scoring, and separately rebuilds each recorded request from that wikitext. The pinned text is therefore provably the text that produced the recorded answer, which a digest alone would not show.

prompt.py derives the report the model sees from the wikitext: the page title, the scorecard fields, then the prose. run.py and score.py both read it from there, so the request the scorer rebuilds is the request the runner sends.