Skip to content

armgit / sie

Public Imported from GitHub
0

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

docs(examples): add cost routing between a cheap and a strong LLM (#696)

svonava9f9eaa3d7468
diff --git a/examples/README.md b/examples/README.md
index 256010586..bc657709b 100644
--- a/examples/README.md
+++ b/examples/README.md
@@ -21,6 +21,7 @@ to a separately maintained repository (clone and run there).
| [Extract the entity types you name, with no model to train](./custom-entity-types) | Asking for the 85 entity types of seven zero-shot NER sets and scoring exact spans against GPT-6 Luna, GPT-6 Sol, Claude Haiku 4.5, SIE Qwen3.8 27B, AWS Comprehend and spaCy, with a paired bootstrap and the price of each | `extract` | SIE server with GLiNER BioMed Large; `fetch.py` pulls the recorded run, `score.py` reproduces the figures with no key | Runnable recorded example |
| [Answer a question from a passage, and quote the sentence you used](./chat) | Checking a generated answer for its citation, its length and whether it declines a question the passage cannot answer | `chat/completions` | SIE Cloud with Qwen3.8 27B; `fetch.py` pulls the recorded run, `score.py` reproduces the numbers with no key | Runnable recorded example |
| [Route requests while skipping most generation calls](./request-routing) | Assigning support, banking and assistant requests to routes with an embedding classifier and conditional generation | `encode`, `chat/completions` | SIE server with Qwen3 Embedding 4B and Qwen3.8 27B; recorded 3,000-case verification needs no API key | Runnable recorded example |
+| [Send each request to a cheap or a strong LLM](./request-routing/cost) | Cutting LLM spend with a bge-m3 nearest-neighbour router that picks GPT-6 Luna or GPT-6.1 Sol per request: 38.6% less than always using GPT-6.1 Sol at 95.8% of its quality on 728 held-out requests of a pre-registered study | `encode` | SIE Serverless with bge-m3; `fetch.py` pulls the recorded study, `score.py` reproduces the held-out table with no key | Runnable recorded example |
| [Turn PDF pages into Markdown, scored on olmOCR-Bench](./document-to-markdown-olmocr) | Converting all 1,403 pages of Ai2's olmOCR-Bench with LightOnOCR-2-1B and scoring them with Ai2's own scorer, beside published Azure Document Intelligence and AWS Textract runs | `extract` | SIE Cloud with LightOnOCR-2-1B; `fetch.py` pulls the recorded run, `score.py` reproduces the scores with no key | Runnable recorded example |
| [Read receipt photos and handwriting, scored against GPT-5.4 mini](./ocr-receipts-handwriting) | Reading 600 receipt photos and handwritten notes with LightOnOCR-2-1B beside GPT-5.4 mini, PaddleOCR, Tesseract and EasyOCR, scored by exact-word recall | `extract` | SIE Cloud with LightOnOCR-2-1B; `fetch.py` pulls the recorded run, `score.py` reproduces the figures with no key | Runnable recorded example |
| [Keep a support assistant on policy while customers push it](./support-assistant-policy) | Replaying 55 scripted support conversations, 275 attempts to talk the assistant out of five rules, against SIE and five hosted models, scored by a judge model and hand labels | `chat/completions` | SIE Cloud with Qwen3.8 27B, plus OpenAI and Anthropic keys for the other arms; `fetch.py` pulls the recorded run, `score.py` reproduces the figures with no key | Runnable recorded example |
diff --git a/examples/request-routing/README.md b/examples/request-routing/README.md
index 7efd57144..3203b1174 100644
--- a/examples/request-routing/README.md
+++ b/examples/request-routing/README.md
@@ -4,6 +4,8 @@ For a single native classification call with your own handler labels, see
the [direct routing example](./direct). The recorded cascade below uses a
separate embedding classifier and conditional generation recipe.
+To send each request to a cheap or a strong LLM, see the [cost routing example](./cost).
+
Choose a support queue, banking intent, voice-assistant action, or agent route
with an embedding classifier. Send requests below its fixed confidence
threshold to Qwen3.8 27B for a constrained answer. Your application uses the
diff --git a/examples/request-routing/cost/.gitignore b/examples/request-routing/cost/.gitignore
new file mode 100644
index 000000000..e67339f08
--- /dev/null
+++ b/examples/request-routing/cost/.gitignore
@@ -0,0 +1,4 @@
+.venv/
+__pycache__/
+.ruff_cache/
+evidence/
diff --git a/examples/request-routing/cost/README.md b/examples/request-routing/cost/README.md
new file mode 100644
index 000000000..d5e3c574e
--- /dev/null
+++ b/examples/request-routing/cost/README.md
@@ -0,0 +1,223 @@
+# Send each request to a cheap or a strong LLM
+
+## What this shows
+
+Cost routing picks a model for each request before you call one. A request
+that a cheap model answers as well as a strong one goes to the cheap model;
+the rest go to the strong one. The router has to be much cheaper and faster
+than the calls it saves.
+
+This router embeds the request with `BAAI/bge-m3` on SIE Serverless and finds
+the 20 most similar requests in a bank of 729 whose answers from both models
+were graded. It weights each neighbour by its cosine similarity and averages
+whether the cheap model held up on it. If that score reaches a threshold, the
+request goes to the cheap model. The threshold was chosen on the bank to keep
+98% of the strong model's quality at the lowest cost.
+
+On 728 held-out requests, routing between GPT-6 Luna and GPT-6.1 Sol cost
+**$3.19 per 1,000 requests, 38.6% less than always using GPT-6.1 Sol at 95.8%
+of its quality**. It sent 77.2% of requests to Luna. Between Claude Haiku 5.5
+and Claude Sonnet 5.5 it cost 11.7% less than always using Sonnet, at 99.0% of
+its quality. The router itself costs $0.013 per 1,000 requests, included in
+those figures.
+
+| GPT-6 Luna → GPT-6.1 Sol | Cost per 1,000 requests | Saving vs always-Sol | Quality vs always-Sol | Sent to Luna |
+| --- | ---: | ---: | ---: | ---: |
+| Always GPT-6.1 Sol | $5.19 | — | 100% | 0% |
+| **SIE router** | **$3.19** | **38.6% (33.6–44.2)** | **95.8% (93.5–98.0)** | **77.2%** |
+| Random routing at 77.2% to Luna | $1.51 | 71.0% | 85.2% | 77.2% |
+| Always GPT-6 Luna | $0.42 | 92.0% | 80.9% | 100% |
+
+| Claude Haiku 5.5 → Claude Sonnet 5.5 | Cost per 1,000 requests | Saving vs always-Sonnet | Quality vs always-Sonnet | Sent to Haiku |
+| --- | ---: | ---: | ---: | ---: |
+| Always Claude Sonnet 5.5 | $10.36 | — | 100% | 0% |
+| **SIE router** | **$9.15** | **11.7% (9.4–14.5)** | **99.0% (97.7–100.3)** | **34.9%** |
+| Random routing at 34.9% to Haiku | $6.99 | 32.5% | 93.8% | 34.9% |
+| Always Claude Haiku 5.5 | $0.70 | 93.3% | 82.2% | 100% |
+
+Quality is routed quality as a share of always-strong quality on the same
+requests. Bracketed ranges are the study's 95% intervals from a stratified
+paired bootstrap. Costs are list prices accessed 2026-10-11, with no caching or
+batch discount.
+
+The OpenAI pair did not hold the 98% target on held-out: the threshold that
+kept 98% of Sol's quality on the bank kept 95.8% on new requests. Random routing
+at the same share to the cheap model keeps 10.6 fewer points of quality for the
+OpenAI pair and 5.2 fewer for the Anthropic pair.
+
+## The study
+
+The study was pre-registered before any request was sent
+([pre-registration](https://huggingface.co/datasets/superlinked/sie-task-evidence/tree/456601521d3eccee3830c29f0f5ee2e97920c212/evaluations/2026-10-11/request-routing-cost-prereg-v1),
+[amendment 1](https://huggingface.co/datasets/superlinked/sie-task-evidence/tree/a003af2e392964468a107cc6a13c9d8b933f50d4/evaluations/2026-10-11/request-routing-cost-prereg-v1/amendment-1),
+published after the pilot and before the main run). Its 1,457 requests come
+from SuperGPQA (hard), MATH-500, MBPP+ and Arena-Hard v2.0 chat, alternating
+in hash order between 729 calibration and 728 held-out requests. Every model answered every
+request at its default reasoning setting. Benchmark answers were graded
+automatically; chat answers were judged by a model from the other provider.
+
+Each calibration request is labelled `y = 1 − max(0, q_strong − q_cheap)`: 1
+when the cheap answer is as good, lower by the quality it loses. Calibration
+chose the threshold for each pair and chose `knn20` from six SIE router
+variants. Every figure above is on the held-out requests. The
+[results](https://huggingface.co/datasets/superlinked/sie-task-evidence/tree/95d34b775b61bf1d584cada099bfed053710fc2b/evaluations/2026-10-11/request-routing-cost-results-v1)
+hold every arm, router and record, and the study's own
+[`analyze.py`](https://huggingface.co/datasets/superlinked/sie-task-evidence/blob/95d34b775b61bf1d584cada099bfed053710fc2b/evaluations/2026-10-11/request-routing-cost-results-v1/code/analyze.py).
+
+## Verify the result
+
+From this directory:
+
+```sh
+uv sync --frozen
+uv run --frozen python fetch.py
+uv run --frozen python score.py
+```
+
+Neither step needs a key. `fetch.py` downloads about 9 MB from the public
+Hugging Face dataset
+[superlinked/sie-task-evidence](https://huggingface.co/datasets/superlinked/sie-task-evidence)
+at revision `95d34b775b61bf1d584cada099bfed053710fc2b` into `evidence/`. It
+checks `MANIFEST.json` against the SHA-256 pinned in [`study.py`](./study.py),
+and every other file against the size and SHA-256 the manifest lists:
+
+- `inputs/items.jsonl`: the 1,457 requests and their split;
+- `records/routers/bge.jsonl.gz`: the bge-m3 vector of each request, with the
+ credits SIE Serverless billed for it;
+- `items-openai.jsonl` and `items-anthropic.jsonl`: each request's graded
+ quality and list cost for both models of the pair, and its recorded router
+ score and route;
+- `results.json`: the thresholds, the selected router and every strategy on
+ held-out.
+
+`score.py` checks the files again, then recomputes every knn20 score from the
+vectors, re-chooses both thresholds on calibration, and rebuilds the held-out
+rows from the recorded quality and costs. It uses the rules of `analyze.py`
+(`router_scores`, `routed`, `choose_tau` and `summarize`) and makes no model
+calls. It exits non-zero unless every score, route, threshold and figure
+matches `results.json` and the headline above. It takes under a second:
+
+```
+GPT-6 Luna (cheap) -> GPT-6.1 Sol (strong), 728 held-out requests
+knn20 threshold 0.9457; router $0.013 per 1,000, included
+
+ Strategy per 1,000 Saving Quality To cheap
+ Always GPT-6.1 Sol $5.19 - 100.0% 0.0%
+ SIE router (knn20) $3.19 38.6% 95.8% 77.2%
+ Random at the same 77.2% $1.51 71.0% 85.2% 77.2%
+ Always GPT-6 Luna $0.42 92.0% 80.9% 100.0%
+
+Claude Haiku 5.5 (cheap) -> Claude Sonnet 5.5 (strong), 728 held-out requests
+knn20 threshold 0.9516; router $0.013 per 1,000, included
+
+ Strategy per 1,000 Saving Quality To cheap
+ Always Claude Sonnet 5.5 $10.36 - 100.0% 0.0%
+ SIE router (knn20) $9.15 11.7% 99.0% 34.9%
+ Random at the same 34.9% $6.99 32.5% 93.8% 34.9%
+ Always Claude Haiku 5.5 $0.70 93.3% 82.2% 100.0%
+
+Quality is routed quality as a share of always-strong quality on the same requests.
+Cost is list price, with no caching or batch discount.
+
+Recomputed 1,457 knn20 scores per pair and both thresholds. Every figure matches results.json.
+```
+
+The intervals come from the study's bootstrap in `results.json`; `score.py`
+does not resample them.
+
+## Route your own requests
+
+`run.py` embeds a request on SIE Serverless, scores it against the study's 729
+calibration requests and their labels for the pair, and prints the score, the
+threshold from `results.json` and the model to call. Run `fetch.py` first.
+
+```sh
+export SIE_API_KEY=your-key
+uv run --frozen python run.py "Solve for x: x/2 + x/3 = 5"
+uv run --frozen python run.py --pair anthropic "Write a limerick about a lighthouse keeper"
+```
+
+The embedding is one call:
+
+```python
+from sie_sdk import SIEClient
+from sie_sdk.types import Item
+
+client = SIEClient() # SIE Serverless when SIE_API_KEY is set
+vector = client.encode("BAAI/bge-m3", Item(text=request))["dense"]
+```
+
+`SIEClient()` reads `SIE_API_KEY` and connects to SIE Serverless. Set
+`SIE_BASE_URL` as well to use your own SIE server instead. That default is
+newer than the `sie-sdk` release on PyPI, so `pyproject.toml` pins the SDK to
+the [superlinked/sie](https://github.com/superlinked/sie) commit that added it.
+In the study a call was billed 1.3 credits on average, and 1 for most requests;
+longer requests cost more. A credit is $0.00001. From the study's client host
+the router took 345 ms at the median, mostly network: SIE reported a median
+inference time of 20 ms.
+
+`--item` routes one of the study's requests by id and prints its recorded
+score beside the new one. `--recorded` uses its recorded vector instead of
+calling SIE, so it needs no key:
+
+```sh
+uv run --frozen python run.py --item mbpp_plus/161 --recorded
+```
+
+```
+pair openai: GPT-6 Luna (cheap) or GPT-6.1 Sol (strong)
+score 0.9016 < tau 0.9457
+route gpt-6.1-sol (GPT-6.1 Sol)
+study mbpp_plus/161 (held-out)
+ recorded score 0.9016, routed strong
+```
+
+`--answer` also sends the request to the chosen OpenAI model with the study's
+settings and prints the reply. It needs `OPENAI_API_KEY`, and the call is
+billed by OpenAI.
+
+### Build a bank from your own traffic
+
+The bank here is the study's: benchmark requests, labelled by how the two
+models answered them. It learns partly from the task type the benchmark
+templates reveal, so it is not a router for your traffic. To route your own
+requests, you need your own sample of requests answered by both models:
+
+1. Answer each request in the sample with both models and grade both answers
+ from 0 to 1.
+2. Embed each request with `BAAI/bge-m3` and label it with
+ `study.labels(q_cheap, q_strong)`.
+3. Hold part of the sample back. Choose the threshold on the rest with
+ `score.leave_one_out_scores` and `score.choose_tau`, and check it on the part
+ you held back.
+4. Route new requests with `study.Bank(pair, ids, study.normalise(vectors), labels, tau).route(vector)`.
+
+## Test without inference
+
+```sh
+uv run --frozen python -m unittest discover -s tests -v
+uv run --frozen ruff check .
+uv run --frozen ruff format --check .
+```
+
+The tests check the kNN score and the routing rule on a tiny synthetic bank,
+the threshold rule, the SDK request through a mock transport, and that
+`fetch.py` rejects a manifest or file that does not match. They need no
+network and no evidence.
+
+## What this does not establish
+
+- **Nothing about your traffic.** The requests are benchmark items, and the
+ saving depends on the mix: the chat stratum is about a sixth of the requests
+ but most of the always-strong spend, and the strong model wins most of it.
+ The oracle saving on this mix is 41.6% for the OpenAI pair and 37.5% for the
+ Anthropic pair.
+- **Not the same quality for the OpenAI pair.** It kept 95.8% of GPT-6.1 Sol's
+ quality, below the 98% target. Only the Anthropic pair passed the
+ pre-registered rule for "same quality".
+- **Grading limits.** Claude Haiku 5.5 often left out the `\boxed{}` the MATH
+ prompt asked for; the pre-registered grader marked 35 of those replies wrong,
+ about 23 of them correct in another form. The chat judges seldom called ties.
+- **Latency elsewhere.** Router latency was measured from one client host.
+- **Prices other than list prices.** Caching and batch discounts were not
+ applied.
diff --git a/examples/request-routing/cost/fetch.py b/examples/request-routing/cost/fetch.py
new file mode 100644
index 000000000..9c392c734
--- /dev/null
+++ b/examples/request-routing/cost/fetch.py
@@ -0,0 +1,81 @@
+"""Download the cost-routing study's evidence from its pinned Hugging Face revision, and verify it.
+
+ uv run --frozen python fetch.py [--output DIR]
+
+MANIFEST.json must match the SHA-256 pinned in study.py, and every file must
+match the size and SHA-256 that MANIFEST.json lists for it. Files are staged in
+a temporary directory beside the destination, and the directory is moved into
+place only once every file has verified. An existing destination is verified,
+never overwritten. About 9 MB; no key or Hugging Face account is needed.
+"""
+
+from __future__ import annotations
+
+import argparse
+import sys
+import tempfile
+import urllib.error
+import urllib.request
+from collections.abc import Callable
+from pathlib import Path
+
+import study
+
+TIMEOUT_SECONDS = 300
+MANIFEST_MAX_BYTES = 1024 * 1024
+
+Download = Callable[[str, int], bytes]
+
+
+def url(name: str) -> str:
+ return f"https://huggingface.co/datasets/{study.DATASET}/resolve/{study.REVISION}/{study.FOLDER}/{name}"
+
+
+def get(address: str, max_bytes: int) -> bytes:
+ request = urllib.request.Request(address, headers={"User-Agent": "sie-examples/request-routing-cost"})
+ with urllib.request.urlopen(request, timeout=TIMEOUT_SECONDS) as response:
+ body = response.read(max_bytes + 1)
+ if len(body) > max_bytes:
+ raise study.EvidenceError(f"{address} is larger than its manifest size")
+ return body
+
+
+def fetch(destination: Path, download: Download = get) -> bool:
+ """Download and verify into a new destination. Returns False if a verified copy is already there."""
+ if destination.exists():
+ study.verify_evidence(destination)
+ return False
+ destination.parent.mkdir(parents=True, exist_ok=True)
+ with tempfile.TemporaryDirectory(prefix=".evidence-", dir=destination.parent) as temporary:
+ staging = Path(temporary) / "evidence"
+ manifest = download(url(study.MANIFEST), MANIFEST_MAX_BYTES)
+ entries = study.manifest_entries(manifest)
+ for name, entry in entries.items():
+ body = download(url(name), entry[1])
+ study.check_file(name, body, entry)
+ path = staging / name
+ path.parent.mkdir(parents=True, exist_ok=True)
+ path.write_bytes(body)
+ (staging / study.MANIFEST).write_bytes(manifest)
+ study.verify_evidence(staging)
+ staging.rename(destination)
+ return True
+
+
+def main() -> int:
+ parser = argparse.ArgumentParser(description=__doc__, formatter_class=argparse.RawDescriptionHelpFormatter)
+ parser.add_argument("--output", type=Path, default=study.EVIDENCE, help="evidence directory (default: evidence/)")
+ args = parser.parse_args()
+ print(f"{study.DATASET} at {study.REVISION}\n {study.FOLDER}")
+ try:
+ fresh = fetch(args.output)
+ except (OSError, ValueError, urllib.error.URLError) as error:
+ print(f"Evidence download failed: {error}", file=sys.stderr)
+ return 1
+ count = f"{len(study.FILES)} files and {study.MANIFEST}"
+ print(f"Verified {count}; saved to {args.output}" if fresh else f"{args.output} already holds the verified {count}")
+ return 0
+
+
+if __name__ == "__main__":
+ sys.exit(main())
diff --git a/examples/request-routing/cost/pyproject.toml b/examples/request-routing/cost/pyproject.toml
new file mode 100644
index 000000000..83d5c5364
--- /dev/null
+++ b/examples/request-routing/cost/pyproject.toml
@@ -0,0 +1,27 @@
+[project]
+name = "superlinked-sie-cost-routing-example"
+version = "0.1.0"
+description = "Route each request to a cheap or a strong LLM with a bge-m3 nearest-neighbour router, reproducing a pre-registered cost study"
+requires-python = ">=3.12,<3.13"
+dependencies = [
+ "sie-sdk==0.10.0",
+ "numpy==2.4.6",
+ "httpx>=0.28,<1",
+]
+
+[tool.uv]
+package = false
+
+# SIEClient() with only SIE_API_KEY set targets SIE Serverless from superlinked/sie#691,
+# which is newer than the sie-sdk 0.10.0 release on PyPI.
+[tool.uv.sources]
+sie-sdk = { git = "https://github.com/superlinked/sie", rev = "d680237f02c2b67fd9afd91f30b73a29cb18fae0", subdirectory = "packages/sie_sdk" }
+
+[dependency-groups]
+dev = [
+ "ruff>=0.14",
+]
+
+[tool.ruff]
+line-length = 120
+target-version = "py312"
diff --git a/examples/request-routing/cost/run.py b/examples/request-routing/cost/run.py
new file mode 100644
index 000000000..89e2f4dcf
--- /dev/null
+++ b/examples/request-routing/cost/run.py
@@ -0,0 +1,141 @@
+"""Route a request to a cheap or a strong LLM with the study's knn20 router.
+
+ export SIE_API_KEY=...
+ uv run --frozen python run.py "Solve for x: x/2 + x/3 = 5"
+ uv run --frozen python run.py --pair anthropic "Write a limerick about a lighthouse keeper"
+ uv run --frozen python run.py --item math500/test/prealgebra/505.json
+ uv run --frozen python run.py --item math500/test/prealgebra/505.json --recorded
+ OPENAI_API_KEY=... uv run --frozen python run.py --answer "Solve for x: x/2 + x/3 = 5"
+
+One call to SIE Serverless embeds the request with BAAI/bge-m3; the study's
+calls were billed 1.3 credits on average, at USD 0.00001 a credit. The request
+is compared with the study's 729 calibration requests and their labels for the
+chosen pair, and goes to the cheap model if its score reaches the pair's
+threshold from results.json. Run fetch.py first.
+
+--item routes one of the study's requests by id and prints its recorded score
+beside the new one; --recorded uses its recorded vector instead of calling SIE,
+so it needs no key. --answer also sends the request to the chosen OpenAI model,
+with the study's settings, and needs OPENAI_API_KEY.
+"""
+
+from __future__ import annotations
+
+import argparse
+import os
+import sys
+from pathlib import Path
+from typing import Any, Protocol
+
+import httpx
+import numpy as np
+from sie_sdk import SIEClient, SIEError
+from sie_sdk.types import Item
+
+import study
+
+OPENAI_RESPONSES = "https://api.openai.com/v1/responses"
+
+
+class Encoder(Protocol):
+ def encode(self, model: str, items: Item) -> Any: ...
+
+
+def embed(client: Encoder, text: str) -> np.ndarray:
+ return np.asarray(client.encode(study.EMBEDDER, Item(text=text))["dense"], dtype=np.float64)
+
+
+def answer_openai(model: str, text: str, api_key: str) -> str:
+ """One OpenAI Responses call with the study's generation settings (code/arms.py `gen_body`)."""
+ body = {
+ "model": model,
+ "input": [{"role": "user", "content": text}],
+ "reasoning": {"effort": "medium"},
+ "max_output_tokens": 32000,
+ "store": False,
+ }
+ response = httpx.post(OPENAI_RESPONSES, json=body, headers={"Authorization": f"Bearer {api_key}"}, timeout=900)
+ response.raise_for_status()
+ return "".join(
+ part.get("text", "")
+ for item in response.json().get("output") or []
+ if item.get("type") == "message"
+ for part in item.get("content") or []
+ if part.get("type") == "output_text"
+ )
+
+
+def main() -> int:
+ parser = argparse.ArgumentParser(description=__doc__, formatter_class=argparse.RawDescriptionHelpFormatter)
+ parser.add_argument("request", nargs="?", help="the request text to route")
+ parser.add_argument("--pair", choices=sorted(study.PAIRS), default="openai")
+ parser.add_argument("--item", help="route a study request by id instead of REQUEST")
+ parser.add_argument("--recorded", action="store_true", help="with --item: use its recorded vector, no SIE call")
+ parser.add_argument("--answer", action="store_true", help="send the request to the chosen OpenAI model")
+ parser.add_argument("--evidence", type=Path, default=study.EVIDENCE, help="directory written by fetch.py")
+ args = parser.parse_args()
+ if (args.request is None) == (args.item is None):
+ parser.error("give either REQUEST or --item")
+ if args.recorded and args.item is None:
+ parser.error("--recorded needs --item")
+ if args.answer and args.pair != "openai":
+ parser.error("--answer calls OpenAI models only; use --pair openai")
+ openai_key = os.environ.get("OPENAI_API_KEY", "").strip()
+ if args.answer and not openai_key:
+ parser.error("--answer needs OPENAI_API_KEY")
+
+ try:
+ s = study.load_study(args.evidence)
+ except (OSError, ValueError) as error:
+ print(f"Evidence check failed: {error}", file=sys.stderr)
+ return 1
+ bank = study.bank(s, args.pair)
+
+ index = None
+ text = args.request
+ if args.item is not None:
+ try:
+ index = s.index(args.item)
+ except KeyError as error:
+ print(error.args[0], file=sys.stderr)
+ return 1
+ text = s.prompts[index]
+
+ if args.recorded:
+ vector = s.raw_vectors[index]
+ else:
+ try:
+ with SIEClient() as client: # SIE Serverless when SIE_API_KEY is set; SIE_BASE_URL selects another server
+ vector = embed(client, text)
+ except ValueError as error:
+ print(f"Cannot reach SIE: {error}", file=sys.stderr)
+ return 1
+ except SIEError as error: # Messages are printed without the request, which may be private.
+ print(f"The {study.EMBEDDER} call failed: {type(error).__name__}", file=sys.stderr)
+ return 1
+
+ # A study calibration request is scored without itself, as the study scored it.
+ decision = bank.route(vector, exclude=args.item)
+ names = study.PAIRS[args.pair]
+ chosen = names.cheap_name if decision["route"] == "cheap" else names.strong_name
+ relation = ">=" if decision["route"] == "cheap" else "<"
+ print(f"pair {args.pair}: {names.cheap_name} (cheap) or {names.strong_name} (strong)")
+ print(f"score {decision['score']:.4f} {relation} tau {decision['tau']:.4f}")
+ print(f"route {decision['model']} ({chosen})")
+ if index is not None:
+ recorded = s.pairs[args.pair]
+ print(f"study {s.ids[index]} ({'calibration' if s.calibration[index] else 'held-out'})")
+ print(f" recorded score {recorded.score[index]:.4f}, routed {recorded.route[index]}")
+
+ if args.answer:
+ try:
+ reply = answer_openai(decision["model"], text, openai_key)
+ except (httpx.HTTPError, ValueError) as error:
+ print(f"The OpenAI call failed: {type(error).__name__}", file=sys.stderr)
+ return 1
+ print(f"\n{reply}")
+ return 0
+
+
+if __name__ == "__main__":
+ sys.exit(main())
diff --git a/examples/request-routing/cost/score.py b/examples/request-routing/cost/score.py
new file mode 100644
index 000000000..e9dad3131
--- /dev/null
+++ b/examples/request-routing/cost/score.py
@@ -0,0 +1,215 @@
+"""Reproduce the cost-routing study's held-out table from its recorded vectors and outcomes.
+
+ uv run --frozen python score.py [--evidence DIR]
+
+No model calls and no key. For both pairs this recomputes every knn20 score
+from the recorded bge-m3 vectors, re-chooses the threshold on the calibration
+split, and recomputes the held-out cost per 1,000 requests (router included),
+saving, quality ratio and cheap share from the recorded per-request quality
+and list costs. The rules are those of the study's code/analyze.py: kNN in
+`router_scores`, then `routed`, `choose_tau` and `summarize`. It exits non-zero
+unless every figure matches results.json and the published headline.
+"""
+
+from __future__ import annotations
+
+import argparse
+import math
+import sys
+from pathlib import Path
+from typing import Any
+
+import numpy as np
+
+import study
+
+TARGET = 0.98 # routed calibration quality must keep 98% of always-strong quality
+
+# The study README's held-out rows: always-strong cost, then the router's cost, saving, quality and cheap share.
+PUBLISHED = {
+ "openai": ("$5.19", "$3.19", "38.6%", "95.8%", "77.2%"),
+ "anthropic": ("$10.36", "$9.15", "11.7%", "99.0%", "34.9%"),
+}
+FIELDS = ("cost_per_1k", "saving_vs_strong", "quality_vs_strong", "cheap_share")
+
+
+def leave_one_out_scores(vectors: np.ndarray, y: np.ndarray, calibration: np.ndarray, k: int = study.K) -> np.ndarray:
+ """Score every request against the calibration requests other than itself, as analyze.py does."""
+ similarities = vectors @ vectors.T
+ cal_idx = np.where(calibration)[0]
+ scores = np.zeros(len(vectors))
+ for i in range(len(vectors)):
+ candidates = cal_idx[cal_idx != i]
+ scores[i] = study.knn_score(similarities[i, candidates], y[candidates], k)
+ return scores
+
+
+def routed(
+ o: study.Outcomes, score: np.ndarray, router_usd: np.ndarray, tau: float
+) -> tuple[np.ndarray, np.ndarray, np.ndarray]:
+ cheap = score >= tau
+ quality = np.where(cheap, o.q_cheap, o.q_strong)
+ cost = np.where(cheap, o.usd_cheap, o.usd_strong) + router_usd
+ return quality, cost, cheap
+
+
+def choose_tau(o: study.Outcomes, score: np.ndarray, router_usd: np.ndarray, mask: np.ndarray) -> float:
+ """Cheapest calibration threshold that keeps 98% of always-strong quality; ties keep the higher one."""
+ floor = TARGET * o.q_strong[mask].mean() - 1e-12
+ best_cost, best_tau = np.inf, np.inf
+ for tau in sorted(set(score[mask].tolist()) | {np.inf}, reverse=True):
+ quality, cost, _ = routed(o, score, router_usd, tau)
+ if quality[mask].mean() >= floor and cost[mask].mean() < best_cost - 1e-15:
+ best_cost, best_tau = cost[mask].mean(), tau
+ return best_tau
+
+
+def summarize(
+ o: study.Outcomes, quality: np.ndarray, cost: np.ndarray, cheap: np.ndarray, mask: np.ndarray
+) -> dict[str, float]:
+ return {
+ "cost_per_1k": float(1000 * cost[mask].mean()),
+ "saving_vs_strong": float(1 - cost[mask].mean() / o.usd_strong[mask].mean()),
+ "quality_vs_strong": float(quality[mask].mean() / o.q_strong[mask].mean()),
+ "cheap_share": float(np.mean(cheap[mask])),
+ }
+
+
+def strategies(o: study.Outcomes, score: np.ndarray, router_usd: np.ndarray, tau: float, held: np.ndarray) -> dict:
+ """The held-out rows analyze.py reports for each pair, other than the LLM-as-router row."""
+ n = len(score)
+ rows = {
+ "always_strong": summarize(o, o.q_strong, o.usd_strong, np.zeros(n, bool), held),
+ "router": summarize(o, *routed(o, score, router_usd, tau), held),
+ "always_cheap": summarize(o, o.q_cheap, o.usd_cheap, np.ones(n, bool), held),
+ }
+ # Random routing at the router's held-out cheap share, as an expected value over assignments.
+ p = rows["router"]["cheap_share"]
+ quality = p * o.q_cheap + (1 - p) * o.q_strong
+ cost = p * o.usd_cheap + (1 - p) * o.usd_strong
+ rows["random_same_share"] = summarize(o, quality, cost, np.zeros(n, bool), held) | {"cheap_share": p}
+ return rows
+
+
+def money(value: float) -> str:
+ return f"${value:.2f}"
+
+
+def percent(value: float) -> str:
+ return f"{100 * value:.1f}%"
+
+
+def close(a: float, b: float) -> bool:
+ return math.isclose(a, b, rel_tol=1e-9, abs_tol=1e-12)
+
+
+def check_pair(s: study.Study, pair: str, failures: list[str]) -> dict[str, Any]:
+ o = s.pairs[pair]
+ recorded = s.results["pairs"][pair]
+ calibration = s.results["calibration"][pair][study.ROUTER]
+ held = ~s.calibration
+ y = study.labels(o.q_cheap, o.q_strong)
+
+ score = leave_one_out_scores(s.vectors, y, s.calibration)
+ gap = float(np.max(np.abs(score - o.score)))
+ if gap > 1e-12:
+ failures.append(f"{pair}: knn20 scores differ from items-{pair}.jsonl by up to {gap:.3g}")
+ router_usd = s.credits * study.SIE_USD_PER_CREDIT
+ if not np.allclose(router_usd, o.usd_router, rtol=0, atol=1e-15):
+ failures.append(f"{pair}: router cost from billed credits differs from items-{pair}.jsonl")
+
+ tau = choose_tau(o, score, router_usd, s.calibration)
+ recorded_tau = math.inf if calibration["tau"] is None else calibration["tau"]
+ if not close(tau, recorded_tau):
+ failures.append(f"{pair}: calibration threshold {tau!r}, results.json has {recorded_tau!r}")
+ if [("cheap" if v else "strong") for v in score >= tau] != o.route:
+ failures.append(f"{pair}: routes differ from items-{pair}.jsonl")
+
+ # run.py's path: each held-out request against the calibration bank, one vector at a time.
+ b = study.bank(s, pair)
+ for i in np.where(held)[0]:
+ decision = b.route(s.raw_vectors[i])
+ if abs(decision["score"] - o.score[i]) > 1e-12 or decision["route"] != o.route[i]:
+ failures.append(f"{pair}: run.py's bank routes {s.ids[i]} differently from the study")
+ break
+
+ rows = strategies(o, score, router_usd, tau, held)
+ expected = {
+ "always_strong": recorded["always_strong"],
+ "router": recorded["routers"][study.ROUTER],
+ "always_cheap": recorded["always_cheap"],
+ "random_same_share": recorded["random_same_share"],
+ }
+ for name, row in rows.items():
+ for field in FIELDS:
+ if not close(row[field], expected[name][field]):
+ failures.append(f"{pair} {name} {field}: {row[field]!r}, results.json has {expected[name][field]!r}")
+ router_per_1k = float(1000 * router_usd[held].mean())
+ if not close(router_per_1k, recorded["routers"][study.ROUTER]["router_cost_per_1k"]):
+ failures.append(f"{pair}: router cost per 1,000 differs from results.json")
+
+ r = rows["router"]
+ shown = (
+ money(rows["always_strong"]["cost_per_1k"]),
+ money(r["cost_per_1k"]),
+ percent(r["saving_vs_strong"]),
+ percent(r["quality_vs_strong"]),
+ percent(r["cheap_share"]),
+ )
+ if shown != PUBLISHED[pair]:
+ failures.append(f"{pair}: headline {shown} differs from the published {PUBLISHED[pair]}")
+ return {"rows": rows, "tau": tau, "router_per_1k": router_per_1k, "held": int(held.sum())}
+
+
+def report(pair: str, result: dict[str, Any]) -> None:
+ names = study.PAIRS[pair]
+ rows = result["rows"]
+ print(f"{names.cheap_name} (cheap) -> {names.strong_name} (strong), {result['held']} held-out requests")
+ print(f"knn20 threshold {result['tau']:.4f}; router ${result['router_per_1k']:.3f} per 1,000, included\n")
+ table = [
+ (f"Always {names.strong_name}", rows["always_strong"]),
+ ("SIE router (knn20)", rows["router"]),
+ (f"Random at the same {percent(rows['router']['cheap_share'])}", rows["random_same_share"]),
+ (f"Always {names.cheap_name}", rows["always_cheap"]),
+ ]
+ print(f" {'Strategy':<26}{'per 1,000':>10}{'Saving':>9}{'Quality':>9}{'To cheap':>10}")
+ for label, row in table:
+ saving = "-" if label.startswith(f"Always {names.strong_name}") else percent(row["saving_vs_strong"])
+ print(
+ f" {label:<26}{money(row['cost_per_1k']):>10}{saving:>9}"
+ f"{percent(row['quality_vs_strong']):>9}{percent(row['cheap_share']):>10}"
+ )
+ print()
+
+
+def main() -> int:
+ parser = argparse.ArgumentParser(description=__doc__, formatter_class=argparse.RawDescriptionHelpFormatter)
+ parser.add_argument("--evidence", type=Path, default=study.EVIDENCE, help="directory written by fetch.py")
+ args = parser.parse_args()
+ try:
+ s = study.load_study(args.evidence)
+ except (OSError, ValueError) as error:
+ print(f"Evidence check failed: {error}", file=sys.stderr)
+ return 1
+ failures: list[str] = []
+ if s.results.get("selected_sie_router") != study.ROUTER:
+ failures.append(f"results.json selected {s.results.get('selected_sie_router')!r}, not {study.ROUTER}")
+ if s.results["n"] != {"calibration": int(s.calibration.sum()), "heldout": int((~s.calibration).sum())}:
+ failures.append("calibration and held-out counts differ from results.json")
+ results = {pair: check_pair(s, pair, failures) for pair in study.PAIRS}
+ for pair, result in results.items():
+ report(pair, result)
+ print(
+ "Quality is routed quality as a share of always-strong quality on the same requests.\n"
+ "Cost is list price, with no caching or batch discount."
+ )
+ if failures:
+ print("\nMISMATCH:\n " + "\n ".join(failures), file=sys.stderr)
+ return 1
+ n = len(s.ids)
+ print(f"\nRecomputed {n:,} knn20 scores per pair and both thresholds. Every figure matches results.json.")
+ return 0
+
+
+if __name__ == "__main__":
+ sys.exit(main())
diff --git a/examples/request-routing/cost/study.py b/examples/request-routing/cost/study.py
new file mode 100644
index 000000000..230e78e8b
--- /dev/null
+++ b/examples/request-routing/cost/study.py
@@ -0,0 +1,257 @@
+"""The cost-routing study this example reproduces, its pinned evidence and its selected router.
+
+Shared by fetch.py, score.py and run.py.
+
+The router is `knn20` from the study's code/analyze.py (`router_scores`):
+normalise each BAAI/bge-m3 dense vector, take the 20 most similar calibration
+requests by cosine, weight each by max(cos, 0) and average their labels,
+y = 1 - max(0, q_strong - q_cheap). A request goes to the cheap model when that
+score is at least the pair's threshold, which the study chose on calibration.
+"""
+
+from __future__ import annotations
+
+import gzip
+import hashlib
+import json
+import re
+from dataclasses import dataclass
+from pathlib import Path
+from typing import Any
+
+import numpy as np
+
+HERE = Path(__file__).resolve().parent
+EVIDENCE = HERE / "evidence"
+
+DATASET = "superlinked/sie-task-evidence"
+REVISION = "95d34b775b61bf1d584cada099bfed053710fc2b"
+FOLDER = "evaluations/2026-10-11/request-routing-cost-results-v1"
+MANIFEST = "MANIFEST.json"
+# SHA-256 of MANIFEST.json at REVISION. The manifest lists the SHA-256 of every other file.
+MANIFEST_SHA256 = "82f870f6a64916aa4e217eea03df8f17d3355f06f2c6e2718064b795c40de713"
+FILES = (
+ "results.json",
+ "items-openai.jsonl",
+ "items-anthropic.jsonl",
+ "inputs/items.jsonl",
+ "records/routers/bge.jsonl.gz",
+)
+
+EMBEDDER = "BAAI/bge-m3"
+ROUTER = "knn20"
+K = 20
+SIE_USD_PER_CREDIT = 0.00001 # code/arms.py: 1 SIE credit = USD 0.00001
+
+
+@dataclass(frozen=True)
+class Pair:
+ cheap: str
+ strong: str
+ cheap_name: str
+ strong_name: str
+
+
+# Model ids as code/arms.py sent them.
+PAIRS = {
+ "openai": Pair("gpt-6-luna", "gpt-6.1-sol", "GPT-6 Luna", "GPT-6.1 Sol"),
+ "anthropic": Pair("claude-haiku-5-5", "claude-sonnet-5-5", "Claude Haiku 5.5", "Claude Sonnet 5.5"),
+}
+
+
+class EvidenceError(ValueError):
+ """The evidence is missing, altered or not from the pinned revision."""
+
+
+def sha256(data: bytes) -> str:
+ return hashlib.sha256(data).hexdigest()
+
+
+def manifest_entries(body: bytes) -> dict[str, tuple[str, int]]:
+ """Check MANIFEST.json against its pinned digest; return (sha256, bytes) for each file this example uses."""
+ if sha256(body) != MANIFEST_SHA256:
+ raise EvidenceError(f"{MANIFEST} does not match the pinned SHA-256 {MANIFEST_SHA256}")
+ manifest = json.loads(body)
+ listed = manifest.get("files") if isinstance(manifest, dict) else None
+ if not isinstance(listed, dict):
+ raise EvidenceError(f"{MANIFEST} has no files table")
+ entries: dict[str, tuple[str, int]] = {}
+ for name in FILES:
+ entry = listed.get(name)
+ if not isinstance(entry, dict):
+ raise EvidenceError(f"{name}: not listed in {MANIFEST}")
+ digest, size = entry.get("sha256"), entry.get("bytes")
+ if not isinstance(digest, str) or re.fullmatch(r"[0-9a-f]{64}", digest) is None:
+ raise EvidenceError(f"{name}: {MANIFEST} lists an invalid SHA-256")
+ if type(size) is not int or size < 0:
+ raise EvidenceError(f"{name}: {MANIFEST} lists an invalid size")
+ entries[name] = (digest, size)
+ return entries
+
+
+def check_file(name: str, data: bytes, entry: tuple[str, int]) -> None:
+ digest, size = entry
+ if len(data) != size:
+ raise EvidenceError(f"{name}: {len(data)} bytes, {MANIFEST} lists {size}")
+ if sha256(data) != digest:
+ raise EvidenceError(f"{name}: SHA-256 differs from {MANIFEST}")
+
+
+def verify_evidence(directory: Path) -> None:
+ """Raise EvidenceError unless the directory holds the pinned manifest and every file matches it."""
+ manifest = directory / MANIFEST
+ if not manifest.is_file():
+ raise EvidenceError(f"{directory} has no {MANIFEST}; run fetch.py first")
+ for name, entry in manifest_entries(manifest.read_bytes()).items():
+ path = directory / name
+ if not path.is_file():
+ raise EvidenceError(f"{name}: missing from {directory}; run fetch.py first")
+ check_file(name, path.read_bytes(), entry)
+
+
+def labels(q_cheap: np.ndarray, q_strong: np.ndarray) -> np.ndarray:
+ """Router target: 1 when the cheap answer is as good as the strong one, lower by the quality it loses."""
+ return 1.0 - np.maximum(0.0, q_strong - q_cheap)
+
+
+def normalise(vectors: np.ndarray) -> np.ndarray:
+ v = np.asarray(vectors, dtype=np.float64)
+ if not np.all(np.isfinite(v)):
+ raise ValueError("vector has a non-finite value")
+ norms = np.linalg.norm(v, axis=-1, keepdims=True)
+ if np.any(norms == 0):
+ raise ValueError("vector has zero length")
+ return v / norms
+
+
+def knn_score(similarities: np.ndarray, bank_labels: np.ndarray, k: int = K) -> float:
+ """The kNN score of code/analyze.py for one request, from its cosine similarity to each bank request."""
+ top = np.argsort(-similarities)[:k]
+ weights = np.maximum(similarities[top], 0.0)
+ if weights.sum() > 0:
+ return float(np.sum(weights * bank_labels[top]) / np.sum(weights))
+ return float(np.mean(bank_labels[top]))
+
+
+def routes_cheap(score: float, tau: float | None) -> bool:
+ """Cheap model when score >= tau. The study records a threshold of null as never routing cheap."""
+ return tau is not None and score >= tau
+
+
+@dataclass(frozen=True)
+class Outcomes:
+ """One pair's recorded per-request quality and list cost, aligned with Study.ids."""
+
+ q_cheap: np.ndarray
+ q_strong: np.ndarray
+ usd_cheap: np.ndarray
+ usd_strong: np.ndarray
+ usd_router: np.ndarray
+ score: np.ndarray
+ route: list[str]
+
+
+@dataclass(frozen=True)
+class Study:
+ ids: list[str]
+ prompts: list[str]
+ strata: np.ndarray
+ calibration: np.ndarray
+ raw_vectors: np.ndarray
+ vectors: np.ndarray
+ credits: np.ndarray
+ pairs: dict[str, Outcomes]
+ results: dict[str, Any]
+
+ def index(self, item_id: str) -> int:
+ try:
+ return self.ids.index(item_id)
+ except ValueError:
+ raise KeyError(f"{item_id} is not a study request") from None
+
+
+def read_jsonl(path: Path) -> list[dict[str, Any]]:
+ opener = gzip.open if path.suffix == ".gz" else open
+ with opener(path, "rt", encoding="utf-8") as handle:
+ return [json.loads(line) for line in handle if line.strip()]
+
+
+def load_study(directory: Path = EVIDENCE) -> Study:
+ """Verify the evidence, then load it in the item order of inputs/items.jsonl, as analyze.py did."""
+ verify_evidence(directory)
+ items = read_jsonl(directory / "inputs/items.jsonl")
+ ids = [item["id"] for item in items]
+ if len(set(ids)) != len(ids):
+ raise EvidenceError("inputs/items.jsonl repeats a request id")
+ # analyze.py keeps the last bge row per id. The file also holds the pilot items the amendment swapped out.
+ bge = {row["id"]: row for row in read_jsonl(directory / "records/routers/bge.jsonl.gz")}
+ if any("vector" not in bge.get(i, {}) for i in ids):
+ raise EvidenceError("records/routers/bge.jsonl.gz lacks a vector for a study request")
+ raw = np.array([bge[i]["vector"] for i in ids], dtype=np.float64)
+ credits = np.array([(bge[i].get("usage") or {}).get("credits_charged", 0) for i in ids], dtype=np.float64)
+ pairs = {}
+ for pair in PAIRS:
+ rows = read_jsonl(directory / f"items-{pair}.jsonl")
+ if [(r["id"], r["split"], r["stratum"]) for r in rows] != [(i["id"], i["split"], i["stratum"]) for i in items]:
+ raise EvidenceError(f"items-{pair}.jsonl does not follow inputs/items.jsonl")
+ pairs[pair] = Outcomes(
+ q_cheap=np.array([r["q_cheap"] for r in rows], dtype=np.float64),
+ q_strong=np.array([r["q_strong"] for r in rows], dtype=np.float64),
+ usd_cheap=np.array([r["usd_cheap"] for r in rows], dtype=np.float64),
+ usd_strong=np.array([r["usd_strong"] for r in rows], dtype=np.float64),
+ usd_router=np.array([r["usd_router"] for r in rows], dtype=np.float64),
+ score=np.array([r["score"] for r in rows], dtype=np.float64),
+ route=[r["route"] for r in rows],
+ )
+ return Study(
+ ids=ids,
+ prompts=[item["prompt"] for item in items],
+ strata=np.array([item["stratum"] for item in items]),
+ calibration=np.array([item["split"] == "calibration" for item in items]),
+ raw_vectors=raw,
+ vectors=normalise(raw),
+ credits=credits,
+ pairs=pairs,
+ results=json.loads((directory / "results.json").read_text(encoding="utf-8")),
+ )
+
+
+@dataclass(frozen=True)
+class Bank:
+ """What routing a new request needs: calibration vectors, their labels for one pair, and its threshold."""
+
+ pair: str
+ ids: list[str]
+ vectors: np.ndarray
+ labels: np.ndarray
+ tau: float | None
+
+ def score(self, vector: np.ndarray, exclude: str | None = None) -> float:
+ """knn20 score of one dense vector. `exclude` drops a bank request, as the study did for its own."""
+ similarities = self.vectors @ normalise(vector)
+ keep = np.array([i != exclude for i in self.ids])
+ return knn_score(similarities[keep], self.labels[keep])
+
+ def route(self, vector: np.ndarray, exclude: str | None = None) -> dict[str, Any]:
+ score = self.score(vector, exclude)
+ cheap = routes_cheap(score, self.tau)
+ models = PAIRS[self.pair]
+ return {
+ "pair": self.pair,
+ "score": score,
+ "tau": self.tau,
+ "route": "cheap" if cheap else "strong",
+ "model": models.cheap if cheap else models.strong,
+ }
+
+
+def bank(study: Study, pair: str) -> Bank:
+ outcomes = study.pairs[pair]
+ cal = study.calibration
+ return Bank(
+ pair=pair,
+ ids=[i for i, is_cal in zip(study.ids, cal, strict=True) if is_cal],
+ vectors=study.vectors[cal],
+ labels=labels(outcomes.q_cheap, outcomes.q_strong)[cal],
+ tau=study.results["calibration"][pair][ROUTER]["tau"],
+ )
diff --git a/examples/request-routing/cost/tests/test_cost_routing.py b/examples/request-routing/cost/tests/test_cost_routing.py
new file mode 100644
index 000000000..cae4913ec
--- /dev/null
+++ b/examples/request-routing/cost/tests/test_cost_routing.py
@@ -0,0 +1,263 @@
+"""Offline tests: the knn20 scoring and routing rule on a tiny synthetic bank, and evidence verification.
+
+The banks, manifests and files here are synthetic fixtures, not study data.
+"""
+
+import json
+import os
+import tempfile
+import unittest
+from pathlib import Path
+from unittest import mock
+
+import httpx
+import msgpack
+import msgpack_numpy
+import numpy as np
+from sie_sdk import SIEClient
+
+import fetch
+import run
+import score
+import study
+
+
+def unit(*values: float) -> np.ndarray:
+ v = np.array(values, dtype=np.float64)
+ return v / np.linalg.norm(v)
+
+
+class KnnScoreTests(unittest.TestCase):
+ def test_weights_the_k_most_similar_labels_by_cosine(self) -> None:
+ similarities = np.array([0.9, 0.1, 0.5, 0.7])
+ y = np.array([1.0, 0.0, 0.0, 0.5])
+ # The two nearest are 0.9 (y=1) and 0.7 (y=0.5).
+ self.assertAlmostEqual(study.knn_score(similarities, y, k=2), (0.9 * 1.0 + 0.7 * 0.5) / (0.9 + 0.7))
+
+ def test_negative_cosines_carry_no_weight(self) -> None:
+ similarities = np.array([0.4, -0.8])
+ y = np.array([1.0, 0.0])
+ self.assertEqual(study.knn_score(similarities, y, k=2), 1.0)
+
+ def test_falls_back_to_the_plain_mean_when_no_neighbour_is_positive(self) -> None:
+ similarities = np.array([-0.1, -0.2, 0.0])
+ y = np.array([1.0, 0.0, 0.5])
+ self.assertAlmostEqual(study.knn_score(similarities, y, k=2), 0.75)
+
+ def test_label_is_one_unless_the_strong_answer_is_better(self) -> None:
+ q_cheap = np.array([1.0, 0.0, 1.0, 0.25])
+ q_strong = np.array([1.0, 1.0, 0.0, 0.75])
+ np.testing.assert_array_equal(study.labels(q_cheap, q_strong), [1.0, 0.0, 1.0, 0.5])
+
+
+class RoutingRuleTests(unittest.TestCase):
+ def test_score_at_the_threshold_goes_cheap(self) -> None:
+ self.assertTrue(study.routes_cheap(0.95, 0.95))
+ self.assertFalse(study.routes_cheap(0.9499, 0.95))
+
+ def test_null_threshold_never_goes_cheap(self) -> None:
+ self.assertFalse(study.routes_cheap(1.0, None))
+
+ def tiny_bank(self, pair: str = "openai", tau: float = 0.75) -> study.Bank:
+ vectors = np.array([unit(1, 0, 0), unit(1, 0.2, 0), unit(0, 1, 0), unit(0, 0, 1)])
+ return study.Bank(pair, ["a", "b", "c", "d"], vectors, np.array([1.0, 1.0, 0.0, 0.0]), tau)
+
+ def test_bank_routes_a_request_near_cheap_wins_to_the_cheap_model(self) -> None:
+ decision = self.tiny_bank().route(np.array([3.0, 0.1, 0.0]))
+ self.assertEqual(decision["route"], "cheap")
+ self.assertEqual(decision["model"], "gpt-6-luna")
+ self.assertGreaterEqual(decision["score"], decision["tau"])
+
+ def test_bank_routes_a_request_near_strong_wins_to_the_strong_model(self) -> None:
+ decision = self.tiny_bank(pair="anthropic").route(np.array([0.0, 2.0, 0.1]))
+ self.assertEqual(decision["route"], "strong")
+ self.assertEqual(decision["model"], "claude-sonnet-5-5")
+
+ def test_bank_can_leave_out_its_own_request(self) -> None:
+ bank = self.tiny_bank()
+ with_self = bank.score(unit(0, 0, 1))
+ without_self = bank.score(unit(0, 0, 1), exclude="d")
+ self.assertEqual(with_self, 0.0)
+ # Without "d", the only positive neighbours left are orthogonal, so every weight is zero: plain mean.
+ self.assertAlmostEqual(without_self, 2 / 3)
+
+ def test_rejects_a_zero_or_non_finite_vector(self) -> None:
+ for vector in (np.zeros(3), np.array([1.0, np.nan, 0.0])):
+ with self.subTest(vector=vector), self.assertRaises(ValueError):
+ self.tiny_bank().score(vector)
+
+
+class StudyRuleTests(unittest.TestCase):
+ def outcomes(self) -> study.Outcomes:
+ n = 4
+ return study.Outcomes(
+ q_cheap=np.array([1.0, 1.0, 0.0, 1.0]),
+ q_strong=np.array([1.0, 1.0, 1.0, 1.0]),
+ usd_cheap=np.full(n, 0.001),
+ usd_strong=np.full(n, 0.01),
+ usd_router=np.zeros(n),
+ score=np.zeros(n),
+ route=["strong"] * n,
+ )
+
+ def test_leave_one_out_scores_skip_the_request_itself(self) -> None:
+ vectors = np.array([unit(1, 0), unit(1, 0.01), unit(0, 1)])
+ y = np.array([1.0, 0.0, 0.5])
+ scores = score.leave_one_out_scores(vectors, y, np.array([True, True, False]), k=1)
+ np.testing.assert_array_equal(scores, [0.0, 1.0, 0.0])
+
+ def test_threshold_is_the_cheapest_that_keeps_98_percent(self) -> None:
+ o = self.outcomes()
+ scores = np.array([0.9, 0.8, 0.7, 0.6])
+ mask = np.ones(4, bool)
+ # Sending the 0.7 request cheap costs a quarter of quality, so the threshold stops above it.
+ self.assertEqual(score.choose_tau(o, scores, np.zeros(4), mask), 0.8)
+
+ def test_threshold_is_infinite_when_nothing_can_go_cheap(self) -> None:
+ o = self.outcomes()
+ scores = np.array([0.1, 0.1, 0.9, 0.1])
+ self.assertEqual(score.choose_tau(o, scores, np.zeros(4), np.ones(4, bool)), np.inf)
+
+ def test_summary_includes_the_router_cost(self) -> None:
+ o = self.outcomes()
+ quality, cost, cheap = score.routed(o, np.array([0.9, 0.8, 0.7, 0.6]), np.full(4, 0.0001), 0.8)
+ row = score.summarize(o, quality, cost, cheap, np.ones(4, bool))
+ self.assertAlmostEqual(row["cost_per_1k"], 1000 * (2 * 0.001 + 2 * 0.01 + 4 * 0.0001) / 4)
+ self.assertAlmostEqual(row["cheap_share"], 0.5)
+ self.assertAlmostEqual(row["quality_vs_strong"], 1.0)
+
+
+class FakeEncoder:
+ def __init__(self) -> None:
+ self.calls: list[tuple[str, dict]] = []
+
+ def encode(self, model: str, items: dict) -> dict:
+ self.calls.append((model, items))
+ return {"dense": np.array([0.5, 0.5], dtype=np.float32)}
+
+
+class EmbedTests(unittest.TestCase):
+ def test_embeds_one_text_item_with_bge_m3(self) -> None:
+ client = FakeEncoder()
+ vector = run.embed(client, "Solve for x")
+ self.assertEqual(client.calls, [("BAAI/bge-m3", {"text": "Solve for x"})])
+ self.assertEqual(vector.dtype, np.float64)
+
+ def test_default_client_sends_one_encode_request_to_sie_serverless(self) -> None:
+ calls: list[httpx.Request] = []
+ dense = np.array([0.6, 0.8, 0.0], dtype=np.float32)
+
+ def respond(request: httpx.Request) -> httpx.Response:
+ calls.append(request)
+ body = {"model": "BAAI/bge-m3", "items": [{"dense": {"dims": 3, "dtype": "float32", "values": dense}}]}
+ return httpx.Response(
+ 200,
+ headers={"Content-Type": "application/msgpack"},
+ content=msgpack.packb(body, default=msgpack_numpy.encode, use_bin_type=True),
+ )
+
+ transport = httpx.Client(base_url="https://api.superlinked.com", transport=httpx.MockTransport(respond))
+ with (
+ mock.patch.dict(os.environ, {"SIE_API_KEY": "test-key"}, clear=True),
+ SIEClient(http_client=transport) as c,
+ ):
+ vector = run.embed(c, "Solve for x")
+ self.assertEqual(len(calls), 1)
+ self.assertEqual(calls[0].url.host, "api.superlinked.com")
+ self.assertEqual(calls[0].url.path, "/v1/encode/BAAI/bge-m3")
+ self.assertEqual(calls[0].headers["authorization"], "Bearer test-key")
+ self.assertEqual(msgpack.unpackb(calls[0].content, raw=False)["items"], [{"text": "Solve for x"}])
+ np.testing.assert_array_equal(vector, dense.astype(np.float64))
+
+
+class EvidenceTests(unittest.TestCase):
+ def fixture(self) -> tuple[dict[str, bytes], bytes]:
+ files = {name: f"synthetic {name}\n".encode() for name in study.FILES}
+ entries = {name: {"bytes": len(body), "sha256": study.sha256(body)} for name, body in files.items()}
+ entries["unused.json"] = {"bytes": 1, "sha256": "0" * 64}
+ manifest = json.dumps({"schema": "test", "files": entries}).encode()
+ return files, manifest
+
+ def serve(self, files: dict[str, bytes], manifest: bytes):
+ by_url = {fetch.url(name): body for name, body in files.items()} | {fetch.url(study.MANIFEST): manifest}
+ requested: list[str] = []
+
+ def download(address: str, max_bytes: int) -> bytes:
+ requested.append(address)
+ return by_url[address]
+
+ return download, requested
+
+ def test_pinned_revision_and_manifest_digest(self) -> None:
+ self.assertEqual(study.REVISION, "95d34b775b61bf1d584cada099bfed053710fc2b")
+ self.assertEqual(study.MANIFEST_SHA256, "82f870f6a64916aa4e217eea03df8f17d3355f06f2c6e2718064b795c40de713")
+ self.assertTrue(fetch.url("results.json").startswith(f"https://huggingface.co/datasets/{study.DATASET}/"))
+ self.assertIn(f"/resolve/{study.REVISION}/{study.FOLDER}/results.json", fetch.url("results.json"))
+
+ def test_manifest_must_match_its_pinned_digest(self) -> None:
+ _, manifest = self.fixture()
+ with self.assertRaises(study.EvidenceError):
+ study.manifest_entries(manifest)
+ with mock.patch.object(study, "MANIFEST_SHA256", study.sha256(manifest)):
+ self.assertEqual(set(study.manifest_entries(manifest)), set(study.FILES))
+
+ def test_manifest_must_list_every_file_used(self) -> None:
+ manifest = json.dumps({"files": {"results.json": {"bytes": 1, "sha256": "0" * 64}}}).encode()
+ with (
+ mock.patch.object(study, "MANIFEST_SHA256", study.sha256(manifest)),
+ self.assertRaises(study.EvidenceError),
+ ):
+ study.manifest_entries(manifest)
+
+ def test_file_must_match_its_size_and_digest(self) -> None:
+ body = b"recorded"
+ entry = (study.sha256(body), len(body))
+ study.check_file("results.json", body, entry)
+ for altered in (b"recorded!", b"Recorded"):
+ with self.subTest(altered=altered), self.assertRaises(study.EvidenceError):
+ study.check_file("results.json", altered, entry)
+
+ def test_fetch_downloads_verifies_and_never_overwrites(self) -> None:
+ files, manifest = self.fixture()
+ download, requested = self.serve(files, manifest)
+ with tempfile.TemporaryDirectory() as tmp, mock.patch.object(study, "MANIFEST_SHA256", study.sha256(manifest)):
+ destination = Path(tmp) / "evidence"
+ self.assertTrue(fetch.fetch(destination, download))
+ self.assertEqual(len(requested), len(study.FILES) + 1)
+ self.assertEqual((destination / "records/routers/bge.jsonl.gz").read_bytes(), files[study.FILES[-1]])
+ study.verify_evidence(destination)
+ self.assertFalse(fetch.fetch(destination, download))
+ self.assertEqual(len(requested), len(study.FILES) + 1)
+
+ (destination / "results.json").write_bytes(b"edited")
+ with self.assertRaises(study.EvidenceError):
+ study.verify_evidence(destination)
+ with self.assertRaises(study.EvidenceError):
+ fetch.fetch(destination, download)
+ self.assertEqual((destination / "results.json").read_bytes(), b"edited")
+
+ def test_fetch_leaves_nothing_behind_when_a_file_does_not_verify(self) -> None:
+ files, manifest = self.fixture()
+ tampered = files | {"items-openai.jsonl": b"tampered\n"}
+ download, _ = self.serve(tampered, manifest)
+ with tempfile.TemporaryDirectory() as tmp, mock.patch.object(study, "MANIFEST_SHA256", study.sha256(manifest)):
+ destination = Path(tmp) / "evidence"
+ with self.assertRaises(study.EvidenceError):
+ fetch.fetch(destination, download)
+ self.assertEqual(list(Path(tmp).iterdir()), [])
+
+ def test_fetch_rejects_a_manifest_that_is_not_the_pinned_one(self) -> None:
+ files, manifest = self.fixture()
+ download, requested = self.serve(files, manifest)
+ with tempfile.TemporaryDirectory() as tmp:
+ with self.assertRaises(study.EvidenceError):
+ fetch.fetch(Path(tmp) / "evidence", download)
+ self.assertEqual(requested, [fetch.url(study.MANIFEST)])
+
+ def test_scoring_refuses_unverified_evidence(self) -> None:
+ with tempfile.TemporaryDirectory() as tmp, self.assertRaises(study.EvidenceError):
+ study.load_study(Path(tmp))
+
+
+if __name__ == "__main__":
+ unittest.main()
diff --git a/examples/request-routing/cost/uv.lock b/examples/request-routing/cost/uv.lock
new file mode 100644
index 000000000..dd3a21a04
--- /dev/null
+++ b/examples/request-routing/cost/uv.lock
@@ -0,0 +1,430 @@
+version = 1
+revision = 3
+requires-python = "==3.12.*"
+
+[[package]]
+name = "aiohappyeyeballs"
+version = "2.7.1"
+source = { registry = "https://pypi.org/simple" }
+sdist = { url = "https://files.pythonhosted.org/packages/ce/f4/eec0465c2f67b2664688d0240b3212d5196fd89e741df67ddb81f8d35658/aiohappyeyeballs-2.7.1.tar.gz", hash = "sha256:065665c041c42a5938ed220bdcd7230f22527fbec085e1853d2402c8a3615d9d", size = 24757, upload-time = "2026-07-01T17:11:55.501Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/71/43/1947f06babed6b3f1d7f38b0c767f52df66bfb2bc10b468c4a7de9eceff2/aiohappyeyeballs-2.7.1-py3-none-any.whl", hash = "sha256:9243213661e29250eb41368e5daa826fc017156c3b8a11440826b2e3ed376472", size = 15038, upload-time = "2026-07-01T17:11:54.055Z" },
+]
+
+[[package]]
+name = "aiohttp"
+version = "3.14.5"
+source = { registry = "https://pypi.org/simple" }
+dependencies = [
+ { name = "aiohappyeyeballs" },
+ { name = "aiosignal" },
+ { name = "attrs" },
+ { name = "frozenlist" },
+ { name = "multidict" },
+ { name = "propcache" },
+ { name = "typing-extensions" },
+ { name = "yarl" },
+]
+sdist = { url = "https://files.pythonhosted.org/packages/6c/4c/bdccd81e9ee225b69c60e7766c9a5b05364f118f4d383713b89a682d772d/aiohttp-3.14.5.tar.gz", hash = "sha256:5558a7f5a05af9ecf744af91e5baefc436f93c9333e656c27ec253f9a6bbe178", size = 8078052, upload-time = "2026-10-11T01:05:12.408Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/d5/94/6ba86efddcb616c811b40e6a0dfdd862738f647e4e3860a961075d5e9ed8/aiohttp-3.14.5-cp312-cp312-macosx_10_13_universal2.whl", hash = "sha256:df37b620684e19b5e25724412518ccafc3b1a49cdac706fdbd2f983fad943450", size = 817499, upload-time = "2026-10-11T01:00:18.901Z" },
+ { url = "https://files.pythonhosted.org/packages/5e/e1/7bca6d84dabd228aa8eb4b7f9feac2586aaa9be5505d7d65bf287a615c43/aiohttp-3.14.5-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:ef60869969180ec2464f1349aff07138ae35ca2200f0946cb3552e49e8f301a8", size = 549467, upload-time = "2026-10-11T01:00:20.854Z" },
+ { url = "https://files.pythonhosted.org/packages/64/91/11b89f45ca486252dd67dd5f3231fec04bf5518da39a95cb3997619f17fb/aiohttp-3.14.5-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:d079c0a0135c36e7beb6f1c88087c8f108dc5891cdd0b5eafa778421bda70ed2", size = 548067, upload-time = "2026-10-11T01:00:22.659Z" },
+ { url = "https://files.pythonhosted.org/packages/22/ff/c6615806c14aab34f82b9424ccde8ce6e417315fd57ce1c5b4d4747888e1/aiohttp-3.14.5-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:abfda5cb094a829f7bc25216a32f7db2e85cc65bd59910f8e7b40b3d9b224764", size = 1896245, upload-time = "2026-10-11T01:00:24.638Z" },
+ { url = "https://files.pythonhosted.org/packages/39/b2/25a8c971ae6a92c8394d77e42422d7f38989e05cf41a5ceb92d73d67ab7e/aiohttp-3.14.5-cp312-cp312-manylinux2014_armv7l.manylinux_2_17_armv7l.manylinux_2_31_armv7l.whl", hash = "sha256:9cc882cf8619109583c906b4d4a85d6a111a98afa34b7a450d1e08118d016820", size = 1872180, upload-time = "2026-10-11T01:00:26.838Z" },
+ { url = "https://files.pythonhosted.org/packages/2f/d5/99f93ea36cc5205e47c1e5a803e087f2ad21b5430b5db2e942cb6e988a37/aiohttp-3.14.5-cp312-cp312-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:7457580535e019e1247ea35d6a02bf081ad30c26d0cbc210c93f6c3ab67a0835", size = 1937261, upload-time = "2026-10-11T01:00:28.74Z" },
+ { url = "https://files.pythonhosted.org/packages/40/a6/9ac9c9e6695040bd73d2584a1b59a9388f6433c76d5294a7bf591e21ffe5/aiohttp-3.14.5-cp312-cp312-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:c5ed596aedb9c42afd3fe0aae3117725378ac73d2cc5ddc735056fbdb96c5d02", size = 2064994, upload-time = "2026-10-11T01:00:30.623Z" },
+ { url = "https://files.pythonhosted.org/packages/da/e4/aa172eb534b7f02f1f8ff1c3213347eaf3cf218db91a727c6863c22f1035/aiohttp-3.14.5-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:20f085697d7e911f1f73c43ed03fafbed1e7121797e2eb5428efa80398060584", size = 1919630, upload-time = "2026-10-11T01:00:32.548Z" },
+ { url = "https://files.pythonhosted.org/packages/06/7d/4eedafc5bababa8932636c141e346806966eade12c0b7e5946d43bf8218b/aiohttp-3.14.5-cp312-cp312-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:74b0a9c8270f9b0a11410e124ff8d4f18bfc1f1837440ec84da5ae7b50927b5d", size = 1710016, upload-time = "2026-10-11T01:00:34.471Z" },
+ { url = "https://files.pythonhosted.org/packages/b2/94/eee018537ba19da0ceb2ac79cab83faed4ac49568e08376e2799043f2538/aiohttp-3.14.5-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:19e2ba471507c34f8252402ab50f5ab512398b9ea8c8f1cb26beb3f75793ba30", size = 1858112, upload-time = "2026-10-11T01:00:36.581Z" },
+ { url = "https://files.pythonhosted.org/packages/68/76/354653a306547238f3427283905972d796ba7c292ba9977abec9f2b6f260/aiohttp-3.14.5-cp312-cp312-musllinux_1_2_armv7l.whl", hash = "sha256:d418ce2af40c6bb685b3f663e9e8de27cb0a22431d8e88a167348d7f01878073", size = 1896371, upload-time = "2026-10-11T01:00:38.478Z" },
+ { url = "https://files.pythonhosted.org/packages/f2/ec/63e8c7136b570e356345ad3174e3820fdc973ea10712cb6c649bf875755a/aiohttp-3.14.5-cp312-cp312-musllinux_1_2_ppc64le.whl", hash = "sha256:70cb4008ac2ed1e0ca9e824deb4b53d3aa0d939109698ebf1e723a84337bd794", size = 1905836, upload-time = "2026-10-11T01:00:40.527Z" },
+ { url = "https://files.pythonhosted.org/packages/57/d8/11365bda144b127928cd42533d0eff78a55613c9e28f81941bd6630ea887/aiohttp-3.14.5-cp312-cp312-musllinux_1_2_riscv64.whl", hash = "sha256:a23fe35d776bc03cb495938b9594450d047e3bc08c5255315a82323e9cb7d2dd", size = 1696534, upload-time = "2026-10-11T01:00:42.686Z" },
+ { url = "https://files.pythonhosted.org/packages/2f/3d/82df0461b18e00b2998f205c03e0d3010222478c43640aceb8e03dcd7e8f/aiohttp-3.14.5-cp312-cp312-musllinux_1_2_s390x.whl", hash = "sha256:3e0eb43bed3c6801a6cee315195377789e90b2a72c2277a475b578535312488d", size = 1933970, upload-time = "2026-10-11T01:00:44.71Z" },
+ { url = "https://files.pythonhosted.org/packages/03/ad/6ddfe0aacd931c17b53533336d97e9d11a98b96d6ae815a9da0b19f82ccf/aiohttp-3.14.5-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:3be7dd397d64ca3e1869626fa9318aaebb54b7bf93bc72d7a205448d83e4f748", size = 1899501, upload-time = "2026-10-11T01:00:46.629Z" },
+ { url = "https://files.pythonhosted.org/packages/9e/8e/189bdd9ae4793059bb09f6dc880f211a6c6c7859cebcbf33912dbfab7dd7/aiohttp-3.14.5-cp312-cp312-win32.whl", hash = "sha256:eb324e2009fb54db30a071dad7caf6998ee2879c4704007efb244514dad1fec1", size = 480370, upload-time = "2026-10-11T01:00:48.468Z" },
+ { url = "https://files.pythonhosted.org/packages/ae/ce/1f08114679d49655b30a6e0a29858375c94b82c1de1a0bd0a20c2fee8b02/aiohttp-3.14.5-cp312-cp312-win_amd64.whl", hash = "sha256:2cc38a4f2b516bef1714e690df87a0e043faf1a7693c82d860091684453d5111", size = 506141, upload-time = "2026-10-11T01:00:50.272Z" },
+ { url = "https://files.pythonhosted.org/packages/79/d4/c7b4f60b16a1b7e43249fa9031ae05e7e8c341ba4b7d1866f914dafeaa0e/aiohttp-3.14.5-cp312-cp312-win_arm64.whl", hash = "sha256:a63afd1f757de949028387e65a7127b61ad0f775432dbb0e62816ae619fe69ac", size = 488108, upload-time = "2026-10-11T01:00:52.321Z" },
+ { url = "https://files.pythonhosted.org/packages/68/30/173960c42b05a6c59f7558e4b12a4b0d9ba376cf6aa9bde7f9e08a30ca8d/aiohttp-3.14.5-py3-none-any.whl", hash = "sha256:efc21a454892828368b11c2c780de0ff8bc991f73f6b99c6b66e56205470929b", size = 279517, upload-time = "2026-10-11T01:05:08.523Z" },
+]
+
+[[package]]
+name = "aiosignal"
+version = "1.4.0"
+source = { registry = "https://pypi.org/simple" }
+dependencies = [
+ { name = "frozenlist" },
+ { name = "typing-extensions" },
+]
+sdist = { url = "https://files.pythonhosted.org/packages/61/62/06741b579156360248d1ec624842ad0edf697050bbaf7c3e46394e106ad1/aiosignal-1.4.0.tar.gz", hash = "sha256:f47eecd9468083c2029cc99945502cb7708b082c232f9aca65da147157b251c7", size = 25007, upload-time = "2025-07-03T22:54:43.528Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/fb/76/641ae371508676492379f16e2fa48f4e2c11741bd63c48be4b12a6b09cba/aiosignal-1.4.0-py3-none-any.whl", hash = "sha256:053243f8b92b990551949e63930a839ff0cf0b0ebbe0597b0f3fb19e1a0fe82e", size = 7490, upload-time = "2025-07-03T22:54:42.156Z" },
+]
+
+[[package]]
+name = "anyio"
+version = "4.15.1"
+source = { registry = "https://pypi.org/simple" }
+dependencies = [
+ { name = "idna" },
+ { name = "typing-extensions" },
+]
+sdist = { url = "https://files.pythonhosted.org/packages/a9/d2/f4d173e22df740bc37b1db102b386ba719b66e95b0f0d751f556b387e6d2/anyio-4.15.1.tar.gz", hash = "sha256:9f28306018cbd6d329e64a36d58256edff76dd996fe423bc957326e578b82a94", size = 276966, upload-time = "2026-09-05T10:42:39.44Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/12/b8/4bd346e22b28902df4d651910f5242c28d84e4a5c2435ca5c3f797ed7e2e/anyio-4.15.1-py3-none-any.whl", hash = "sha256:6152fdbbf9a77fdec97731721bebf7c4c44f7c29b424b0065826173efc7ed101", size = 132079, upload-time = "2026-09-05T10:42:37.923Z" },
+]
+
+[[package]]
+name = "attrs"
+version = "26.1.0"
+source = { registry = "https://pypi.org/simple" }
+sdist = { url = "https://files.pythonhosted.org/packages/9a/8e/82a0fe20a541c03148528be8cac2408564a6c9a0cc7e9171802bc1d26985/attrs-26.1.0.tar.gz", hash = "sha256:d03ceb89cb322a8fd706d4fb91940737b6642aa36998fe130a9bc96c985eff32", size = 952055, upload-time = "2026-03-19T14:22:25.026Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/64/b4/17d4b0b2a2dc85a6df63d1157e028ed19f90d4cd97c36717afef2bc2f395/attrs-26.1.0-py3-none-any.whl", hash = "sha256:c647aa4a12dfbad9333ca4e71fe62ddc36f4e63b2d260a37a8b83d2f043ac309", size = 67548, upload-time = "2026-03-19T14:22:23.645Z" },
+]
+
+[[package]]
+name = "certifi"
+version = "2026.7.22"
+source = { registry = "https://pypi.org/simple" }
+sdist = { url = "https://files.pythonhosted.org/packages/a3/c2/24167ea9858356b47a87a50d39908bfdb72ceeefe0041586e704e5376b3a/certifi-2026.7.22.tar.gz", hash = "sha256:741e2c3b351ddf169a738da9f2c048608ff7f2c5cc02f1ebc6b118bb090d5d55", size = 138112, upload-time = "2026-07-22T03:35:12.644Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/0b/a7/71ac2cff56fec219ed242bb11b8efb69fcc4bec75db06fb7bfe35de520e6/certifi-2026.7.22-py3-none-any.whl", hash = "sha256:62f22742b58a1a33014a2b6b706588a8d7e2a88ae7bd1a6ebe8c992928483775", size = 136983, upload-time = "2026-07-22T03:35:11.276Z" },
+]
+
+[[package]]
+name = "frozenlist"
+version = "1.8.0"
+source = { registry = "https://pypi.org/simple" }
+sdist = { url = "https://files.pythonhosted.org/packages/2d/f5/c831fac6cc817d26fd54c7eaccd04ef7e0288806943f7cc5bbf69f3ac1f0/frozenlist-1.8.0.tar.gz", hash = "sha256:3ede829ed8d842f6cd48fc7081d7a41001a56f1f38603f9d49bf3020d59a31ad", size = 45875, upload-time = "2025-10-06T05:38:17.865Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/69/29/948b9aa87e75820a38650af445d2ef2b6b8a6fab1a23b6bb9e4ef0be2d59/frozenlist-1.8.0-cp312-cp312-macosx_10_13_universal2.whl", hash = "sha256:78f7b9e5d6f2fdb88cdde9440dc147259b62b9d3b019924def9f6478be254ac1", size = 87782, upload-time = "2025-10-06T05:36:06.649Z" },
+ { url = "https://files.pythonhosted.org/packages/64/80/4f6e318ee2a7c0750ed724fa33a4bdf1eacdc5a39a7a24e818a773cd91af/frozenlist-1.8.0-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:229bf37d2e4acdaf808fd3f06e854a4a7a3661e871b10dc1f8f1896a3b05f18b", size = 50594, upload-time = "2025-10-06T05:36:07.69Z" },
+ { url = "https://files.pythonhosted.org/packages/2b/94/5c8a2b50a496b11dd519f4a24cb5496cf125681dd99e94c604ccdea9419a/frozenlist-1.8.0-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:f833670942247a14eafbb675458b4e61c82e002a148f49e68257b79296e865c4", size = 50448, upload-time = "2025-10-06T05:36:08.78Z" },
+ { url = "https://files.pythonhosted.org/packages/6a/bd/d91c5e39f490a49df14320f4e8c80161cfcce09f1e2cde1edd16a551abb3/frozenlist-1.8.0-cp312-cp312-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl", hash = "sha256:494a5952b1c597ba44e0e78113a7266e656b9794eec897b19ead706bd7074383", size = 242411, upload-time = "2025-10-06T05:36:09.801Z" },
+ { url = "https://files.pythonhosted.org/packages/8f/83/f61505a05109ef3293dfb1ff594d13d64a2324ac3482be2cedc2be818256/frozenlist-1.8.0-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:96f423a119f4777a4a056b66ce11527366a8bb92f54e541ade21f2374433f6d4", size = 243014, upload-time = "2025-10-06T05:36:11.394Z" },
+ { url = "https://files.pythonhosted.org/packages/d8/cb/cb6c7b0f7d4023ddda30cf56b8b17494eb3a79e3fda666bf735f63118b35/frozenlist-1.8.0-cp312-cp312-manylinux2014_armv7l.manylinux_2_17_armv7l.manylinux_2_31_armv7l.whl", hash = "sha256:3462dd9475af2025c31cc61be6652dfa25cbfb56cbbf52f4ccfe029f38decaf8", size = 234909, upload-time = "2025-10-06T05:36:12.598Z" },
+ { url = "https://files.pythonhosted.org/packages/31/c5/cd7a1f3b8b34af009fb17d4123c5a778b44ae2804e3ad6b86204255f9ec5/frozenlist-1.8.0-cp312-cp312-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:c4c800524c9cd9bac5166cd6f55285957fcfc907db323e193f2afcd4d9abd69b", size = 250049, upload-time = "2025-10-06T05:36:14.065Z" },
+ { url = "https://files.pythonhosted.org/packages/c0/01/2f95d3b416c584a1e7f0e1d6d31998c4a795f7544069ee2e0962a4b60740/frozenlist-1.8.0-cp312-cp312-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:d6a5df73acd3399d893dafc71663ad22534b5aa4f94e8a2fabfe856c3c1b6a52", size = 256485, upload-time = "2025-10-06T05:36:15.39Z" },
+ { url = "https://files.pythonhosted.org/packages/ce/03/024bf7720b3abaebcff6d0793d73c154237b85bdf67b7ed55e5e9596dc9a/frozenlist-1.8.0-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:405e8fe955c2280ce66428b3ca55e12b3c4e9c336fb2103a4937e891c69a4a29", size = 237619, upload-time = "2025-10-06T05:36:16.558Z" },
+ { url = "https://files.pythonhosted.org/packages/69/fa/f8abdfe7d76b731f5d8bd217827cf6764d4f1d9763407e42717b4bed50a0/frozenlist-1.8.0-cp312-cp312-musllinux_1_2_armv7l.whl", hash = "sha256:908bd3f6439f2fef9e85031b59fd4f1297af54415fb60e4254a95f75b3cab3f3", size = 250320, upload-time = "2025-10-06T05:36:17.821Z" },
+ { url = "https://files.pythonhosted.org/packages/f5/3c/b051329f718b463b22613e269ad72138cc256c540f78a6de89452803a47d/frozenlist-1.8.0-cp312-cp312-musllinux_1_2_ppc64le.whl", hash = "sha256:294e487f9ec720bd8ffcebc99d575f7eff3568a08a253d1ee1a0378754b74143", size = 246820, upload-time = "2025-10-06T05:36:19.046Z" },
+ { url = "https://files.pythonhosted.org/packages/0f/ae/58282e8f98e444b3f4dd42448ff36fa38bef29e40d40f330b22e7108f565/frozenlist-1.8.0-cp312-cp312-musllinux_1_2_s390x.whl", hash = "sha256:74c51543498289c0c43656701be6b077f4b265868fa7f8a8859c197006efb608", size = 250518, upload-time = "2025-10-06T05:36:20.763Z" },
+ { url = "https://files.pythonhosted.org/packages/8f/96/007e5944694d66123183845a106547a15944fbbb7154788cbf7272789536/frozenlist-1.8.0-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:776f352e8329135506a1d6bf16ac3f87bc25b28e765949282dcc627af36123aa", size = 239096, upload-time = "2025-10-06T05:36:22.129Z" },
+ { url = "https://files.pythonhosted.org/packages/66/bb/852b9d6db2fa40be96f29c0d1205c306288f0684df8fd26ca1951d461a56/frozenlist-1.8.0-cp312-cp312-win32.whl", hash = "sha256:433403ae80709741ce34038da08511d4a77062aa924baf411ef73d1146e74faf", size = 39985, upload-time = "2025-10-06T05:36:23.661Z" },
+ { url = "https://files.pythonhosted.org/packages/b8/af/38e51a553dd66eb064cdf193841f16f077585d4d28394c2fa6235cb41765/frozenlist-1.8.0-cp312-cp312-win_amd64.whl", hash = "sha256:34187385b08f866104f0c0617404c8eb08165ab1272e884abc89c112e9c00746", size = 44591, upload-time = "2025-10-06T05:36:24.958Z" },
+ { url = "https://files.pythonhosted.org/packages/a7/06/1dc65480ab147339fecc70797e9c2f69d9cea9cf38934ce08df070fdb9cb/frozenlist-1.8.0-cp312-cp312-win_arm64.whl", hash = "sha256:fe3c58d2f5db5fbd18c2987cba06d51b0529f52bc3a6cdc33d3f4eab725104bd", size = 40102, upload-time = "2025-10-06T05:36:26.333Z" },
+ { url = "https://files.pythonhosted.org/packages/9a/9a/e35b4a917281c0b8419d4207f4334c8e8c5dbf4f3f5f9ada73958d937dcc/frozenlist-1.8.0-py3-none-any.whl", hash = "sha256:0c18a16eab41e82c295618a77502e17b195883241c563b00f0aa5106fc4eaa0d", size = 13409, upload-time = "2025-10-06T05:38:16.721Z" },
+]
+
+[[package]]
+name = "h11"
+version = "0.16.0"
+source = { registry = "https://pypi.org/simple" }
+sdist = { url = "https://files.pythonhosted.org/packages/01/ee/02a2c011bdab74c6fb3c75474d40b3052059d95df7e73351460c8588d963/h11-0.16.0.tar.gz", hash = "sha256:4e35b956cf45792e4caa5885e69fba00bdbc6ffafbfa020300e549b208ee5ff1", size = 101250, upload-time = "2025-04-24T03:35:25.427Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/04/4b/29cac41a4d98d144bf5f6d33995617b185d14b22401f75ca86f384e87ff1/h11-0.16.0-py3-none-any.whl", hash = "sha256:63cf8bbe7522de3bf65932fda1d9c2772064ffb3dae62d55932da54b31cb6c86", size = 37515, upload-time = "2025-04-24T03:35:24.344Z" },
+]
+
+[[package]]
+name = "httpcore"
+version = "1.0.9"
+source = { registry = "https://pypi.org/simple" }
+dependencies = [
+ { name = "certifi" },
+ { name = "h11" },
+]
+sdist = { url = "https://files.pythonhosted.org/packages/06/94/82699a10bca87a5556c9c59b5963f2d039dbd239f25bc2a63907a05a14cb/httpcore-1.0.9.tar.gz", hash = "sha256:6e34463af53fd2ab5d807f399a9b45ea31c3dfa2276f15a2c3f00afff6e176e8", size = 85484, upload-time = "2025-04-24T22:06:22.219Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/7e/f5/f66802a942d491edb555dd61e3a9961140fd64c90bce1eafd741609d334d/httpcore-1.0.9-py3-none-any.whl", hash = "sha256:2d400746a40668fc9dec9810239072b40b4484b640a8c38fd654a024c7a1bf55", size = 78784, upload-time = "2025-04-24T22:06:20.566Z" },
+]
+
+[[package]]
+name = "httpx"
+version = "0.28.1"
+source = { registry = "https://pypi.org/simple" }
+dependencies = [
+ { name = "anyio" },
+ { name = "certifi" },
+ { name = "httpcore" },
+ { name = "idna" },
+]
+sdist = { url = "https://files.pythonhosted.org/packages/b1/df/48c586a5fe32a0f01324ee087459e112ebb7224f646c0b5023f5e79e9956/httpx-0.28.1.tar.gz", hash = "sha256:75e98c5f16b0f35b567856f597f06ff2270a374470a5c2392242528e3e3e42fc", size = 141406, upload-time = "2024-12-06T15:37:23.222Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/2a/39/e50c7c3a983047577ee07d2a9e53faf5a69493943ec3f6a384bdc792deb2/httpx-0.28.1-py3-none-any.whl", hash = "sha256:d909fcccc110f8c7faf814ca82a9a4d816bc5a6dbfea25d6591d6985b8ba59ad", size = 73517, upload-time = "2024-12-06T15:37:21.509Z" },
+]
+
+[[package]]
+name = "idna"
+version = "3.20"
+source = { registry = "https://pypi.org/simple" }
+sdist = { url = "https://files.pythonhosted.org/packages/f5/08/8eea9d4b8302028f3abb2c0813953f7aec26d33b7a8960ed760e65ff29fa/idna-3.20.tar.gz", hash = "sha256:a7db850025b95ded1eae8a46181a1a6c56c92c96f0e2b005d9ff8dc0210cab44", size = 216463, upload-time = "2026-09-17T14:11:04.752Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/58/a2/bb081bab032533a855d44de1d56f8e8426114ff1ba5d1f07a438a0a654f8/idna-3.20-py3-none-any.whl", hash = "sha256:ab7ae7122974553370f0bdb919e1a960b2cd1bc1ef0276416d896db81c14582c", size = 69583, upload-time = "2026-09-17T14:11:03.168Z" },
+]
+
+[[package]]
+name = "msgpack"
+version = "1.2.3"
+source = { registry = "https://pypi.org/simple" }
+sdist = { url = "https://files.pythonhosted.org/packages/0a/e7/bb605a7bab2d8425a64b3fa762b39dc1bf1c7e3f11ba6fb5413d6db0ff8c/msgpack-1.2.3.tar.gz", hash = "sha256:32edb81a2b5eb7cd7c9d941b2bfbbb082fd2cd09e0e725930316af6b708db186", size = 196517, upload-time = "2026-09-29T02:33:52.276Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/af/12/4d7c6d6203416d9fbf0f59ebaa805e70fb929b93a41b611bc821ec5964a0/msgpack-1.2.3-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:89c930aece4e972b208ba589c8410b4167b05e411a5ea2cb25fd96f8bc47ee43", size = 91577, upload-time = "2026-09-29T02:32:02.141Z" },
+ { url = "https://files.pythonhosted.org/packages/eb/c7/8576ad39f4ca42ddad26f68eb8621d2d0a60501193d480f504bd9d7f36c4/msgpack-1.2.3-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:905a189853d6bdb204c7ae5f4ab77fb857448abfff574d3d93c62e2815b24b4f", size = 90027, upload-time = "2026-09-29T02:32:03.508Z" },
+ { url = "https://files.pythonhosted.org/packages/0a/3a/aa9c580aea1314529a0f3562461479780b0d254b064f0880956bfbcc74a8/msgpack-1.2.3-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:f3d7b3d0018746b5997dd6b14a1870b07cc4c327d9101145d94a1fc264a51a06", size = 460343, upload-time = "2026-09-29T02:32:04.906Z" },
+ { url = "https://files.pythonhosted.org/packages/3a/cf/9c2e4d6c179529d5bf4a64cff76fa581486569e9fbdd35bd98f51cb624bf/msgpack-1.2.3-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:ede33b2892ceb976283e009ad12fa1834cfdf1f9c43ee9c97849fc588d00a618", size = 472998, upload-time = "2026-09-29T02:32:06.69Z" },
+ { url = "https://files.pythonhosted.org/packages/7b/41/915c81fe6df2d3cbdb0dece4f1a5cd313e1cd2abd9f501d0f50c0582517e/msgpack-1.2.3-cp312-cp312-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:666ef5601ab0e6e345e47febc96aa81143cc932201543480cbb9499164f05ffb", size = 423216, upload-time = "2026-09-29T02:32:08.739Z" },
+ { url = "https://files.pythonhosted.org/packages/a2/e7/7dda8b1039abfd9bba4c5068172c67135c9e33089f503512db9226f23c24/msgpack-1.2.3-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:87cf2ef05ff2f2493ba29fcdaef27e960ca64dacfd13460ae29e6f92e0ed05bb", size = 451218, upload-time = "2026-09-29T02:32:10.517Z" },
+ { url = "https://files.pythonhosted.org/packages/16/5b/ce995c1ed4a0522b7f2d034bc2034fd63005f240b945961b70fb56fbaf3d/msgpack-1.2.3-cp312-cp312-musllinux_1_2_riscv64.whl", hash = "sha256:b774ff994d844e541439ac5d2d49a14def4104830c3465e9394c153f86200ffb", size = 422453, upload-time = "2026-09-29T02:32:11.956Z" },
+ { url = "https://files.pythonhosted.org/packages/d2/3f/ce191fb87e2650d0166b34c437e499ee4a7f9db9c1eb164f41725eb6160e/msgpack-1.2.3-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:eaf7e82249837e3aa97297b34a0bb9ff562027381631e057cea6e1367f10b438", size = 469003, upload-time = "2026-09-29T02:32:13.663Z" },
+ { url = "https://files.pythonhosted.org/packages/42/35/539123407fe200fb16609c835675496fbeb6017ace9fc93909f0613223ae/msgpack-1.2.3-cp312-cp312-win32.whl", hash = "sha256:7c047250096f9fc19dba26e3d1639b5e7a84114003605c94def667149a70ced1", size = 68303, upload-time = "2026-09-29T02:32:15.02Z" },
+ { url = "https://files.pythonhosted.org/packages/6f/4c/331b45f9b86fbda6b9e103244d189068e51f726d8c40021ed66e1f2c415e/msgpack-1.2.3-cp312-cp312-win_amd64.whl", hash = "sha256:3ec409b0d6aa8e9eec6eaf881b893caa215dbe68c5319ca96e8a271d81bb111d", size = 76744, upload-time = "2026-09-29T02:32:16.344Z" },
+ { url = "https://files.pythonhosted.org/packages/13/9f/fb572dc42b9fac06c7ea848aaee6e140d84469743bd1402bc07089fc4566/msgpack-1.2.3-cp312-cp312-win_arm64.whl", hash = "sha256:59612b4ed48a04cf024584218e813562f3b30a3bafa5f55abe300b15da314751", size = 71580, upload-time = "2026-09-29T02:32:17.617Z" },
+]
+
+[[package]]
+name = "msgpack-numpy"
+version = "0.4.8"
+source = { registry = "https://pypi.org/simple" }
+dependencies = [
+ { name = "msgpack" },
+ { name = "numpy" },
+]
+sdist = { url = "https://files.pythonhosted.org/packages/08/94/61e8aee142733ebfdc400a05bdac6e1763c4514bba3b42743d223f388450/msgpack-numpy-0.4.8.tar.gz", hash = "sha256:c667d3180513422f9c7545be5eec5d296dcbb357e06f72ed39cc683797556e69", size = 10923, upload-time = "2022-06-09T03:43:08.739Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/9b/5d/f25ac7d4fb77cbd53ddc6d05d833c6bf52b12770a44fa9a447eed470ca9a/msgpack_numpy-0.4.8-py2.py3-none-any.whl", hash = "sha256:773c19d4dfbae1b3c7b791083e2caf66983bb19b40901646f61d8731554ae3da", size = 6919, upload-time = "2022-06-09T03:43:06.82Z" },
+]
+
+[[package]]
+name = "multidict"
+version = "7.1.0"
+source = { registry = "https://pypi.org/simple" }
+sdist = { url = "https://files.pythonhosted.org/packages/f9/79/84ddb5ba16c4eb2c69c71db76ae3c579fe546e511f7170c7e27eedbab7c1/multidict-7.1.0.tar.gz", hash = "sha256:61a4e5d81b8d4e4ad61964b230129e7a2b914793d96289029078fc9009f074ec", size = 362341, upload-time = "2026-10-09T20:31:38.279Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/03/e1/215e7df354e2907f3af9d910c8136653cfec94796012a776359bc802a326/multidict-7.1.0-cp312-cp312-macosx_10_13_universal2.whl", hash = "sha256:ccfb950359a80de0fcd2030ad60ac1b1a861462de3e2ef746697c9256659af21", size = 165426, upload-time = "2026-10-09T13:59:50.564Z" },
+ { url = "https://files.pythonhosted.org/packages/a4/ec/461ba588b308ada2cd16907d6ea425ca4d417596b88c12814ad9a0bb7325/multidict-7.1.0-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:939d8cd2d8c35e3956f6bc858390b6ccb611e6152b4920d64ab5e98f3fcf39e4", size = 95943, upload-time = "2026-10-09T13:59:52.381Z" },
+ { url = "https://files.pythonhosted.org/packages/c9/84/31444ef07ec13a33c42c2772d986129e137e69c4beb89ca64f2138988145/multidict-7.1.0-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:f8e95c95039eab6a2dad8c83c38ab87fc5431d28849e0c8a7e2a4e70ba38710d", size = 98294, upload-time = "2026-10-09T13:59:54.066Z" },
+ { url = "https://files.pythonhosted.org/packages/dc/10/aca13806d73d88b5b01e35e828e23a346cb1abad710a49dff0507702efc9/multidict-7.1.0-cp312-cp312-manylinux1_i686.manylinux_2_28_i686.manylinux_2_5_i686.whl", hash = "sha256:05d12b4bac53abe0c65f3163af2b45894e2e1c0cc55493ac784d52a350047d88", size = 453301, upload-time = "2026-10-09T13:59:55.397Z" },
+ { url = "https://files.pythonhosted.org/packages/96/8c/382d771bfb3a9282d98332d0e1f27fd1f8b4ae0e7175bd7e008ebf934900/multidict-7.1.0-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:0e79ed92b1dece6bb57e9b46effd74d7a5d3d00187c85466d880ed184239a698", size = 478570, upload-time = "2026-10-09T13:59:56.899Z" },
+ { url = "https://files.pythonhosted.org/packages/52/9c/e81b0c92449da3a1950a575c520d957d7be618777d170717a71e00558d7f/multidict-7.1.0-cp312-cp312-manylinux2014_armv7l.manylinux_2_17_armv7l.manylinux_2_31_armv7l.whl", hash = "sha256:fab380fcff8b3555eb2bd04304fa4330909a771a9a9b0dc07666cfc23148a711", size = 443699, upload-time = "2026-10-09T13:59:58.465Z" },
+ { url = "https://files.pythonhosted.org/packages/63/72/f8f5fee6960d1b580a7b046c7c5abccf67aa26fa5647927a91c9c835c2f8/multidict-7.1.0-cp312-cp312-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:4b5c41e44da74383c924cc5d75ef0a268f301d69305b3c42bd17af685d55e412", size = 497332, upload-time = "2026-10-09T14:08:01.88Z" },
+ { url = "https://files.pythonhosted.org/packages/e2/92/a25d7db3ca451b588e743e067ee80f2b475edf6467a56908454faf6a714c/multidict-7.1.0-cp312-cp312-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:3dbaa7f7c2f0ca8578895fc61fb8c8e50ebb405dad8982f92f4343285c7a3fda", size = 512457, upload-time = "2026-10-09T14:08:25.465Z" },
+ { url = "https://files.pythonhosted.org/packages/7a/f3/374c0ab122bb98b1a62a8742b1e3f59563e4d609942005a4041861a0df67/multidict-7.1.0-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:fed6b7705d49dd07e5e0dd5f5c873fc44047e92d714299b13245b5fecac49d01", size = 483000, upload-time = "2026-10-09T14:08:27.132Z" },
+ { url = "https://files.pythonhosted.org/packages/46/1f/01c8522859771dc3cee840d5852233fe84c91aa982a1cd8ad594306d25cc/multidict-7.1.0-cp312-cp312-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:53daa47dd176db64bb35170e3d5d0ae2388c060121201883696278f055a0e70c", size = 430746, upload-time = "2026-10-09T14:08:28.715Z" },
+ { url = "https://files.pythonhosted.org/packages/ab/f3/af90affc8cca6b4ee59b2ec354a20839005e829d14d155451009810ef1ce/multidict-7.1.0-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:542429c796430de924d03b68a6173bb6d79d5c4967d4e9a18de3e501cad55593", size = 466859, upload-time = "2026-10-09T20:27:24.139Z" },
+ { url = "https://files.pythonhosted.org/packages/f8/97/1b6762f37f6331449e164af9d5500f0abb0f23670e81ba543441e0a6be1d/multidict-7.1.0-cp312-cp312-musllinux_1_2_armv7l.whl", hash = "sha256:c44ca6d3cdf4cfcbcd4f928fdcbe87af5fd7319f6ad4169617b7fd6b4527c33c", size = 441952, upload-time = "2026-10-09T20:27:26.559Z" },
+ { url = "https://files.pythonhosted.org/packages/bf/d2/4908177fbf22438799c04ba11a2853a99c69d028fccefe61f19e68caba0c/multidict-7.1.0-cp312-cp312-musllinux_1_2_i686.whl", hash = "sha256:eb0228c809b2e7eb47921876050af0bc4214b351bad8d8112f70b6ed4288763c", size = 452810, upload-time = "2026-10-09T20:27:28.347Z" },
+ { url = "https://files.pythonhosted.org/packages/8d/05/5031f44f680ec54fc182c4d71c9ab7c07216983946aa64ce6fdd56a52692/multidict-7.1.0-cp312-cp312-musllinux_1_2_ppc64le.whl", hash = "sha256:6ad60de1f4c702448fc8f1449f05e810f6b7957c08a5b3950c8a792dfb13b50a", size = 483934, upload-time = "2026-10-09T20:27:30.14Z" },
+ { url = "https://files.pythonhosted.org/packages/da/3b/9b21d107dbe96fa7e6966ff9e5e10b9ac0d2d1c2cf1633098e4c700f865e/multidict-7.1.0-cp312-cp312-musllinux_1_2_riscv64.whl", hash = "sha256:f79def86aee67b5ba01b2565f1610f262bf88ae53c379f93e5fa29c50fe793be", size = 427042, upload-time = "2026-10-09T20:27:32.433Z" },
+ { url = "https://files.pythonhosted.org/packages/53/ce/5b01b1041580072866b30e39c6380bff269e72fb5ca41a7f2fb828ede943/multidict-7.1.0-cp312-cp312-musllinux_1_2_s390x.whl", hash = "sha256:248dabb89b5aa90b2f7e43e045f048f7e5392ec77b6446d80853ba7117d7bbdf", size = 492543, upload-time = "2026-10-09T20:27:34.459Z" },
+ { url = "https://files.pythonhosted.org/packages/1e/6f/6508a23fcc7b1122e4f18409d7900ffeb3cd020cd080fe98aba3eabf9486/multidict-7.1.0-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:0747a83e7ae617793181a4763ee8b84863cec5c0bbbde70c4394e4c0276c36de", size = 475796, upload-time = "2026-10-09T20:27:36.289Z" },
+ { url = "https://files.pythonhosted.org/packages/8f/b6/ebb6433f4aa55ac1fea4bf11e860e99611640d07cc92d21cb3f35608de22/multidict-7.1.0-cp312-cp312-win32.whl", hash = "sha256:1df055e51fe7491120cc84f3362bd43db186be78d0e4c476acad45e435af9ffb", size = 81250, upload-time = "2026-10-09T20:27:38.229Z" },
+ { url = "https://files.pythonhosted.org/packages/61/0a/11240e5e7d2e986e288f4a6090f569ad00225b7c2c513d4096b36643f9ab/multidict-7.1.0-cp312-cp312-win_amd64.whl", hash = "sha256:10202ba98cfb3f7eb60da7ca87a2c458a69b7d0d6e4d4388cd6773ebbce89085", size = 93817, upload-time = "2026-10-09T20:27:39.739Z" },
+ { url = "https://files.pythonhosted.org/packages/e9/9b/a04ffd76db7cca2a60d347e839315e1ada63017c6c343fa90a23a5a55433/multidict-7.1.0-cp312-cp312-win_arm64.whl", hash = "sha256:0aa1ba3ff7cdda05a1242490612976b2ae1c90fc6200903ef8f53815dcb35c5d", size = 92312, upload-time = "2026-10-09T20:27:41.285Z" },
+ { url = "https://files.pythonhosted.org/packages/d0/86/a3de309c5e28ee85b314d0e3ba0e0dea6fd361c313322a05e67be4656e1e/multidict-7.1.0-py3-none-any.whl", hash = "sha256:d9ef29cfd98e17085b4f91bba8fa1570bec6787d5c52ce653ed33a58785585d0", size = 28087, upload-time = "2026-10-09T20:31:35.945Z" },
+]
+
+[[package]]
+name = "numpy"
+version = "2.4.6"
+source = { registry = "https://pypi.org/simple" }
+sdist = { url = "https://files.pythonhosted.org/packages/d0/ad/fed0499ce6a338d2a03ebae59cd15093910c8875328855781952abf6c2fe/numpy-2.4.6.tar.gz", hash = "sha256:f3a3570c4a2a16746ac2c31a7c7c7b0c186b95ce902e33db6f28094ed7387dda", size = 20735807, upload-time = "2026-05-18T23:37:14.07Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/95/2a/3d7b5ac8aac24feaf9ad7ed58f45b0bbc06d37e4338ae84c9f2298b570f9/numpy-2.4.6-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:001fbb8e08d942dd57599e781f2472269ee7f2755fae407b4f67b2f0b17da3f1", size = 16689119, upload-time = "2026-05-18T23:33:54.065Z" },
+ { url = "https://files.pythonhosted.org/packages/ea/12/92c4c131527599e8288d6918e888d88726f84d805d784b771f32408aeaef/numpy-2.4.6-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:ebfb099f8dcf083deef3ac1ca4c1503f387cf76296fcb3816b66f5ecb5f54fdb", size = 14699246, upload-time = "2026-05-18T23:33:57.621Z" },
+ { url = "https://files.pythonhosted.org/packages/ad/fe/c0a6b7b2ca128a8fb228575147073b660656734b8ebe4d76c8fd748dcc79/numpy-2.4.6-cp312-cp312-macosx_14_0_arm64.whl", hash = "sha256:3213d622a0283a39a93d188f3cf72b26862df52fbb4ca3697f51705016523d41", size = 5204410, upload-time = "2026-05-18T23:34:00.302Z" },
+ { url = "https://files.pythonhosted.org/packages/f3/d4/9770d14ba719432bb90a421bfd443872ed0f70f7264b64bec12ea363d5fd/numpy-2.4.6-cp312-cp312-macosx_14_0_x86_64.whl", hash = "sha256:357cc07a6d7b0b182ff02249616a03742827ebb1277546b5c7cd7f7620a45698", size = 6551240, upload-time = "2026-05-18T23:34:02.852Z" },
+ { url = "https://files.pythonhosted.org/packages/c9/c6/50a46a6205feba2343f1d6d17438107c5dc491ed1c736e6ea68689fd906b/numpy-2.4.6-cp312-cp312-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:5f9fb9157b4ce2971008323afe46053787b526ef624fea915b261468a8421a0f", size = 15671012, upload-time = "2026-05-18T23:34:05.485Z" },
+ { url = "https://files.pythonhosted.org/packages/99/60/14115e6364fa676c5397c2ad3004e527e9aa487abf5d0706ec81bbd08529/numpy-2.4.6-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:90f9849678c75fe7afa2d348ac842c168b0a4d3d61919687216dfc547976d853", size = 16645538, upload-time = "2026-05-18T23:34:09.265Z" },
+ { url = "https://files.pythonhosted.org/packages/ae/c5/693cbe59e57db94d2231fa519ca3978dc9e19da5a8f088588f5c6e947ff2/numpy-2.4.6-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:c1a2af6c6ef86344a6b0db6b97834208bf598db514f2b155042439b62605601a", size = 17020706, upload-time = "2026-05-18T23:34:13.053Z" },
+ { url = "https://files.pythonhosted.org/packages/ef/fc/85b7c4eff9b4966ade25c2273cf7e7012e92366c032058653934b37de044/numpy-2.4.6-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:e5805d5a22fd19c8ccff10a9561f9df94436b0545619ea579db2d3c35294bce2", size = 18368541, upload-time = "2026-05-18T23:34:17.024Z" },
+ { url = "https://files.pythonhosted.org/packages/f6/81/e1b27545deedce7f4a0b348618c6b62d74e36a4dc9ccd42f3eb2f85eee32/numpy-2.4.6-cp312-cp312-win32.whl", hash = "sha256:e3eeb0aabd6bd5ce64faae67e9935203a6991b4bc2a485a767fbafb2c5125f45", size = 5962825, upload-time = "2026-05-18T23:34:20.3Z" },
+ { url = "https://files.pythonhosted.org/packages/ab/ca/feab00bd44aa5fe1ad2c18f08b4d3bb92e26484b0b1d1443897809ed528c/numpy-2.4.6-cp312-cp312-win_amd64.whl", hash = "sha256:d8e8286dd7cea7895157318d1b91cdacac64c479f3cbc8dce548331728484751", size = 12321687, upload-time = "2026-05-18T23:34:23.095Z" },
+ { url = "https://files.pythonhosted.org/packages/63/cf/5a6d34850a39d1093558564f77ee8e8e0bee5061151b8f05a55711001ec7/numpy-2.4.6-cp312-cp312-win_arm64.whl", hash = "sha256:4081eb135ac24158bd51cdfbef16f1c64df7063b1143f24731387137c092bec8", size = 10221482, upload-time = "2026-05-18T23:34:25.876Z" },
+]
+
+[[package]]
+name = "pillow"
+version = "12.3.0"
+source = { registry = "https://pypi.org/simple" }
+sdist = { url = "https://files.pythonhosted.org/packages/1c/3d/bb7fca845737cf9d7dbde16ed1843984665ff2e0a518f5db43e77ec540b9/pillow-12.3.0.tar.gz", hash = "sha256:3b8182a766685eaa002637e28b4ec8d6b18819a0c71f579bf0dbaa5830297cce", size = 47025035, upload-time = "2026-07-01T11:56:38.965Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/37/bf/fb3ebff8ddcb76aac5a01389251bbbb9519922a9b520d8247c1ca864a25d/pillow-12.3.0-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:ba09209fbe443b4acccebe845d8a138b89a8f4fbaeedd44953490b5315d5e965", size = 5345969, upload-time = "2026-07-01T11:54:06.397Z" },
+ { url = "https://files.pythonhosted.org/packages/d8/66/9a386a92561f402389a4fc70c18838bf6d35eb5eb5c6850b4b2dc64f5048/pillow-12.3.0-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:ffd0c5368496f41b0944be820fcb7a838aa6e623d250b01acf2643939c3f99d7", size = 4780323, upload-time = "2026-07-01T11:54:09.351Z" },
+ { url = "https://files.pythonhosted.org/packages/25/27/ac8f99618ffd3dde21db0f4d4b1d2ab00c0880595bfd17df103f7f39fd0c/pillow-12.3.0-cp312-cp312-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:d9c7f76c0673154f044e9d78c8655fb4213f6ca31a836df48b40fe5d187717b9", size = 6266838, upload-time = "2026-07-01T11:54:11.71Z" },
+ { url = "https://files.pythonhosted.org/packages/84/21/a35af28dcc61f37ed850a2d64c65c701321dfbf25085e469d5559360cbbf/pillow-12.3.0-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:78cb2c6865a35ab8ff8b75fd122f6033b92a62c82801110e48ddd6c936a45d91", size = 6940830, upload-time = "2026-07-01T11:54:13.732Z" },
+ { url = "https://files.pythonhosted.org/packages/eb/51/8b08617af3ad95e33ce6d7dd2c99ed6c8298f7fb131636303956be022e25/pillow-12.3.0-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:e491916b378fba47242221bb9ead245211b70d504f495d105d17b14a24b4907c", size = 6344383, upload-time = "2026-07-01T11:54:15.756Z" },
+ { url = "https://files.pythonhosted.org/packages/1d/72/cf78ac9780bb93c28328f408973845a309d4d145041665f734572ced1b52/pillow-12.3.0-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:0dd2064cbc55aaec028ef5fbb60fa47bb6c3e7918e07ff17935284b227a9d2df", size = 7052934, upload-time = "2026-07-01T11:54:17.721Z" },
+ { url = "https://files.pythonhosted.org/packages/20/20/25e0f4dc178a6bc0696793720055519a0de89e7661dae886992decbd2f81/pillow-12.3.0-cp312-cp312-win32.whl", hash = "sha256:dbce0b29841537a2fa4a214c2bbf14de3587c9680caa9b4e217568472490b28f", size = 6472684, upload-time = "2026-07-01T11:54:19.839Z" },
+ { url = "https://files.pythonhosted.org/packages/45/89/da2f7971a317f83d807fdd4065c0af40208e59e692cc43d315a71a0e96d1/pillow-12.3.0-cp312-cp312-win_amd64.whl", hash = "sha256:a2b55dd6b2a4c4b7d87ffa56bdb33fdc5fdb9a462173861a7bc097f17d91cb09", size = 7227137, upload-time = "2026-07-01T11:54:22.025Z" },
+ { url = "https://files.pythonhosted.org/packages/de/47/4845a0a6c0dbf1db8456bd9fc791f13c5ced7ced20606d08a0aacfd25b49/pillow-12.3.0-cp312-cp312-win_arm64.whl", hash = "sha256:331b624368d4f1d069149002f25f44bc61c8919ce8ddb3c45bdad8f6e2d89510", size = 2568267, upload-time = "2026-07-01T11:54:24.051Z" },
+]
+
+[[package]]
+name = "propcache"
+version = "0.5.4"
+source = { registry = "https://pypi.org/simple" }
+sdist = { url = "https://files.pythonhosted.org/packages/b3/9a/9fbf4e4ec0c2d7f1c32519fff782ef467859b8faa9fbc5331a96f6395d43/propcache-0.5.4.tar.gz", hash = "sha256:ff6b113f50bc066a698db5d944d2c6dc7507168dd3341e255a8892fd0715a558", size = 61545, upload-time = "2026-09-16T00:17:14.386Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/71/cd/348d58f142aebc4873345c6b31087629182ca6e0f2b3caeaa528cf882eba/propcache-0.5.4-cp312-cp312-macosx_10_13_universal2.whl", hash = "sha256:b28f41fa3b8c6900457f858ec5b03998f3a6d535fbc1bb2edec5961ea05ec429", size = 87285, upload-time = "2026-09-16T00:14:29.362Z" },
+ { url = "https://files.pythonhosted.org/packages/df/f4/f3ffaee281b276da854ac1d7a6a506d26cbc62ea2e623756f1d0a4a1ba1a/propcache-0.5.4-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:dcbf346a318a5e30063f547630b02bb787ce2f45b6368d5da143660b6a3835d8", size = 50984, upload-time = "2026-09-16T00:14:30.473Z" },
+ { url = "https://files.pythonhosted.org/packages/25/88/1d7df7201750b37765ef2b23bc1c526c028dadde80afa0f57a118fc01182/propcache-0.5.4-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:87a3caecf8095e48dc72f84bfa42e23a848cf410cc9cc13031fba4869b706a21", size = 52460, upload-time = "2026-09-16T00:14:31.692Z" },
+ { url = "https://files.pythonhosted.org/packages/83/4f/48865bd02a16ee5236bc46166b2946f37b93e07b0eae355dac0be0b216ca/propcache-0.5.4-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:60a64cbccaa11b7760ce705a14ada17ba459e7ca9f23ba587eb013821032d7ef", size = 251768, upload-time = "2026-09-16T00:14:32.908Z" },
+ { url = "https://files.pythonhosted.org/packages/b0/19/3742a5eed62317b03b4002ee865dc9fd720308bdd0da1f29a5786c630311/propcache-0.5.4-cp312-cp312-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:a74bfa37147cc08fb29df10bd9c16f40fa7f860cd3a6d2fff853323a94f6e17f", size = 257723, upload-time = "2026-09-16T00:14:34.267Z" },
+ { url = "https://files.pythonhosted.org/packages/cb/d5/ee6350fb0be9122bb6c67082a876d34b90d980d100c106af4b81023e04f4/propcache-0.5.4-cp312-cp312-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:a4d7a54719b67338a305dca2ce6aafe366817df94ddfd4b5514374356f5ca546", size = 265597, upload-time = "2026-09-16T00:14:35.56Z" },
+ { url = "https://files.pythonhosted.org/packages/85/9f/83a07b6ec0e043c050cfdd35fb0cf1b7897b91d554d6eea293740309afe7/propcache-0.5.4-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:2814ecd8e818f487bee4b0f921bc4d1c176cc5fc71ac0f072d0fa67eda4ac14b", size = 250424, upload-time = "2026-09-16T00:14:36.894Z" },
+ { url = "https://files.pythonhosted.org/packages/33/2c/a763a8251f50fba042af0fb1f02bfec4b31381e40aff760db2be7b2e1f84/propcache-0.5.4-cp312-cp312-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:6af4693716bfb03f1752ef1b30faa593db2c01d5272e9b8564a1549452a979ab", size = 216748, upload-time = "2026-09-16T00:14:38.369Z" },
+ { url = "https://files.pythonhosted.org/packages/6a/e2/4d11bea8fd6a777149c6c20645f873952eab5de3a2497aa11648ec9ab6ab/propcache-0.5.4-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:4fbc1a15dc8cd1689508758d626b372b1f09d28d9577667feaf9e6bfcd8efcbc", size = 246533, upload-time = "2026-09-16T00:14:39.82Z" },
+ { url = "https://files.pythonhosted.org/packages/9f/36/6683597de4907e70c717e3588c541202c66086a72ff3db58be49de66e72c/propcache-0.5.4-cp312-cp312-musllinux_1_2_armv7l.whl", hash = "sha256:cdee8205a44d0be91bbac4c41b95d86641b72dfc7aef1279400e4fda3f26a937", size = 238173, upload-time = "2026-09-16T00:14:41.259Z" },
+ { url = "https://files.pythonhosted.org/packages/85/84/cb08d79f1762daafeb2b030c470cd0c725c97b8ad67412457c6f35c53e9d/propcache-0.5.4-cp312-cp312-musllinux_1_2_ppc64le.whl", hash = "sha256:9a2a8a50a93dee0268a860a07fa3b4bd968f8ce4dbd794957da772f395368526", size = 251128, upload-time = "2026-09-16T00:14:42.652Z" },
+ { url = "https://files.pythonhosted.org/packages/c2/0d/41b848036db6621370c1f2e5471a7da8149c730f8552a5257567721f4576/propcache-0.5.4-cp312-cp312-musllinux_1_2_riscv64.whl", hash = "sha256:7ffafcbfc7b549ab940047e505c831eabac5e67de53e1bc174adbc5285c55944", size = 214821, upload-time = "2026-09-16T00:14:44.112Z" },
+ { url = "https://files.pythonhosted.org/packages/f1/b7/adfae4bf9c63bccf12e2d9690a175c6579047a6eec3b5a6a5f51428c15e2/propcache-0.5.4-cp312-cp312-musllinux_1_2_s390x.whl", hash = "sha256:d1f5a500bfcbb2c0ab85e98a0dcd70f5899d34efe365a0187700369a79603031", size = 254793, upload-time = "2026-09-16T00:14:45.429Z" },
+ { url = "https://files.pythonhosted.org/packages/51/6f/eeca9647245d5f92e87d53e5f14335bb42fce1a7e6842c8045b364eded8b/propcache-0.5.4-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:8a235f73d6e020855dc29dff012d920c02ee0feab8d73a24185a7569f4be1161", size = 247134, upload-time = "2026-09-16T00:14:46.976Z" },
+ { url = "https://files.pythonhosted.org/packages/5d/a9/424e38838793d37160b4379c702f61c74c598fc6cd17204adbe3c554f7a8/propcache-0.5.4-cp312-cp312-win32.whl", hash = "sha256:b3083bfe87f95c756e610bd8025f26cbd1cd4aaa03a422f2d65efb7a97cd53d8", size = 43073, upload-time = "2026-09-16T00:14:48.338Z" },
+ { url = "https://files.pythonhosted.org/packages/58/7b/6e8ef26f6d510a7916064fec68d55fcbfbdf7eb01e377480d66a122152d8/propcache-0.5.4-cp312-cp312-win_amd64.whl", hash = "sha256:98914de2c4d7f0f9f4a8c6ea4bf05841f4175796941e3ef7d47eb718f22311fb", size = 46190, upload-time = "2026-09-16T00:14:49.99Z" },
+ { url = "https://files.pythonhosted.org/packages/08/b9/72028c5b56ced97f456de6aefa79435ca64d7f77af78ea8cf3c76fc5195f/propcache-0.5.4-cp312-cp312-win_arm64.whl", hash = "sha256:8876b39961e33d912afe3c1bee18ee564fdad0206f873cc15d522756b7f50737", size = 43075, upload-time = "2026-09-16T00:14:51.155Z" },
+ { url = "https://files.pythonhosted.org/packages/f5/cd/785c64ed382f3f04201870267b02783f63b4678c2acfddc177a3ebcc2727/propcache-0.5.4-py3-none-any.whl", hash = "sha256:62c60aec739ed00124573cce1178138fd690c7676352d67a37328c1cf51d7468", size = 16338, upload-time = "2026-09-16T00:17:13.106Z" },
+]
+
+[[package]]
+name = "pyyaml"
+version = "6.0.3"
+source = { registry = "https://pypi.org/simple" }
+sdist = { url = "https://files.pythonhosted.org/packages/05/8e/961c0007c59b8dd7729d542c61a4d537767a59645b82a0b521206e1e25c2/pyyaml-6.0.3.tar.gz", hash = "sha256:d76623373421df22fb4cf8817020cbb7ef15c725b9d5e45f17e189bfc384190f", size = 130960, upload-time = "2025-09-25T21:33:16.546Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/d1/33/422b98d2195232ca1826284a76852ad5a86fe23e31b009c9886b2d0fb8b2/pyyaml-6.0.3-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:7f047e29dcae44602496db43be01ad42fc6f1cc0d8cd6c83d342306c32270196", size = 182063, upload-time = "2025-09-25T21:32:11.445Z" },
+ { url = "https://files.pythonhosted.org/packages/89/a0/6cf41a19a1f2f3feab0e9c0b74134aa2ce6849093d5517a0c550fe37a648/pyyaml-6.0.3-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:fc09d0aa354569bc501d4e787133afc08552722d3ab34836a80547331bb5d4a0", size = 173973, upload-time = "2025-09-25T21:32:12.492Z" },
+ { url = "https://files.pythonhosted.org/packages/ed/23/7a778b6bd0b9a8039df8b1b1d80e2e2ad78aa04171592c8a5c43a56a6af4/pyyaml-6.0.3-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:9149cad251584d5fb4981be1ecde53a1ca46c891a79788c0df828d2f166bda28", size = 775116, upload-time = "2025-09-25T21:32:13.652Z" },
+ { url = "https://files.pythonhosted.org/packages/65/30/d7353c338e12baef4ecc1b09e877c1970bd3382789c159b4f89d6a70dc09/pyyaml-6.0.3-cp312-cp312-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:5fdec68f91a0c6739b380c83b951e2c72ac0197ace422360e6d5a959d8d97b2c", size = 844011, upload-time = "2025-09-25T21:32:15.21Z" },
+ { url = "https://files.pythonhosted.org/packages/8b/9d/b3589d3877982d4f2329302ef98a8026e7f4443c765c46cfecc8858c6b4b/pyyaml-6.0.3-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:ba1cc08a7ccde2d2ec775841541641e4548226580ab850948cbfda66a1befcdc", size = 807870, upload-time = "2025-09-25T21:32:16.431Z" },
+ { url = "https://files.pythonhosted.org/packages/05/c0/b3be26a015601b822b97d9149ff8cb5ead58c66f981e04fedf4e762f4bd4/pyyaml-6.0.3-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:8dc52c23056b9ddd46818a57b78404882310fb473d63f17b07d5c40421e47f8e", size = 761089, upload-time = "2025-09-25T21:32:17.56Z" },
+ { url = "https://files.pythonhosted.org/packages/be/8e/98435a21d1d4b46590d5459a22d88128103f8da4c2d4cb8f14f2a96504e1/pyyaml-6.0.3-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:41715c910c881bc081f1e8872880d3c650acf13dfa8214bad49ed4cede7c34ea", size = 790181, upload-time = "2025-09-25T21:32:18.834Z" },
+ { url = "https://files.pythonhosted.org/packages/74/93/7baea19427dcfbe1e5a372d81473250b379f04b1bd3c4c5ff825e2327202/pyyaml-6.0.3-cp312-cp312-win32.whl", hash = "sha256:96b533f0e99f6579b3d4d4995707cf36df9100d67e0c8303a0c55b27b5f99bc5", size = 137658, upload-time = "2025-09-25T21:32:20.209Z" },
+ { url = "https://files.pythonhosted.org/packages/86/bf/899e81e4cce32febab4fb42bb97dcdf66bc135272882d1987881a4b519e9/pyyaml-6.0.3-cp312-cp312-win_amd64.whl", hash = "sha256:5fcd34e47f6e0b794d17de1b4ff496c00986e1c83f7ab2fb8fcfe9616ff7477b", size = 154003, upload-time = "2025-09-25T21:32:21.167Z" },
+ { url = "https://files.pythonhosted.org/packages/1a/08/67bd04656199bbb51dbed1439b7f27601dfb576fb864099c7ef0c3e55531/pyyaml-6.0.3-cp312-cp312-win_arm64.whl", hash = "sha256:64386e5e707d03a7e172c0701abfb7e10f0fb753ee1d773128192742712a98fd", size = 140344, upload-time = "2025-09-25T21:32:22.617Z" },
+]
+
+[[package]]
+name = "ruff"
+version = "0.17.0"
+source = { registry = "https://pypi.org/simple" }
+sdist = { url = "https://files.pythonhosted.org/packages/e9/a7/70debb024dfacda67b8e560cc7511f52b34b9348a8cc8c1ec23036dcd51d/ruff-0.17.0.tar.gz", hash = "sha256:5cd03240d8208a557c2a9655a5cb07ebe36aa6bb35065f97d48c1f6adef5a322", size = 5320554, upload-time = "2026-10-09T19:47:29.248Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/bc/f8/ee5ab9da6089eae2a33e6008b01deb1eda19992c1c8e10661e98cee1640f/ruff-0.17.0-py3-none-linux_armv6l.whl", hash = "sha256:0e271826af9a20d18c6cfae8c51e82959167c24859686ddd3eb9a7f0842ce81e", size = 10148907, upload-time = "2026-10-09T19:46:38.695Z" },
+ { url = "https://files.pythonhosted.org/packages/9f/d9/2f81fb5a9d580afbb11b1c8ff915233a11f2a1b27405d7991f183c5e1976/ruff-0.17.0-py3-none-macosx_10_12_x86_64.whl", hash = "sha256:5f0ca4a40f81403689c04f12966e22f44e329ae362072d8f1587b7bda87f603b", size = 10224208, upload-time = "2026-10-09T19:46:41.711Z" },
+ { url = "https://files.pythonhosted.org/packages/a7/20/643f3c8f75594f937b2bf74801241c56a2e2b8e139d24dff8b66b28cdd7f/ruff-0.17.0-py3-none-macosx_11_0_arm64.whl", hash = "sha256:cbf7149e0927dc3295d5d64679a4765576eef71b00782b2ae969ef82274d6bb9", size = 9273324, upload-time = "2026-10-09T19:46:44.323Z" },
+ { url = "https://files.pythonhosted.org/packages/ec/91/627700b233d367736cb274f1bd0b47d1f2b12f68878192812bd875adadc3/ruff-0.17.0-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:13ee90156522998c3037059d8f66885c8adeeaf7643bdce2caceee196ecd23e0", size = 9953190, upload-time = "2026-10-09T19:46:47.155Z" },
+ { url = "https://files.pythonhosted.org/packages/cd/92/91f7b5ed39490f89d6cbf56e1f543c383667a725efa8e2c2dee0f01f5591/ruff-0.17.0-py3-none-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:3d8e4a002a94cd9d0dc48b51dc69d807a172b5b9bf2b668e656424dc5b55ead1", size = 9961746, upload-time = "2026-10-09T19:46:50.098Z" },
+ { url = "https://files.pythonhosted.org/packages/87/c5/7310f9fc63ce11ff6394edbd5e85433dfb0e14c9fbf6ccc97f1538491bc7/ruff-0.17.0-py3-none-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:c0b8a60c06a218c337e1161638d34757f83449243e2db161483ddf948e53ad14", size = 10625483, upload-time = "2026-10-09T19:46:53.379Z" },
+ { url = "https://files.pythonhosted.org/packages/a5/8d/97443f0dca4a03a0bc7629fd396fd494a1cb6666121e38c5075acb217d8f/ruff-0.17.0-py3-none-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:a330178bdffc4205dbf3bda11d93e059e388fd6546f8cdd304501a9160363c0d", size = 11350129, upload-time = "2026-10-09T19:46:56.486Z" },
+ { url = "https://files.pythonhosted.org/packages/9c/0a/c525efd9777be4b6b012e6969a3012648468e7e6c4b3e5b46af69f46e8eb/ruff-0.17.0-py3-none-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:7bb08489e234876fa2da67ae3ea938e9a2156da80293e0e4365abd6973d98329", size = 10906223, upload-time = "2026-10-09T19:47:00.263Z" },
+ { url = "https://files.pythonhosted.org/packages/2c/3c/4a01195d93420cad1175bedad13a515dc8a56f95a6e39789b92e582682f5/ruff-0.17.0-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:bc73e7c133e82d55b5f15897b2a442d72c0cb4a0c886c46801ce3c247150b60c", size = 10386314, upload-time = "2026-10-09T19:47:03.057Z" },
+ { url = "https://files.pythonhosted.org/packages/c7/72/1a3951665485a921f6375f91e754a1854d5a645d41acc3642668064ff64d/ruff-0.17.0-py3-none-manylinux_2_31_riscv64.whl", hash = "sha256:db4f74c533403ab70fe4007873f6ae0c9f94a8b03158cf48d78788e47cdbe399", size = 10565464, upload-time = "2026-10-09T19:47:05.831Z" },
+ { url = "https://files.pythonhosted.org/packages/90/8c/539b4d8c082f57e18db8ae2be85a460d77861c79dcd5798e32b536a6a06f/ruff-0.17.0-py3-none-musllinux_1_2_aarch64.whl", hash = "sha256:3d8cc360e666d1914e47b0777c6906d70cf18891a55532bd0a16844195d70859", size = 10079468, upload-time = "2026-10-09T19:47:08.617Z" },
+ { url = "https://files.pythonhosted.org/packages/e0/b8/84286966db79434e8c26b585b0a0f6897cb3ab1c51a4aa4df10c28488b62/ruff-0.17.0-py3-none-musllinux_1_2_armv7l.whl", hash = "sha256:d66de796b726c4801e05fa99a2a8d7a780e107be222486c304ab61765561e866", size = 9958556, upload-time = "2026-10-09T19:47:11.324Z" },
+ { url = "https://files.pythonhosted.org/packages/69/50/27b6eed27b83fcdd5bfa0d52b83231e29094754374698da404d094487ae3/ruff-0.17.0-py3-none-musllinux_1_2_i686.whl", hash = "sha256:c3f268baf004aea944f040623327119527ea231af15f7fb7890e82cea0679589", size = 10352173, upload-time = "2026-10-09T19:47:14.188Z" },
+ { url = "https://files.pythonhosted.org/packages/2a/fa/955399fd13044cd827862044117d784a59e3196f6cce7424908ac9a7f914/ruff-0.17.0-py3-none-musllinux_1_2_x86_64.whl", hash = "sha256:864b6c1acb6b0bccf94b5a3938a1531fd09aaca5e5659a2e7bf0f3cf2a685540", size = 10791761, upload-time = "2026-10-09T19:47:16.931Z" },
+ { url = "https://files.pythonhosted.org/packages/ae/bf/024e01e1f6aec87768696725e648ed5b438941341eea8f8100beb681961f/ruff-0.17.0-py3-none-win32.whl", hash = "sha256:5e50aa5b84decd9fe5b0bb0e6f71c3b592f1767ed09faa4b7207d933961e35cd", size = 9904112, upload-time = "2026-10-09T19:47:19.75Z" },
+ { url = "https://files.pythonhosted.org/packages/cc/77/1ee73df41dcc8d1cdb686ee4bc46ea29704ea175feb6b95c78420f631ab8/ruff-0.17.0-py3-none-win_amd64.whl", hash = "sha256:8ab76bcda86dfd28e13776cb5de3c7bcdcf1ae3d37ed761113d1a5a415dc134c", size = 10115585, upload-time = "2026-10-09T19:47:22.698Z" },
+ { url = "https://files.pythonhosted.org/packages/fd/71/eb4f0ccc844aece56963e8578df9c95d4c00f580547d52329d4035d3af18/ruff-0.17.0-py3-none-win_arm64.whl", hash = "sha256:c154c73ff43f9854395e24cac507af13078962e53d2b511605058d22af1fdb88", size = 9872035, upload-time = "2026-10-09T19:47:26.306Z" },
+]
+
+[[package]]
+name = "sie-sdk"
+version = "0.10.0"
+source = { git = "https://github.com/superlinked/sie?subdirectory=packages%2Fsie_sdk&rev=d680237f02c2b67fd9afd91f30b73a29cb18fae0#d680237f02c2b67fd9afd91f30b73a29cb18fae0" }
+dependencies = [
+ { name = "aiohttp" },
+ { name = "httpx" },
+ { name = "msgpack" },
+ { name = "msgpack-numpy" },
+ { name = "numpy" },
+ { name = "pillow" },
+ { name = "pyyaml" },
+ { name = "websockets" },
+]
+
+[[package]]
+name = "superlinked-sie-cost-routing-example"
+version = "0.1.0"
+source = { virtual = "." }
+dependencies = [
+ { name = "httpx" },
+ { name = "numpy" },
+ { name = "sie-sdk" },
+]
+
+[package.dev-dependencies]
+dev = [
+ { name = "ruff" },
+]
+
+[package.metadata]
+requires-dist = [
+ { name = "httpx", specifier = ">=0.28,<1" },
+ { name = "numpy", specifier = "==2.4.6" },
+ { name = "sie-sdk", git = "https://github.com/superlinked/sie?subdirectory=packages%2Fsie_sdk&rev=d680237f02c2b67fd9afd91f30b73a29cb18fae0" },
+]
+
+[package.metadata.requires-dev]
+dev = [{ name = "ruff", specifier = ">=0.14" }]
+
+[[package]]
+name = "typing-extensions"
+version = "4.16.0"
+source = { registry = "https://pypi.org/simple" }
+sdist = { url = "https://files.pythonhosted.org/packages/f6/cc/6253133b5bb138fc3306cebfbda2c520f545d36b5be2c7255cc528bb45d6/typing_extensions-4.16.0.tar.gz", hash = "sha256:dc983d19a509c94dba722ee6abd33940f7c05a89e243c47e907eb4db6f1a43e5", size = 113555, upload-time = "2026-07-02T08:40:05.92Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/49/d3/b8441a820a491ddfc024b0b0cf0393375b75ea13866d9c66727e54c2fc80/typing_extensions-4.16.0-py3-none-any.whl", hash = "sha256:481caa481374e813c1b176ada14e97f1f67a4539ce9cfeb3f350d78d6370c2e8", size = 45571, upload-time = "2026-07-02T08:40:04.659Z" },
+]
+
+[[package]]
+name = "websockets"
+version = "14.2"
+source = { registry = "https://pypi.org/simple" }
+sdist = { url = "https://files.pythonhosted.org/packages/94/54/8359678c726243d19fae38ca14a334e740782336c9f19700858c4eb64a1e/websockets-14.2.tar.gz", hash = "sha256:5059ed9c54945efb321f097084b4c7e52c246f2c869815876a69d1efc4ad6eb5", size = 164394, upload-time = "2025-01-19T21:00:56.431Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/c1/81/04f7a397653dc8bec94ddc071f34833e8b99b13ef1a3804c149d59f92c18/websockets-14.2-cp312-cp312-macosx_10_13_universal2.whl", hash = "sha256:1f20522e624d7ffbdbe259c6b6a65d73c895045f76a93719aa10cd93b3de100c", size = 163096, upload-time = "2025-01-19T20:59:29.763Z" },
+ { url = "https://files.pythonhosted.org/packages/ec/c5/de30e88557e4d70988ed4d2eabd73fd3e1e52456b9f3a4e9564d86353b6d/websockets-14.2-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:647b573f7d3ada919fd60e64d533409a79dcf1ea21daeb4542d1d996519ca967", size = 160758, upload-time = "2025-01-19T20:59:32.095Z" },
+ { url = "https://files.pythonhosted.org/packages/e5/8c/d130d668781f2c77d106c007b6c6c1d9db68239107c41ba109f09e6c218a/websockets-14.2-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:6af99a38e49f66be5a64b1e890208ad026cda49355661549c507152113049990", size = 160995, upload-time = "2025-01-19T20:59:33.527Z" },
+ { url = "https://files.pythonhosted.org/packages/a6/bc/f6678a0ff17246df4f06765e22fc9d98d1b11a258cc50c5968b33d6742a1/websockets-14.2-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:091ab63dfc8cea748cc22c1db2814eadb77ccbf82829bac6b2fbe3401d548eda", size = 170815, upload-time = "2025-01-19T20:59:35.837Z" },
+ { url = "https://files.pythonhosted.org/packages/d8/b2/8070cb970c2e4122a6ef38bc5b203415fd46460e025652e1ee3f2f43a9a3/websockets-14.2-cp312-cp312-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:b374e8953ad477d17e4851cdc66d83fdc2db88d9e73abf755c94510ebddceb95", size = 169759, upload-time = "2025-01-19T20:59:38.216Z" },
+ { url = "https://files.pythonhosted.org/packages/81/da/72f7caabd94652e6eb7e92ed2d3da818626e70b4f2b15a854ef60bf501ec/websockets-14.2-cp312-cp312-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:a39d7eceeea35db85b85e1169011bb4321c32e673920ae9c1b6e0978590012a3", size = 170178, upload-time = "2025-01-19T20:59:40.423Z" },
+ { url = "https://files.pythonhosted.org/packages/31/e0/812725b6deca8afd3a08a2e81b3c4c120c17f68c9b84522a520b816cda58/websockets-14.2-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:0a6f3efd47ffd0d12080594f434faf1cd2549b31e54870b8470b28cc1d3817d9", size = 170453, upload-time = "2025-01-19T20:59:41.996Z" },
+ { url = "https://files.pythonhosted.org/packages/66/d3/8275dbc231e5ba9bb0c4f93144394b4194402a7a0c8ffaca5307a58ab5e3/websockets-14.2-cp312-cp312-musllinux_1_2_i686.whl", hash = "sha256:065ce275e7c4ffb42cb738dd6b20726ac26ac9ad0a2a48e33ca632351a737267", size = 169830, upload-time = "2025-01-19T20:59:44.669Z" },
+ { url = "https://files.pythonhosted.org/packages/a3/ae/e7d1a56755ae15ad5a94e80dd490ad09e345365199600b2629b18ee37bc7/websockets-14.2-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:e9d0e53530ba7b8b5e389c02282f9d2aa47581514bd6049d3a7cffe1385cf5fe", size = 169824, upload-time = "2025-01-19T20:59:46.932Z" },
+ { url = "https://files.pythonhosted.org/packages/b6/32/88ccdd63cb261e77b882e706108d072e4f1c839ed723bf91a3e1f216bf60/websockets-14.2-cp312-cp312-win32.whl", hash = "sha256:20e6dd0984d7ca3037afcb4494e48c74ffb51e8013cac71cf607fffe11df7205", size = 163981, upload-time = "2025-01-19T20:59:49.228Z" },
+ { url = "https://files.pythonhosted.org/packages/b3/7d/32cdb77990b3bdc34a306e0a0f73a1275221e9a66d869f6ff833c95b56ef/websockets-14.2-cp312-cp312-win_amd64.whl", hash = "sha256:44bba1a956c2c9d268bdcdf234d5e5ff4c9b6dc3e300545cbe99af59dda9dcce", size = 164421, upload-time = "2025-01-19T20:59:50.674Z" },
+ { url = "https://files.pythonhosted.org/packages/7b/c8/d529f8a32ce40d98309f4470780631e971a5a842b60aec864833b3615786/websockets-14.2-py3-none-any.whl", hash = "sha256:7a6ceec4ea84469f15cf15807a747e9efe57e369c384fa86e022b3bea679b79b", size = 157416, upload-time = "2025-01-19T21:00:54.843Z" },
+]
+
+[[package]]
+name = "yarl"
+version = "1.25.1"
+source = { registry = "https://pypi.org/simple" }
+dependencies = [
+ { name = "idna" },
+ { name = "multidict" },
+ { name = "propcache" },
+]
+sdist = { url = "https://files.pythonhosted.org/packages/75/16/e8be8e2fb175bbf41a0680381a319f1199fae256588241a2ac8677eafb49/yarl-1.25.1.tar.gz", hash = "sha256:03dd38de09bc213e9a8b29761eec33ee1d5318dac0e49d8af36e4d27830e23a7", size = 246245, upload-time = "2026-09-15T19:35:02.264Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/75/b3/cd32ac66ae622b854c2df0ac52106dda220d361b65a64fde7d5b3684aa3f/yarl-1.25.1-cp312-cp312-macosx_10_13_universal2.whl", hash = "sha256:94d7aa6debf92a1dd14cb5280b083a764169a13cfb23a452111160274ed989f4", size = 144798, upload-time = "2026-09-15T19:31:01.821Z" },
+ { url = "https://files.pythonhosted.org/packages/61/fb/a2c52a8007c2051ba74662afb112ecf3d00346af4c25e33df9d80fd14fb8/yarl-1.25.1-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:83d4a37e4b95da4d8bda930d6d35b75b4cdadbacbb4980cae290ea3100b5d51d", size = 104583, upload-time = "2026-09-15T19:31:04.05Z" },
+ { url = "https://files.pythonhosted.org/packages/be/dd/ee38aec8e09fdf957e50d4085453fbe202f56c6c3b4cf07b81cdb4f09ee9/yarl-1.25.1-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:e029648f9c951db30e98a7d7ec90835db88ec4b32820efe2a9bdc2287e032eb6", size = 104325, upload-time = "2026-09-15T19:31:06.338Z" },
+ { url = "https://files.pythonhosted.org/packages/1e/b3/058dbfb1857b484c9cf9cc135659f50b85ce66e03c99e44dc2f7b6161f55/yarl-1.25.1-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:4d781294bb815ecb5ea57ff6bbf8038e0a31a95fdf3e1788f66e0dc100d64b58", size = 115358, upload-time = "2026-09-15T19:31:08.593Z" },
+ { url = "https://files.pythonhosted.org/packages/db/39/29693446cf0cf6b15a0e2f75a5d40f93c56819b05b0622196f45e95b5cc0/yarl-1.25.1-cp312-cp312-manylinux2014_armv7l.manylinux_2_17_armv7l.manylinux_2_31_armv7l.whl", hash = "sha256:e12c538e00e7c1b286a07061046b90e8124e6a9793efae2c70db6a4aad07faad", size = 107658, upload-time = "2026-09-15T19:31:10.802Z" },
+ { url = "https://files.pythonhosted.org/packages/86/b3/3c4dd7e1af43b931fba95e0a722737f2ea94a6d199c802585282831d7abd/yarl-1.25.1-cp312-cp312-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:7e4de3ac4adbad3d0bc7c6f4360a7dbff5de2f15e3b723be3198074e17fd9c40", size = 122660, upload-time = "2026-09-15T19:31:12.84Z" },
+ { url = "https://files.pythonhosted.org/packages/bd/b5/1b60dbc3cfc9c5712b15148c206748f2bc93953ffdbe25ea75b63dfc89c9/yarl-1.25.1-cp312-cp312-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:419f392a1da624877975709e3864dfe833af6cc7671b39318086d456e288380c", size = 126506, upload-time = "2026-09-15T19:31:15.088Z" },
+ { url = "https://files.pythonhosted.org/packages/bc/7b/ca212cbe170ac8b96e45317ecbcf9c3c3ecf0cdec98d5b088a9c4088929b/yarl-1.25.1-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:c6f117789d22dce188e5754e8bc65b7e6ebf8cb73963b9fa761f672a5883769d", size = 117050, upload-time = "2026-09-15T19:31:17.241Z" },
+ { url = "https://files.pythonhosted.org/packages/cb/c3/72b4938cdbe619ad71ac156182faef4908846b84dc3ca4dbb4c4e6f84014/yarl-1.25.1-cp312-cp312-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:80e47012e730da131c9f059c80936783f9659aae22dc31c03c0595590d11ed54", size = 114174, upload-time = "2026-09-15T19:31:19.294Z" },
+ { url = "https://files.pythonhosted.org/packages/e8/43/268717870f9ba0cc9701a95181587f6dc8c5f387aab4aeecc83158f38a79/yarl-1.25.1-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:e80f557716fd765439577131e526b8942ffc2c07bdbc5e39fa62f660ba1e963f", size = 114944, upload-time = "2026-09-15T19:31:21.414Z" },
+ { url = "https://files.pythonhosted.org/packages/da/84/baa5bf504d51fe062c4bcaf62936da97fffb43285978d0b39984824231fd/yarl-1.25.1-cp312-cp312-musllinux_1_2_armv7l.whl", hash = "sha256:f61964f235a43738bfac50da46fc4254943a7eea3051aeb0b6fc7c992c29fadc", size = 108263, upload-time = "2026-09-15T19:31:23.388Z" },
+ { url = "https://files.pythonhosted.org/packages/a4/28/779a2ed9e0152a601a27039bed9aead3f0b79797a67e2c44bfa444622dd8/yarl-1.25.1-cp312-cp312-musllinux_1_2_ppc64le.whl", hash = "sha256:e546fe1d4a93ebc2910f0d768baff19faa09843ab3f2036a67ed6e69fae4419d", size = 122184, upload-time = "2026-09-15T19:31:25.343Z" },
+ { url = "https://files.pythonhosted.org/packages/f8/1f/118e9e5b8f07694d63fd3222e801d7782270003f1a222aa798df3f8d5933/yarl-1.25.1-cp312-cp312-musllinux_1_2_riscv64.whl", hash = "sha256:cce0727fd5ac04d372fa9bbfde9febc2bcf209aadfcf0468e45dec72719895d1", size = 114001, upload-time = "2026-09-15T19:31:27.465Z" },
+ { url = "https://files.pythonhosted.org/packages/0f/ae/a4cf1cf372313734b17996d4007f9f73596e7a178b9485802e5494ecf484/yarl-1.25.1-cp312-cp312-musllinux_1_2_s390x.whl", hash = "sha256:af4ea5b37403ef4e30f3927eaed540db942bde01d8d3ff083527c0704d1c9c68", size = 120565, upload-time = "2026-09-15T19:31:29.47Z" },
+ { url = "https://files.pythonhosted.org/packages/05/79/ad94f93ca731bc9e44d321833ab96b82a4f9f5f63cf773f81a4aeea5ecc1/yarl-1.25.1-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:68782fdb4027b8d1eee25ec35e9a6db05e863b899eb0310b3a33b6c3fef55707", size = 117060, upload-time = "2026-09-15T19:31:31.367Z" },
+ { url = "https://files.pythonhosted.org/packages/bb/cc/51a7b4abf4ac593b8e7eb3794b28e5a35ae26eed8bc04787628d215af82f/yarl-1.25.1-cp312-cp312-win_amd64.whl", hash = "sha256:7d575b54cb3863ef9bc290ea4b009999d55dc237326131e4853cf33e888fee03", size = 102593, upload-time = "2026-09-15T19:31:33.329Z" },
+ { url = "https://files.pythonhosted.org/packages/9d/21/0941a6b93a58b59a1ec75e5333bf06929b671309c43c0cd201c172d9c39f/yarl-1.25.1-cp312-cp312-win_arm64.whl", hash = "sha256:bc3ac7bf569f6b64dad04dd7808c7872dae8a97df657856eac05e9b7e3614a85", size = 97697, upload-time = "2026-09-15T19:31:35.855Z" },
+ { url = "https://files.pythonhosted.org/packages/54/22/318c7980066769c6bcd9221ed2248294f5698811da099013098c670565ed/yarl-1.25.1-py3-none-any.whl", hash = "sha256:681c758b0490f9e96b78e5fa8e8dc6e648e9185bb6eaebe73183c33ea0c445f3", size = 63617, upload-time = "2026-09-15T19:34:59.616Z" },
+]