From 6b04574bb8b693ed48eeba895b60cf90006af550 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EB=B0=95=EC=A0=9C=ED=98=95?= <184927314+jhpark324@users.noreply.github.com> Date: Wed, 25 Nov 2026 19:48:06 +0900 Subject: [PATCH 1/3] =?UTF-8?q?bench(bird):=20=EC=9E=AC=EC=82=AC=EC=9A=A9?= =?UTF-8?q?=20=EA=B0=80=EB=8A=A5=ED=95=9C=20SQLite=20100=EB=AC=B8=ED=95=AD?= =?UTF-8?q?=20=ED=8F=89=EA=B0=80=EA=B8=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- bench/README.md | 2 + bench/bird/.gitignore | 3 + bench/bird/README.md | 63 ++ bench/bird/__init__.py | 1 + bench/bird/comparison.py | 182 +++++ bench/bird/dataset.py | 198 +++++ bench/bird/evaluate.py | 155 ++++ bench/bird/io.py | 68 ++ bench/bird/manifest-sqlite100.json | 526 +++++++++++++ bench/bird/matrix.sh | 58 ++ bench/bird/protocol.py | 215 +++++ bench/bird/providers.py | 190 +++++ bench/bird/pyproject.toml | 17 + bench/bird/records.py | 77 ++ bench/bird/runner.py | 403 ++++++++++ bench/bird/scoring.py | 242 ++++++ bench/bird/sqlite.py | 32 + bench/bird/submissions.py | 21 + bench/bird/uv.lock | 1167 ++++++++++++++++++++++++++++ tests/test_bird_benchmark.py | 52 ++ 20 files changed, 3672 insertions(+) create mode 100644 bench/bird/.gitignore create mode 100644 bench/bird/README.md create mode 100644 bench/bird/__init__.py create mode 100644 bench/bird/comparison.py create mode 100644 bench/bird/dataset.py create mode 100644 bench/bird/evaluate.py create mode 100644 bench/bird/io.py create mode 100644 bench/bird/manifest-sqlite100.json create mode 100755 bench/bird/matrix.sh create mode 100644 bench/bird/protocol.py create mode 100644 bench/bird/providers.py create mode 100644 bench/bird/pyproject.toml create mode 100644 bench/bird/records.py create mode 100644 bench/bird/runner.py create mode 100644 bench/bird/scoring.py create mode 100644 bench/bird/sqlite.py create mode 100644 bench/bird/submissions.py create mode 100644 bench/bird/uv.lock create mode 100644 tests/test_bird_benchmark.py diff --git a/bench/README.md b/bench/README.md index 926c4e89..86357dea 100644 --- a/bench/README.md +++ b/bench/README.md @@ -1,5 +1,7 @@ # bench/ — runnable demo +For product revision comparisons, see the [BIRD Mini-Dev SQLite benchmark](bird/README.md). + A self-contained walkthrough of Lang2SQL V1's headline value, with **no Discord token and no live database**. It runs the real shipped modules against the canned Postgres stub and the offline `FakeLLM`. diff --git a/bench/bird/.gitignore b/bench/bird/.gitignore new file mode 100644 index 00000000..8475a4bf --- /dev/null +++ b/bench/bird/.gitignore @@ -0,0 +1,3 @@ +runs/ +*.sqlite +*.zip diff --git a/bench/bird/README.md b/bench/bird/README.md new file mode 100644 index 00000000..33945ea5 --- /dev/null +++ b/bench/bird/README.md @@ -0,0 +1,63 @@ +# BIRD Mini-Dev SQLite 100문항 벤치 + +제품 변경 전후를 같은 문항으로 평가하는 모듈이다. 이 벤치의 커밋과 제품의 기준·변경 커밋을 각각 체크아웃하고, 같은 벤치 워크트리에서 두 제품을 평가한다. + +## 고정 프로토콜 + +- [표본 manifest](manifest-sqlite100.json)는 기존 벤치와 동일한 SQLite 리비전에서 evidence가 있는 365문항을 대상으로 한다. `db_id`와 난이도별 비례 몫을 최대 나머지 방식으로 정하고, 각 그룹에서 `SHA-256(20261114:question_id)`가 작은 문항을 뽑았다. 고정한 100문항에 11개 DB와 `challenging` 98건, `moderate` 2건이 포함된다. [기존 결과 PR #315](https://github.com/CausalInferenceLab/Lang2SQL/pull/315) +- **B**는 질문과 같은 사용자 메시지에 `BIRD evidence` 블록으로 원문을 전달한다. **D**는 질문에 공통 SQL 제출 지시만 붙인다. 각 문항은 새 세션과 빈 지식 저장소에서 시작한다. 제품의 `run_sql`과 `explore_schema`를 사용하며, 해당 제품이 제공하는 `review_sql`도 노출한다. +- [프로토콜 설정](protocol.py)은 모델 ID, 응답 확인용 모델 ID, 호출 설정을 고정한다. `gpt-4.1-mini-2025-04-14`와 `gpt-4.1-2025-04-14`는 OpenAI SDK 3.51.0, `gpt-6-luna`는 SDK 3.57.0과 `reasoning_effort=none`을 사용한다. Luna는 공급자의 별칭으로 지정하고 응답 모델 ID와 제공되는 `system_fingerprint`를 기록한다. [기존 런타임 설정](https://github.com/CausalInferenceLab/Lang2SQL/pull/315) +- Python 3.13.14, SQLite 3.53.1, LiteLLM 1.109.1을 사용한다. SQLAlchemy와 나머지 패키지는 [잠금 파일](uv.lock)에 고정한다. 문항당 모델 호출은 8회, 출력은 호출당 4,096토큰으로 제한한다. 호출·문항·SQL 제한은 각각 120초·480초·30초이며, 채점 결과는 100,000행까지 읽는다. 각 모델은 B, D 순서로 실행하고 세 모델은 병렬로 돌린다. 조합당 동시성은 4다. +- EX는 읽기 전용 SQLite에서 예측과 기준 SQL의 행 튜플 집합이 같으면 1점이다. 행 순서와 중복은 무시하고, 열 순서와 값은 유지한다. SQL 미제출과 실행 실패도 분모에 포함한다. [BIRD EX 규칙](https://github.com/bird-bench/mini_dev/blob/1c49a375e76c471e218564da3f4617513d33e371/evaluation/evaluation_ex.py#L17) + +같은 100문항으로 3개 프로필과 2개 입력 조건을 평가하므로 제품 버전당 600회다. 기준·변경군을 모두 새로 실행하면 1,200회다. 이미 같은 벤치와 설정으로 저장된 기준군 행렬이 있으면 `compare`에서 다시 사용할 수 있다. + +## 워크트리와 입력 준비 + +절대 경로 `BENCH_TREE`, `BASE_TREE`, `CANDIDATE_TREE`, `RUN_ROOT`를 정한다. `BENCH_SHA`에 이 모듈의 전체 커밋 SHA를, `BASE_SHA`와 `CANDIDATE_SHA`에 제품 커밋의 전체 SHA를 지정한다. GitHub에서 벤치 PR 참조를 가져올 때는 `BENCH_PR`에 PR 번호를 넣는다. + +```bash +git fetch origin "refs/pull/$BENCH_PR/head" +git worktree add --detach "$BENCH_TREE" "$BENCH_SHA" +git worktree add --detach "$BASE_TREE" "$BASE_SHA" +git worktree add --detach "$CANDIDATE_TREE" "$CANDIDATE_SHA" +cd "$BENCH_TREE" + +mkdir -p "$RUN_ROOT" +UV_PROJECT_ENVIRONMENT="$RUN_ROOT/env-gpt41" \ + uv sync --project bench/bird --locked --managed-python --python 3.13.14 --extra gpt41 +UV_PROJECT_ENVIRONMENT="$RUN_ROOT/env-luna" \ + uv sync --project bench/bird --locked --managed-python --python 3.13.14 --extra luna +export BIRD_GPT41_PY="$RUN_ROOT/env-gpt41/bin/python" +export BIRD_LUNA_PY="$RUN_ROOT/env-luna/bin/python" +``` + +`SOURCE`는 고정 리비전의 `data/mini_dev_sqlite.jsonl` 경로다. `DB_DIR`은 BIRD Dev 배포본의 내부 `dev_databases.zip`을 푼 디렉터리다. `/.sqlite`와 `.sqlite` 구조를 지원한다. `prepare`가 주석과 DB 파일의 SHA-256을 manifest와 대조하고, 모델 입력용 `cases.jsonl`로 내보낸다. 기준 SQL은 별도의 채점 입력으로 사용한다. [고정 주석 리비전](https://huggingface.co/datasets/birdsql/bird_mini_dev/tree/38818fcbc46038129592680c51b2c8b597aac27c/data) · [SQLite 배포본](https://bird-bench.oss-cn-beijing.aliyuncs.com/dev.zip) + +```bash +PREPARED="$RUN_ROOT/prepared" +"$BIRD_GPT41_PY" -m bench.bird.evaluate prepare \ + --source "$SOURCE" --db-dir "$DB_DIR" --output "$PREPARED" +"$BIRD_GPT41_PY" -m bench.bird.evaluate check-gold \ + --source "$SOURCE" --db-dir "$DB_DIR" --prepared "$PREPARED" +``` + +## 변경 전후 평가 + +실행 환경에 기존 벤치의 LiteLLM 인증을 제공한 뒤 아래 명령을 실행한다. `matrix.sh`에서 같은 벤치 워크트리와 준비 입력으로 각 제품의 6개 조합을 생성·채점한다. 동일한 명령을 다시 실행하면 기록이 있는 조합부터 이어서 진행한다. + +```bash +bash bench/bird/matrix.sh "$BASE_TREE" "$BASE_SHA" \ + "$PREPARED" "$SOURCE" "$DB_DIR" "$RUN_ROOT/baseline" +bash bench/bird/matrix.sh "$CANDIDATE_TREE" "$CANDIDATE_SHA" \ + "$PREPARED" "$SOURCE" "$DB_DIR" "$RUN_ROOT/candidate" +"$BIRD_GPT41_PY" -m bench.bird.evaluate compare \ + --baseline "$RUN_ROOT/baseline" --candidate "$RUN_ROOT/candidate" \ + --output "$RUN_ROOT/comparison" +``` + +각 조합의 `settings.json`은 두 커밋, 데이터·잠금 파일 지문, 모델 프로필과 실제 런타임을 기록한다. `compare`는 동일한 벤치와 입력, 프로필별 런타임으로 완료한 조합만 받아들인다. `comparison.json`에서 조건·프로필별 제품 전후 EX, 정오답 전환, 호출 수와 모델 응답 정보를 확인할 수 있다. 제품별 B−D도 함께 계산한다. `paired-scores.jsonl`에는 문항 ID별 쌍을 저장한다. + +## 오프라인 스모크 + +`prepare --smoke-cases 2`로 다른 DB에서 고정 문항 두 개를 준비하고 `check-gold`를 실행한다. 위의 두 `matrix.sh` 호출에 `--smoke`를 추가하고, `compare`에도 `--smoke`를 붙인다. 별도 결과 경로를 사용한다. 스크립트 응답으로 실제 제품의 스키마 조회와 SQLite 실행, 최종 SQL 제출, EX 채점, 문항 대응을 확인한다. 오프라인 결과에는 `scripted-smoke` 모드가 기록된다. diff --git a/bench/bird/__init__.py b/bench/bird/__init__.py new file mode 100644 index 00000000..782ce1ad --- /dev/null +++ b/bench/bird/__init__.py @@ -0,0 +1 @@ +"""BIRD Mini-Dev SQLite evidence evaluation.""" diff --git a/bench/bird/comparison.py b/bench/bird/comparison.py new file mode 100644 index 00000000..4d5b087a --- /dev/null +++ b/bench/bird/comparison.py @@ -0,0 +1,182 @@ +"""Join the two product revisions by profile, evidence condition and question.""" + +from __future__ import annotations + +import json +from pathlib import Path + +from .dataset import load_manifest +from .io import ProtocolError, digest, json_digest, read_json, write_json, write_text +from .protocol import CONDITIONS, PROFILES, check_settings + + +def load_runs(root: Path, commit: str, *, smoke: bool) -> dict: + runs = {} + for profile in PROFILES: + for condition in CONDITIONS: + path = root / f"{condition}-{profile}" + manifest = load_manifest(path) + settings = read_json(path / "settings.json") + check_settings(manifest, settings, commit) + if (manifest["smoke_cases"] is not None) != smoke: + raise ProtocolError("Comparison requires runs of the selected mode") + if ( + settings["condition"] != condition + or settings["profile"]["name"] != profile + ): + raise ProtocolError(f"Run has the wrong condition or profile: {path}") + + summary = read_json(path / "summary.json") + scores_path = path / "scores.json" + identity = { + "status": "completed", + "condition": condition, + "profile": profile, + "model": settings["profile"]["model"], + "benchmark_commit": commit, + "product_commit": settings["product_commit"], + "mode": settings["mode"], + "manifest_digest": settings["manifest_digest"], + "settings_digest": json_digest(settings), + "scores_sha256": digest(scores_path), + "total": len(manifest["cases"]), + } + if any(summary.get(key) != value for key, value in identity.items()): + raise ProtocolError( + f"Run has incomplete or mismatched score artifacts: {path}" + ) + if set(summary["response_models"]) != {PROFILES[profile]["response_model"]}: + raise ProtocolError( + f"Run has unexpected provider response models: {path}" + ) + + rows = read_json(scores_path) + expected = [ + (case["question_id"], case["db_id"]) for case in manifest["cases"] + ] + if [(row["question_id"], row["db_id"]) for row in rows] != expected or any( + row["condition"] != condition + or row["profile"] != profile + or row["ex"] not in (0, 1) + for row in rows + ): + raise ProtocolError( + f"Scores do not cover the exact frozen cohort: {path}" + ) + if summary["correct"] != sum(row["ex"] for row in rows): + raise ProtocolError( + f"Summary correct count differs from scores: {path}" + ) + runs[condition, profile] = settings, summary, rows + return runs + + +def paired_metrics(before: list[dict], after: list[dict]) -> dict: + pairs = list(zip(before, after, strict=True)) + if any(left["question_id"] != right["question_id"] for left, right in pairs): + raise ProtocolError("Scores must be paired by question ID") + a_correct = sum(row["ex"] for row in before) + b_correct = sum(row["ex"] for row in after) + return { + "questions": len(pairs), + "before_correct": a_correct, + "after_correct": b_correct, + "before_ex_pct": 100 * a_correct / len(pairs), + "after_ex_pct": 100 * b_correct / len(pairs), + "delta_ex_pp": 100 * (b_correct - a_correct) / len(pairs), + "wrong_to_right": sum(left["ex"] < right["ex"] for left, right in pairs), + "right_to_wrong": sum(left["ex"] > right["ex"] for left, right in pairs), + } + + +def compare( + baseline: Path, + candidate: Path, + output: Path, + commit: str, + *, + smoke: bool, +) -> dict: + versions = { + "baseline": load_runs(baseline, commit, smoke=smoke), + "candidate": load_runs(candidate, commit, smoke=smoke), + } + manifests = { + settings["manifest_digest"] + for runs in versions.values() + for settings, _, _ in runs.values() + } + if len(manifests) != 1: + raise ProtocolError("All runs must use exactly the same prepared manifest") + products = {} + for label, runs in versions.items(): + sources = { + (settings["product_commit"], settings["product_lock_sha256"]) + for settings, _, _ in runs.values() + } + if len(sources) != 1: + raise ProtocolError(f"{label} mixes different product checkouts") + products[label] = sources.pop()[0] + + comparisons, evidence = {}, {label: {} for label in versions} + paired = [] + for profile in PROFILES: + runtimes = [ + runs[condition, profile][0]["runtime"] + for runs in versions.values() + for condition in CONDITIONS + ] + if any(runtime != runtimes[0] for runtime in runtimes[1:]): + raise ProtocolError(f"Comparisons must use the same runtime for {profile}") + + for label, runs in versions.items(): + without = runs["D", profile][2] + supplied = runs["B", profile][2] + for left, right in zip(without, supplied, strict=True): + for field in ("system_digest", "tools_digest"): + if left[field] and right[field] and left[field] != right[field]: + raise ProtocolError( + f"Evidence conditions differ in {field} for {label}/" + f"{profile}/{left['question_id']}" + ) + evidence[label][profile] = paired_metrics(without, supplied) + + for condition in CONDITIONS: + _, baseline_summary, before = versions["baseline"][condition, profile] + _, candidate_summary, after = versions["candidate"][condition, profile] + comparisons[f"{condition}-{profile}"] = { + **paired_metrics(before, after), + "before_model_calls": baseline_summary["model_calls"], + "after_model_calls": candidate_summary["model_calls"], + "before_case_seconds": baseline_summary["case_seconds"], + "after_case_seconds": candidate_summary["case_seconds"], + "before_system_fingerprints": baseline_summary["system_fingerprints"], + "after_system_fingerprints": candidate_summary["system_fingerprints"], + } + paired.extend( + { + "condition": condition, + "profile": profile, + "question_id": left["question_id"], + "db_id": left["db_id"], + "baseline_ex": left["ex"], + "candidate_ex": right["ex"], + } + for left, right in zip(before, after, strict=True) + ) + report = { + "mode": "scripted-smoke" if smoke else "benchmark", + "benchmark_commit": commit, + "product_commits": products, + "manifest_digest": manifests.pop(), + "matched_product_pairs": len(paired), + "product_comparisons": comparisons, + "evidence_comparisons_d_to_b": evidence, + } + output.mkdir(parents=True, exist_ok=False) + write_text( + output / "paired-scores.jsonl", + "".join(json.dumps(row, ensure_ascii=False) + "\n" for row in paired), + ) + write_json(output / "comparison.json", report) + return report diff --git a/bench/bird/dataset.py b/bench/bird/dataset.py new file mode 100644 index 00000000..d08c1b47 --- /dev/null +++ b/bench/bird/dataset.py @@ -0,0 +1,198 @@ +"""Freeze BIRD SQLite inputs and keep reference SQL out of inference.""" + +from __future__ import annotations + +import hashlib +import json +from collections import defaultdict +from dataclasses import asdict, dataclass +from pathlib import Path + +from .io import ProtocolError, digest, read_json, write_json, write_text + +COHORT_PATH = Path(__file__).with_name("manifest-sqlite100.json") +SAMPLE_SIZE = 100 +SMOKE_LIMIT = 5 +EX_REFERENCE = ( + "https://github.com/bird-bench/mini_dev/blob/" + "1c49a375e76c471e218564da3f4617513d33e371/evaluation/evaluation_ex.py#L17" +) + + +@dataclass(frozen=True) +class Case: + question_id: int + db_id: str + difficulty: str + question: str + evidence: str + + def metadata(self) -> dict: + return { + "question_id": self.question_id, + "db_id": self.db_id, + "difficulty": self.difficulty, + } + + +def sample_cases(cases: list[Case], seed: int, count: int) -> list[Case]: + """Assign proportional quotas by DB and difficulty, then rank IDs per stratum.""" + strata: dict[tuple[str, str], list[Case]] = defaultdict(list) + for case in cases: + strata[case.db_id, case.difficulty].append(case) + shares = { + key: divmod(count * len(members), len(cases)) for key, members in strata.items() + } + quotas = {key: whole for key, (whole, _) in shares.items()} + remaining = count - sum(quotas.values()) + for key in sorted(shares, key=lambda key: (-shares[key][1], key))[:remaining]: + quotas[key] += 1 + + def rank(case: Case) -> tuple[bytes, int]: + return ( + hashlib.sha256(f"{seed}:{case.question_id}".encode("ascii")).digest(), + case.question_id, + ) + + selected = [ + case + for key in sorted(strata) + for case in sorted(strata[key], key=rank)[: quotas[key]] + ] + return sorted(selected, key=lambda case: case.question_id) + + +def read_source(source: Path, cohort: dict) -> list[dict]: + raw = source.read_bytes() + if hashlib.sha256(raw).hexdigest() != cohort["source_sha256"]: + raise ProtocolError("Annotation file differs from the frozen BIRD revision") + rows = [json.loads(line) for line in raw.splitlines()] + if len(rows) != cohort["source_count"] or len( + {r["question_id"] for r in rows} + ) != len(rows): + raise ProtocolError("Annotation count or question IDs do not match the cohort") + return rows + + +def project(row: dict) -> Case: + return Case( + question_id=row["question_id"], + db_id=row["db_id"], + difficulty=row["difficulty"], + question=row["question"], + evidence=row["evidence"], + ) + + +def selected_metadata(cohort: dict, smoke_cases: int | None) -> list[dict]: + cases = cohort["cases"] + if smoke_cases is None: + return cases + if type(smoke_cases) is not int or not 1 <= smoke_cases <= SMOKE_LIMIT: + raise ProtocolError(f"Smoke cases must be between 1 and {SMOKE_LIMIT}") + # Round robin across databases so even a short smoke run opens different DBs. + first_by_db = {} + for case in cases: + first_by_db.setdefault(case["db_id"], case) + return sorted( + list(first_by_db.values())[:smoke_cases], key=lambda case: case["question_id"] + ) + + +def database_path(directory: Path, db_id: str) -> Path: + filename = f"{db_id}.sqlite" + candidates = (directory / db_id / filename, directory / filename) + files = {path.resolve() for path in candidates if path.is_file()} + if len(files) != 1: + raise ProtocolError(f"Expected one SQLite file for {db_id}") + db = files.pop() + for suffix in ("-wal", "-journal"): + sidecar = db.with_name(db.name + suffix) + if sidecar.exists() and sidecar.stat().st_size: + raise ProtocolError( + f"SQLite snapshot has an active sidecar: {db_id}{suffix}" + ) + return db + + +def verify_databases(db_dir: Path, manifest: dict) -> dict[str, Path]: + databases = {} + for db_id, checksum in manifest["database_sha256"].items(): + db = database_path(db_dir, db_id) + if digest(db) != checksum: + raise ProtocolError( + f"SQLite snapshot differs from the pinned bytes for {db_id}" + ) + databases[db_id] = db + return databases + + +def manifest_metadata(cohort: dict, smoke_cases: int | None) -> dict: + cases = selected_metadata(cohort, smoke_cases) + return { + "format_version": 1, + "cohort_sha256": digest(COHORT_PATH), + "smoke_cases": smoke_cases, + "database_revision": cohort["database_revision"], + "database_sha256": { + db_id: cohort["database_sha256"][db_id] + for db_id in sorted({case["db_id"] for case in cases}) + }, + "cases": cases, + "ex_reference": EX_REFERENCE, + } + + +def prepare( + source: Path, db_dir: Path, output: Path, smoke_cases: int | None = None +) -> dict: + cohort = read_json(COHORT_PATH) + eligible = [ + project(row) for row in read_source(source, cohort) if row["evidence"].strip() + ] + sample = sample_cases(eligible, cohort["seed"], SAMPLE_SIZE) + if ( + len(eligible) != cohort["eligible_count"] + or [case.metadata() for case in sample] != cohort["cases"] + ): + raise ProtocolError("Source does not reproduce the frozen 100-question sample") + + manifest = manifest_metadata(cohort, smoke_cases) + verify_databases(db_dir, manifest) + by_id = {case.question_id: case for case in sample} + inference = "".join( + json.dumps(asdict(by_id[item["question_id"]]), ensure_ascii=False) + "\n" + for item in manifest["cases"] + ) + manifest["cases_sha256"] = hashlib.sha256(inference.encode("utf-8")).hexdigest() + output.mkdir(parents=True, exist_ok=False) + write_text(output / "cases.jsonl", inference) + write_json(output / "manifest.json", manifest) + return manifest + + +def load_manifest(directory: Path) -> dict: + manifest = read_json(directory / "manifest.json") + expected = manifest_metadata(read_json(COHORT_PATH), manifest["smoke_cases"]) + if any(manifest.get(key) != value for key, value in expected.items()): + raise ProtocolError("Manifest differs from the frozen cohort or EX protocol") + return manifest + + +def load_cases(directory: Path, manifest: dict) -> list[Case]: + data = (directory / "cases.jsonl").read_bytes() + if hashlib.sha256(data).hexdigest() != manifest["cases_sha256"]: + raise ProtocolError("Inference input hash does not match the manifest") + cases = [Case(**json.loads(line)) for line in data.splitlines()] + if [case.metadata() for case in cases] != manifest["cases"]: + raise ProtocolError("Inference metadata does not match the manifest") + return cases + + +def gold_rows(source: Path, manifest: dict) -> list[dict]: + cohort = read_json(COHORT_PATH) + by_id = {row["question_id"]: row for row in read_source(source, cohort)} + rows = [by_id[item["question_id"]] for item in manifest["cases"]] + if [project(row).metadata() for row in rows] != manifest["cases"]: + raise ProtocolError("Gold question/database metadata differs from the manifest") + return rows diff --git a/bench/bird/evaluate.py b/bench/bird/evaluate.py new file mode 100644 index 00000000..3deac1b3 --- /dev/null +++ b/bench/bird/evaluate.py @@ -0,0 +1,155 @@ +"""Prepare, generate, score and compare independent BIRD SQLite runs.""" + +from __future__ import annotations + +import argparse +import asyncio +import json +import os +import signal +import sys +from importlib import import_module +from pathlib import Path + +from .comparison import compare +from .dataset import SMOKE_LIMIT, load_cases, load_manifest, prepare, verify_databases +from .io import ProtocolError +from .protocol import ( + BUDGETS, + CONDITIONS, + PROFILES, + TRANSPORT, + benchmark_commit, + product_source, + settings, +) +from .scoring import check_gold, require_gold_check, score + + +async def generate(args: argparse.Namespace, commit: str) -> dict: + manifest = load_manifest(args.prepared) + cases = load_cases(args.prepared, manifest) + require_gold_check(args.prepared, manifest, BUDGETS) + databases = verify_databases(args.db_dir, manifest) + product_tree = args.product_tree.resolve() + source = product_source(product_tree, args.product_commit) + snapshot = settings( + manifest, + condition=args.condition, + profile_name=args.profile, + product_commit=args.product_commit, + product_tree=product_tree, + commit=commit, + ) + transport = None + if manifest["smoke_cases"] is None: + if args.transport != TRANSPORT: + raise ProtocolError(f"Benchmark runs require --transport {TRANSPORT}") + os.environ["LITELLM_LOCAL_MODEL_COST_MAP"] = "True" + name, function = args.transport.split(":") + transport = getattr(import_module(name), function) + elif args.transport is not None: + raise ProtocolError("A smoke cohort uses the built-in scripted transport") + + sys.path.insert(0, str(source)) + product = import_module("lang2sql") + if Path(product.__file__).resolve() != source / "lang2sql" / "__init__.py": + raise ProtocolError( + "Imported Lang2SQL does not come from the specified checkout" + ) + from .runner import run_evaluation + + stop = asyncio.Event() + + def stop_after_active_cases(_signum, _frame) -> None: + stop.set() + + handlers = { + num: signal.signal(num, stop_after_active_cases) + for num in (signal.SIGINT, signal.SIGTERM) + } + try: + return await run_evaluation( + args.output, + manifest, + snapshot, + cases, + databases, + transport, + stop, + resume=args.resume, + ) + finally: + for num, handler in handlers.items(): + signal.signal(num, handler) + + +def parser() -> argparse.ArgumentParser: + root = argparse.ArgumentParser(description=__doc__) + commands = root.add_subparsers(dest="command", required=True) + prepare_cmd = commands.add_parser( + "prepare", help="Verify and project the frozen cohort" + ) + gold_cmd = commands.add_parser("check-gold", help="Verify reference SQL execution") + run_cmd = commands.add_parser( + "run", help="Generate one condition and model profile" + ) + score_cmd = commands.add_parser("score", help="Score one completed run on SQLite") + compare_cmd = commands.add_parser( + "compare", help="Compare two complete product matrices" + ) + + for command in (prepare_cmd, gold_cmd, score_cmd): + command.add_argument("--source", required=True, type=Path) + for command in (prepare_cmd, gold_cmd, run_cmd, score_cmd): + command.add_argument("--db-dir", required=True, type=Path) + for command in (prepare_cmd, run_cmd, score_cmd, compare_cmd): + command.add_argument("--output", required=True, type=Path) + for command in (gold_cmd, run_cmd): + command.add_argument("--prepared", required=True, type=Path) + prepare_cmd.add_argument( + "--smoke-cases", + type=int, + choices=range(1, SMOKE_LIMIT + 1), + help="Prepare a separate scripted smoke cohort", + ) + run_cmd.add_argument("--condition", choices=CONDITIONS, required=True) + run_cmd.add_argument("--profile", choices=PROFILES, required=True) + run_cmd.add_argument("--product-tree", type=Path, required=True) + run_cmd.add_argument( + "--product-commit", required=True, help="Full product commit SHA" + ) + run_cmd.add_argument("--transport", choices=(TRANSPORT,)) + run_cmd.add_argument("--resume", action="store_true") + compare_cmd.add_argument("--baseline", type=Path, required=True) + compare_cmd.add_argument("--candidate", type=Path, required=True) + compare_cmd.add_argument("--smoke", action="store_true") + return root + + +def main(argv: list[str] | None = None) -> int: + cli = parser() + args = cli.parse_args(argv) + try: + commit = benchmark_commit() + if args.command == "prepare": + manifest = prepare(args.source, args.db_dir, args.output, args.smoke_cases) + result = {"status": "prepared", "questions": len(manifest["cases"])} + elif args.command == "check-gold": + result = check_gold(args.prepared, args.source, args.db_dir) + elif args.command == "run": + result = asyncio.run(generate(args, commit)) + elif args.command == "score": + result = score(args.output, args.source, args.db_dir, commit) + else: + result = compare( + args.baseline, args.candidate, args.output, commit, smoke=args.smoke + ) + except (OSError, ValueError, ImportError, KeyError) as error: + cli.exit(1, f"{error}\n") + print(json.dumps(result, ensure_ascii=False, indent=2)) + return 130 if result.get("status") == "interrupted" else 0 + + +if __name__ == "__main__": + raise SystemExit(main()) diff --git a/bench/bird/io.py b/bench/bird/io.py new file mode 100644 index 00000000..1df62cf5 --- /dev/null +++ b/bench/bird/io.py @@ -0,0 +1,68 @@ +"""Stable fingerprints and atomic benchmark artifacts.""" + +from __future__ import annotations + +import hashlib +import json +import os +import sqlite3 +import tempfile +from contextlib import contextmanager +from pathlib import Path + + +class ProtocolError(ValueError): + """The inputs or runtime do not match the recorded evaluation protocol.""" + + +def digest(path: Path) -> str: + with path.open("rb") as source: + checksum = hashlib.sha256() + for chunk in iter(lambda: source.read(1024 * 1024), b""): + checksum.update(chunk) + return checksum.hexdigest() + + +def json_digest(value) -> str: + data = json.dumps(value, ensure_ascii=False, sort_keys=True, separators=(",", ":")) + return hashlib.sha256(data.encode("utf-8")).hexdigest() + + +def read_json(path: Path): + return json.loads(path.read_text(encoding="utf-8")) + + +def write_text(path: Path, text: str) -> None: + path.parent.mkdir(parents=True, exist_ok=True) + with tempfile.NamedTemporaryFile( + dir=path.parent, mode="w", encoding="utf-8", newline="", delete=False + ) as temporary: + tmp = Path(temporary.name) + try: + temporary.write(text) + temporary.flush() + os.fsync(temporary.fileno()) + temporary.close() + tmp.replace(path) + finally: + tmp.unlink(missing_ok=True) + + +def write_json(path: Path, value) -> None: + write_text(path, json.dumps(value, ensure_ascii=False, indent=2) + "\n") + + +@contextmanager +def lock_output(directory: Path): + """Let SQLite release the exclusive writer slot even if the process dies.""" + connection = sqlite3.connect(directory / ".writer.sqlite", timeout=0) + try: + try: + connection.execute("BEGIN IMMEDIATE") + except sqlite3.OperationalError as error: + if "locked" not in str(error): + raise + raise ProtocolError(f"Output is already in use: {directory}") from None + yield + finally: + connection.close() diff --git a/bench/bird/manifest-sqlite100.json b/bench/bird/manifest-sqlite100.json new file mode 100644 index 00000000..c8756031 --- /dev/null +++ b/bench/bird/manifest-sqlite100.json @@ -0,0 +1,526 @@ +{ + "dataset": "birdsql/bird_mini_dev/mini_dev_sqlite", + "source_revision": "38818fcbc46038129592680c51b2c8b597aac27c", + "source_count": 500, + "source_sha256": "926af2a0d1b47e5d0d15a7aa8a34d4721007f4550a881555b6a89496b54a2606", + "eligible_count": 365, + "reference_manifest_sha256": "05d1414e7a355c486331506a8a9619428add7df6beae76789f8ce6fa647edb5b", + "database_revision": "8132aacfe61ecec7198a62e93cb8512dac89b1d6b9922fe3c7bb94b13f317d8f", + "database_sha256": { + "california_schools": "986817d793479801ed55133e55aa27e335422c0cd3866b54a3d6317b7c5f09c1", + "card_games": "c98bdb57fe7474da798b407785544b9af0daaad5d61fd21e2a73309493bc1227", + "codebase_community": "92101be6d2a9f6adceea59d38f6d1c556087f9eea1432432a21268cb1348036d", + "debit_card_specializing": "b3d149ad05746dbbe5116e229e17e18f09c39db43cf117d9ef3441753608b691", + "european_football_2": "e4d361dbeec6591a4b315877c0c481da05c8ff5a3d389b34d6e17b6f15bee4e0", + "financial": "d15d89cdb068a202b6f2b99342af44dffc1d52545b39ceaf62efdc0ba570101e", + "formula_1": "17185981cd747f6cdc374cb02a6096db3130e6ec2ddc582fe1686a28fb4c4c8a", + "student_club": "eb89bcfe97eefa386a27904ec5aa15159811a7eac894ec659a36e48fa9f76b77", + "superhero": "75e94a2c3236ee3bb2c01fb97a1c4b4c1c269bcefd4eab1d04be323d2d0825b1", + "thrombosis_prediction": "e7e16d74b4731b4b8d33fdbe8c29cd5622620788ce8d1f335631f65fc7cf1db9", + "toxicology": "f5fa7f21af1ad878ff8fef1b0582b8cb2d7ed63dbac65ff16d2ba05667650c5b" + }, + "seed": 20261114, + "selection": "Largest-remainder quotas by db_id and difficulty; lowest SHA-256 of seed:question_id per stratum", + "cases": [ + { + "question_id": 7, + "db_id": "california_schools", + "difficulty": "moderate" + }, + { + "question_id": 10, + "db_id": "california_schools", + "difficulty": "challenging" + }, + { + "question_id": 11, + "db_id": "california_schools", + "difficulty": "challenging" + }, + { + "question_id": 12, + "db_id": "california_schools", + "difficulty": "challenging" + }, + { + "question_id": 22, + "db_id": "california_schools", + "difficulty": "challenging" + }, + { + "question_id": 31, + "db_id": "california_schools", + "difficulty": "challenging" + }, + { + "question_id": 33, + "db_id": "california_schools", + "difficulty": "challenging" + }, + { + "question_id": 37, + "db_id": "california_schools", + "difficulty": "challenging" + }, + { + "question_id": 38, + "db_id": "california_schools", + "difficulty": "challenging" + }, + { + "question_id": 42, + "db_id": "california_schools", + "difficulty": "challenging" + }, + { + "question_id": 44, + "db_id": "california_schools", + "difficulty": "challenging" + }, + { + "question_id": 63, + "db_id": "card_games", + "difficulty": "challenging" + }, + { + "question_id": 68, + "db_id": "card_games", + "difficulty": "challenging" + }, + { + "question_id": 69, + "db_id": "card_games", + "difficulty": "challenging" + }, + { + "question_id": 70, + "db_id": "card_games", + "difficulty": "challenging" + }, + { + "question_id": 71, + "db_id": "card_games", + "difficulty": "challenging" + }, + { + "question_id": 76, + "db_id": "card_games", + "difficulty": "challenging" + }, + { + "question_id": 78, + "db_id": "card_games", + "difficulty": "challenging" + }, + { + "question_id": 82, + "db_id": "card_games", + "difficulty": "challenging" + }, + { + "question_id": 89, + "db_id": "card_games", + "difficulty": "challenging" + }, + { + "question_id": 96, + "db_id": "card_games", + "difficulty": "challenging" + }, + { + "question_id": 102, + "db_id": "card_games", + "difficulty": "challenging" + }, + { + "question_id": 105, + "db_id": "card_games", + "difficulty": "challenging" + }, + { + "question_id": 112, + "db_id": "card_games", + "difficulty": "challenging" + }, + { + "question_id": 117, + "db_id": "card_games", + "difficulty": "challenging" + }, + { + "question_id": 135, + "db_id": "codebase_community", + "difficulty": "challenging" + }, + { + "question_id": 137, + "db_id": "codebase_community", + "difficulty": "challenging" + }, + { + "question_id": 141, + "db_id": "codebase_community", + "difficulty": "challenging" + }, + { + "question_id": 143, + "db_id": "codebase_community", + "difficulty": "challenging" + }, + { + "question_id": 145, + "db_id": "codebase_community", + "difficulty": "challenging" + }, + { + "question_id": 153, + "db_id": "debit_card_specializing", + "difficulty": "challenging" + }, + { + "question_id": 160, + "db_id": "debit_card_specializing", + "difficulty": "challenging" + }, + { + "question_id": 175, + "db_id": "european_football_2", + "difficulty": "challenging" + }, + { + "question_id": 181, + "db_id": "european_football_2", + "difficulty": "challenging" + }, + { + "question_id": 186, + "db_id": "european_football_2", + "difficulty": "challenging" + }, + { + "question_id": 187, + "db_id": "european_football_2", + "difficulty": "challenging" + }, + { + "question_id": 193, + "db_id": "european_football_2", + "difficulty": "challenging" + }, + { + "question_id": 207, + "db_id": "financial", + "difficulty": "challenging" + }, + { + "question_id": 216, + "db_id": "financial", + "difficulty": "challenging" + }, + { + "question_id": 219, + "db_id": "financial", + "difficulty": "challenging" + }, + { + "question_id": 221, + "db_id": "financial", + "difficulty": "challenging" + }, + { + "question_id": 222, + "db_id": "financial", + "difficulty": "challenging" + }, + { + "question_id": 224, + "db_id": "financial", + "difficulty": "challenging" + }, + { + "question_id": 227, + "db_id": "financial", + "difficulty": "challenging" + }, + { + "question_id": 228, + "db_id": "financial", + "difficulty": "challenging" + }, + { + "question_id": 235, + "db_id": "financial", + "difficulty": "challenging" + }, + { + "question_id": 259, + "db_id": "formula_1", + "difficulty": "challenging" + }, + { + "question_id": 266, + "db_id": "formula_1", + "difficulty": "challenging" + }, + { + "question_id": 270, + "db_id": "formula_1", + "difficulty": "challenging" + }, + { + "question_id": 273, + "db_id": "formula_1", + "difficulty": "challenging" + }, + { + "question_id": 275, + "db_id": "formula_1", + "difficulty": "challenging" + }, + { + "question_id": 277, + "db_id": "formula_1", + "difficulty": "challenging" + }, + { + "question_id": 279, + "db_id": "formula_1", + "difficulty": "challenging" + }, + { + "question_id": 280, + "db_id": "formula_1", + "difficulty": "challenging" + }, + { + "question_id": 282, + "db_id": "formula_1", + "difficulty": "challenging" + }, + { + "question_id": 291, + "db_id": "formula_1", + "difficulty": "challenging" + }, + { + "question_id": 292, + "db_id": "formula_1", + "difficulty": "challenging" + }, + { + "question_id": 303, + "db_id": "student_club", + "difficulty": "challenging" + }, + { + "question_id": 305, + "db_id": "student_club", + "difficulty": "challenging" + }, + { + "question_id": 310, + "db_id": "student_club", + "difficulty": "challenging" + }, + { + "question_id": 314, + "db_id": "student_club", + "difficulty": "challenging" + }, + { + "question_id": 322, + "db_id": "student_club", + "difficulty": "challenging" + }, + { + "question_id": 324, + "db_id": "student_club", + "difficulty": "challenging" + }, + { + "question_id": 327, + "db_id": "student_club", + "difficulty": "challenging" + }, + { + "question_id": 343, + "db_id": "superhero", + "difficulty": "challenging" + }, + { + "question_id": 344, + "db_id": "superhero", + "difficulty": "challenging" + }, + { + "question_id": 348, + "db_id": "superhero", + "difficulty": "challenging" + }, + { + "question_id": 353, + "db_id": "superhero", + "difficulty": "challenging" + }, + { + "question_id": 361, + "db_id": "superhero", + "difficulty": "challenging" + }, + { + "question_id": 365, + "db_id": "superhero", + "difficulty": "challenging" + }, + { + "question_id": 370, + "db_id": "superhero", + "difficulty": "challenging" + }, + { + "question_id": 375, + "db_id": "superhero", + "difficulty": "challenging" + }, + { + "question_id": 389, + "db_id": "thrombosis_prediction", + "difficulty": "challenging" + }, + { + "question_id": 391, + "db_id": "thrombosis_prediction", + "difficulty": "challenging" + }, + { + "question_id": 402, + "db_id": "thrombosis_prediction", + "difficulty": "challenging" + }, + { + "question_id": 405, + "db_id": "thrombosis_prediction", + "difficulty": "challenging" + }, + { + "question_id": 407, + "db_id": "thrombosis_prediction", + "difficulty": "challenging" + }, + { + "question_id": 409, + "db_id": "thrombosis_prediction", + "difficulty": "challenging" + }, + { + "question_id": 410, + "db_id": "thrombosis_prediction", + "difficulty": "challenging" + }, + { + "question_id": 415, + "db_id": "thrombosis_prediction", + "difficulty": "challenging" + }, + { + "question_id": 417, + "db_id": "thrombosis_prediction", + "difficulty": "challenging" + }, + { + "question_id": 418, + "db_id": "thrombosis_prediction", + "difficulty": "challenging" + }, + { + "question_id": 426, + "db_id": "thrombosis_prediction", + "difficulty": "challenging" + }, + { + "question_id": 427, + "db_id": "thrombosis_prediction", + "difficulty": "challenging" + }, + { + "question_id": 430, + "db_id": "thrombosis_prediction", + "difficulty": "challenging" + }, + { + "question_id": 433, + "db_id": "thrombosis_prediction", + "difficulty": "challenging" + }, + { + "question_id": 434, + "db_id": "thrombosis_prediction", + "difficulty": "challenging" + }, + { + "question_id": 439, + "db_id": "thrombosis_prediction", + "difficulty": "challenging" + }, + { + "question_id": 445, + "db_id": "thrombosis_prediction", + "difficulty": "challenging" + }, + { + "question_id": 450, + "db_id": "thrombosis_prediction", + "difficulty": "challenging" + }, + { + "question_id": 451, + "db_id": "thrombosis_prediction", + "difficulty": "challenging" + }, + { + "question_id": 460, + "db_id": "thrombosis_prediction", + "difficulty": "challenging" + }, + { + "question_id": 469, + "db_id": "toxicology", + "difficulty": "challenging" + }, + { + "question_id": 471, + "db_id": "toxicology", + "difficulty": "challenging" + }, + { + "question_id": 473, + "db_id": "toxicology", + "difficulty": "challenging" + }, + { + "question_id": 476, + "db_id": "toxicology", + "difficulty": "moderate" + }, + { + "question_id": 480, + "db_id": "toxicology", + "difficulty": "challenging" + }, + { + "question_id": 490, + "db_id": "toxicology", + "difficulty": "challenging" + }, + { + "question_id": 495, + "db_id": "toxicology", + "difficulty": "challenging" + }, + { + "question_id": 497, + "db_id": "toxicology", + "difficulty": "challenging" + } + ] +} diff --git a/bench/bird/matrix.sh b/bench/bird/matrix.sh new file mode 100755 index 00000000..405a4b14 --- /dev/null +++ b/bench/bird/matrix.sh @@ -0,0 +1,58 @@ +#!/usr/bin/env bash +set -euo pipefail + +transport=(--transport litellm:acompletion) +if [[ ${1:-} == "--smoke" ]]; then + transport=() + shift +fi +if [[ $# -ne 6 ]]; then + echo "Usage: matrix.sh [--smoke] PRODUCT_TREE PRODUCT_SHA PREPARED SOURCE DB_DIR OUTPUT" >&2 + exit 2 +fi +product_tree=$(realpath "$1") +product_sha=$2 +prepared=$(realpath "$3") +source=$(realpath "$4") +db_dir=$(realpath "$5") +output=$(realpath -m "$6") +gpt41_python=${BIRD_GPT41_PY:?Set BIRD_GPT41_PY to the absolute path of the gpt41 interpreter} +luna_python=${BIRD_LUNA_PY:?Set BIRD_LUNA_PY to the absolute path of the luna interpreter} + +cd "$(dirname "${BASH_SOURCE[0]}")/../.." +mkdir -p "$output" + +run_profile() ( + local profile=$1 + local python=$2 + local condition + for condition in B D; do + local lane="$output/$condition-$profile" + local resume=() + if [[ -d "$lane" ]]; then + resume=(--resume) + fi + printf '%s\n' "Running $condition-$profile" + "$python" -m bench.bird.evaluate run \ + --prepared "$prepared" --db-dir "$db_dir" --output "$lane" \ + --condition "$condition" --profile "$profile" \ + --product-tree "$product_tree" --product-commit "$product_sha" \ + "${transport[@]}" "${resume[@]}" > "$lane.run.log" + "$python" -m bench.bird.evaluate score \ + --source "$source" --db-dir "$db_dir" --output "$lane" > "$lane.score.log" + printf '%s\n' "Scored $condition-$profile" + done +) + +run_profile openai-gpt41-mini "$gpt41_python" & +mini_pid=$! +run_profile openai-gpt41 "$gpt41_python" & +full_pid=$! +run_profile openai-gpt6-luna "$luna_python" & +luna_pid=$! + +result=0 +for pid in "$mini_pid" "$full_pid" "$luna_pid"; do + wait "$pid" || result=1 +done +exit "$result" diff --git a/bench/bird/protocol.py b/bench/bird/protocol.py new file mode 100644 index 00000000..dc49cee1 --- /dev/null +++ b/bench/bird/protocol.py @@ -0,0 +1,215 @@ +"""Immutable settings for BIRD evidence and product-revision comparisons.""" + +from __future__ import annotations + +import platform +import random +import re +import sqlite3 +import subprocess +from dataclasses import asdict, dataclass +from importlib.metadata import PackageNotFoundError, distributions, version +from pathlib import Path + +from .io import ProtocolError, digest, json_digest + +BENCH_DIR = Path(__file__).resolve().parent +BENCH_ROOT = BENCH_DIR.parents[1] +CONDITIONS = ("B", "D") +REQUIRED_TOOLS = ("run_sql", "explore_schema") +OPTIONAL_TOOLS = ("review_sql",) +EVIDENCE_LABEL = "BIRD evidence" +INSTRUCTION = ( + "\n\nNo follow-up user is available. Give the best supported answer for the " + "question. Return your final answer as exactly one fenced SQL block containing " + "a single read-only SQLite SELECT/WITH query. Exclude intermediate SQL." +) +SEED = 20261114 +TRANSPORT = "litellm:acompletion" +API_BASE = "https://api.openai.com/v1" +PROFILES = { + "openai-gpt41-mini": { + "model": "openai/gpt-4.1-mini-2025-04-14", + "response_model": "gpt-4.1-mini-2025-04-14", + "openai": "3.51.0", + }, + "openai-gpt41": { + "model": "openai/gpt-4.1-2025-04-14", + "response_model": "gpt-4.1-2025-04-14", + "openai": "3.51.0", + }, + "openai-gpt6-luna": { + "model": "openai/gpt-6-luna", + "response_model": "gpt-6-luna", + "openai": "3.57.0", + "reasoning_effort": "none", + }, +} + + +@dataclass(frozen=True) +class Budgets: + max_calls: int = 8 + max_output_tokens: int = 4096 + call_timeout: float = 120.0 + case_timeout: float = 480.0 + sql_timeout: float = 30.0 + max_rows: int = 100_000 + concurrency: int = 4 + pilot_questions: int = 6 + + +BUDGETS = Budgets() + + +def question_order(manifest: dict) -> list[int]: + ids = [case["question_id"] for case in manifest["cases"]] + random.Random(SEED).shuffle(ids) + return ids + + +def user_text(question: str, evidence: str, condition: str) -> str: + attachment = f"\n\n{EVIDENCE_LABEL}:\n{evidence}" if condition == "B" else "" + return question + attachment + INSTRUCTION + + +def git(root: Path, *args: str) -> str: + try: + return subprocess.check_output( + ["git", "-C", str(root), *args], text=True, stderr=subprocess.PIPE + ).strip() + except subprocess.CalledProcessError: + raise ProtocolError(f"Could not verify Git checkout at {root}") from None + + +def verify_checkout(root: Path, commit: str, *paths: str) -> None: + if ( + not re.fullmatch(r"[0-9a-f]{40}", commit) + or git(root, "rev-parse", "HEAD") != commit + ): + raise ProtocolError( + f"Checkout must be at the specified full commit SHA: {root}" + ) + if Path(git(root, "rev-parse", "--show-toplevel")).resolve() != root: + raise ProtocolError(f"Expected a Git worktree root: {root}") + if git(root, "diff", "--name-only", commit, "--", *paths) or git( + root, "ls-files", "--others", "--exclude-standard", "--", *paths + ): + raise ProtocolError( + f"Checkout has uncommitted benchmark or product inputs: {root}" + ) + + +def benchmark_commit() -> str: + commit = git(BENCH_ROOT, "rev-parse", "HEAD") + verify_checkout(BENCH_ROOT, commit, "bench/bird") + return commit + + +def product_source(root: Path, commit: str) -> Path: + verify_checkout(root, commit, "src", "pyproject.toml", "uv.lock") + source = root / "src" + if not (source / "lang2sql" / "__init__.py").is_file(): + raise ProtocolError(f"Lang2SQL source is missing in {root}") + return source + + +def runtime(profile: dict, *, smoke: bool) -> dict: + expected = { + "sqlalchemy": "2.0.50", + "cryptography": "45.0.6", + "PyYAML": "6.0.3", + } + if not smoke: + expected.update(litellm="1.109.1", openai=profile["openai"]) + actual = { + "python": platform.python_version(), + "sqlite": sqlite3.sqlite_version, + } + required = {"python": "3.13.14", "sqlite": "3.53.1", **expected} + for package in expected: + try: + actual[package] = version(package) + except PackageNotFoundError: + actual[package] = "missing" + mismatches = [ + f"{key}={actual[key]} (expected {expected_version})" + for key, expected_version in required.items() + if actual[key] != expected_version + ] + if mismatches: + raise ProtocolError("Benchmark runtime mismatch: " + ", ".join(mismatches)) + actual["installed_packages"] = { + item.metadata["Name"].lower(): item.version for item in distributions() + } + return actual + + +def scoring_settings(budgets: Budgets = BUDGETS) -> dict: + return { + "sql_timeout": budgets.sql_timeout, + "max_rows": budgets.max_rows, + "sqlite_version": sqlite3.sqlite_version, + "scoring_sha256": digest(BENCH_DIR / "scoring.py"), + "connection_sha256": digest(BENCH_DIR / "sqlite.py"), + } + + +def fixed_settings(manifest: dict) -> dict: + smoke = manifest["smoke_cases"] is not None + return { + "format_version": 1, + "mode": "scripted-smoke" if smoke else "benchmark", + "transport": "scripted" if smoke else TRANSPORT, + "manifest_digest": json_digest(manifest), + "lock_sha256": digest(BENCH_DIR / "uv.lock"), + "provider_options": {"api_base": API_BASE, "num_retries": 0}, + "budgets": asdict(BUDGETS), + "scoring": scoring_settings(), + "seed": SEED, + "question_order": question_order(manifest), + "tool_policy": { + "required": list(REQUIRED_TOOLS), + "optional": list(OPTIONAL_TOOLS), + }, + "instruction": INSTRUCTION, + "evidence_label": EVIDENCE_LABEL, + } + + +def settings( + manifest: dict, + *, + condition: str, + profile_name: str, + product_commit: str, + product_tree: Path, + commit: str, +) -> dict: + profile = PROFILES[profile_name] + return { + **fixed_settings(manifest), + "condition": condition, + "profile": {"name": profile_name, **profile}, + "product_commit": product_commit, + "product_lock_sha256": digest(product_tree / "uv.lock"), + "benchmark_commit": commit, + "runtime": runtime(profile, smoke=manifest["smoke_cases"] is not None), + } + + +def check_settings(manifest: dict, snapshot: dict, commit: str) -> None: + if any( + snapshot.get(key) != value for key, value in fixed_settings(manifest).items() + ): + raise ProtocolError("Settings do not match this manifest or benchmark protocol") + if snapshot.get("benchmark_commit") != commit: + raise ProtocolError("Run was created with a different benchmark commit") + profile = snapshot["profile"] + name = profile["name"] + if ( + snapshot.get("condition") not in CONDITIONS + or name not in PROFILES + or profile != {"name": name, **PROFILES[name]} + ): + raise ProtocolError("Run has an unknown condition or changed model profile") diff --git a/bench/bird/providers.py b/bench/bird/providers.py new file mode 100644 index 00000000..ccfd3823 --- /dev/null +++ b/bench/bird/providers.py @@ -0,0 +1,190 @@ +"""Measured LLMPort following the provider adapter from the Spider2 benchmark.""" + +from __future__ import annotations + +import asyncio +import time +from collections.abc import Awaitable, Callable, Sequence +from typing import Any, Protocol + +from lang2sql.adapters.llm.openai_ import ( + _decode_completion, + _encode_message, + _encode_tool, +) +from lang2sql.core.types import Completion, Message, ToolSpec + +from .io import ProtocolError + + +class ProviderResponse(Protocol): + def model_dump(self) -> dict[str, Any]: ... + + +Transport = Callable[..., Awaitable[ProviderResponse]] + + +class CallBudgetExhausted(RuntimeError): + pass + + +class ModelCallError(RuntimeError): + def __init__(self, reason: str, error_type: str, status_code: int | None = None): + self.reason = reason + self.error_type = error_type + self.status_code = status_code + super().__init__(reason) + + +class MeasuredLLM: + def __init__( + self, + *, + model: str, + response_model: str, + api_base: str, + timeout: float, + max_calls: int, + max_output_tokens: int, + transport: Transport, + observe_first_request: Callable[[list[dict], list[dict]], None], + save_attempt: Callable[[list[dict]], None], + reasoning_effort: str | None = None, + ): + self.model = model + self.response_model = response_model + self.api_base = api_base + self.timeout = timeout + self.max_calls = max_calls + self.max_output_tokens = max_output_tokens + self.reasoning_effort = reasoning_effort + self.transport = transport + self.observe_first_request = observe_first_request + self.save_attempt = save_attempt + self.calls: list[dict] = [] + self._provider_messages: dict[str, dict] = {} + + async def complete( + self, messages: Sequence[Message], tools: Sequence[ToolSpec] = () + ) -> Completion: + return await self._complete(messages, tools) + + async def complete_with_required_tool( + self, messages: Sequence[Message], tools: Sequence[ToolSpec], tool_name: str + ) -> Completion: + return await self._complete(messages, tools, required_tool=tool_name) + + async def complete_with_json_schema( + self, messages: Sequence[Message], *, name: str, schema: dict + ) -> Completion: + return await self._complete( + messages, + (), + response_format={ + "type": "json_schema", + "json_schema": {"name": name, "schema": schema, "strict": True}, + }, + ) + + async def _complete( + self, + messages: Sequence[Message], + tools: Sequence[ToolSpec], + *, + required_tool: str | None = None, + response_format: dict | None = None, + ) -> Completion: + if len(self.calls) >= self.max_calls: + raise CallBudgetExhausted + wire = [] + for message in messages: + saved = ( + self._provider_messages.get(message.tool_calls[0].id) + if message.tool_calls + else None + ) + encoded = _encode_message(message) + wire.append( + {**saved, "role": encoded["role"], "content": encoded["content"]} + if saved + else encoded + ) + specs = [_encode_tool(tool) for tool in tools] + if not self.calls: + self.observe_first_request(wire, specs) + kwargs = { + "model": self.model, + "api_base": self.api_base, + "messages": wire, + "timeout": self.timeout, + "num_retries": 0, + "max_tokens": self.max_output_tokens, + } + if self.reasoning_effort is not None: + kwargs["reasoning_effort"] = self.reasoning_effort + if specs: + kwargs["tools"] = specs + kwargs["tool_choice"] = ( + {"type": "function", "function": {"name": required_tool}} + if required_tool + else "auto" + ) + if response_format is not None: + kwargs["response_format"] = response_format + entry = { + "status": "started", + "usage": None, + "tool_choice": kwargs.get("tool_choice"), + "response_format": response_format, + } + self.calls.append(entry) + self.save_attempt(self.calls) + started = time.monotonic() + try: + response = await asyncio.wait_for( + self.transport(**kwargs), timeout=self.timeout + ) + raw = response.model_dump() + entry.update( + request_id=raw.get("id"), + response_model=raw.get("model"), + system_fingerprint=raw.get("system_fingerprint"), + usage=raw.get("usage"), + ) + if raw.get("model") != self.response_model: + raise ProtocolError( + f"Provider model {raw.get('model')!r} differs from {self.response_model}" + ) + completion = _decode_completion(raw) + entry.update(status="ok", finish_reason=completion.finish_reason) + provider_message = raw["choices"][0]["message"] + for call in completion.tool_calls: + self._provider_messages[call.id] = { + key: value + for key, value in provider_message.items() + if value is not None + } + return completion + except ProtocolError: + entry.update(status="error", error_reason="model_identity_mismatch") + raise + except asyncio.CancelledError: + entry["status"] = "cancelled" + raise + except Exception as error: # noqa: BLE001 - do not persist raw provider errors + status_code = getattr(error, "status_code", None) + if not isinstance(status_code, int): + status_code = None + is_timeout = isinstance(error, (asyncio.TimeoutError, TimeoutError)) + reason = "provider_timeout" if is_timeout else "provider_error" + failure = ModelCallError(reason, type(error).__name__, status_code) + entry.update( + status="error", + error_type=failure.error_type, + status_code=status_code, + error_reason=reason, + ) + raise failure from None + finally: + entry["seconds"] = time.monotonic() - started + self.save_attempt(self.calls) diff --git a/bench/bird/pyproject.toml b/bench/bird/pyproject.toml new file mode 100644 index 00000000..529ee726 --- /dev/null +++ b/bench/bird/pyproject.toml @@ -0,0 +1,17 @@ +[project] +name = "lang2sql-bird-benchmark" +version = "1.0.0" +requires-python = "==3.13.14" +dependencies = [ + "cryptography==45.0.6", + "PyYAML==6.0.3", + "sqlalchemy==2.0.50", +] + +[project.optional-dependencies] +gpt41 = ["litellm==1.109.1", "openai==3.51.0"] +luna = ["litellm==1.109.1", "openai==3.57.0"] + +[tool.uv] +package = false +conflicts = [[{ extra = "gpt41" }, { extra = "luna" }]] diff --git a/bench/bird/records.py b/bench/bird/records.py new file mode 100644 index 00000000..2f112573 --- /dev/null +++ b/bench/bird/records.py @@ -0,0 +1,77 @@ +"""Durable records for one run, keyed by question ID.""" + +from __future__ import annotations + +from dataclasses import dataclass +from pathlib import Path + +from .io import ProtocolError, read_json, write_json + + +@dataclass(frozen=True) +class CaseFiles: + root: Path + question_id: int + condition: str + profile: str + settings_digest: str + + @property + def record_path(self) -> Path: + return self.root / "records" / f"{self.question_id}.json" + + @property + def attempt_path(self) -> Path: + return self.root / "attempts" / f"{self.question_id}.json" + + def identity(self) -> dict: + return { + "question_id": self.question_id, + "condition": self.condition, + "profile": self.profile, + "settings_digest": self.settings_digest, + } + + def _load(self, path: Path) -> dict: + record = read_json(path) + if any(record.get(key) != value for key, value in self.identity().items()): + raise ProtocolError(f"Record belongs to another case or run: {path}") + return record + + def read_result(self) -> dict: + record = self._load(self.record_path) + if record["status"] not in {"predicted", "failed"}: + raise ProtocolError(f"Record is incomplete: {self.record_path}") + return record + + def save_attempt( + self, first_request: dict, calls: list[dict], *, started_at: str | None = None + ) -> None: + write_json( + self.attempt_path, + { + **self.identity(), + "first_request": first_request, + "calls": calls, + "started_at": started_at, + }, + ) + + def finish(self, record: dict) -> dict: + result = {**record, **self.identity()} + write_json(self.record_path, result) + self.attempt_path.unlink(missing_ok=True) + return result + + def resume(self) -> dict | None: + if self.record_path.exists(): + return self.read_result() + if self.attempt_path.exists(): + self._load(self.attempt_path) + archive = self.root / "interruptions" / str(self.question_id) + archive.mkdir(parents=True, exist_ok=True) + number = 1 + while (archive / f"{number}.json").exists(): + number += 1 + self.attempt_path.replace(archive / f"{number}.json") + return None diff --git a/bench/bird/runner.py b/bench/bird/runner.py new file mode 100644 index 00000000..c18be956 --- /dev/null +++ b/bench/bird/runner.py @@ -0,0 +1,403 @@ +"""Run the pinned input through the selected product's own SQL harness.""" + +from __future__ import annotations + +import asyncio +import inspect +import json +import time +from contextlib import closing +from dataclasses import asdict +from datetime import datetime, timezone +from pathlib import Path +from types import SimpleNamespace + +from cryptography.fernet import Fernet +from sqlalchemy import create_engine, event +from sqlalchemy.pool import NullPool + +from lang2sql import tools as product_tools +from lang2sql.adapters.db.sqlalchemy_explorer import SqlAlchemyExplorer +from lang2sql.adapters.storage.sqlite_store import SqliteStore +from lang2sql.core.identity import Identity +from lang2sql.harness.loop import agent_loop +from lang2sql.harness.tool_registry import ToolRegistry +from lang2sql.tenancy.concierge import ContextConcierge +from lang2sql.tenancy.encrypted_secrets import EncryptedSecrets + +from .dataset import Case +from .io import ProtocolError, json_digest, lock_output, read_json, write_json +from .protocol import ( + API_BASE, + OPTIONAL_TOOLS, + REQUIRED_TOOLS, + Budgets, + check_settings, + user_text, +) +from .providers import CallBudgetExhausted, MeasuredLLM, ModelCallError, Transport +from .records import CaseFiles +from .sqlite import read_connection, set_deadline +from .submissions import SubmissionError, final_sql + +HAS_FINAL_SQL_HOOK = "extract_final_sql" in inspect.signature(agent_loop).parameters + + +class ReadOnlyExplorer(SqlAlchemyExplorer): + def __init__(self, db: Path, timeout: float): + super().__init__("sqlite://") + self._engine = create_engine( + "sqlite://", + poolclass=NullPool, + creator=lambda: read_connection(db, time.monotonic() + timeout), + ) + + @event.listens_for(self._engine, "before_cursor_execute") + def deadline(connection, cursor, statement, parameters, context, executemany): + set_deadline(cursor.connection, time.monotonic() + timeout) + + def close(self) -> None: + self._engine.dispose() + + +class CaseStore(SqliteStore): + """Keep case knowledge empty while allowing the product to write audit events.""" + + def kv_set(self, scope: str, key: str, value: str) -> None: + raise ProtocolError("Knowledge writes are disabled during inference") + + def kv_delete(self, scope: str, key: str) -> None: + raise ProtocolError("Knowledge writes are disabled during inference") + + def kv_delete_prefix(self, scope: str, prefix: str) -> int: + raise ProtocolError("Knowledge writes are disabled during inference") + + +class QueryTools(ToolRegistry): + def __init__(self): + tools = [product_tools.RunSQL(), product_tools.ExploreSchema()] + review = getattr(product_tools, "ReviewSQL", None) + if review is not None: + tools.append(review()) + super().__init__(tools) + self.dispatches = [] + + async def dispatch(self, name, args, ctx, call_id): + result = await super().dispatch(name, args, ctx, call_id) + self.dispatches.append({"name": name, "arguments": args, **asdict(result)}) + return result + + +def scripted_transport(db: Path, response_model: str, timeout: float) -> Transport: + """Exercise actual schema, SQL and scoring paths without loading a provider.""" + with closing(read_connection(db, time.monotonic() + timeout)) as connection: + table = connection.execute( + "SELECT name FROM sqlite_schema WHERE type='table' " + "AND name NOT LIKE 'sqlite_%' ORDER BY name LIMIT 1" + ).fetchone()[0] + escaped_table = table.replace('"', '""') + sql = f'SELECT COUNT(*) FROM "{escaped_table}"' + + async def complete(**request): + tools = request.get("tools", []) + messages = request["messages"] + tool_turns = sum(message["role"] == "tool" for message in messages) + if tool_turns >= 2: + message = {"content": f"```sql\n{sql}\n```"} + finish_reason = "stop" + else: + if tool_turns == 0: + name = "explore_schema" + spec = next( + tool["function"] + for tool in tools + if tool["function"]["name"] == name + ) + args = ( + {"tables": [table]} + if "tables" in spec["parameters"]["properties"] + else {"table": table} + ) + else: + name, args = "run_sql", {"sql": sql} + message = { + "content": None, + "tool_calls": [ + { + "id": f"scripted-{tool_turns}", + "type": "function", + "function": {"name": name, "arguments": json.dumps(args)}, + } + ], + } + finish_reason = "tool_calls" + raw = { + "model": response_model, + "choices": [ + { + "message": {"role": "assistant", **message}, + "finish_reason": finish_reason, + } + ], + } + return SimpleNamespace(model_dump=lambda: raw) + + return complete + + +async def run_case( + case: Case, + db: Path, + files: CaseFiles, + budgets: Budgets, + profile: dict, + transport: Transport | None, +) -> dict: + started = time.monotonic() + started_at = datetime.now(timezone.utc).isoformat() + text = user_text(case.question, case.evidence, files.condition) + trace: dict = {} + answer = None + transcript: list[dict] = [] + tools = QueryTools() + store = CaseStore() + explorer = ReadOnlyExplorer(db, budgets.sql_timeout) + + def observe(wire: list[dict], specs: list[dict]) -> None: + if [message["role"] for message in wire] != ["system", "user"]: + raise ProtocolError( + "First request must have one system and one user message" + ) + if wire[1]["content"] != text: + raise ProtocolError( + "First user message differs from the fixed evidence protocol" + ) + names = tuple(tool["function"]["name"] for tool in specs) + if names not in (REQUIRED_TOOLS, REQUIRED_TOOLS + OPTIONAL_TOOLS): + raise ProtocolError("Unexpected first-request SQL tools") + trace.update( + system=wire[0]["content"], + user=wire[1]["content"], + evidence_role="user" if files.condition == "B" else None, + tool_specs=specs, + ) + + def save_attempt(calls: list[dict]) -> None: + files.save_attempt(trace, calls, started_at=started_at) + + save_attempt([]) + llm = MeasuredLLM( + model=profile["model"], + response_model=profile["response_model"], + api_base=API_BASE, + timeout=budgets.call_timeout, + max_calls=budgets.max_calls, + max_output_tokens=budgets.max_output_tokens, + transport=transport + or scripted_transport(db, profile["response_model"], budgets.sql_timeout), + observe_first_request=observe, + save_attempt=save_attempt, + reasoning_effort=profile.get("reasoning_effort"), + ) + + async def generate() -> str: + identity = Identity( + user_id="benchmark", + guild_id=f"bird-{case.question_id}", + channel_id="benchmark", + ) + concierge = ContextConcierge( + store=store, + llm=llm, + explorer=explorer, + max_turns=budgets.max_calls, + secrets=EncryptedSecrets(store, key=Fernet.generate_key()), + ) + ctx = await concierge.build_context(identity) + ctx.okf_bundle_dir = None + if store.kv_list_prefix(identity.kv_scope, "") or ctx.session.history(): + raise ProtocolError("Each case must start with an empty KV and session") + ctx.tools = tools + try: + kwargs = {"extract_final_sql": final_sql} if HAS_FINAL_SQL_HOOK else {} + return await agent_loop(ctx, text, **kwargs) + finally: + transcript.extend(asdict(message) for message in ctx.session.history()) + + result = {"status": "failed"} + try: + answer = await asyncio.wait_for(generate(), timeout=budgets.case_timeout) + if answer.startswith("(SQL withheld:"): + failed_call = next( + (call for call in reversed(llm.calls) if call["status"] == "error"), + None, + ) + if "model request failed" in answer and failed_call is not None: + raise ModelCallError( + failed_call["error_reason"], + failed_call.get("error_type", "Provider"), + failed_call.get("status_code"), + ) + if len(llm.calls) >= budgets.max_calls: + raise CallBudgetExhausted + if answer == "(reached max turns without a final answer)": + raise CallBudgetExhausted + result.update(status="predicted", sql=final_sql(answer)) + except CallBudgetExhausted: + result["failure"] = {"stage": "generation", "reason": "call_budget_exhausted"} + except asyncio.TimeoutError: + result["failure"] = {"stage": "generation", "reason": "case_timeout"} + except SubmissionError as error: + result["failure"] = {"stage": "submission", "reason": error.reason} + except ModelCallError as error: + result["failure"] = { + "stage": "generation", + "reason": error.reason, + "error_type": error.error_type, + "status_code": error.status_code, + } + finally: + store.close() + explorer.close() + for call in llm.calls: + if call.get("error_reason") == "model_identity_mismatch": + raise ProtocolError( + f"Provider model {call.get('response_model')!r} differs from " + f"{profile['response_model']}" + ) + if call.get("status_code") in (401, 403, 404): + raise ProtocolError( + f"Provider rejected the credentials or model (HTTP {call['status_code']})" + ) + if transport is None: + succeeded = {tool["name"] for tool in tools.dispatches if not tool["is_error"]} + if result["status"] != "predicted" or not succeeded.issuperset(REQUIRED_TOOLS): + raise ProtocolError( + f"Smoke case {case.question_id} did not complete both tools and submit SQL" + ) + result.update( + started_at=started_at, + first_request=trace or None, + calls=llm.calls, + seconds=time.monotonic() - started, + answer=answer, + transcript=transcript, + tools=tools.dispatches, + ) + return files.finish(result) + + +async def run_evaluation( + output: Path, + manifest: dict, + snapshot: dict, + cases: list[Case], + databases: dict[str, Path], + transport: Transport | None, + stop: asyncio.Event, + *, + resume: bool, +) -> dict: + check_settings(manifest, snapshot, snapshot["benchmark_commit"]) + if (transport is None) != (manifest["smoke_cases"] is not None): + raise ProtocolError("Scripted transport requires the smoke manifest") + output.mkdir(parents=True, exist_ok=resume) + with lock_output(output): + if resume: + if ( + read_json(output / "manifest.json") != manifest + or read_json(output / "settings.json") != snapshot + ): + raise ProtocolError( + "Resume requires the original manifest and settings" + ) + if (output / "status.json").exists() and read_json(output / "status.json")[ + "status" + ] == "blocked": + raise ProtocolError( + "Start a new run after resolving the protocol error" + ) + else: + write_json(output / "manifest.json", manifest) + write_json(output / "settings.json", snapshot) + + by_id = {case.question_id: case for case in cases} + settings_digest = json_digest(snapshot) + budgets = Budgets(**snapshot["budgets"]) + condition, profile = snapshot["condition"], snapshot["profile"] + save = { + question_id: CaseFiles( + output, question_id, condition, profile["name"], settings_digest + ) + for question_id in by_id + } + records = {} + for key, files in save.items(): + previous = files.resume() if resume else None + if previous is not None: + records[key] = previous + failures: list[Exception] = [] + + def status(state: str) -> dict: + value = { + "status": state, + "condition": condition, + "profile": profile["name"], + "expected": len(save), + "completed": len(records), + "failed": sum( + record["status"] == "failed" for record in records.values() + ), + } + write_json(output / "status.json", value) + return value + + async def batch(question_ids: list[int]) -> None: + queue = iter(question_ids) + + async def worker() -> None: + while ( + not stop.is_set() and (question_id := next(queue, None)) is not None + ): + if question_id in records: + continue + case = by_id[question_id] + try: + records[question_id] = await run_case( + case, + databases[case.db_id], + save[question_id], + budgets, + profile, + transport, + ) + status("running") + except ( + Exception + ) as error: # Drain active cases and preserve records. + failures.append(error) + stop.set() + return + + await asyncio.gather(*(worker() for _ in range(budgets.concurrency))) + + order = snapshot["question_order"] + pilot, rest = order[: budgets.pilot_questions], order[budgets.pilot_questions :] + status("running") + await batch(pilot) + if ( + pilot + and not stop.is_set() + and not any( + call["status"] == "ok" + for question_id in pilot + for call in records[question_id]["calls"] + ) + ): + failures.append(ProtocolError("Pilot had no usable provider response")) + stop.set() + await batch(rest) + if failures: + status("blocked") + raise failures[0] + return status("completed" if len(records) == len(save) else "interrupted") diff --git a/bench/bird/scoring.py b/bench/bird/scoring.py new file mode 100644 index 00000000..d6c9f190 --- /dev/null +++ b/bench/bird/scoring.py @@ -0,0 +1,242 @@ +"""Score raw SQLite row tuples with the pinned BIRD calculate_ex rule.""" + +from __future__ import annotations + +import sqlite3 +import time +from collections import Counter +from contextlib import closing +from pathlib import Path + +from .dataset import gold_rows, load_manifest, verify_databases +from .io import ( + ProtocolError, + digest, + json_digest, + lock_output, + read_json, + write_json, + write_text, +) +from .protocol import BUDGETS, Budgets, check_settings, scoring_settings +from .records import CaseFiles +from .sqlite import read_connection + + +class QueryFailure(ValueError): + pass + + +def read_rows(db: Path, sql: str, budgets: Budgets) -> list[tuple]: + deadline = time.monotonic() + budgets.sql_timeout + try: + with closing(read_connection(db, deadline)) as connection: + cursor = connection.execute(sql) + if cursor.description is None: + raise QueryFailure("sql_no_result") + rows = [] + for row in cursor: + if time.monotonic() > deadline: + raise QueryFailure("sql_timeout") + if len(rows) == budgets.max_rows: + raise QueryFailure("row_limit_exceeded") + rows.append(row) + if time.monotonic() > deadline: + raise QueryFailure("sql_timeout") + return rows + except sqlite3.Error as error: + if ( + getattr(error, "sqlite_errorname", None) == "SQLITE_INTERRUPT" + or time.monotonic() > deadline + ): + raise QueryFailure("sql_timeout") from None + raise QueryFailure("sql_error") from None + + +def calculate_ex(predicted: list[tuple], gold: list[tuple]) -> int: + return int(set(predicted) == set(gold)) + + +def read_gold(row: dict, databases: dict[str, Path], budgets: Budgets) -> list[tuple]: + sql = row.get("SQL") + if not isinstance(sql, str) or not sql.strip(): + raise ProtocolError(f"Gold SQL is missing for question {row['question_id']}") + try: + return read_rows(databases[row["db_id"]], sql, budgets) + except QueryFailure as error: + raise ProtocolError( + f"Gold query failed for question {row['question_id']} ({error})" + ) from None + + +def expected_gold_check(manifest: dict, budgets: Budgets) -> dict: + return { + "status": "passed", + "manifest_digest": json_digest(manifest), + "scoring": scoring_settings(budgets), + "checked": len(manifest["cases"]), + } + + +def check_gold( + prepared: Path, source: Path, db_dir: Path, budgets: Budgets = BUDGETS +) -> dict: + with lock_output(prepared): + manifest = load_manifest(prepared) + databases = verify_databases(db_dir, manifest) + stamp = prepared / "gold_check.json" + write_json(stamp, {"status": "checking"}) + try: + for row in gold_rows(source, manifest): + read_gold(row, databases, budgets) + except (OSError, ValueError) as error: + write_json(stamp, {"status": "blocked", "error": str(error)}) + raise + receipt = expected_gold_check(manifest, budgets) + write_json(stamp, receipt) + return receipt + + +def require_gold_check(prepared: Path, manifest: dict, budgets: Budgets) -> None: + receipt = prepared / "gold_check.json" + if not receipt.is_file() or read_json(receipt) != expected_gold_check( + manifest, budgets + ): + raise ProtocolError( + "Run score --gold-only for this prepared snapshot before generation" + ) + + +def score_record( + record: dict, expected: list[tuple], db: Path, budgets: Budgets +) -> dict: + first = record["first_request"] + result = { + "question_id": record["question_id"], + "condition": record["condition"], + "profile": record["profile"], + "record_digest": json_digest(record), + "system_digest": json_digest(first["system"]) if first else None, + "tools_digest": json_digest(first["tool_specs"]) if first else None, + "ex": 0, + } + if record["status"] == "failed": + return {**result, "failure": record["failure"]} + try: + actual = read_rows(db, record["sql"], budgets) + except QueryFailure as error: + return {**result, "failure": {"stage": "scoring", "reason": str(error)}} + ex = calculate_ex(actual, expected) + return { + **result, + "ex": ex, + "failure": None if ex else {"stage": "scoring", "reason": "result_mismatch"}, + "predicted_rows": len(actual), + "gold_rows": len(expected), + } + + +def summarize(scores: list[dict], records: list[dict]) -> dict: + calls = [call for record in records for call in record["calls"]] + correct = sum(score["ex"] for score in scores) + failures = Counter( + score["failure"]["reason"] for score in scores if score["failure"] + ) + usage = [call["usage"] or {} for call in calls] + return { + "correct": correct, + "total": len(scores), + "ex_pct": 100 * correct / len(scores), + "failures": dict(failures), + "model_calls": len(calls), + "response_models": dict( + Counter( + call["response_model"] for call in calls if call.get("response_model") + ) + ), + "system_fingerprints": dict( + Counter( + call["system_fingerprint"] + for call in calls + if call.get("system_fingerprint") + ) + ), + "usage_missing_calls": sum( + item.get("prompt_tokens") is None or item.get("completion_tokens") is None + for item in usage + ), + "known_input_tokens": sum(item.get("prompt_tokens") or 0 for item in usage), + "known_output_tokens": sum( + item.get("completion_tokens") or 0 for item in usage + ), + "case_seconds": sum(record.get("seconds") or 0 for record in records), + "duration_missing_cases": sum( + record.get("seconds") is None for record in records + ), + } + + +def score(output: Path, source: Path, db_dir: Path, commit: str) -> dict: + with lock_output(output): + manifest = load_manifest(output) + snapshot = read_json(output / "settings.json") + check_settings(manifest, snapshot, commit) + status = read_json(output / "status.json") + expected_records = len(manifest["cases"]) + if status["status"] != "completed" or status["completed"] != expected_records: + raise ProtocolError("Score requires a complete generation run") + budgets = Budgets(**snapshot["budgets"]) + if snapshot["scoring"] != scoring_settings(budgets): + raise ProtocolError( + "Scorer source, SQLite version, or scoring budgets changed" + ) + databases = verify_databases(db_dir, manifest) + settings_digest = json_digest(snapshot) + condition, profile = snapshot["condition"], snapshot["profile"] + identity = { + "benchmark_commit": commit, + "product_commit": snapshot["product_commit"], + "mode": snapshot["mode"], + "condition": condition, + "profile": profile["name"], + "model": profile["model"], + "manifest_digest": snapshot["manifest_digest"], + "settings_digest": settings_digest, + } + scores, records = [], [] + summary_path = output / "summary.json" + write_json(summary_path, {**identity, "status": "scoring"}) + try: + for row in gold_rows(source, manifest): + ident, db_id = row["question_id"], row["db_id"] + expected = read_gold(row, databases, budgets) + record = CaseFiles( + output, ident, condition, profile["name"], settings_digest + ).read_result() + records.append(record) + if record["status"] == "predicted": + write_text(output / "sql" / f"{ident}.sql", record["sql"] + "\n") + row_score = score_record(record, expected, databases[db_id], budgets) + if ( + manifest["smoke_cases"] is not None + and "predicted_rows" not in row_score + ): + raise ProtocolError( + f"Smoke prediction did not execute for question {ident}" + ) + scores.append({**row_score, "db_id": db_id}) + except (OSError, ValueError) as error: + write_json( + summary_path, {**identity, "status": "blocked", "error": str(error)} + ) + raise + score_path = output / "scores.json" + write_json(score_path, scores) + summary = { + **identity, + **summarize(scores, records), + "status": "completed", + "scores_sha256": digest(score_path), + } + write_json(summary_path, summary) + return summary diff --git a/bench/bird/sqlite.py b/bench/bird/sqlite.py new file mode 100644 index 00000000..105492f1 --- /dev/null +++ b/bench/bird/sqlite.py @@ -0,0 +1,32 @@ +"""Shared read-only SQLite connection for inference and EX.""" + +import sqlite3 +import time +from pathlib import Path + + +def set_deadline(connection: sqlite3.Connection, deadline: float) -> None: + connection.set_progress_handler(lambda: int(time.monotonic() > deadline), 1000) + + +def read_connection(db: Path, deadline: float) -> sqlite3.Connection: + connection = sqlite3.connect( + db.resolve().as_uri() + "?mode=ro", + uri=True, + check_same_thread=False, + timeout=max(0.0, deadline - time.monotonic()), + ) + + def authorize(action, *_): + if action in (sqlite3.SQLITE_ATTACH, sqlite3.SQLITE_DETACH): + return sqlite3.SQLITE_DENY + return sqlite3.SQLITE_OK + + try: + connection.execute("PRAGMA query_only=ON") + connection.set_authorizer(authorize) + set_deadline(connection, deadline) + return connection + except BaseException: + connection.close() + raise diff --git a/bench/bird/submissions.py b/bench/bird/submissions.py new file mode 100644 index 00000000..1912b33c --- /dev/null +++ b/bench/bird/submissions.py @@ -0,0 +1,21 @@ +"""Parse the single fenced read-only SQL submission used by the benchmarks.""" + +import re + + +class SubmissionError(ValueError): + def __init__(self, reason: str): + self.reason = reason + super().__init__(reason) + + +def final_sql(answer: str) -> str: + blocks = re.findall(r"```sql\s*\n?(.*?)```", answer, re.IGNORECASE | re.DOTALL) + if not blocks: + raise SubmissionError("missing_sql") + if len(blocks) != 1: + raise SubmissionError("multiple_sql_blocks") + sql = blocks[0].strip() + if not re.match(r"^(SELECT|WITH)\b", sql, re.IGNORECASE): + raise SubmissionError("invalid_final_sql") + return sql diff --git a/bench/bird/uv.lock b/bench/bird/uv.lock new file mode 100644 index 00000000..a22c58b3 --- /dev/null +++ b/bench/bird/uv.lock @@ -0,0 +1,1167 @@ +version = 1 +revision = 3 +requires-python = "==3.13.14" +conflicts = [[ + { package = "lang2sql-bird-benchmark", extra = "gpt41" }, + { package = "lang2sql-bird-benchmark", extra = "luna" }, +]] + +[[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 = "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/d3/e1/2841e020ebb7aefae5513586193e011e06313d9a6bdbd296622afbbce204/aiohttp-3.14.5-cp313-cp313-android_24_arm64_v8a.whl", hash = "sha256:9ad7e6aa38c20da1be697874349c4c273c8a03b7887169665081706398d0439a", size = 538932, upload-time = "2026-10-11T01:00:54.3Z" }, + { url = "https://files.pythonhosted.org/packages/f7/a6/7fb8ea8fe96bcc7b7c7a36d10f021d99d01a8dc8a4b3f0ddacecfad9a80e/aiohttp-3.14.5-cp313-cp313-android_24_x86_64.whl", hash = "sha256:f59c7673465908cbe506117176156c127f29f917677afceada34957179221d91", size = 553329, upload-time = "2026-10-11T01:00:56.442Z" }, + { url = "https://files.pythonhosted.org/packages/de/64/d056e3c27647dc25af1a592cf356245382ea7c808171b9dac7677afedfc8/aiohttp-3.14.5-cp313-cp313-ios_13_0_arm64_iphoneos.whl", hash = "sha256:1b5416552740edf07234cc9437d0706f2acb67b93c198670b1a68e1b2b587dec", size = 521367, upload-time = "2026-10-11T01:00:58.345Z" }, + { url = "https://files.pythonhosted.org/packages/3e/e4/95226147e11d4db916fd1d495dcf85af8e3816e38333e42718241196e848/aiohttp-3.14.5-cp313-cp313-ios_13_0_arm64_iphonesimulator.whl", hash = "sha256:43351bdb5e4c3cb7d1772368e988534e869a74db7778079a83782c11c69535c7", size = 528322, upload-time = "2026-10-11T01:01:00.211Z" }, + { url = "https://files.pythonhosted.org/packages/17/cd/1d3c9192cafdb51cad62b2d3ded96cff9cc8af51893210aadd448a325389/aiohttp-3.14.5-cp313-cp313-ios_13_0_x86_64_iphonesimulator.whl", hash = "sha256:c8c4478bef6d57fcfda15dae461ea3c9f06aa7b257c58df3f2300174ccbb185a", size = 539874, upload-time = "2026-10-11T01:01:02.06Z" }, + { url = "https://files.pythonhosted.org/packages/f6/0c/dfa33aecc7d4d1dc75e05248f5eac5a0edf4d09e7b44d93ab62529b0c1db/aiohttp-3.14.5-cp313-cp313-macosx_10_13_universal2.whl", hash = "sha256:c2c30484dd1417ef98b51021ffa2cc0d7f3c78918adaaaab7e70817335ab3e02", size = 813836, upload-time = "2026-10-11T01:01:04.01Z" }, + { url = "https://files.pythonhosted.org/packages/33/17/4a63738052d20567d55529d6daa1b9480d906fd52930fbcf6d3fbed618f0/aiohttp-3.14.5-cp313-cp313-macosx_10_13_x86_64.whl", hash = "sha256:dab9ac5a67c8d1f070c00fa8fccb7cbd1b8dcc1a8d6b42f37540df9b3d4cc603", size = 548070, upload-time = "2026-10-11T01:01:06.035Z" }, + { url = "https://files.pythonhosted.org/packages/15/e5/b57e58695a757fd4c02497c033fced96a69c631b13866c43d336530c9670/aiohttp-3.14.5-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:e1cc2bfaee8c214f06080a7c7d5772419b8a1108e8e5349236189811823fb02a", size = 545786, upload-time = "2026-10-11T01:01:07.817Z" }, + { url = "https://files.pythonhosted.org/packages/9a/68/8c2c67a3aedf46e00f3c42f04fbc6983de80d4ed5786151e33681ba45883/aiohttp-3.14.5-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:74efb69332b85675b1eabd760a8cfc2e2cf42c60607c66f88014c1bdfb40942d", size = 1886492, upload-time = "2026-10-11T01:01:09.834Z" }, + { url = "https://files.pythonhosted.org/packages/ab/4b/74aab5e8d28c62e8f795b4fe8f38cf5586fd264a9a27bd2141ef6490333d/aiohttp-3.14.5-cp313-cp313-manylinux2014_armv7l.manylinux_2_17_armv7l.manylinux_2_31_armv7l.whl", hash = "sha256:42b5e616946dbaf505e2bff18c9af2cd4ef9e7ef300ee58a6e951a5b7cf147ae", size = 1870057, upload-time = "2026-10-11T01:01:12.045Z" }, + { url = "https://files.pythonhosted.org/packages/a8/f7/eafc3b1988302b1815d9fd4a21071be5c360d616c0a430d02fd92dc97688/aiohttp-3.14.5-cp313-cp313-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:f9033b43f511f27547c557dcaba0177649e10a3725336ccd2cce0fdc1dc4850d", size = 1925119, upload-time = "2026-10-11T01:01:14.09Z" }, + { url = "https://files.pythonhosted.org/packages/a1/04/78d8f294f74dd570f3898ff20402349fce524176045df98ba727d6846a68/aiohttp-3.14.5-cp313-cp313-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:15a310d3c71398e3d7bfc93a1a73fbe664315cd9e9016b8efc1cff85eeab7155", size = 2053137, upload-time = "2026-10-11T01:01:16.344Z" }, + { url = "https://files.pythonhosted.org/packages/32/51/395d225ef36f5a50d8e548dcd3141bfdbcd31fb6eed859022c573d2c4d66/aiohttp-3.14.5-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:1ffa3a523a36d8628f98c06492ae16a31a23d14c0b4ec721757b477319f656d6", size = 1911038, upload-time = "2026-10-11T01:01:18.653Z" }, + { url = "https://files.pythonhosted.org/packages/ff/a4/2aec1aa06d82e8a244843b5dae31d78061e5e76744270a86dd0ee051c889/aiohttp-3.14.5-cp313-cp313-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:5fb6a6e919bfb703227bc1ce6579281b84b1a2ba57deb9794dfdbec7dcd1e40c", size = 1702205, upload-time = "2026-10-11T01:01:20.904Z" }, + { url = "https://files.pythonhosted.org/packages/16/27/6051bfde7b6f418f70edd60d655fa426abb3355fa0981764739d87ecf160/aiohttp-3.14.5-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:43e1b7994a8b038125f722bff07492ef501110722c2727c408995d9fb864c421", size = 1848588, upload-time = "2026-10-11T01:01:22.918Z" }, + { url = "https://files.pythonhosted.org/packages/9e/44/55efc06fc26c4e6e1c095f231b4c222bf2d86d64a8eebbc24b2bb5958ea8/aiohttp-3.14.5-cp313-cp313-musllinux_1_2_armv7l.whl", hash = "sha256:5f3e96071686755d9cd3600c3880183eb94b012178e92746d68101800f0ed8a3", size = 1887540, upload-time = "2026-10-11T01:01:25.278Z" }, + { url = "https://files.pythonhosted.org/packages/48/dc/1502bfdc2a65760d386ac6a00090b0addaa8a3c9c60b3f8127fad3a9afb2/aiohttp-3.14.5-cp313-cp313-musllinux_1_2_ppc64le.whl", hash = "sha256:cd88b01f3d37b7a2a34f91d98f14720206f1ea3d540843fab2d649dd5fb91fec", size = 1895030, upload-time = "2026-10-11T01:01:27.316Z" }, + { url = "https://files.pythonhosted.org/packages/93/7e/44174bb6288264418c9eec07a5e35180969c0d5a796c7af544db3cb8a33a/aiohttp-3.14.5-cp313-cp313-musllinux_1_2_riscv64.whl", hash = "sha256:f2ed8b64dc0c651c0f5a9c926777719770021251b8f336d97c4b80b660836ce1", size = 1693244, upload-time = "2026-10-11T01:01:29.39Z" }, + { url = "https://files.pythonhosted.org/packages/47/dd/b507d64e50db23888582fff08eda13998b12f9dea70c072edaac19218380/aiohttp-3.14.5-cp313-cp313-musllinux_1_2_s390x.whl", hash = "sha256:a9918e58faf62ba2c7147927d06057aec78f42475aff5048047ec47e7265a600", size = 1926308, upload-time = "2026-10-11T01:01:31.634Z" }, + { url = "https://files.pythonhosted.org/packages/98/4b/5b51b4f63e3f2793151f4aea49c48fe1e00baeb7cec9c7a206de499f8de0/aiohttp-3.14.5-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:42f320d4a5b00b9af0bddcfec5407dc6f2d9816f006b2f79ebbaa31f16895df3", size = 1888406, upload-time = "2026-10-11T01:01:33.715Z" }, + { url = "https://files.pythonhosted.org/packages/ff/13/d5e818a5eaba9f822016727299f41c0e1075799f82a6433ec508a93ab867/aiohttp-3.14.5-cp313-cp313-win32.whl", hash = "sha256:3ae800a20947e2c2e53088047d021e6bf7d51560cc49f6a0737a1f79d2e3a13c", size = 479970, upload-time = "2026-10-11T01:01:35.677Z" }, + { url = "https://files.pythonhosted.org/packages/8d/d0/8eca2c65aa467320990d78fb2005f38ed3588944280c39ff9deb6423fef1/aiohttp-3.14.5-cp313-cp313-win_amd64.whl", hash = "sha256:d05e94cdfe0d15d0206f970722d2554780ce562787b21b218b275447f8751319", size = 505985, upload-time = "2026-10-11T01:01:37.574Z" }, + { url = "https://files.pythonhosted.org/packages/7a/f8/4cdd65305d2fca14b886bea9ed2abb1fe726287872524e56e3d26692b47d/aiohttp-3.14.5-cp313-cp313-win_arm64.whl", hash = "sha256:f001b571ead90ca1770f1e616db255351a1703317f20374c361ef22f12c06d09", size = 487629, upload-time = "2026-10-11T01:01:39.477Z" }, + { 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" }, +] +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 = "annotated-types" +version = "0.8.0" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/5f/56/a8120250d128bed162cd73c76d45f6ef9991f3e068f62a8ee060afa3104a/annotated_types-0.8.0.tar.gz", hash = "sha256:13b2beaad985e05e2d6407ee4c4f35590b11f8d693a258a561055cac8f64cab7", size = 15893, upload-time = "2026-07-23T20:16:13.995Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/99/91/8acff4f5e50511b911bbccb72b8628a49c68ce14148cd9f6431094859a90/annotated_types-0.8.0-py3-none-any.whl", hash = "sha256:f072f4d804ea359e4eaf198b1af7a8b0943881a87f31bb764f8bf219bb9419e0", size = 13427, upload-time = "2026-07-23T20:16:12.938Z" }, +] + +[[package]] +name = "anyio" +version = "4.16.0" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "idna" }, + { name = "typing-extensions" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/a1/98/7e457a3b014976887a050561955c0b76e1e7e2d6e27b78ecef2ef80518f2/anyio-4.16.0.tar.gz", hash = "sha256:59bb03251907983d1603d27c3087ddb1e93299ea2163adcdba37899a4fb12ffb", size = 310971, upload-time = "2026-11-01T11:20:07.282Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/a9/16/7757fb84c819accc7d7e9af5291b261e4abb8627ee040f99e7d35ef2457a/anyio-4.16.0-py3-none-any.whl", hash = "sha256:c66ae634e0b8228396b801741beb3294326d4b6102f7bba4041c0dfb58c29026", size = 134521, upload-time = "2026-11-01T11:20:05.59Z" }, +] + +[[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 = "boto3" +version = "1.44.11" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "botocore" }, + { name = "jmespath" }, + { name = "s3transfer" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/1f/53/82efbf7018401b60be90ee33e07d6a975a29e681c5c32a755abcaa8c3120/boto3-1.44.11.tar.gz", hash = "sha256:afb34bb96846a60ee4fb054777272e442838a0997050205b67c3d7dc7255abdd", size = 112839, upload-time = "2026-11-24T20:24:16.211Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/78/e2/b4b0764d2da73c91c0ee3d224c95a5d6039217419e2787bde2d2297da975/boto3-1.44.11-py3-none-any.whl", hash = "sha256:a39a4d09ee47ab9a12e1dccf14b184d6002c5ae699d9205fda119aac69910119", size = 140171, upload-time = "2026-11-24T20:24:15.003Z" }, +] + +[[package]] +name = "botocore" +version = "1.44.11" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "jmespath" }, + { name = "python-dateutil" }, + { name = "urllib3" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/c3/d5/4adb74ed2633ac703e7574d8f48765a3ac7b0b3e38d82e5a24711af55c09/botocore-1.44.11.tar.gz", hash = "sha256:c889792a88e04cc9f0b6eebc742112e5edb2710fe932f4c9a3ba784f92f09d75", size = 17222107, upload-time = "2026-11-24T20:24:11.902Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/9b/ad/f4e0e67eda1cfd402726abbc82da14a0d9129f3ff0795acbfadcc9060497/botocore-1.44.11-py3-none-any.whl", hash = "sha256:441c5ebbad9bb2911120d12bda448d4b55793fc52fc7425d9392ebb02f4814a4", size = 16920498, upload-time = "2026-11-24T20:24:07.15Z" }, +] + +[[package]] +name = "certifi" +version = "2026.11.20" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/51/33/4cd27639502f010084bcef7a2036391dd637439901341ce1a530f36f6e51/certifi-2026.11.20.tar.gz", hash = "sha256:af1cb240a8133f105aa52684a3a3258339d7f2fd0bd4e2812698ff5cf5588c4e", size = 128901, upload-time = "2026-11-20T23:37:49.522Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/6d/39/5eec3296860b94ac20bb8ed807725b88f6adfab3f343df592afd975f5f86/certifi-2026.11.20-py3-none-any.whl", hash = "sha256:7422df25243767b9877031a2248cb14d09ddac9beee846f4cef3d5c9191d488f", size = 127913, upload-time = "2026-11-20T23:37:48.117Z" }, +] + +[[package]] +name = "cffi" +version = "2.1.1" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "pycparser", marker = "implementation_name != 'PyPy' or (extra == 'extra-23-lang2sql-bird-benchmark-gpt41' and extra == 'extra-23-lang2sql-bird-benchmark-luna')" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/9e/ef/008a1939e372c06329a3fce4279c02f328488f3526744906eeec3da7ad5f/cffi-2.1.1.tar.gz", hash = "sha256:dd31f52ea1086513bb9df30f8fcee9b8918323ae067a3d5b78bc826a000712be", size = 530807, upload-time = "2026-08-03T21:21:18.939Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/9d/f4/035513d4117049066b4779dc3b7c0c0fdad175fa13731c9f4003f1cd1478/cffi-2.1.1-cp313-cp313-ios_13_0_arm64_iphoneos.whl", hash = "sha256:b5bdfd1c873d4e093aabc0ca84c4ca6dbc4f752afb5c86f146d9742580c9da2e", size = 194248, upload-time = "2026-08-03T21:19:59.399Z" }, + { url = "https://files.pythonhosted.org/packages/76/af/2aeb4dbb5fc41a04161ae9ff1518de7cec08e164f44a8ce6a4cf7fd2cd1d/cffi-2.1.1-cp313-cp313-ios_13_0_arm64_iphonesimulator.whl", hash = "sha256:31348097ff5bbe827ccc41795d4dd099d9f0625e7def00ee653c137a490c2a6c", size = 196908, upload-time = "2026-08-03T21:20:00.746Z" }, + { url = "https://files.pythonhosted.org/packages/a7/46/2e5fdde8555706dd98139a910ca11be02809f3f605ce956f655d0214e100/cffi-2.1.1-cp313-cp313-macosx_10_15_x86_64.whl", hash = "sha256:9d2055050ea716bd38b7f7f1579c275386646b4894c155a3e2f3cd62ed41b7c6", size = 184805, upload-time = "2026-08-03T21:20:02.02Z" }, + { url = "https://files.pythonhosted.org/packages/55/41/4c7042f317b9217502988f0873af87e16ad606dc20f84e546e3e6ce9764c/cffi-2.1.1-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:19ee6127ee34de7d83ce3d371ebc5ed91addbdcc39f9ab15ce4eb35a4e534971", size = 184764, upload-time = "2026-08-03T21:20:03.141Z" }, + { url = "https://files.pythonhosted.org/packages/43/1f/1c3d90d91811c8f86ced9ed637956c54bfe5b79ca98fe976d7f8c8979f6b/cffi-2.1.1-cp313-cp313-manylinux1_i686.manylinux2014_i686.manylinux_2_17_i686.manylinux_2_5_i686.whl", hash = "sha256:6a8dddef476fab96d066d578fc88526767b836ab5ab21754e1d5bf3879c31c7c", size = 214722, upload-time = "2026-08-03T21:20:04.377Z" }, + { url = "https://files.pythonhosted.org/packages/37/6f/3b5ce4c3b2192d250f04908f2bfd91ef34552ec8f7716a5d4abdb8d67bb2/cffi-2.1.1-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:f16c709686a78c727bbbf059f92b0bf41c6fc60deec706d2dc19f529175a6125", size = 222369, upload-time = "2026-08-03T21:20:05.544Z" }, + { url = "https://files.pythonhosted.org/packages/02/10/4b3c75dde3d9663c9e02ba05c2668b954f671d4bbe346413ca8c696b295a/cffi-2.1.1-cp313-cp313-manylinux2014_ppc64le.manylinux_2_17_ppc64le.whl", hash = "sha256:fcd22650c908d7b7da162bbfaab594a1227a15d1643a98c68b122ac642fa2264", size = 210175, upload-time = "2026-08-03T21:20:06.75Z" }, + { url = "https://files.pythonhosted.org/packages/df/62/14f74b9543e605d17701dc797b815958b8bb70b7624ce1b832ddad48ed6c/cffi-2.1.1-cp313-cp313-manylinux2014_s390x.manylinux_2_17_s390x.whl", hash = "sha256:aa9511c62d14da7aacc9b4bf51f3f697a621e83b2d6919008243c3aad168eea3", size = 208670, upload-time = "2026-08-03T21:20:08.04Z" }, + { url = "https://files.pythonhosted.org/packages/95/95/86342356ff5953b3fb06f7ef7c5bee212d45e770abc7218d451b9148313c/cffi-2.1.1-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:a931079504ecc49efed7744c476a5c343a92fabf66dec2db95edb1b2fdc770e2", size = 221824, upload-time = "2026-08-03T21:20:09.274Z" }, + { url = "https://files.pythonhosted.org/packages/eb/ff/7b3429ff53aafe931ed8a5fc69f481bbef7ba6de87ddcbb63d08f483f613/cffi-2.1.1-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:a2d7755bef5a12ed488f4ef1f1b69ee9191d7396083b755a5d2295f6edb4768b", size = 225148, upload-time = "2026-08-03T21:20:10.7Z" }, + { url = "https://files.pythonhosted.org/packages/34/34/a95870b9221e09cf4f2ce3178b1a210abdfe63a1bd357da940418d7b8d15/cffi-2.1.1-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:e0bcb7e0f677f543555d2adff3bf19c05f66cdb4796e5ff602442ab2fe3c4ef7", size = 223564, upload-time = "2026-08-03T21:20:12.165Z" }, + { url = "https://files.pythonhosted.org/packages/70/ea/839b50531021a647fb5e929f72cf97bc1ff702b5472166164b5b6e76b851/cffi-2.1.1-cp313-cp313-win32.whl", hash = "sha256:334644fbac4eff73d985a17a91226df55d0f394160c4cfb880e084c8f7161cac", size = 175263, upload-time = "2026-08-03T21:20:13.559Z" }, + { url = "https://files.pythonhosted.org/packages/60/a6/8b149b2c3f2e11aaa1618ef64500b45f50f22c57a977a4dff1aff1f91042/cffi-2.1.1-cp313-cp313-win_amd64.whl", hash = "sha256:1aa5645c30469b09530c4ebca77ebf8f17618293c58f8549cb1a543a50236e7d", size = 185688, upload-time = "2026-08-03T21:20:14.69Z" }, + { url = "https://files.pythonhosted.org/packages/01/9a/11f687cb39d6a3504060d5242f04f48c735afb4d3d533958a20594890cb2/cffi-2.1.1-cp313-cp313-win_arm64.whl", hash = "sha256:63bbfd5ded17c4840ac07cd8f1c21ba9d9708141f840b324f422f41b207e3973", size = 180078, upload-time = "2026-08-03T21:20:15.917Z" }, +] + +[[package]] +name = "charset-normalizer" +version = "3.5.3" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/c2/c3/cae6d3bdefd96a941ffc247c714ac4babc488a69012e11c058f6c17c6c47/charset_normalizer-3.5.3.tar.gz", hash = "sha256:a250888753faa289e2997962fbb17c4960cbdb58575533ca6fceee68c224bdff", size = 189359, upload-time = "2026-11-23T02:46:51.755Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/6c/b8/9aa05e4bb709dc3f70fe040ca5af4a0bf13064b5a24238988f585f6a98c1/charset_normalizer-3.5.3-cp313-cp313-android_24_arm64_v8a.whl", hash = "sha256:7fd816f466883dcaac196ac77271d0292eee4a81f4db1191b95d15328f335937", size = 230514, upload-time = "2026-11-23T02:44:16.444Z" }, + { url = "https://files.pythonhosted.org/packages/fe/cb/b42344c84f48204ba696e75424eca12b33f0f046dbe8290bfd2917dffde3/charset_normalizer-3.5.3-cp313-cp313-android_24_x86_64.whl", hash = "sha256:af217012cfdaf6ea5dc0c538aac29b7bd030eb865056cc60f1d973b982b7917b", size = 244366, upload-time = "2026-11-23T02:44:17.675Z" }, + { url = "https://files.pythonhosted.org/packages/a3/08/fb0a6bdbfee82133f43d5c506b865bc9bbef785eefc355b86374ae87f943/charset_normalizer-3.5.3-cp313-cp313-ios_13_0_arm64_iphoneos.whl", hash = "sha256:d12571adb9ceeb9ba0640db46433430062f5f1dec89e39713a2a5a8ce3016c37", size = 222552, upload-time = "2026-11-23T02:44:18.941Z" }, + { url = "https://files.pythonhosted.org/packages/59/16/77d291a7b6bc0784a567ef7b00aa3267efa645ace0abf38a30cf3bea0d63/charset_normalizer-3.5.3-cp313-cp313-ios_13_0_arm64_iphonesimulator.whl", hash = "sha256:183aee7e84789391e547ec1609f8269332b9b123d21e97f7ef79eaa474c47e08", size = 226639, upload-time = "2026-11-23T02:44:20.168Z" }, + { url = "https://files.pythonhosted.org/packages/75/59/47eca4000f8367014c2e1be786aa82bd8702120f24749853e6297eb8217b/charset_normalizer-3.5.3-cp313-cp313-macosx_10_13_universal2.whl", hash = "sha256:499e4bbeb1e79b14756311a1d12cb88112f244423e152d80981d9bcaff3279fa", size = 386082, upload-time = "2026-11-23T02:44:21.363Z" }, + { url = "https://files.pythonhosted.org/packages/21/59/0a22abdaa8c34c1daa886001c3f238e9b09dbaeaa75febf7f8f203520774/charset_normalizer-3.5.3-cp313-cp313-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl", hash = "sha256:656b9744bac4493561d28b56d7d646afd7a8471254ef7004d849aa8368020037", size = 256179, upload-time = "2026-11-23T02:44:22.674Z" }, + { url = "https://files.pythonhosted.org/packages/c2/22/f1d08fb14f5a7cc6ea88cde946136bb58c3d83038385268e541f424544fa/charset_normalizer-3.5.3-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:fd0341b9dea133d187d7c5a2cd7e21ae6449a7b68ea8c2454f9cf77def11ec1b", size = 238899, upload-time = "2026-11-23T02:44:23.917Z" }, + { url = "https://files.pythonhosted.org/packages/3c/f1/f910dfdeb3c32ba767f8f9b7290ec3aed1fc44998935255d572551168bed/charset_normalizer-3.5.3-cp313-cp313-manylinux2014_armv7l.manylinux_2_17_armv7l.manylinux_2_31_armv7l.whl", hash = "sha256:c9d1f467d121b33b06865c94ed5ed8388a9ef76f5e1acc1c8a854ac653493f5d", size = 237042, upload-time = "2026-11-23T02:44:25.138Z" }, + { url = "https://files.pythonhosted.org/packages/f2/1c/7916607074b99e7d5c5d53e88b76fe1a06328864536d3c7228819b7d9cf4/charset_normalizer-3.5.3-cp313-cp313-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:0810592b80dc5a97f8103443460264b588f31c6baa8a20abae7c683435d8117a", size = 272418, upload-time = "2026-11-23T02:44:26.432Z" }, + { url = "https://files.pythonhosted.org/packages/ce/8f/1d97b6b3287d80b7b961019dcdfb66d917ff3063d46ab0ded635e7615484/charset_normalizer-3.5.3-cp313-cp313-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:db2eedef732424346f98d0aba5c6ad688b648bc79847f4cc70dfca830130b1e6", size = 270735, upload-time = "2026-11-23T02:44:27.711Z" }, + { url = "https://files.pythonhosted.org/packages/c6/3c/e51672360b768d7af7a56e00e39f93752489d0dd668034ea14f3d58898e2/charset_normalizer-3.5.3-cp313-cp313-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:caefc441edff6070a9f9749ca880a22731a1715d9e74b24304a546eec44bfc16", size = 252692, upload-time = "2026-11-23T02:44:29.013Z" }, + { url = "https://files.pythonhosted.org/packages/a5/1c/569563a1d2cf0a4f7f798a6736acb15f6ea9764382e036e37d8ac7ab9bc2/charset_normalizer-3.5.3-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:3ce4e4587e451ebc7d9899a7a1f539ea30a3c712d7bc8e0d256923c697fd5dcc", size = 240591, upload-time = "2026-11-23T02:44:30.138Z" }, + { url = "https://files.pythonhosted.org/packages/8a/64/7e7181b347948740211351c6d41dd5b78cf3bb81e44ab10f83128a80ed82/charset_normalizer-3.5.3-cp313-cp313-musllinux_1_2_armv7l.whl", hash = "sha256:0b3fc6f7dd9db4a7782e65dc98eb80b2a91a854cf54a03dd93649be2f7ca638d", size = 242946, upload-time = "2026-11-23T02:44:31.33Z" }, + { url = "https://files.pythonhosted.org/packages/c7/03/5f2f94a3289330678689c0af2da8c31f3e10a8bd77ac8b1a68c97239dc5e/charset_normalizer-3.5.3-cp313-cp313-musllinux_1_2_ppc64le.whl", hash = "sha256:bed05639ae1bc23df7996a4fd13ea5064ddf60dc7dabd754f8badf060daec63f", size = 273418, upload-time = "2026-11-23T02:44:32.535Z" }, + { url = "https://files.pythonhosted.org/packages/3c/8b/854724ee0da7d44e33fa42cc9a355a5422ef78ad0fe294d7812d8f1bac06/charset_normalizer-3.5.3-cp313-cp313-musllinux_1_2_riscv64.whl", hash = "sha256:a36bba41dc7fd263417688c4daf95a1091f93e1f6957c0f71ad7798907c5a10c", size = 253644, upload-time = "2026-11-23T02:44:33.728Z" }, + { url = "https://files.pythonhosted.org/packages/45/45/4f98894509fd63f8d366e68faa60c268492b1476ef468d0a5397055b6972/charset_normalizer-3.5.3-cp313-cp313-musllinux_1_2_s390x.whl", hash = "sha256:b013417037c931583578639cab2523d5a2efc35a584c192d07f4c909b133f6b0", size = 272406, upload-time = "2026-11-23T02:44:34.917Z" }, + { url = "https://files.pythonhosted.org/packages/08/09/c62783ce9f70a78dcab2b63c6079ee978a0f74f22a732eff9bc585c151ac/charset_normalizer-3.5.3-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:8baddc6349faf49edae4d1322f12b681b9e86acacd01874457c997437ef4ccaa", size = 258180, upload-time = "2026-11-23T02:44:36.164Z" }, + { url = "https://files.pythonhosted.org/packages/60/b3/30ac20e447638738c8714c9e893450ed577a7c76ddf5459f461da2f27a42/charset_normalizer-3.5.3-cp313-cp313-pyemscripten_2025_0_wasm32.whl", hash = "sha256:6dde7edd9ba5005389bc7c0ab461411f281dbacb2b06e52bd23592eba42bb503", size = 145567, upload-time = "2026-11-23T02:44:37.27Z" }, + { url = "https://files.pythonhosted.org/packages/aa/de/c352e4d1d7aa85956db646cc6873fb7e81c12cdda3446401c554b50ca5e9/charset_normalizer-3.5.3-cp313-cp313-win32.whl", hash = "sha256:b30e5496e453ac971bb17f5e096b84fbaae16d09e2613f6148ff528c08a54a0c", size = 185084, upload-time = "2026-11-23T02:44:38.431Z" }, + { url = "https://files.pythonhosted.org/packages/6c/53/c56cbbee8fc51fef0a8e775488c4ef5205047a190ad850c43ad4b2ae7b35/charset_normalizer-3.5.3-cp313-cp313-win_amd64.whl", hash = "sha256:cb18428af7399e0a6f7e3b45f110d57a1a47cf07fd4b3ce50e2366d99a38959a", size = 213792, upload-time = "2026-11-23T02:44:39.613Z" }, + { url = "https://files.pythonhosted.org/packages/b4/02/9c2209835e8767fefe1d91c22ae700bee5e6105e0e820debdf3e4fd07e86/charset_normalizer-3.5.3-cp313-cp313-win_arm64.whl", hash = "sha256:8b969f0309de905101bc3d2471c112e9ccbba711a7590b12d51f372b4163688a", size = 200777, upload-time = "2026-11-23T02:44:40.757Z" }, + { url = "https://files.pythonhosted.org/packages/64/57/146cbf75a34eb50a27ca6daf4841a4a13a0726fa05db6f7fe97c8f14f383/charset_normalizer-3.5.3-cp37-abi3-macosx_10_9_universal2.whl", hash = "sha256:84356c7b7ddf090e3e4692cb99fc820e6189b5f6662ca7e8589f41095cc8efca", size = 376114, upload-time = "2026-11-23T02:46:09.155Z" }, + { url = "https://files.pythonhosted.org/packages/5f/02/b01868added37f27a6b0fd29e7fa19d0ae52b3fdbfc6fde6b9c98ef377ec/charset_normalizer-3.5.3-cp37-abi3-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl", hash = "sha256:26c6ad87bb79628954b52f8f7b9e18ab5cd9667546712ded9689fb7677e630d6", size = 234407, upload-time = "2026-11-23T02:46:10.528Z" }, + { url = "https://files.pythonhosted.org/packages/9b/9c/a8dddbe4ca722fac44bcbb17c08670bd9f1e9d26a481f7129aa2215eff80/charset_normalizer-3.5.3-cp37-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:d4e7ecaa25f0dae672ac783c2e5aa9054a62e011749d64ff47b887af360a3e82", size = 222474, upload-time = "2026-11-23T02:46:11.939Z" }, + { url = "https://files.pythonhosted.org/packages/3f/28/b9d955132ca12845bf4d498cac4cad731d88f7dffcfe9ab26182ba19b9b9/charset_normalizer-3.5.3-cp37-abi3-manylinux2014_armv7l.manylinux_2_17_armv7l.manylinux_2_31_armv7l.whl", hash = "sha256:ba26e4d073a4f7f2594676f2ff20ab80a7f03332b81c3f9964e9e53bf2305329", size = 234588, upload-time = "2026-11-23T02:46:13.175Z" }, + { url = "https://files.pythonhosted.org/packages/75/87/5c957d23953540fd53f8bf99f25aca4a73ffaa2621e0c199fa33bea68670/charset_normalizer-3.5.3-cp37-abi3-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:4831fb33e98e92140fa17d4d673a9f49f9c0ddd056115b722858793e4b86b0c5", size = 264230, upload-time = "2026-11-23T02:46:14.634Z" }, + { url = "https://files.pythonhosted.org/packages/2e/33/94e72d80177dfc1c68d4250bcfc0ac81c7fffb6fb7692eaba1050839c822/charset_normalizer-3.5.3-cp37-abi3-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:1714ff1ba001da5241a585fbd17a7742a61ad34efb4be8404aca5679f51e53ea", size = 259027, upload-time = "2026-11-23T02:46:15.803Z" }, + { url = "https://files.pythonhosted.org/packages/22/52/2c903fb577eb4fecd1c6e0f426daa4f0af5ae2e2b453985e1995317deeb6/charset_normalizer-3.5.3-cp37-abi3-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:8c4dfcd3269f13dff7f29f9c332d54a4a21f17be818b49e769e111befd4d39e6", size = 252786, upload-time = "2026-11-23T02:46:17.024Z" }, + { url = "https://files.pythonhosted.org/packages/a9/6b/f8c6680edbaa937982c3f0e9a9cbc7634135bed7a6633cbccbdefd8e64b7/charset_normalizer-3.5.3-cp37-abi3-musllinux_1_2_aarch64.whl", hash = "sha256:87f7d6c595465a25d33fa3d5215a571a98c4cad00ead3ad18ebfb62adb3d3e6e", size = 223576, upload-time = "2026-11-23T02:46:18.245Z" }, + { url = "https://files.pythonhosted.org/packages/37/24/5ca15b50e452d0b689c152b27ff525b417dde009f0daea1805767a683a3f/charset_normalizer-3.5.3-cp37-abi3-musllinux_1_2_armv7l.whl", hash = "sha256:7c313b46730b4a68bb31450973467313b2c496fefa42ae316b86c186cba74613", size = 235893, upload-time = "2026-11-23T02:46:19.448Z" }, + { url = "https://files.pythonhosted.org/packages/e1/c7/4857928626613d6991d3cc045de5d101ebf04dad1b5786facd5bd9d843e3/charset_normalizer-3.5.3-cp37-abi3-musllinux_1_2_ppc64le.whl", hash = "sha256:d313494077f849d8199f36166947785da1eeb36335fda15fde2e8f801ef271b6", size = 263887, upload-time = "2026-11-23T02:46:20.811Z" }, + { url = "https://files.pythonhosted.org/packages/4b/25/c6ddeafc6301f7675089d093219f923db0311bd99c7c6e21cd6f10e97884/charset_normalizer-3.5.3-cp37-abi3-musllinux_1_2_riscv64.whl", hash = "sha256:c08e06fc69750827d7ccebba63ebc97a85e479cd5c9dbdb80f5e08a77b774fdb", size = 250628, upload-time = "2026-11-23T02:46:22.044Z" }, + { url = "https://files.pythonhosted.org/packages/f3/1e/2536f55939d911bd638982aba11a2a26d8b5a49926d2d93e3d6cd236e180/charset_normalizer-3.5.3-cp37-abi3-musllinux_1_2_s390x.whl", hash = "sha256:29ac44f5878142128ffe4fa7e041ddc4cc5fafe43983245b9a141908c40b515d", size = 261092, upload-time = "2026-11-23T02:46:23.382Z" }, + { url = "https://files.pythonhosted.org/packages/3a/fe/aa2706988f2e4e46e79a488383dfd2f4d166728e046d8ae29cf8466d38e2/charset_normalizer-3.5.3-cp37-abi3-musllinux_1_2_x86_64.whl", hash = "sha256:3e8da696ef1935a019c10ec16555a062183ddf6d5901e296edeca4b2a8f84e1d", size = 236268, upload-time = "2026-11-23T02:46:24.607Z" }, + { url = "https://files.pythonhosted.org/packages/6a/79/9264b6a1411dcaf0daa0d58e6915545ddc8b056b53ece56375bcf9776c88/charset_normalizer-3.5.3-cp37-abi3-win32.whl", hash = "sha256:4ff5e27478681ef1b13b036baaf9beaf9b4c6990e903c752ad3b8764692c6d6c", size = 177808, upload-time = "2026-11-23T02:46:26.059Z" }, + { url = "https://files.pythonhosted.org/packages/a3/a5/cc188879ab8e8a36d295f888335f0a2875e39bcdacc6fe3207427c14036f/charset_normalizer-3.5.3-cp37-abi3-win_amd64.whl", hash = "sha256:a5a7e0326566759f9a7bc44f4b9a179cc40a297e09e759b0bc7c848c06347527", size = 200667, upload-time = "2026-11-23T02:46:27.221Z" }, + { url = "https://files.pythonhosted.org/packages/d5/a3/4a6047c40414f170ad09a6d44c1a0663914924619304817c2e33d19fae75/charset_normalizer-3.5.3-cp37-abi3-win_arm64.whl", hash = "sha256:e4f85c34f9be32ec5568a0668fb8bc029d3e729285fb8fccc38695e185379a9b", size = 290628, upload-time = "2026-11-23T02:46:29.06Z" }, + { url = "https://files.pythonhosted.org/packages/d2/0d/07ab8eb9b7015274353eac2add4067bde1ab1b51912bbae505392905eedd/charset_normalizer-3.5.3-py3-none-any.whl", hash = "sha256:96e268b0cbda016ac519513294fcd17032264085b600abaac58b93049477e132", size = 68878, upload-time = "2026-11-23T02:46:50.665Z" }, +] + +[[package]] +name = "click" +version = "8.5.1" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/45/37/edbf1b0707709013c0cf2e8317e03d97ed29bf4cac709fe328904ae92a38/click-8.5.1.tar.gz", hash = "sha256:9bbfada76703fd1d784b83eea012e3e8c6a001a876543ef104fa56aaaeb072b4", size = 399151, upload-time = "2026-11-06T17:37:01.021Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/31/7d/164b7ffc8624fe9efb4221bf9af485d5c1e41b9ae118045d2b6dc5457d8b/click-8.5.1-py3-none-any.whl", hash = "sha256:8bb5376d2006950386f8c6427613334a2acadc5f559cb80e638d00b4df957e37", size = 126163, upload-time = "2026-11-06T17:36:59.287Z" }, +] + +[[package]] +name = "colorama" +version = "0.4.6" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/d8/53/6f443c9a4a8358a93a6792e2acffb9d9d5cb0a5cfd8802644b7b1c9a02e4/colorama-0.4.6.tar.gz", hash = "sha256:08695f5cb7ed6e0531a20572697297273c47b8cae5a63ffc6d6ed5c201be6e44", size = 27697, upload-time = "2022-10-25T02:36:22.414Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/d1/d6/3965ed04c63042e047cb6a3e6ed1a63a35087b6a609aa3a15ed8ac56c221/colorama-0.4.6-py2.py3-none-any.whl", hash = "sha256:4f1d9991f5acc0ca119f9d443620b77f9d6b33703e51011c16baf57afb285fc6", size = 25335, upload-time = "2022-10-25T02:36:20.889Z" }, +] + +[[package]] +name = "cryptography" +version = "45.0.6" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "cffi", marker = "platform_python_implementation != 'PyPy' or (extra == 'extra-23-lang2sql-bird-benchmark-gpt41' and extra == 'extra-23-lang2sql-bird-benchmark-luna')" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/d6/0d/d13399c94234ee8f3df384819dc67e0c5ce215fb751d567a55a1f4b028c7/cryptography-45.0.6.tar.gz", hash = "sha256:5c966c732cf6e4a276ce83b6e4c729edda2df6929083a952cc7da973c539c719", size = 744949, upload-time = "2025-08-05T23:59:27.93Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/8c/29/2793d178d0eda1ca4a09a7c4e09a5185e75738cc6d526433e8663b460ea6/cryptography-45.0.6-cp311-abi3-macosx_10_9_universal2.whl", hash = "sha256:048e7ad9e08cf4c0ab07ff7f36cc3115924e22e2266e034450a890d9e312dd74", size = 7042702, upload-time = "2025-08-05T23:58:23.464Z" }, + { url = "https://files.pythonhosted.org/packages/b3/b6/cabd07410f222f32c8d55486c464f432808abaa1f12af9afcbe8f2f19030/cryptography-45.0.6-cp311-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:44647c5d796f5fc042bbc6d61307d04bf29bccb74d188f18051b635f20a9c75f", size = 4206483, upload-time = "2025-08-05T23:58:27.132Z" }, + { url = "https://files.pythonhosted.org/packages/8b/9e/f9c7d36a38b1cfeb1cc74849aabe9bf817990f7603ff6eb485e0d70e0b27/cryptography-45.0.6-cp311-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:e40b80ecf35ec265c452eea0ba94c9587ca763e739b8e559c128d23bff7ebbbf", size = 4429679, upload-time = "2025-08-05T23:58:29.152Z" }, + { url = "https://files.pythonhosted.org/packages/9c/2a/4434c17eb32ef30b254b9e8b9830cee4e516f08b47fdd291c5b1255b8101/cryptography-45.0.6-cp311-abi3-manylinux_2_28_aarch64.whl", hash = "sha256:00e8724bdad672d75e6f069b27970883179bd472cd24a63f6e620ca7e41cc0c5", size = 4210553, upload-time = "2025-08-05T23:58:30.596Z" }, + { url = "https://files.pythonhosted.org/packages/ef/1d/09a5df8e0c4b7970f5d1f3aff1b640df6d4be28a64cae970d56c6cf1c772/cryptography-45.0.6-cp311-abi3-manylinux_2_28_armv7l.manylinux_2_31_armv7l.whl", hash = "sha256:7a3085d1b319d35296176af31c90338eeb2ddac8104661df79f80e1d9787b8b2", size = 3894499, upload-time = "2025-08-05T23:58:32.03Z" }, + { url = "https://files.pythonhosted.org/packages/79/62/120842ab20d9150a9d3a6bdc07fe2870384e82f5266d41c53b08a3a96b34/cryptography-45.0.6-cp311-abi3-manylinux_2_28_x86_64.whl", hash = "sha256:1b7fa6a1c1188c7ee32e47590d16a5a0646270921f8020efc9a511648e1b2e08", size = 4458484, upload-time = "2025-08-05T23:58:33.526Z" }, + { url = "https://files.pythonhosted.org/packages/fd/80/1bc3634d45ddfed0871bfba52cf8f1ad724761662a0c792b97a951fb1b30/cryptography-45.0.6-cp311-abi3-manylinux_2_34_aarch64.whl", hash = "sha256:275ba5cc0d9e320cd70f8e7b96d9e59903c815ca579ab96c1e37278d231fc402", size = 4210281, upload-time = "2025-08-05T23:58:35.445Z" }, + { url = "https://files.pythonhosted.org/packages/7d/fe/ffb12c2d83d0ee625f124880a1f023b5878f79da92e64c37962bbbe35f3f/cryptography-45.0.6-cp311-abi3-manylinux_2_34_x86_64.whl", hash = "sha256:f4028f29a9f38a2025abedb2e409973709c660d44319c61762202206ed577c42", size = 4456890, upload-time = "2025-08-05T23:58:36.923Z" }, + { url = "https://files.pythonhosted.org/packages/8c/8e/b3f3fe0dc82c77a0deb5f493b23311e09193f2268b77196ec0f7a36e3f3e/cryptography-45.0.6-cp311-abi3-musllinux_1_2_aarch64.whl", hash = "sha256:ee411a1b977f40bd075392c80c10b58025ee5c6b47a822a33c1198598a7a5f05", size = 4333247, upload-time = "2025-08-05T23:58:38.781Z" }, + { url = "https://files.pythonhosted.org/packages/b3/a6/c3ef2ab9e334da27a1d7b56af4a2417d77e7806b2e0f90d6267ce120d2e4/cryptography-45.0.6-cp311-abi3-musllinux_1_2_x86_64.whl", hash = "sha256:e2a21a8eda2d86bb604934b6b37691585bd095c1f788530c1fcefc53a82b3453", size = 4565045, upload-time = "2025-08-05T23:58:40.415Z" }, + { url = "https://files.pythonhosted.org/packages/31/c3/77722446b13fa71dddd820a5faab4ce6db49e7e0bf8312ef4192a3f78e2f/cryptography-45.0.6-cp311-abi3-win32.whl", hash = "sha256:d063341378d7ee9c91f9d23b431a3502fc8bfacd54ef0a27baa72a0843b29159", size = 2928923, upload-time = "2025-08-05T23:58:41.919Z" }, + { url = "https://files.pythonhosted.org/packages/38/63/a025c3225188a811b82932a4dcc8457a26c3729d81578ccecbcce2cb784e/cryptography-45.0.6-cp311-abi3-win_amd64.whl", hash = "sha256:833dc32dfc1e39b7376a87b9a6a4288a10aae234631268486558920029b086ec", size = 3403805, upload-time = "2025-08-05T23:58:43.792Z" }, + { url = "https://files.pythonhosted.org/packages/5b/af/bcfbea93a30809f126d51c074ee0fac5bd9d57d068edf56c2a73abedbea4/cryptography-45.0.6-cp37-abi3-macosx_10_9_universal2.whl", hash = "sha256:3436128a60a5e5490603ab2adbabc8763613f638513ffa7d311c900a8349a2a0", size = 7020111, upload-time = "2025-08-05T23:58:45.316Z" }, + { url = "https://files.pythonhosted.org/packages/98/c6/ea5173689e014f1a8470899cd5beeb358e22bb3cf5a876060f9d1ca78af4/cryptography-45.0.6-cp37-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:0d9ef57b6768d9fa58e92f4947cea96ade1233c0e236db22ba44748ffedca394", size = 4198169, upload-time = "2025-08-05T23:58:47.121Z" }, + { url = "https://files.pythonhosted.org/packages/ba/73/b12995edc0c7e2311ffb57ebd3b351f6b268fed37d93bfc6f9856e01c473/cryptography-45.0.6-cp37-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:ea3c42f2016a5bbf71825537c2ad753f2870191134933196bee408aac397b3d9", size = 4421273, upload-time = "2025-08-05T23:58:48.557Z" }, + { url = "https://files.pythonhosted.org/packages/f7/6e/286894f6f71926bc0da67408c853dd9ba953f662dcb70993a59fd499f111/cryptography-45.0.6-cp37-abi3-manylinux_2_28_aarch64.whl", hash = "sha256:20ae4906a13716139d6d762ceb3e0e7e110f7955f3bc3876e3a07f5daadec5f3", size = 4199211, upload-time = "2025-08-05T23:58:50.139Z" }, + { url = "https://files.pythonhosted.org/packages/de/34/a7f55e39b9623c5cb571d77a6a90387fe557908ffc44f6872f26ca8ae270/cryptography-45.0.6-cp37-abi3-manylinux_2_28_armv7l.manylinux_2_31_armv7l.whl", hash = "sha256:2dac5ec199038b8e131365e2324c03d20e97fe214af051d20c49db129844e8b3", size = 3883732, upload-time = "2025-08-05T23:58:52.253Z" }, + { url = "https://files.pythonhosted.org/packages/f9/b9/c6d32edbcba0cd9f5df90f29ed46a65c4631c4fbe11187feb9169c6ff506/cryptography-45.0.6-cp37-abi3-manylinux_2_28_x86_64.whl", hash = "sha256:18f878a34b90d688982e43f4b700408b478102dd58b3e39de21b5ebf6509c301", size = 4450655, upload-time = "2025-08-05T23:58:53.848Z" }, + { url = "https://files.pythonhosted.org/packages/77/2d/09b097adfdee0227cfd4c699b3375a842080f065bab9014248933497c3f9/cryptography-45.0.6-cp37-abi3-manylinux_2_34_aarch64.whl", hash = "sha256:5bd6020c80c5b2b2242d6c48487d7b85700f5e0038e67b29d706f98440d66eb5", size = 4198956, upload-time = "2025-08-05T23:58:55.209Z" }, + { url = "https://files.pythonhosted.org/packages/55/66/061ec6689207d54effdff535bbdf85cc380d32dd5377173085812565cf38/cryptography-45.0.6-cp37-abi3-manylinux_2_34_x86_64.whl", hash = "sha256:eccddbd986e43014263eda489abbddfbc287af5cddfd690477993dbb31e31016", size = 4449859, upload-time = "2025-08-05T23:58:56.639Z" }, + { url = "https://files.pythonhosted.org/packages/41/ff/e7d5a2ad2d035e5a2af116e1a3adb4d8fcd0be92a18032917a089c6e5028/cryptography-45.0.6-cp37-abi3-musllinux_1_2_aarch64.whl", hash = "sha256:550ae02148206beb722cfe4ef0933f9352bab26b087af00e48fdfb9ade35c5b3", size = 4320254, upload-time = "2025-08-05T23:58:58.833Z" }, + { url = "https://files.pythonhosted.org/packages/82/27/092d311af22095d288f4db89fcaebadfb2f28944f3d790a4cf51fe5ddaeb/cryptography-45.0.6-cp37-abi3-musllinux_1_2_x86_64.whl", hash = "sha256:5b64e668fc3528e77efa51ca70fadcd6610e8ab231e3e06ae2bab3b31c2b8ed9", size = 4554815, upload-time = "2025-08-05T23:59:00.283Z" }, + { url = "https://files.pythonhosted.org/packages/7e/01/aa2f4940262d588a8fdf4edabe4cda45854d00ebc6eaac12568b3a491a16/cryptography-45.0.6-cp37-abi3-win32.whl", hash = "sha256:780c40fb751c7d2b0c6786ceee6b6f871e86e8718a8ff4bc35073ac353c7cd02", size = 2912147, upload-time = "2025-08-05T23:59:01.716Z" }, + { url = "https://files.pythonhosted.org/packages/0a/bc/16e0276078c2de3ceef6b5a34b965f4436215efac45313df90d55f0ba2d2/cryptography-45.0.6-cp37-abi3-win_amd64.whl", hash = "sha256:20d15aed3ee522faac1a39fbfdfee25d17b1284bafd808e1640a74846d7c4d1b", size = 3390459, upload-time = "2025-08-05T23:59:03.358Z" }, +] + +[[package]] +name = "fastuuid" +version = "0.14.0" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/c3/7d/d9daedf0f2ebcacd20d599928f8913e9d2aea1d56d2d355a93bfa2b611d7/fastuuid-0.14.0.tar.gz", hash = "sha256:178947fc2f995b38497a74172adee64fdeb8b7ec18f2a5934d037641ba265d26", size = 18232, upload-time = "2025-10-19T22:19:22.402Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/a5/83/ae12dd39b9a39b55d7f90abb8971f1a5f3c321fd72d5aa83f90dc67fe9ed/fastuuid-0.14.0-cp313-cp313-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl", hash = "sha256:77a09cb7427e7af74c594e409f7731a0cf887221de2f698e1ca0ebf0f3139021", size = 510720, upload-time = "2025-10-19T22:42:34.633Z" }, + { url = "https://files.pythonhosted.org/packages/53/b0/a4b03ff5d00f563cc7546b933c28cb3f2a07344b2aec5834e874f7d44143/fastuuid-0.14.0-cp313-cp313-macosx_10_12_x86_64.whl", hash = "sha256:9bd57289daf7b153bfa3e8013446aa144ce5e8c825e9e366d455155ede5ea2dc", size = 262024, upload-time = "2025-10-19T22:30:25.482Z" }, + { url = "https://files.pythonhosted.org/packages/9c/6d/64aee0a0f6a58eeabadd582e55d0d7d70258ffdd01d093b30c53d668303b/fastuuid-0.14.0-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:ac60fc860cdf3c3f327374db87ab8e064c86566ca8c49d2e30df15eda1b0c2d5", size = 251679, upload-time = "2025-10-19T22:36:14.096Z" }, + { url = "https://files.pythonhosted.org/packages/60/f5/a7e9cda8369e4f7919d36552db9b2ae21db7915083bc6336f1b0082c8b2e/fastuuid-0.14.0-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:ab32f74bd56565b186f036e33129da77db8be09178cd2f5206a5d4035fb2a23f", size = 277862, upload-time = "2025-10-19T22:36:23.302Z" }, + { url = "https://files.pythonhosted.org/packages/f0/d3/8ce11827c783affffd5bd4d6378b28eb6cc6d2ddf41474006b8d62e7448e/fastuuid-0.14.0-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:33e678459cf4addaedd9936bbb038e35b3f6b2061330fd8f2f6a1d80414c0f87", size = 278278, upload-time = "2025-10-19T22:29:43.809Z" }, + { url = "https://files.pythonhosted.org/packages/a2/51/680fb6352d0bbade04036da46264a8001f74b7484e2fd1f4da9e3db1c666/fastuuid-0.14.0-cp313-cp313-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:1e3cc56742f76cd25ecb98e4b82a25f978ccffba02e4bdce8aba857b6d85d87b", size = 301788, upload-time = "2025-10-19T22:36:06.825Z" }, + { url = "https://files.pythonhosted.org/packages/fa/7c/2014b5785bd8ebdab04ec857635ebd84d5ee4950186a577db9eff0fb8ff6/fastuuid-0.14.0-cp313-cp313-musllinux_1_1_aarch64.whl", hash = "sha256:cb9a030f609194b679e1660f7e32733b7a0f332d519c5d5a6a0a580991290022", size = 459819, upload-time = "2025-10-19T22:35:31.623Z" }, + { url = "https://files.pythonhosted.org/packages/01/d2/524d4ceeba9160e7a9bc2ea3e8f4ccf1ad78f3bde34090ca0c51f09a5e91/fastuuid-0.14.0-cp313-cp313-musllinux_1_1_i686.whl", hash = "sha256:09098762aad4f8da3a888eb9ae01c84430c907a297b97166b8abc07b640f2995", size = 478546, upload-time = "2025-10-19T22:26:03.023Z" }, + { url = "https://files.pythonhosted.org/packages/bc/17/354d04951ce114bf4afc78e27a18cfbd6ee319ab1829c2d5fb5e94063ac6/fastuuid-0.14.0-cp313-cp313-musllinux_1_1_x86_64.whl", hash = "sha256:1383fff584fa249b16329a059c68ad45d030d5a4b70fb7c73a08d98fd53bcdab", size = 450921, upload-time = "2025-10-19T22:31:02.151Z" }, + { url = "https://files.pythonhosted.org/packages/fb/be/d7be8670151d16d88f15bb121c5b66cdb5ea6a0c2a362d0dcf30276ade53/fastuuid-0.14.0-cp313-cp313-win32.whl", hash = "sha256:a0809f8cc5731c066c909047f9a314d5f536c871a7a22e815cc4967c110ac9ad", size = 154559, upload-time = "2025-10-19T22:36:36.011Z" }, + { url = "https://files.pythonhosted.org/packages/22/1d/5573ef3624ceb7abf4a46073d3554e37191c868abc3aecd5289a72f9810a/fastuuid-0.14.0-cp313-cp313-win_amd64.whl", hash = "sha256:0df14e92e7ad3276327631c9e7cec09e32572ce82089c55cb1bb8df71cf394ed", size = 156539, upload-time = "2025-10-19T22:33:35.898Z" }, +] + +[[package]] +name = "filelock" +version = "4.3.1" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/e6/86/a5b9ec254b90efb180e390e31a4fa50a93b714d6e4174fa9a4ee25607159/filelock-4.3.1.tar.gz", hash = "sha256:4c5ee627c401f1863ac6a0de9a14a28d3bb5f8c730b45e2fd6e5dbc79cf34b9e", size = 742330, upload-time = "2026-11-23T18:01:13.656Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/53/7b/678c8fbd372ff96375ac0bbdd20b78f20ef8ba6ca5966c49548fa5886557/filelock-4.3.1-py3-none-any.whl", hash = "sha256:79e43df8e9fe509cd83a3899a7c186c8077cbbe4d200a1ed3705c2f3bb6bc487", size = 244559, upload-time = "2026-11-23T18:01:12.261Z" }, +] + +[[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/2d/40/0832c31a37d60f60ed79e9dfb5a92e1e2af4f40a16a29abcc7992af9edff/frozenlist-1.8.0-cp313-cp313-macosx_10_13_universal2.whl", hash = "sha256:8d92f1a84bb12d9e56f818b3a746f3efba93c1b63c8387a73dde655e1e42282a", size = 85717, upload-time = "2025-10-06T05:36:27.341Z" }, + { url = "https://files.pythonhosted.org/packages/30/ba/b0b3de23f40bc55a7057bd38434e25c34fa48e17f20ee273bbde5e0650f3/frozenlist-1.8.0-cp313-cp313-macosx_10_13_x86_64.whl", hash = "sha256:96153e77a591c8adc2ee805756c61f59fef4cf4073a9275ee86fe8cba41241f7", size = 49651, upload-time = "2025-10-06T05:36:28.855Z" }, + { url = "https://files.pythonhosted.org/packages/0c/ab/6e5080ee374f875296c4243c381bbdef97a9ac39c6e3ce1d5f7d42cb78d6/frozenlist-1.8.0-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:f21f00a91358803399890ab167098c131ec2ddd5f8f5fd5fe9c9f2c6fcd91e40", size = 49417, upload-time = "2025-10-06T05:36:29.877Z" }, + { url = "https://files.pythonhosted.org/packages/d5/4e/e4691508f9477ce67da2015d8c00acd751e6287739123113a9fca6f1604e/frozenlist-1.8.0-cp313-cp313-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl", hash = "sha256:fb30f9626572a76dfe4293c7194a09fb1fe93ba94c7d4f720dfae3b646b45027", size = 234391, upload-time = "2025-10-06T05:36:31.301Z" }, + { url = "https://files.pythonhosted.org/packages/40/76/c202df58e3acdf12969a7895fd6f3bc016c642e6726aa63bd3025e0fc71c/frozenlist-1.8.0-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:eaa352d7047a31d87dafcacbabe89df0aa506abb5b1b85a2fb91bc3faa02d822", size = 233048, upload-time = "2025-10-06T05:36:32.531Z" }, + { url = "https://files.pythonhosted.org/packages/f9/c0/8746afb90f17b73ca5979c7a3958116e105ff796e718575175319b5bb4ce/frozenlist-1.8.0-cp313-cp313-manylinux2014_armv7l.manylinux_2_17_armv7l.manylinux_2_31_armv7l.whl", hash = "sha256:03ae967b4e297f58f8c774c7eabcce57fe3c2434817d4385c50661845a058121", size = 226549, upload-time = "2025-10-06T05:36:33.706Z" }, + { url = "https://files.pythonhosted.org/packages/7e/eb/4c7eefc718ff72f9b6c4893291abaae5fbc0c82226a32dcd8ef4f7a5dbef/frozenlist-1.8.0-cp313-cp313-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:f6292f1de555ffcc675941d65fffffb0a5bcd992905015f85d0592201793e0e5", size = 239833, upload-time = "2025-10-06T05:36:34.947Z" }, + { url = "https://files.pythonhosted.org/packages/c2/4e/e5c02187cf704224f8b21bee886f3d713ca379535f16893233b9d672ea71/frozenlist-1.8.0-cp313-cp313-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:29548f9b5b5e3460ce7378144c3010363d8035cea44bc0bf02d57f5a685e084e", size = 245363, upload-time = "2025-10-06T05:36:36.534Z" }, + { url = "https://files.pythonhosted.org/packages/1f/96/cb85ec608464472e82ad37a17f844889c36100eed57bea094518bf270692/frozenlist-1.8.0-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:ec3cc8c5d4084591b4237c0a272cc4f50a5b03396a47d9caaf76f5d7b38a4f11", size = 229314, upload-time = "2025-10-06T05:36:38.582Z" }, + { url = "https://files.pythonhosted.org/packages/5d/6f/4ae69c550e4cee66b57887daeebe006fe985917c01d0fff9caab9883f6d0/frozenlist-1.8.0-cp313-cp313-musllinux_1_2_armv7l.whl", hash = "sha256:517279f58009d0b1f2e7c1b130b377a349405da3f7621ed6bfae50b10adf20c1", size = 243365, upload-time = "2025-10-06T05:36:40.152Z" }, + { url = "https://files.pythonhosted.org/packages/7a/58/afd56de246cf11780a40a2c28dc7cbabbf06337cc8ddb1c780a2d97e88d8/frozenlist-1.8.0-cp313-cp313-musllinux_1_2_ppc64le.whl", hash = "sha256:db1e72ede2d0d7ccb213f218df6a078a9c09a7de257c2fe8fcef16d5925230b1", size = 237763, upload-time = "2025-10-06T05:36:41.355Z" }, + { url = "https://files.pythonhosted.org/packages/cb/36/cdfaf6ed42e2644740d4a10452d8e97fa1c062e2a8006e4b09f1b5fd7d63/frozenlist-1.8.0-cp313-cp313-musllinux_1_2_s390x.whl", hash = "sha256:b4dec9482a65c54a5044486847b8a66bf10c9cb4926d42927ec4e8fd5db7fed8", size = 240110, upload-time = "2025-10-06T05:36:42.716Z" }, + { url = "https://files.pythonhosted.org/packages/03/a8/9ea226fbefad669f11b52e864c55f0bd57d3c8d7eb07e9f2e9a0b39502e1/frozenlist-1.8.0-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:21900c48ae04d13d416f0e1e0c4d81f7931f73a9dfa0b7a8746fb2fe7dd970ed", size = 233717, upload-time = "2025-10-06T05:36:44.251Z" }, + { url = "https://files.pythonhosted.org/packages/1e/0b/1b5531611e83ba7d13ccc9988967ea1b51186af64c42b7a7af465dcc9568/frozenlist-1.8.0-cp313-cp313-win32.whl", hash = "sha256:8b7b94a067d1c504ee0b16def57ad5738701e4ba10cec90529f13fa03c833496", size = 39628, upload-time = "2025-10-06T05:36:45.423Z" }, + { url = "https://files.pythonhosted.org/packages/d8/cf/174c91dbc9cc49bc7b7aab74d8b734e974d1faa8f191c74af9b7e80848e6/frozenlist-1.8.0-cp313-cp313-win_amd64.whl", hash = "sha256:878be833caa6a3821caf85eb39c5ba92d28e85df26d57afb06b35b2efd937231", size = 43882, upload-time = "2025-10-06T05:36:46.796Z" }, + { url = "https://files.pythonhosted.org/packages/c1/17/502cd212cbfa96eb1388614fe39a3fc9ab87dbbe042b66f97acb57474834/frozenlist-1.8.0-cp313-cp313-win_arm64.whl", hash = "sha256:44389d135b3ff43ba8cc89ff7f51f5a0bb6b63d829c8300f79a2fe4fe61bcc62", size = 39676, upload-time = "2025-10-06T05:36:47.8Z" }, + { url = "https://files.pythonhosted.org/packages/d2/5c/3bbfaa920dfab09e76946a5d2833a7cbdf7b9b4a91c714666ac4855b88b4/frozenlist-1.8.0-cp313-cp313t-macosx_10_13_universal2.whl", hash = "sha256:e25ac20a2ef37e91c1b39938b591457666a0fa835c7783c3a8f33ea42870db94", size = 89235, upload-time = "2025-10-06T05:36:48.78Z" }, + { url = "https://files.pythonhosted.org/packages/d2/d6/f03961ef72166cec1687e84e8925838442b615bd0b8854b54923ce5b7b8a/frozenlist-1.8.0-cp313-cp313t-macosx_10_13_x86_64.whl", hash = "sha256:07cdca25a91a4386d2e76ad992916a85038a9b97561bf7a3fd12d5d9ce31870c", size = 50742, upload-time = "2025-10-06T05:36:49.837Z" }, + { url = "https://files.pythonhosted.org/packages/1e/bb/a6d12b7ba4c3337667d0e421f7181c82dda448ce4e7ad7ecd249a16fa806/frozenlist-1.8.0-cp313-cp313t-macosx_11_0_arm64.whl", hash = "sha256:4e0c11f2cc6717e0a741f84a527c52616140741cd812a50422f83dc31749fb52", size = 51725, upload-time = "2025-10-06T05:36:50.851Z" }, + { url = "https://files.pythonhosted.org/packages/bc/71/d1fed0ffe2c2ccd70b43714c6cab0f4188f09f8a67a7914a6b46ee30f274/frozenlist-1.8.0-cp313-cp313t-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl", hash = "sha256:b3210649ee28062ea6099cfda39e147fa1bc039583c8ee4481cb7811e2448c51", size = 284533, upload-time = "2025-10-06T05:36:51.898Z" }, + { url = "https://files.pythonhosted.org/packages/c9/1f/fb1685a7b009d89f9bf78a42d94461bc06581f6e718c39344754a5d9bada/frozenlist-1.8.0-cp313-cp313t-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:581ef5194c48035a7de2aefc72ac6539823bb71508189e5de01d60c9dcd5fa65", size = 292506, upload-time = "2025-10-06T05:36:53.101Z" }, + { url = "https://files.pythonhosted.org/packages/e6/3b/b991fe1612703f7e0d05c0cf734c1b77aaf7c7d321df4572e8d36e7048c8/frozenlist-1.8.0-cp313-cp313t-manylinux2014_armv7l.manylinux_2_17_armv7l.manylinux_2_31_armv7l.whl", hash = "sha256:3ef2d026f16a2b1866e1d86fc4e1291e1ed8a387b2c333809419a2f8b3a77b82", size = 274161, upload-time = "2025-10-06T05:36:54.309Z" }, + { url = "https://files.pythonhosted.org/packages/ca/ec/c5c618767bcdf66e88945ec0157d7f6c4a1322f1473392319b7a2501ded7/frozenlist-1.8.0-cp313-cp313t-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:5500ef82073f599ac84d888e3a8c1f77ac831183244bfd7f11eaa0289fb30714", size = 294676, upload-time = "2025-10-06T05:36:55.566Z" }, + { url = "https://files.pythonhosted.org/packages/7c/ce/3934758637d8f8a88d11f0585d6495ef54b2044ed6ec84492a91fa3b27aa/frozenlist-1.8.0-cp313-cp313t-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:50066c3997d0091c411a66e710f4e11752251e6d2d73d70d8d5d4c76442a199d", size = 300638, upload-time = "2025-10-06T05:36:56.758Z" }, + { url = "https://files.pythonhosted.org/packages/fc/4f/a7e4d0d467298f42de4b41cbc7ddaf19d3cfeabaf9ff97c20c6c7ee409f9/frozenlist-1.8.0-cp313-cp313t-musllinux_1_2_aarch64.whl", hash = "sha256:5c1c8e78426e59b3f8005e9b19f6ff46e5845895adbde20ece9218319eca6506", size = 283067, upload-time = "2025-10-06T05:36:57.965Z" }, + { url = "https://files.pythonhosted.org/packages/dc/48/c7b163063d55a83772b268e6d1affb960771b0e203b632cfe09522d67ea5/frozenlist-1.8.0-cp313-cp313t-musllinux_1_2_armv7l.whl", hash = "sha256:eefdba20de0d938cec6a89bd4d70f346a03108a19b9df4248d3cf0d88f1b0f51", size = 292101, upload-time = "2025-10-06T05:36:59.237Z" }, + { url = "https://files.pythonhosted.org/packages/9f/d0/2366d3c4ecdc2fd391e0afa6e11500bfba0ea772764d631bbf82f0136c9d/frozenlist-1.8.0-cp313-cp313t-musllinux_1_2_ppc64le.whl", hash = "sha256:cf253e0e1c3ceb4aaff6df637ce033ff6535fb8c70a764a8f46aafd3d6ab798e", size = 289901, upload-time = "2025-10-06T05:37:00.811Z" }, + { url = "https://files.pythonhosted.org/packages/b8/94/daff920e82c1b70e3618a2ac39fbc01ae3e2ff6124e80739ce5d71c9b920/frozenlist-1.8.0-cp313-cp313t-musllinux_1_2_s390x.whl", hash = "sha256:032efa2674356903cd0261c4317a561a6850f3ac864a63fc1583147fb05a79b0", size = 289395, upload-time = "2025-10-06T05:37:02.115Z" }, + { url = "https://files.pythonhosted.org/packages/e3/20/bba307ab4235a09fdcd3cc5508dbabd17c4634a1af4b96e0f69bfe551ebd/frozenlist-1.8.0-cp313-cp313t-musllinux_1_2_x86_64.whl", hash = "sha256:6da155091429aeba16851ecb10a9104a108bcd32f6c1642867eadaee401c1c41", size = 283659, upload-time = "2025-10-06T05:37:03.711Z" }, + { url = "https://files.pythonhosted.org/packages/fd/00/04ca1c3a7a124b6de4f8a9a17cc2fcad138b4608e7a3fc5877804b8715d7/frozenlist-1.8.0-cp313-cp313t-win32.whl", hash = "sha256:0f96534f8bfebc1a394209427d0f8a63d343c9779cda6fc25e8e121b5fd8555b", size = 43492, upload-time = "2025-10-06T05:37:04.915Z" }, + { url = "https://files.pythonhosted.org/packages/59/5e/c69f733a86a94ab10f68e496dc6b7e8bc078ebb415281d5698313e3af3a1/frozenlist-1.8.0-cp313-cp313t-win_amd64.whl", hash = "sha256:5d63a068f978fc69421fb0e6eb91a9603187527c86b7cd3f534a5b77a592b888", size = 48034, upload-time = "2025-10-06T05:37:06.343Z" }, + { url = "https://files.pythonhosted.org/packages/16/6c/be9d79775d8abe79b05fa6d23da99ad6e7763a1d080fbae7290b286093fd/frozenlist-1.8.0-cp313-cp313t-win_arm64.whl", hash = "sha256:bf0a7e10b077bf5fb9380ad3ae8ce20ef919a6ad93b4552896419ac7e1d8e042", size = 41749, upload-time = "2025-10-06T05:37:07.431Z" }, + { 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 = "fsspec" +version = "2026.9.0" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/77/cd/9be253869fc42e764de7f3dedd6969af7d44ff9c3375214a3442a6f3fc08/fsspec-2026.9.0.tar.gz", hash = "sha256:0f08147951c8cb31d844c3547d631053b127863b60be04cf06e121333ee0e2fe", size = 333545, upload-time = "2026-09-18T17:50:42.825Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/6c/c0/a98505f18594f1bce828bb159cec0fcf9860562f1a2c85913409fc8f3d9e/fsspec-2026.9.0-py3-none-any.whl", hash = "sha256:8dd6e646e99ea382bd85f97a45e6b526a442d79423a7dc673f1e2756d05fcb5f", size = 221738, upload-time = "2026-09-18T17:50:41.341Z" }, +] + +[[package]] +name = "greenlet" +version = "3.5.6" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/3e/6e/0091f175ccd02b02bc8811bbcbcc6ac2e980be116e3b2f7a736ca322bf84/greenlet-3.5.6.tar.gz", hash = "sha256:8e67c43bdfc88d5fee6db0d3e40175b362fc95fb85f0412d233b9b203c53a575", size = 207653, upload-time = "2026-09-14T15:42:51.806Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/f1/a1/e720a38852366c589e1a46cf570b886507ad2cf591050c203365638baab0/greenlet-3.5.6-cp313-cp313-macosx_11_0_universal2.whl", hash = "sha256:f96f0e30b5a95c7631b12bfe214cbc90ec8fe8cfa36920596c10514a65743519", size = 294627, upload-time = "2026-09-14T14:24:40.102Z" }, + { url = "https://files.pythonhosted.org/packages/eb/c3/58187858df41354a11e6a55b421e7af9059798abdab3a384cc51b8567c38/greenlet-3.5.6-cp313-cp313-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:c75116c9de79949de23006e2d9b35ee82874c594fcf5c0311b439acaa14b8441", size = 614356, upload-time = "2026-09-14T15:12:03.399Z" }, + { url = "https://files.pythonhosted.org/packages/ce/b9/3a7e67d5f05c9760b1ad411fa52264bd69cc08e22a2ebfb4018b90628ced/greenlet-3.5.6-cp313-cp313-manylinux_2_24_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:cad5782f93f7f738b62c6527b6f32a60694d924029f299a8b524758cfa53d815", size = 626756, upload-time = "2026-09-14T15:20:44.269Z" }, + { url = "https://files.pythonhosted.org/packages/c6/7c/40400455f5b5a65bb83e94fde66d1be9e5ec518638113f8083ace746c309/greenlet-3.5.6-cp313-cp313-manylinux_2_24_s390x.manylinux_2_28_s390x.whl", hash = "sha256:a93ee7c6e8fd0f8a83525a51bd777be57ee17787e91d805bd8d6faf9dcada18e", size = 632632, upload-time = "2026-09-14T15:25:07.813Z" }, + { url = "https://files.pythonhosted.org/packages/85/cb/ab0c123c514ed4e94c0dc9ee2e86362633e6b998cfc05de7fc9ac2eb9690/greenlet-3.5.6-cp313-cp313-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:f98e8215e172f567ce80eeaed9107fb4d32b6c44f26983d9b8334658136a205a", size = 623779, upload-time = "2026-09-14T14:36:01.104Z" }, + { url = "https://files.pythonhosted.org/packages/f9/67/1f35cff30a6c51c3f23b63d4afcc7313ab4f97490ba3676fa78178984b27/greenlet-3.5.6-cp313-cp313-manylinux_2_39_riscv64.whl", hash = "sha256:7f731ebac68ea06d628658295cb2d217b10186329fcf9a3b6a149045059bf92e", size = 434933, upload-time = "2026-09-14T15:28:38.858Z" }, + { url = "https://files.pythonhosted.org/packages/a5/26/fda8a5a06e7073333ccb038133c5893b9e0c4fe29d5992a17e83c241bc6e/greenlet-3.5.6-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:df19e2d0b1620039af5102563fbd96e8938c7f5c3f5828528d641d9fc585525e", size = 1584930, upload-time = "2026-09-14T15:10:08.234Z" }, + { url = "https://files.pythonhosted.org/packages/2f/37/50f8813163148d6234e08b23dcad6a9e37f01d148c8ec976e4c44ea2d918/greenlet-3.5.6-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:06c0e933290fba8ffe53ead4ae1b8044b0e9754b75cebf381aa2bc3e50d82fac", size = 1647590, upload-time = "2026-09-14T14:35:51.173Z" }, + { url = "https://files.pythonhosted.org/packages/86/da/b7669b09586365654083a62bd0724cf06cb74bd5085a15cdd161271f992f/greenlet-3.5.6-cp313-cp313-win_amd64.whl", hash = "sha256:5b602b4201b965a8354d74e232364a66ff243dd142e350d035f46169bb36e13d", size = 324086, upload-time = "2026-09-14T14:23:48.428Z" }, + { url = "https://files.pythonhosted.org/packages/e5/5d/c9663cfe84a2a9e0aa96f066f5b0594c227ea4c647511e087e2e11d4ac0a/greenlet-3.5.6-cp313-cp313-win_arm64.whl", hash = "sha256:876077e7ebb8c84ed068e2b23d4c62ebb010d60df84b9591af1be2f39010ffb2", size = 308211, upload-time = "2026-09-14T14:28:01.634Z" }, +] + +[[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 = "h2" +version = "4.4.1" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "hpack" }, + { name = "hyperframe" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/e7/85/7c366e69d84c17bb778fe41419e1fbcce3033d5b7ce29bbffff0a98b859f/h2-4.4.1.tar.gz", hash = "sha256:4e866ffb1a869ae14dd9b5e6beb5c24a13da0495ad72b65925ded182521c1516", size = 2157281, upload-time = "2026-08-03T11:45:09.509Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/7e/22/e85faf23bd72a92d1921e37d674ca56eb298a3c8be31fdecef0ff2b3aaac/h2-4.4.1-py3-none-any.whl", hash = "sha256:0e25f1462b23c9cb82d9eb02e28bc706dac2a68cb457c6a0d74d63c8a2a5d0e6", size = 62636, upload-time = "2026-08-03T11:44:59.164Z" }, +] + +[[package]] +name = "hf-xet" +version = "1.8.0" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/2f/18/d91c20f815df6cc496a5d0ad8db6d274dad5c0cfcd59babfa2440a9aba44/hf_xet-1.8.0.tar.gz", hash = "sha256:10ed23b51dacf7917d64f335c25048deb470efa755e9989b218fc0531386138e", size = 1013014, upload-time = "2026-10-30T10:04:33.741Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/97/74/d89d5235524bc14d8519e12ca8bc5204f45009ae83d63a410f52c29eb4a8/hf_xet-1.8.0-cp38-abi3-macosx_10_12_x86_64.whl", hash = "sha256:e00d8f60170cd3dd55d98306e41dbaf28b27ff1bcfefbfa84279d197221be83e", size = 3875002, upload-time = "2026-10-30T10:04:18.958Z" }, + { url = "https://files.pythonhosted.org/packages/d4/f2/ef25e2085e92dcaeaa675331e443923aed2006f6fe2d984e15d8b8d40766/hf_xet-1.8.0-cp38-abi3-macosx_11_0_arm64.whl", hash = "sha256:3e8934784425781f0f779b91044df441f3a7af4dab47375d7e3aeaecbb8eecb4", size = 3600947, upload-time = "2026-10-30T10:04:20.906Z" }, + { url = "https://files.pythonhosted.org/packages/f8/1e/1e8ecc05ef034e9a95c18ed32d2ec07905a7cd2ca611a9d88e25ee1f4850/hf_xet-1.8.0-cp38-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:29dab7c904cd1914a0439c6e1306c12c7497c8bd32290fbe563ebf51ca4b6d6d", size = 4292483, upload-time = "2026-10-30T10:04:22.875Z" }, + { url = "https://files.pythonhosted.org/packages/35/c4/127a1548df019ea4c80f06e685f263e146075143335a02e78a3c41dbc4eb/hf_xet-1.8.0-cp38-abi3-manylinux_2_28_aarch64.whl", hash = "sha256:8800e3444770f2c630b361bc6d5c6ebb770b7830646cf632fbb79d0e5bbc9e7f", size = 4069340, upload-time = "2026-10-30T10:04:24.664Z" }, + { url = "https://files.pythonhosted.org/packages/a5/d5/281cd82736c3e181e597588589d2204d3a5c388a464d4a2a8c546995bae9/hf_xet-1.8.0-cp38-abi3-musllinux_1_2_aarch64.whl", hash = "sha256:a584a7b3268da62f23c3187cc7201ca01f7b610985a36b1b6119c66bccb0383c", size = 4272344, upload-time = "2026-10-30T10:04:26.519Z" }, + { url = "https://files.pythonhosted.org/packages/48/77/886f09e91a5eadb054ce03b8855323cd2a72f20db76ab4119e0ecda65eef/hf_xet-1.8.0-cp38-abi3-musllinux_1_2_x86_64.whl", hash = "sha256:1ebaf248c9bef8bb0c9d1d8d71db1fdf0cac14f922cc7a936a81adbf12eb5f01", size = 4500689, upload-time = "2026-10-30T10:04:28.394Z" }, + { url = "https://files.pythonhosted.org/packages/97/4d/2c76a992b370ff77d0b5219275779f8c9a7dabb8ee649deb265dfed84d0f/hf_xet-1.8.0-cp38-abi3-win_amd64.whl", hash = "sha256:92188598dedc1e1f5609bd718d4db8687a6c89915553912571e2f587892eecec", size = 3911559, upload-time = "2026-10-30T10:04:30.165Z" }, + { url = "https://files.pythonhosted.org/packages/87/91/fdb1454a43eff8011047d176ada2f0fb4926cf3d74b87357ff35793f6d98/hf_xet-1.8.0-cp38-abi3-win_arm64.whl", hash = "sha256:42b66fdc688eaa4ff3eb77dc9275e5a0f1258ecc9fdd083ddaf43bb49bec925b", size = 3738458, upload-time = "2026-10-30T10:04:31.882Z" }, +] + +[[package]] +name = "hpack" +version = "4.2.0" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/26/5b/fcabf6028144a8723726318b07a32c2f3314acdff6265743cf08a344b18e/hpack-4.2.0.tar.gz", hash = "sha256:0895cfa3b5531fc65fe439c05eb65144f123bf7a394fcaa56aa423548d8e45c0", size = 51300, upload-time = "2026-06-23T18:34:46.667Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/71/b4/4a9fcfb2aef6ba44d9073ecd301443aa00b3dac95de5619f2a7de7ec8a91/hpack-4.2.0-py3-none-any.whl", hash = "sha256:858ac0b02280fa582b5080d68db0899c62a80375e0e5413a74970c5e518b6986", size = 34246, upload-time = "2026-06-23T18:34:45.472Z" }, +] + +[[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 = "httpcore2" +version = "2.16.2" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "h11" }, + { name = "truststore" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/92/9d/df40b41f7db0370f82019820709244e7b660c52aa3da3c9e5c4e8141f6e6/httpcore2-2.16.2.tar.gz", hash = "sha256:6c519d0f7b44f7269fa9bbb4d2763db395a4a2370f046d8e8e0a4b38227815d2", size = 70064, upload-time = "2026-11-16T10:12:19.491Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/2a/e8/009c347feac27f8960605aa98d55ed263b5870dd4fd80b82fd1d00d5716c/httpcore2-2.16.2-py3-none-any.whl", hash = "sha256:16051ae2a42f776007543f32de9349a317b23d2cbb4e1456b4bac0e88b87419a", size = 85551, upload-time = "2026-11-16T10:12:16.674Z" }, +] + +[[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.optional-dependencies] +http2 = [ + { name = "h2" }, +] + +[[package]] +name = "httpx2" +version = "2.16.2" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "anyio", marker = "sys_platform != 'emscripten'" }, + { name = "httpcore2", marker = "sys_platform != 'emscripten'" }, + { name = "httpx2-jsfetch", marker = "sys_platform == 'emscripten'" }, + { name = "idna" }, + { name = "truststore", marker = "sys_platform != 'emscripten'" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/1c/77/6515121dc5ac3c743ad1bff5afe635bcd1a3f23cc40db3c5c89f7d02917d/httpx2-2.16.2.tar.gz", hash = "sha256:748b615678f07d8e3b183efe81ad13b655ca88bfc56ce4589219b2d442860574", size = 103370, upload-time = "2026-11-16T10:12:20.49Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/77/de/8c4306a3d6aa2495111986addf33a9e561eff4c47552e4c4b9251160d0ad/httpx2-2.16.2-py3-none-any.whl", hash = "sha256:f05c13aade4c45dbf1c9060647a1058f0acad62398fad96e741269edb33d46f5", size = 97893, upload-time = "2026-11-16T10:12:18.192Z" }, +] + +[[package]] +name = "httpx2-jsfetch" +version = "1.0" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/cd/c4/0e5636363151a2a1795e0a77617168b9ca438e1748ec05fc9b5687f93d64/httpx2_jsfetch-1.0.tar.gz", hash = "sha256:70a0e3eabfef7cce5ad9c629f7d01ca05e418f586646f4ddf14782e4c1454c60", size = 6872, upload-time = "2026-08-07T00:13:07.492Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/9b/43/832f631d32e4f1211caa2ba368317739fe71f0b8530e4c9d15dc454bac2a/httpx2_jsfetch-1.0-py3-none-any.whl", hash = "sha256:cb916b707601e69a07721aabc8f3f6659be3a6893bc1ff5c6f9e02241df2da32", size = 6382, upload-time = "2026-08-07T00:13:06.567Z" }, +] + +[[package]] +name = "huggingface-hub" +version = "1.33.0" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "click" }, + { name = "filelock" }, + { name = "fsspec" }, + { name = "hf-xet", marker = "platform_machine == 'AMD64' or platform_machine == 'aarch64' or platform_machine == 'amd64' or platform_machine == 'arm64' or platform_machine == 'x86_64'" }, + { name = "httpx" }, + { name = "packaging" }, + { name = "pyyaml" }, + { name = "tqdm" }, + { name = "typing-extensions" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/25/2a/484d112c0d8fc5f665d7b65137ac9cdb2953c982391598c3597968a12ee7/huggingface_hub-1.33.0.tar.gz", hash = "sha256:367be21a201db9523eddf8aeac7048f2602c1b308691c97640d5e72ed188007e", size = 1043548, upload-time = "2026-09-24T09:49:29.971Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/fc/16/963096d224b80909432dc16561a615fd33d2d13beef3ce4c63fa25e40867/huggingface_hub-1.33.0-py3-none-any.whl", hash = "sha256:04e434b06e100eddbce9a6e817d72693a7884b10a79bd67ab48080d5c07eb899", size = 846435, upload-time = "2026-09-24T09:49:28.059Z" }, +] + +[[package]] +name = "hyperframe" +version = "6.1.0" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/02/e7/94f8232d4a74cc99514c13a9f995811485a6903d48e5d952771ef6322e30/hyperframe-6.1.0.tar.gz", hash = "sha256:f630908a00854a7adeabd6382b43923a4c4cd4b821fcb527e6ab9e15382a3b08", size = 26566, upload-time = "2025-01-22T21:41:49.302Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/48/30/47d0bf6072f7252e6521f3447ccfa40b421b6824517f82854703d0f5a98b/hyperframe-6.1.0-py3-none-any.whl", hash = "sha256:b03380493a519fce58ea5af42e4a42317bf9bd425596f7a0835ffce80f1a42e5", size = 13007, upload-time = "2025-01-22T21:41:47.295Z" }, +] + +[[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 = "importlib-metadata" +version = "8.9.0" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "zipp" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/e7/72/c600ae4f68c28fc19f9c31b9403053e5dbb8cace2e6842c7b7c3e4d42fe9/importlib_metadata-8.9.0.tar.gz", hash = "sha256:58850626cef4bd2df100378b0f2aea9724a7b92f10770d547725b047078f99ee", size = 56140, upload-time = "2026-03-20T16:56:26.362Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/7d/f9/97f2ca8bb3ec6e4b1d64f983ebe98b9a192faddff67fac3d6303a537e670/importlib_metadata-8.9.0-py3-none-any.whl", hash = "sha256:e0f761b6ea91ced3b0844c14c9d955224d538105921f8e6754c00f6ca79fba7f", size = 27220, upload-time = "2026-03-20T16:56:25.07Z" }, +] + +[[package]] +name = "jinja2" +version = "3.1.6" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "markupsafe" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/df/bf/f7da0350254c0ed7c72f3e33cef02e048281fec7ecec5f032d4aac52226b/jinja2-3.1.6.tar.gz", hash = "sha256:0137fb05990d35f1275a587e9aee6d56da821fc83491a0fb838183be43f66d6d", size = 245115, upload-time = "2025-03-05T20:05:02.478Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/62/a1/3d680cbfd5f4b8f15abc1d571870c5fc3e594bb582bc3b64ea099db13e56/jinja2-3.1.6-py3-none-any.whl", hash = "sha256:85ece4451f492d0c13c5dd7c13a64681a86afae63a5f347908daf103ce6d2f67", size = 134899, upload-time = "2025-03-05T20:05:00.369Z" }, +] + +[[package]] +name = "jiter" +version = "0.19.0" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/67/de/8dfd06a2153d8ab6a83a8ca8f8ae3ff860ce2fe324ee6a5d05294b621c2a/jiter-0.19.0.tar.gz", hash = "sha256:ba3064f8be276d7cfb83c2fb85c858be533da2c2f80f9b048c3781b45a57a195", size = 665248, upload-time = "2026-11-06T15:03:33.462Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/c4/b0/9af5c95d02e75ec5ee2c45ab37a7ead761cfbf1807b6b568944baa371699/jiter-0.19.0-cp313-cp313-macosx_10_12_x86_64.whl", hash = "sha256:ee63ba51f837d5a4bc2d79f6255ef0e754922519b172099fe4b9e8b1a6c85513", size = 289637, upload-time = "2026-11-06T15:01:46.615Z" }, + { url = "https://files.pythonhosted.org/packages/72/31/826662abf9197a96ac347f4f7456bca96e751de71ad8983de1ae06f210ef/jiter-0.19.0-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:9ea284d5a9391fa7b6bec676569a91463325298532887d3b324b27d541f6ffc1", size = 315796, upload-time = "2026-11-06T15:01:48.327Z" }, + { url = "https://files.pythonhosted.org/packages/76/c2/a4e62a7af0cd7f17423593437b721f4035b025b1d4ac0f2b996ed6d059c4/jiter-0.19.0-cp313-cp313-manylinux1_i686.manylinux_2_5_i686.whl", hash = "sha256:345f9f5dc1496a17b83cbbe7c351f94ddcd77b853518b0382b82702652353c9e", size = 331137, upload-time = "2026-11-06T15:01:49.675Z" }, + { url = "https://files.pythonhosted.org/packages/aa/60/edd90b139888ec1f40ff1d37b5d446447164806dc607706b933172277ab3/jiter-0.19.0-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:d056e8cf0ad1c4676ae559311d4a90b2613ca415452f5072bee62ee7424a094a", size = 335268, upload-time = "2026-11-06T15:01:51.172Z" }, + { url = "https://files.pythonhosted.org/packages/cf/d1/5a5a8684097942c24854f4308b36cf630ed573a94b06305dc146c74e0bb7/jiter-0.19.0-cp313-cp313-manylinux2014_armv7l.manylinux_2_17_armv7l.whl", hash = "sha256:62fda39be2cd67deca433e8ff9b125b285a592c5b5a439a5e80ba18337a73d2a", size = 321592, upload-time = "2026-11-06T15:01:52.58Z" }, + { url = "https://files.pythonhosted.org/packages/fc/94/f4466e2ada992e82f4967021953121039998b8e4ad83ebfb2b6e2c2a401c/jiter-0.19.0-cp313-cp313-manylinux2014_ppc64le.manylinux_2_17_ppc64le.whl", hash = "sha256:a09edc861155f4df705a382e0d241e0ba4bf504a1438a6cd3a94e8d3fe2cf37d", size = 332880, upload-time = "2026-11-06T15:01:53.849Z" }, + { url = "https://files.pythonhosted.org/packages/1f/b3/11a1d37dcdca6edc003ac6f2512c1dd37b0f0c2dbf7c988e5213e1b29d19/jiter-0.19.0-cp313-cp313-manylinux2014_s390x.manylinux_2_17_s390x.whl", hash = "sha256:fc13db05062df81357bdb926fc6b1014ce8ebef511a0fe7520b818f43b74fe5b", size = 348166, upload-time = "2026-11-06T15:01:55.216Z" }, + { url = "https://files.pythonhosted.org/packages/30/f1/75de49da39833a8be13b47468b99876c1f4a96b301c6a3fa3ad6a7d87e7d/jiter-0.19.0-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:3b27d6bec319dc17cdced13e495f90ce066676ca296fc56f2dd2128f6a7599ed", size = 335970, upload-time = "2026-11-06T15:01:56.493Z" }, + { url = "https://files.pythonhosted.org/packages/6a/95/6ceb994aae2511e94da56a3def4795e0b797357af252c824bdfdaae70323/jiter-0.19.0-cp313-cp313-manylinux_2_31_riscv64.whl", hash = "sha256:541669df0273fafdc506e89d7750afd528b6094586f87c01291c62f3273575ed", size = 313765, upload-time = "2026-11-06T15:01:57.768Z" }, + { url = "https://files.pythonhosted.org/packages/02/a9/ee7f3f2ceacb6e4593cfe9d9b7eff3b2b404efe2e05e152070a50abe42a9/jiter-0.19.0-cp313-cp313-musllinux_1_1_aarch64.whl", hash = "sha256:bcf434316c96f58b4623500c01498506cc1d3fb689e948158a5955dc245202a4", size = 479932, upload-time = "2026-11-06T15:01:59.149Z" }, + { url = "https://files.pythonhosted.org/packages/f5/50/127a653d5292c6d9e6ec993c3948e3b9f3d0fbc6af91094dbab175ee8d3e/jiter-0.19.0-cp313-cp313-musllinux_1_1_x86_64.whl", hash = "sha256:8b9d75a51df8f3b6fa7e25a0c0d7c4735e9d2196d6441e5a7c5b4ef1b76cd8bd", size = 514729, upload-time = "2026-11-06T15:02:00.695Z" }, + { url = "https://files.pythonhosted.org/packages/54/23/17c033c7336a5ec7d4c6b10edb851c96ffc9c0652d9f5b14ea5bae6028de/jiter-0.19.0-cp313-cp313-win32.whl", hash = "sha256:a39f45078cc2b75ac91b48833093c033e374f8224ad38576ebba06398a1de96b", size = 184740, upload-time = "2026-11-06T15:02:02.231Z" }, + { url = "https://files.pythonhosted.org/packages/2d/ce/c11a38ccc9d4fdb0c092cf583919ecff62724d39ad3556b5324173dad1ee/jiter-0.19.0-cp313-cp313-win_amd64.whl", hash = "sha256:050dd505e407c028aa76b9b4a379a06f79f484c3b256d99a7fea118d863c9a79", size = 223145, upload-time = "2026-11-06T15:02:03.485Z" }, + { url = "https://files.pythonhosted.org/packages/4e/54/d63c0ed96e4d2b6f4a64ada70a8eaedbd8849416045821d70c27d26c2dcb/jiter-0.19.0-cp313-cp313-win_arm64.whl", hash = "sha256:96b8d6795c8e8121d0a99b2c8f60ca4db02ff8063205bf2c9712e2714a52ea9f", size = 181228, upload-time = "2026-11-06T15:02:04.664Z" }, + { url = "https://files.pythonhosted.org/packages/c1/43/f7adc61beb4d2f9990ad802856324cfa5968f6b54c9dff91e16acc866b0b/jiter-0.19.0-graalpy313-graalpy253_313_native-macosx_11_0_arm64.whl", hash = "sha256:50f9e5bde6bef0eef6a12315088e635b19d50cbceec745615eb8614f6bf4b52c", size = 277105, upload-time = "2026-11-06T15:03:29.514Z" }, + { url = "https://files.pythonhosted.org/packages/5d/56/9d34c6a580f010259c136a1354d0e51cbe1293aef4def5f6c42347c73727/jiter-0.19.0-graalpy313-graalpy253_313_native-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:42efe1a711c0745b6098b8bff931b0a2e7fff36098cbc2dc16b76497f1cbe834", size = 300134, upload-time = "2026-11-06T15:03:30.774Z" }, + { url = "https://files.pythonhosted.org/packages/e7/b7/dd4360ad780ea1455ff2607b43cd9fcd0fd785ae366c8a632785010e92ff/jiter-0.19.0-graalpy313-graalpy253_313_native-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:2c82005ee84b348cee72a8df6672b5d6c9fe9db4b81c98b84a28155d447d2348", size = 300943, upload-time = "2026-11-06T15:03:32.042Z" }, +] + +[[package]] +name = "jmespath" +version = "1.1.0" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/d3/59/322338183ecda247fb5d1763a6cbe46eff7222eaeebafd9fa65d4bf5cb11/jmespath-1.1.0.tar.gz", hash = "sha256:472c87d80f36026ae83c6ddd0f1d05d4e510134ed462851fd5f754c8c3cbb88d", size = 27377, upload-time = "2026-01-22T16:35:26.279Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/14/2f/967ba146e6d58cf6a652da73885f52fc68001525b4197effc174321d70b4/jmespath-1.1.0-py3-none-any.whl", hash = "sha256:a5663118de4908c91729bea0acadca56526eb2698e83de10cd116ae0f4e97c64", size = 20419, upload-time = "2026-01-22T16:35:24.919Z" }, +] + +[[package]] +name = "jsonschema" +version = "4.26.0" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "attrs" }, + { name = "jsonschema-specifications" }, + { name = "referencing" }, + { name = "rpds-py" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/b3/fc/e067678238fa451312d4c62bf6e6cf5ec56375422aee02f9cb5f909b3047/jsonschema-4.26.0.tar.gz", hash = "sha256:0c26707e2efad8aa1bfc5b7ce170f3fccc2e4918ff85989ba9ffa9facb2be326", size = 366583, upload-time = "2026-01-07T13:41:07.246Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/69/90/f63fb5873511e014207a475e2bb4e8b2e570d655b00ac19a9a0ca0a385ee/jsonschema-4.26.0-py3-none-any.whl", hash = "sha256:d489f15263b8d200f8387e64b4c3a75f06629559fb73deb8fdfb525f2dab50ce", size = 90630, upload-time = "2026-01-07T13:41:05.306Z" }, +] + +[[package]] +name = "jsonschema-specifications" +version = "2025.9.1" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "referencing" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/19/74/a633ee74eb36c44aa6d1095e7cc5569bebf04342ee146178e2d36600708b/jsonschema_specifications-2025.9.1.tar.gz", hash = "sha256:b540987f239e745613c7a9176f3edb72b832a4ac465cf02712288397832b5e8d", size = 32855, upload-time = "2025-09-08T01:34:59.186Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/41/45/1a4ed80516f02155c51f51e8cedb3c1902296743db0bbc66608a0db2814f/jsonschema_specifications-2025.9.1-py3-none-any.whl", hash = "sha256:98802fee3a11ee76ecaca44429fda8a41bff98b00a0f2838151b113f210cc6fe", size = 18437, upload-time = "2025-09-08T01:34:57.871Z" }, +] + +[[package]] +name = "lang2sql-bird-benchmark" +version = "1.0.0" +source = { virtual = "." } +dependencies = [ + { name = "cryptography" }, + { name = "pyyaml" }, + { name = "sqlalchemy" }, +] + +[package.optional-dependencies] +gpt41 = [ + { name = "litellm" }, + { name = "openai", version = "3.51.0", source = { registry = "https://pypi.org/simple" } }, +] +luna = [ + { name = "litellm" }, + { name = "openai", version = "3.57.0", source = { registry = "https://pypi.org/simple" } }, +] + +[package.metadata] +requires-dist = [ + { name = "cryptography", specifier = "==45.0.6" }, + { name = "litellm", marker = "extra == 'gpt41'", specifier = "==1.109.1" }, + { name = "litellm", marker = "extra == 'luna'", specifier = "==1.109.1" }, + { name = "openai", marker = "extra == 'gpt41'", specifier = "==3.51.0" }, + { name = "openai", marker = "extra == 'luna'", specifier = "==3.57.0" }, + { name = "pyyaml", specifier = "==6.0.3" }, + { name = "sqlalchemy", specifier = "==2.0.50" }, +] +provides-extras = ["gpt41", "luna"] + +[[package]] +name = "litellm" +version = "1.109.1" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "aiohttp" }, + { name = "anyio" }, + { name = "boto3" }, + { name = "certifi" }, + { name = "click" }, + { name = "fastuuid" }, + { name = "filelock" }, + { name = "httpx", extra = ["http2"], marker = "extra == 'extra-23-lang2sql-bird-benchmark-gpt41' or extra == 'extra-23-lang2sql-bird-benchmark-luna'" }, + { name = "huggingface-hub" }, + { name = "importlib-metadata" }, + { name = "jinja2" }, + { name = "jsonschema" }, + { name = "openai", version = "3.51.0", source = { registry = "https://pypi.org/simple" }, marker = "extra == 'extra-23-lang2sql-bird-benchmark-gpt41'" }, + { name = "openai", version = "3.57.0", source = { registry = "https://pypi.org/simple" }, marker = "extra == 'extra-23-lang2sql-bird-benchmark-luna'" }, + { name = "packaging" }, + { name = "pydantic" }, + { name = "pydantic-settings" }, + { name = "python-dotenv" }, + { name = "pyyaml" }, + { name = "tiktoken" }, + { name = "tokenizers" }, + { name = "typing-extensions" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/64/cc/6295db7faccd95aae86392e06531817e8ef2661b04805e95cfde56165a32/litellm-1.109.1.tar.gz", hash = "sha256:5b98ecccd93374b8ea1746ee98de16b505c0b5e6c0dfb7e8afec3d817d08d7c2", size = 25570168, upload-time = "2026-11-12T02:00:18.465Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/0c/1e/f83650f0840f47b4d48e7d3fcc49ee23f2b9ab27fb90937f0e1d9e0dbd5c/litellm-1.109.1-cp310-abi3-macosx_10_12_x86_64.whl", hash = "sha256:1fdf789757fc71c9a9ac183cd326b978782dfa9ebd44087c6603b5b963956841", size = 40565744, upload-time = "2026-11-12T01:59:54.804Z" }, + { url = "https://files.pythonhosted.org/packages/16/10/9c973a582a29ace1b4437b0851b278f8b65a22c351ab3c3180d6bcebb0ec/litellm-1.109.1-cp310-abi3-macosx_11_0_arm64.whl", hash = "sha256:1b2866219249186babe194d7e3f4af29095c0905a4c5712b62be662aa6a38fb7", size = 39911789, upload-time = "2026-11-12T01:59:58.373Z" }, + { url = "https://files.pythonhosted.org/packages/af/20/d305f1243712131a79c7f069cdaad8be9f5a3746f09440576933ec55b6a9/litellm-1.109.1-cp310-abi3-manylinux_2_28_aarch64.whl", hash = "sha256:1dcf31166d385e6eaaef7f5840ba88c4eac319d1aa2d3ec2787de981e07fcf11", size = 40353049, upload-time = "2026-11-12T02:00:01.288Z" }, + { url = "https://files.pythonhosted.org/packages/30/5b/05ec8f224dd31cc294a5e0483fd6385d8991ffe4c0312978f5924ac053a5/litellm-1.109.1-cp310-abi3-manylinux_2_28_x86_64.whl", hash = "sha256:1c8b4dd671fa0cd0850aa751678704ff77e595fb1e6085b2dc3be39ee19bdaaf", size = 41091727, upload-time = "2026-11-12T02:00:05.2Z" }, + { url = "https://files.pythonhosted.org/packages/9d/93/80f9b16aea7a10ccc1bac561fd65130271a928b5a8f23a6a1e8b32ec349b/litellm-1.109.1-cp310-abi3-musllinux_1_2_aarch64.whl", hash = "sha256:c84737897b6b459acd660fd7adb33e2d552c5d0b93c4a47b8cd4f5e299c93bac", size = 40482185, upload-time = "2026-11-12T02:00:08.516Z" }, + { url = "https://files.pythonhosted.org/packages/2f/49/120f60c831983fccfddfaa8683e0bb75c2ba70ed62263acae44ddd360534/litellm-1.109.1-cp310-abi3-musllinux_1_2_x86_64.whl", hash = "sha256:b94080b0436c471e686735d10fd1069c151cf8b9816d823a1450419573f30e46", size = 41180765, upload-time = "2026-11-12T02:00:11.814Z" }, + { url = "https://files.pythonhosted.org/packages/44/82/dfd6aa8ac212f5c2c7576079c92b97fcb666f3da521f47c813d1ee02e195/litellm-1.109.1-cp310-abi3-win_amd64.whl", hash = "sha256:738fd2465e24460f03a8c5ff33dc57c3fdfad88ff489811d718ee6ba3c5ad900", size = 41985493, upload-time = "2026-11-12T02:00:15.416Z" }, +] + +[[package]] +name = "markupsafe" +version = "3.0.4" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/38/9b/e422a865e1d5d57d0e509b4e0bf1c1a70a7f6382c29a5aa428df994c8bc8/markupsafe-3.0.4.tar.gz", hash = "sha256:2e9ad7dd851bf45fab9f75cbff4cb493fee9979e8d8c7c9c3ee119022518edd6", size = 153777, upload-time = "2026-10-02T23:07:22.29Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/6d/18/4bc5ba32499e87bb2b0ef5b3a9bb9c00a131fa961ddf0be548cb550f548b/markupsafe-3.0.4-cp313-cp313-android_24_arm64_v8a.whl", hash = "sha256:de8b364c423ef0a4bad9069657d617f9a5d2b2062457a89b1fa16ee199c399c1", size = 12786, upload-time = "2026-10-02T23:05:08.709Z" }, + { url = "https://files.pythonhosted.org/packages/4e/6f/17f0c099bf25f3e31e63cc19244d9f6af861a9a4ab778c203997903cfdd0/markupsafe-3.0.4-cp313-cp313-android_24_x86_64.whl", hash = "sha256:34bdde374c5932765d7dc685c4a1d191a3207852d67e8e0a9eb6ea85156181f1", size = 12510, upload-time = "2026-10-02T23:05:09.93Z" }, + { url = "https://files.pythonhosted.org/packages/11/af/1a141081b905036ee904ec4bd945e1f70b4e1b32d33c4e59e8cf1d58b247/markupsafe-3.0.4-cp313-cp313-ios_13_0_arm64_iphoneos.whl", hash = "sha256:6bd9e1788e15bfcf6a9082de42e30387e7b85d211ab21e57a939bb8cfaaf8d96", size = 11583, upload-time = "2026-10-02T23:05:10.884Z" }, + { url = "https://files.pythonhosted.org/packages/e7/0a/a89385ae590232622a03e091805cff12f24fabe6c11e0e8bae096cece81c/markupsafe-3.0.4-cp313-cp313-ios_13_0_arm64_iphonesimulator.whl", hash = "sha256:5066b244f576f91afc8ee3ba029a89f99d39c79b1853fe9d39bea9f0afbec148", size = 11801, upload-time = "2026-10-02T23:05:11.913Z" }, + { url = "https://files.pythonhosted.org/packages/ed/85/ea548dc013962eb73653124bc595635fbf9e0fa41d1f181a967ccb784dfb/markupsafe-3.0.4-cp313-cp313-ios_13_0_x86_64_iphonesimulator.whl", hash = "sha256:7a83aa6e4805df46fed18e989d3d16f86ef60cb50bbc8d9ce3a6be89165fbf6e", size = 11443, upload-time = "2026-10-02T23:05:12.887Z" }, + { url = "https://files.pythonhosted.org/packages/cc/72/15f2e5ec9cf2eb00d5cdfe968d94e4156a7bd7303832c3f3b2c403a36839/markupsafe-3.0.4-cp313-cp313-macosx_10_13_x86_64.whl", hash = "sha256:2d1b7d9308288661f56672b1b157d75fc536714d3638487bbea17b6318a78248", size = 11665, upload-time = "2026-10-02T23:05:13.829Z" }, + { url = "https://files.pythonhosted.org/packages/ca/e0/4030bea613677e333c8a2c901fd405055f657f9d06acba5b7357984b6ef7/markupsafe-3.0.4-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:73e77980c7207854f00fc4e71fb1626868d5740ab4012623d55c7a99ad122a72", size = 12061, upload-time = "2026-10-02T23:05:14.807Z" }, + { url = "https://files.pythonhosted.org/packages/f3/a5/28b76a7449eb702966b88bef599e2360b411fbb3afeee8fe560939be06ec/markupsafe-3.0.4-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:7018d4af1cd272e847aa5917983ab5e83e4f6579f9dbfecd4a79c0ca80b144c2", size = 24395, upload-time = "2026-10-02T23:05:15.909Z" }, + { url = "https://files.pythonhosted.org/packages/07/6c/21232811afc3a063b5e934b1ae2efda52f46154ec382f585149c020e61fe/markupsafe-3.0.4-cp313-cp313-manylinux2014_armv7l.manylinux_2_17_armv7l.manylinux_2_31_armv7l.whl", hash = "sha256:c90d5b3d4e944e065a301d741b3c1d784f6bd1f503aa68b4967e32b2ba313d85", size = 27183, upload-time = "2026-10-02T23:05:16.976Z" }, + { url = "https://files.pythonhosted.org/packages/14/38/6ccdfa5b59049cb36fb80cbc80aee9cf1fc9bb77d1335ad435f2070b08cf/markupsafe-3.0.4-cp313-cp313-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:18a801868a884f216e784d7d14db2a4077143ce7610440aee2ce8f734e7cfcde", size = 24772, upload-time = "2026-10-02T23:05:18.209Z" }, + { url = "https://files.pythonhosted.org/packages/63/e0/cec6865dfe88cb48fedd4b20aed6af5158e41092adcbf3e028bcc6ec2108/markupsafe-3.0.4-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:434139499bb20b502ed3baa1f169e618f924a97e7a777fea1a49446d80106cf6", size = 23017, upload-time = "2026-10-02T23:05:19.286Z" }, + { url = "https://files.pythonhosted.org/packages/ee/76/6ed4940bb7648a9aac457c14f870cfdd5105f139a0fb1f29cd61fafa47d1/markupsafe-3.0.4-cp313-cp313-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:9e227f3dbe6bde7491cf0a9965d00b88c6b1a4a95d11480ddf88bb96d397c19f", size = 22036, upload-time = "2026-10-02T23:05:20.352Z" }, + { url = "https://files.pythonhosted.org/packages/a1/4f/ed476226d4fe46a09090a36025bf319296810028df55eb12f1253b540f3a/markupsafe-3.0.4-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:b8cd1f918b26fd7b1832ece557cc18f2d8747309ff8b3f0ef9d4250c5ad67a39", size = 23786, upload-time = "2026-10-02T23:05:21.576Z" }, + { url = "https://files.pythonhosted.org/packages/9a/35/66ff30450e35ef5fba9ebc930c9411747e537fd9447b65e44f5007e2b84d/markupsafe-3.0.4-cp313-cp313-musllinux_1_2_armv7l.whl", hash = "sha256:a5fcffb37e602b0b3c1638a97746b9b96125caa9bcf6fa41d337a9261de231ee", size = 22672, upload-time = "2026-10-02T23:05:22.922Z" }, + { url = "https://files.pythonhosted.org/packages/32/0b/72f45ce4b4efcbca4b80cf1b06703eff0be8d37e82abb78f66c85a7ead1e/markupsafe-3.0.4-cp313-cp313-musllinux_1_2_ppc64le.whl", hash = "sha256:5989cb26b2e1efc6a42216a9f6b5ee495ce5ace2e5b352a9af489976b32d1ee2", size = 24107, upload-time = "2026-10-02T23:05:24.175Z" }, + { url = "https://files.pythonhosted.org/packages/d2/03/71776e5fdcba04614b384cc102e8a4198208579d896fd1394cb7cb9aa900/markupsafe-3.0.4-cp313-cp313-musllinux_1_2_riscv64.whl", hash = "sha256:add96447a86d205ab616665d53b2950ee81083757f56e6ea833c8b2917646b46", size = 21615, upload-time = "2026-10-02T23:05:25.215Z" }, + { url = "https://files.pythonhosted.org/packages/ab/5f/801ce02a02e7aee0f784b1ec7843026178f6adeb9c93ac67eb1992a9a84d/markupsafe-3.0.4-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:2628d3a8cb648ecebb3c5d6b0a1052d400e4d8b7ac0fb786be8d285b50040d17", size = 23076, upload-time = "2026-10-02T23:05:26.423Z" }, + { url = "https://files.pythonhosted.org/packages/4a/85/c43776625428f3bb4a61e8633940400e3efe6409e3c6f5bff26de5e45618/markupsafe-3.0.4-cp313-cp313-win32.whl", hash = "sha256:672d207103e6b16ca098611b0f9efad6bc00afd47c03d6ef62186495ca677dc0", size = 14118, upload-time = "2026-10-02T23:05:27.716Z" }, + { url = "https://files.pythonhosted.org/packages/6f/36/163da64de88a13db79214ef75fa041be7fa13bdb42261cf5b7484de14bfb/markupsafe-3.0.4-cp313-cp313-win_amd64.whl", hash = "sha256:1f1f9477e174582b0a1b583d60b66e1f2cf5d3fe12cee985e4aedf44766600e5", size = 14313, upload-time = "2026-10-02T23:05:28.749Z" }, + { url = "https://files.pythonhosted.org/packages/9f/a8/9b662783ffaa1149221432a923cee562f78b9cbbb8baa3df9b3753e63e1e/markupsafe-3.0.4-cp313-cp313-win_arm64.whl", hash = "sha256:06de8ef6331f6e822c28d577dc8bf43fe398800477c49498f38fc38b67ff33fc", size = 14189, upload-time = "2026-10-02T23:05:29.917Z" }, +] + +[[package]] +name = "multidict" +version = "7.2.1" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/7b/6b/29ef8e752f5854dcc267ded0652c475bec99b86f255957a0d4fcad657b18/multidict-7.2.1.tar.gz", hash = "sha256:e8af3e6f1bdbc31fd762b094133b478b89988eaebc63cbe82b1d9e3bbd15cede", size = 369994, upload-time = "2026-10-24T20:41:35.457Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/33/f7/453ab156d423def05ac3a4a268f52975378520bf919ded61c9a8bb432b7d/multidict-7.2.1-cp313-cp313-android_24_x86_64.whl", hash = "sha256:fba33e264cdd2ec43b762b9960d1648478eecfc1ce6e8159e7573510f0412c0a", size = 103189, upload-time = "2026-10-24T20:40:18.599Z" }, + { url = "https://files.pythonhosted.org/packages/dc/f1/db4171d67615081b007ceab10af476cf7d66a09291fe43c11f1608f08d4a/multidict-7.2.1-cp313-cp313-ios_13_0_arm64_iphoneos.whl", hash = "sha256:f2087ee23a18d1d618a135eedcafba7dfc40c6be4e8e52d7f29a1c8a2344cfcc", size = 101149, upload-time = "2026-10-24T20:40:20.693Z" }, + { url = "https://files.pythonhosted.org/packages/be/7f/adae49eae252c26f2b7a2fe89984533e0bdb0072f29023c1f2ad7588886e/multidict-7.2.1-cp313-cp313-ios_13_0_arm64_iphonesimulator.whl", hash = "sha256:f5812cfcf7daf3ace5fedf6e2ef8d4b342c92fb8ea3a87c1aed2b50453271093", size = 103294, upload-time = "2026-10-24T20:40:21.094Z" }, + { url = "https://files.pythonhosted.org/packages/48/45/9fac67be204fc5570593f4dfa2395c542bd1643ffd090c8566de0d1d7f8e/multidict-7.2.1-cp313-cp313-macosx_10_13_universal2.whl", hash = "sha256:57ac987ec5d26d89bbc48c03e486f659e1367d425c465552ac2e4c4af8219def", size = 171995, upload-time = "2026-10-24T20:40:57.102Z" }, + { url = "https://files.pythonhosted.org/packages/91/5f/7912bfb95ab00ed6bd588884ca44adf29f7f56de871247a535135af5a2b4/multidict-7.2.1-cp313-cp313-macosx_10_13_x86_64.whl", hash = "sha256:714fe5f3eabd153b1b6911d0b5d31cfc2b808ae6b9e59a32fab17a4e6cdad5a6", size = 97470, upload-time = "2026-10-24T20:40:19.915Z" }, + { url = "https://files.pythonhosted.org/packages/06/18/29874e132d78ce182305e818a1553c4ddae238471ba55903a1ea38b5c4ee/multidict-7.2.1-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:4bebc9587cc29359e3b045518a7a09264fa882a7d165b0d143fdac8eeb7ea948", size = 103438, upload-time = "2026-10-24T20:40:21.892Z" }, + { url = "https://files.pythonhosted.org/packages/20/9c/0b181fac73aa9d0f24bc38ce24f56a9cb08c96109c3703d2f79ef15c2c2b/multidict-7.2.1-cp313-cp313-manylinux1_i686.manylinux_2_28_i686.manylinux_2_5_i686.whl", hash = "sha256:12bbab225ce7f69df75409ab8005b11b4e9309fae863821e019e81b32e53a2a8", size = 493852, upload-time = "2026-10-24T20:40:22.383Z" }, + { url = "https://files.pythonhosted.org/packages/4f/2e/d9ee8ccc91fcde4ad9a6e8275b1df67c0e079349fe33fd30530706dc2707/multidict-7.2.1-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:335f715f8c111654f29e4bf19086bdf0245579d2b4f4f59ca8dd9b3003b859c1", size = 506390, upload-time = "2026-10-24T20:40:58.494Z" }, + { url = "https://files.pythonhosted.org/packages/3c/f6/eca9192c0e598655258b2a3d14120894aecc338982670ca7ff4d4168b226/multidict-7.2.1-cp313-cp313-manylinux2014_armv7l.manylinux_2_17_armv7l.manylinux_2_31_armv7l.whl", hash = "sha256:9df532dd12c59a7a4d381646fc1bf5ccb4bcdbd01c0887d07ec769fae965ea9a", size = 469470, upload-time = "2026-10-24T20:40:21.363Z" }, + { url = "https://files.pythonhosted.org/packages/cf/1b/a4cc6da2651966c725298812d965b9d70918544214a5638c670837034f24/multidict-7.2.1-cp313-cp313-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:9c9f285f788acf2448a57c9b93d31103ac69bd03f92907e2ffbb23c4e2b42eb6", size = 523167, upload-time = "2026-10-24T20:40:23.155Z" }, + { url = "https://files.pythonhosted.org/packages/20/64/f3df5b32600c6dfcc1a949f15c8de2b89e44053f5c78bea05c6240e10af8/multidict-7.2.1-cp313-cp313-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:21d86f2aa58aa428fb9909d6b8587b75eea827287e3515b8506dca86b55e2c7d", size = 547031, upload-time = "2026-10-24T20:40:23.769Z" }, + { url = "https://files.pythonhosted.org/packages/8f/85/15918b8f73aeb770c534f22b7dac256dc70b6fc7aa0571856c82b17bf3c5/multidict-7.2.1-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:cd69c99affd1b4debc1f9a53058ea6e3a9b34f2e733840bb45891666cd8ede0a", size = 516056, upload-time = "2026-10-24T20:40:59.951Z" }, + { url = "https://files.pythonhosted.org/packages/d6/eb/b74b3441b572218dd24068b67bf4f1f71934cfa5938f55c299425b1c41c0/multidict-7.2.1-cp313-cp313-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:fc45ff19520bc5321dcd9c6dd7df6f35ddd894eed35e5be65d1828a9c3f5e7fb", size = 449703, upload-time = "2026-10-24T20:40:22.96Z" }, + { url = "https://files.pythonhosted.org/packages/47/81/ac9bb12377260913c0384bdb60b2f9097b1ba580579a2f9697b9e21709f3/multidict-7.2.1-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:cba29f12cd717f1cbbe220edf005666f8df0453347217748331a0c2f7522eca4", size = 492340, upload-time = "2026-10-24T20:40:24.498Z" }, + { url = "https://files.pythonhosted.org/packages/b1/e9/bac55e20457d3e23879b65e8c46dca5ea90675eee73ca70e3fdc4984d53c/multidict-7.2.1-cp313-cp313-musllinux_1_2_armv7l.whl", hash = "sha256:4f31ddf9c00e0e7db848b0236c717acbe8a51954d0d31b4d908c538ab3f0f5bc", size = 468205, upload-time = "2026-10-24T20:40:25.143Z" }, + { url = "https://files.pythonhosted.org/packages/ff/ce/1dc1e0f8bc28f41edee6fd0e2116f1d7b077e8fc04f50617e65f3938cbaa/multidict-7.2.1-cp313-cp313-musllinux_1_2_i686.whl", hash = "sha256:7cb1a6bb70edcc06ea65cb9a35654f268ee39d9fc3a52240e6ba074db4d9c99e", size = 493634, upload-time = "2026-10-24T20:41:01.377Z" }, + { url = "https://files.pythonhosted.org/packages/70/e2/7a4e9f4e35d522715f8987a17d3a098582d0e879cfde621defa586330310/multidict-7.2.1-cp313-cp313-musllinux_1_2_ppc64le.whl", hash = "sha256:a2a322c8a6ca82a5a67ae6542e9c6a13ded9045cfd171dcccc5c213ac4fe0eab", size = 509128, upload-time = "2026-10-24T20:40:24.735Z" }, + { url = "https://files.pythonhosted.org/packages/60/cd/d142dc374de3585c57e2635659d45c3179cf47ded415794b2e7ead663373/multidict-7.2.1-cp313-cp313-musllinux_1_2_riscv64.whl", hash = "sha256:678ac791b5820d9346eb13c8515fe0c9383659335e5cfc544bf6f54714ca1939", size = 444795, upload-time = "2026-10-24T20:40:25.846Z" }, + { url = "https://files.pythonhosted.org/packages/6d/41/7121157290d436282cf2405cda15d4448921231f7291679f5a3f47669bbe/multidict-7.2.1-cp313-cp313-musllinux_1_2_s390x.whl", hash = "sha256:0c454b677214fa604e9c4a38952c685dc88a62c96f5576a7ce550f213d1dc318", size = 526200, upload-time = "2026-10-24T20:40:26.763Z" }, + { url = "https://files.pythonhosted.org/packages/6f/fd/05e6e78a34023574db41c057676aa1c26925533fe0b60de9fb5ed5e1a101/multidict-7.2.1-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:3ca60708f0ca9d994f46790c5a5c774771e2f1dcb75b12c70a5582f915d0e721", size = 507752, upload-time = "2026-10-24T20:41:02.846Z" }, + { url = "https://files.pythonhosted.org/packages/41/50/3bccfa9f3003303fda37a1f7131ab90dcf36ef7fa9af6611151f4b2e316c/multidict-7.2.1-cp313-cp313-win32.whl", hash = "sha256:fa949c81e3865c10f981dea72fd8d418b59edd13a047a0aee89ae64790113d53", size = 84246, upload-time = "2026-10-24T20:40:26.077Z" }, + { url = "https://files.pythonhosted.org/packages/74/6b/3f90a565e6eb94266d197d91cca5833b34ab89768a24f7f07b29bc186e09/multidict-7.2.1-cp313-cp313-win_amd64.whl", hash = "sha256:ce0f884408938fbd72e764031d0e23a8f5e438a7bf73641089c7a6465cb84456", size = 95078, upload-time = "2026-10-24T20:40:27.34Z" }, + { url = "https://files.pythonhosted.org/packages/09/29/3acaf67a5d0f0ecce997f1f57cd14c8c634d05e1672df23b29d4f072262e/multidict-7.2.1-cp313-cp313-win_arm64.whl", hash = "sha256:554ee1d2e71fb5b4059c0c4ee35d8cbc8af2a3147036d65a454c53fea07ff4eb", size = 92390, upload-time = "2026-10-24T20:40:28.055Z" }, + { url = "https://files.pythonhosted.org/packages/9d/96/1aaad0e5df33f1f5af21775c411349c0234a6edd581ea403bc81919a6eab/multidict-7.2.1-py3-none-any.whl", hash = "sha256:08ea94663d9e7c25d14d78222f7aee906c472d4837766bec62477c38f6e419dc", size = 28145, upload-time = "2026-10-24T20:40:59.159Z" }, +] + +[[package]] +name = "openai" +version = "3.51.0" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "anyio", marker = "extra == 'extra-23-lang2sql-bird-benchmark-gpt41'" }, + { name = "httpx2", marker = "extra == 'extra-23-lang2sql-bird-benchmark-gpt41'" }, + { name = "jiter", marker = "extra == 'extra-23-lang2sql-bird-benchmark-gpt41'" }, + { name = "pydantic", marker = "extra == 'extra-23-lang2sql-bird-benchmark-gpt41'" }, + { name = "sniffio", marker = "extra == 'extra-23-lang2sql-bird-benchmark-gpt41'" }, + { name = "typing-extensions", marker = "extra == 'extra-23-lang2sql-bird-benchmark-gpt41'" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/db/fa/30f098b042a354f685def1d0fe4c817fc4a534233f497fcf5fc29467c58d/openai-3.51.0.tar.gz", hash = "sha256:1cc9b80eb0f1dc15fa45fbc122ba2c99b7e5302548060c01db5719fa6181a6a9", size = 2415149, upload-time = "2026-11-13T21:13:39.771Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/52/f9/d3d9ef409ee4e90de64c9b12f15879f56fc845c2eb9cfe6f314b402de7f1/openai-3.51.0-py3-none-any.whl", hash = "sha256:802b7e8c6ff8cf4d59a2a163126c10ce472adf0409ac41fdaadd47c9b4ed091a", size = 2446085, upload-time = "2026-11-13T21:13:37.969Z" }, +] + +[[package]] +name = "openai" +version = "3.57.0" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "anyio", marker = "extra == 'extra-23-lang2sql-bird-benchmark-luna'" }, + { name = "httpx2", marker = "extra == 'extra-23-lang2sql-bird-benchmark-luna'" }, + { name = "jiter", marker = "extra == 'extra-23-lang2sql-bird-benchmark-luna'" }, + { name = "pydantic", marker = "extra == 'extra-23-lang2sql-bird-benchmark-luna'" }, + { name = "sniffio", marker = "extra == 'extra-23-lang2sql-bird-benchmark-luna'" }, + { name = "typing-extensions", marker = "extra == 'extra-23-lang2sql-bird-benchmark-luna'" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/90/b2/97780581dab39384d1de4bc15f1f6cbaff26ce965a46c23a10bd948b71a8/openai-3.57.0.tar.gz", hash = "sha256:5a0a89d6a542efc85e2a8cec701ca9265b795d578c777828e10fafdf80e333b6", size = 2425150, upload-time = "2026-11-20T01:28:43.575Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/e0/40/0475208a470f90a1d3e94b41382678b44f311c2ea2a317228531e2193567/openai-3.57.0-py3-none-any.whl", hash = "sha256:f97bc74024c06ced8428b56c4a3594066709d3082779bf9d0b4b6092fbf587a8", size = 2451809, upload-time = "2026-11-20T01:28:41.48Z" }, +] + +[[package]] +name = "packaging" +version = "26.4" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/c3/75/ffb1dc0ed12352139fb4ca0e3fde4325a23e3d0f3f40efe89717bc4f557b/packaging-26.4.tar.gz", hash = "sha256:c4b671c41ddb9bf26e543c37723610d28fb6bf7affc4da17cf048d419d2c062a", size = 355877, upload-time = "2026-11-23T21:44:11.152Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/ba/7b/5504f91c9c2733f693d7759e50ede5d27119d4da7e5836c46d3b5ff81d56/packaging-26.4-py3-none-any.whl", hash = "sha256:81383611a09c1bc0b08b76e0fd5829d7c6824c65b27a6aee339da133f4233ea2", size = 140049, upload-time = "2026-11-23T21:44:09.531Z" }, +] + +[[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/78/4c/3b1365d58a667689e067e13d055fcd92bdf8d9a2fca3d9201b47ed5b3631/propcache-0.5.4-cp313-cp313-macosx_10_13_universal2.whl", hash = "sha256:36c0d9db44b523ef93d03341b1c42d69ff01d673c053d1b1c6c3a363bcaa39ba", size = 85290, upload-time = "2026-09-16T00:14:52.342Z" }, + { url = "https://files.pythonhosted.org/packages/8f/61/5f9c29c3aa67c30238c4eadf95149b1d983a48f69b86b0cff927a7d6df13/propcache-0.5.4-cp313-cp313-macosx_10_13_x86_64.whl", hash = "sha256:e1d52a05dc417279f7e5c7618c5dfbbc29923aaf9bc0a5c1802ddcebf54c61a0", size = 50027, upload-time = "2026-09-16T00:14:53.67Z" }, + { url = "https://files.pythonhosted.org/packages/25/7d/c1ab1ef09e9d4d835be5d58c0a32a1e1de8397abaa4e502a9d4141328cad/propcache-0.5.4-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:44149f46500a0a41b95b4d99c2e586a77319539730607b9892974a092788b111", size = 51425, upload-time = "2026-09-16T00:14:54.826Z" }, + { url = "https://files.pythonhosted.org/packages/73/36/0093091ebb270fcd1bc1f6e095f93b2e0ed7f1011c28837dc2dbe5f96b99/propcache-0.5.4-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:dbab5f5ff6897c81f355d079010cdae85b02e5a0b518b5251523b8ad8ae9ac3c", size = 233595, upload-time = "2026-09-16T00:14:56.09Z" }, + { url = "https://files.pythonhosted.org/packages/ae/8f/0de9d4c8e05ce0be71b436919a216bd7fc5cc6e2691c0602295efb22b9ed/propcache-0.5.4-cp313-cp313-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:c3e98c55bde2bcf7db3c70d1aed7ae9aa8aebbf19a250c66645cde44cdb8b867", size = 240318, upload-time = "2026-09-16T00:14:57.674Z" }, + { url = "https://files.pythonhosted.org/packages/7d/71/2b35e91455209b85ee98f7859583e0814fab57d3af0f2381aaee34c37304/propcache-0.5.4-cp313-cp313-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:db3ae52ccc150dbc84704e9d642743897f3e1c54742ff34cacb661e52e3818a9", size = 246649, upload-time = "2026-09-16T00:14:59.352Z" }, + { url = "https://files.pythonhosted.org/packages/ed/74/08e6c1faf26ee2732023a3828787ba535557122774f4a386b1f715cbd8e0/propcache-0.5.4-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:f85915e00dcb1cd9f2f890ead064ed40a27df06f0db65be427b29482ae357572", size = 234316, upload-time = "2026-09-16T00:15:00.696Z" }, + { url = "https://files.pythonhosted.org/packages/5c/9a/08385733c9321c9bb78039d3ff31045e4fca962d9665023c4eb70f998819/propcache-0.5.4-cp313-cp313-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:c2ba30a89035b57b73e00475de948521602f543d79ce01db10b04b36c4c76fc8", size = 204666, upload-time = "2026-09-16T00:15:02.019Z" }, + { url = "https://files.pythonhosted.org/packages/1d/f4/e87bc7629af9a14a752b218764a78742d73c2c563ac58315da6841f0cbe4/propcache-0.5.4-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:ae58f361bd5dae942717c65d3413b478c70aea9c462599e7b9adad3731db3894", size = 225900, upload-time = "2026-09-16T00:15:03.394Z" }, + { url = "https://files.pythonhosted.org/packages/d9/6d/11014938d3fe9bea2ea2dcf930f26ed565bfb2f5be3c756362ea48c92636/propcache-0.5.4-cp313-cp313-musllinux_1_2_armv7l.whl", hash = "sha256:96f7c5c15656040ddcbc51e56dc59b58aa25999d743c126abd425b9766ab43e9", size = 219988, upload-time = "2026-09-16T00:15:04.811Z" }, + { url = "https://files.pythonhosted.org/packages/dc/72/fbf17c589f92c0b3bbf6709a425661f8ef2ed0d46b38985a7d7b5a0f6b91/propcache-0.5.4-cp313-cp313-musllinux_1_2_ppc64le.whl", hash = "sha256:7cc528e760a8af06f2b13e9b9f362cd90c7c718ea61228a96dbd31ba16ed7f47", size = 233611, upload-time = "2026-09-16T00:15:06.498Z" }, + { url = "https://files.pythonhosted.org/packages/55/7e/dbd637572a279692e5518d117274a9331bf5faac59f191d30e82521a3ec7/propcache-0.5.4-cp313-cp313-musllinux_1_2_riscv64.whl", hash = "sha256:425f8cc86ab5018b4b8d4a23bc8e74d964bd3d757c3702e301aa79be76c53f6c", size = 204333, upload-time = "2026-09-16T00:15:07.961Z" }, + { url = "https://files.pythonhosted.org/packages/ba/5a/f99c92068f1e0f5c886899ce0e4a619db376ca98c5279d93f95bd86906af/propcache-0.5.4-cp313-cp313-musllinux_1_2_s390x.whl", hash = "sha256:a5793c7698a53f56f4a1889a4737c7eeb1b7ad0842fa6b1abca22913ff79c8c1", size = 235177, upload-time = "2026-09-16T00:15:09.334Z" }, + { url = "https://files.pythonhosted.org/packages/ee/28/95456fabd2daf6be89049a13fbf03341756014d2959c83d12957d4c49694/propcache-0.5.4-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:c02c0e570c5c7e077b0181a9f3cdb7d4c3617d1cda6b5c95bd5d34022923d82c", size = 228982, upload-time = "2026-09-16T00:15:10.729Z" }, + { url = "https://files.pythonhosted.org/packages/b1/bb/df90f62c9cf7c93ea235f6f9405143bba802914607317266dd81fc8d737e/propcache-0.5.4-cp313-cp313-win32.whl", hash = "sha256:3e413d7a4a9b4866b7a761d6060d434b64d23cd35122eda3b026a0bbe8196b25", size = 42611, upload-time = "2026-09-16T00:15:12.111Z" }, + { url = "https://files.pythonhosted.org/packages/01/bc/e0a7b84af04ec02d73a48aa71f091e1e4a2107e3074b7ce12195b66901f4/propcache-0.5.4-cp313-cp313-win_amd64.whl", hash = "sha256:0c889f6fa84957bc7e8b4eab71fd16a0455068d5045e3aa40c733071d2b2fd77", size = 45342, upload-time = "2026-09-16T00:15:13.519Z" }, + { url = "https://files.pythonhosted.org/packages/9a/70/50b031cafe72a5c1878b903ee87303f71313345566bf3d6ec202e5ddc9ec/propcache-0.5.4-cp313-cp313-win_arm64.whl", hash = "sha256:69fc35c0779522da366c563e5faf203ffc1f8ff0021d5b1337fa4efa5be73177", size = 42408, upload-time = "2026-09-16T00:15:14.788Z" }, + { 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 = "pycparser" +version = "3.12" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/cb/27/eeb9f307bf07060f3d9f9aa0fb8c15b01bdfded0a941e4b2719c7f94cacd/pycparser-3.12.tar.gz", hash = "sha256:f03387877eab82ce01bbdfd0ba7252ee55a90b1c708d5129e2ce915475cf1db6", size = 158785, upload-time = "2026-10-22T13:40:03.56Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/b6/ae/315bbeee126a769cbde43cf4908acb4b40408d8bf8bbf334dd7368d8dadf/pycparser-3.12-py3-none-any.whl", hash = "sha256:a076f3f489b39b43ed13563a1dafe42447445bec2e294154ec5c57fcdda4c85e", size = 62600, upload-time = "2026-10-22T13:40:02.021Z" }, +] + +[[package]] +name = "pydantic" +version = "2.14.4" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "annotated-types" }, + { name = "pydantic-core" }, + { name = "typing-extensions" }, + { name = "typing-inspection" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/8e/25/3ec212432a6031b65f043eaca9c820ddf87c0d0aa330023e64f79fcb5db6/pydantic-2.14.4.tar.gz", hash = "sha256:7c19f1d46f8accf55a4617a6116e1ade64840870f397b846a2c53fb9019414ba", size = 927354, upload-time = "2026-11-19T12:57:39.767Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/8a/8c/824a686c4ba815ddb0722f9e66272088bccd4e1ae1d2f7015375e4a4fc7f/pydantic-2.14.4-py3-none-any.whl", hash = "sha256:653a2ad9f6d8858529c77c72717d0ea991d6c6837fe683246b2f4b2bbfc3fadc", size = 494865, upload-time = "2026-11-19T12:57:37.688Z" }, +] + +[[package]] +name = "pydantic-core" +version = "2.50.5" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "typing-extensions" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/fb/63/0ceb815a7762576027ce388544c573d440574f95afb1302a2496b96db548/pydantic_core-2.50.5.tar.gz", hash = "sha256:1e740886083ff95530d694e6a3f09ed914bcf92a496d16acd307c6c3484fc36d", size = 523285, upload-time = "2026-11-19T12:56:38.067Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/60/32/1a87aca62759be630ef981b735d732ffa17ec8defac0271fa7894a815f9c/pydantic_core-2.50.5-cp313-cp313-macosx_10_12_x86_64.whl", hash = "sha256:e5d5d77a9446f44688a5ef420d92c9facac0865ef5565215db54be184ab7906f", size = 2235184, upload-time = "2026-11-19T12:54:24.697Z" }, + { url = "https://files.pythonhosted.org/packages/6f/8a/53d7448d3e0c3fd8fb30621ef493e5340d6779f80cba2d515fc81915f96e/pydantic_core-2.50.5-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:639a51931869c0594d8723b2f529c547db1aa33dc9571d001dc205d896170c08", size = 2110593, upload-time = "2026-11-19T12:54:26.231Z" }, + { url = "https://files.pythonhosted.org/packages/ac/66/fa127513da383218051a4e7c76ec63b42eb0b073d010d94215f930fa9a4d/pydantic_core-2.50.5-cp313-cp313-manylinux1_i686.manylinux_2_5_i686.whl", hash = "sha256:c69eb2e09d2830949e6e8f395d4eb8c714ba083213ccff64932ded681fe69a4e", size = 2261527, upload-time = "2026-11-19T12:54:27.79Z" }, + { url = "https://files.pythonhosted.org/packages/e8/35/70928b77f724fa0f4824e0527891df02cf9b34101aab6e2ab348fd127f06/pydantic_core-2.50.5-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:8bbe282e79dc71b24ba7be284eacf27c8ddff8f26911e2030a0dd123c6aed326", size = 2131539, upload-time = "2026-11-19T12:54:29.441Z" }, + { url = "https://files.pythonhosted.org/packages/e3/e0/7d03f6521da1cb43de3fa2c1740e7d0e0d34f971acdd5f6c6462d360f195/pydantic_core-2.50.5-cp313-cp313-manylinux2014_armv7l.manylinux_2_17_armv7l.whl", hash = "sha256:43917f090dfda561575a72f75814f76a0680964b70d7b44c84e44d217bdeade7", size = 2197447, upload-time = "2026-11-19T12:54:31.007Z" }, + { url = "https://files.pythonhosted.org/packages/b9/57/bacad2d6251565b1b428383175f0b7edcb841d96e37130a85e87636ecb15/pydantic_core-2.50.5-cp313-cp313-manylinux2014_ppc64le.manylinux_2_17_ppc64le.whl", hash = "sha256:93ee3b4f9c64fb1c39892413c4196d0a84790a7e0e5d72b463882c432c1ffafe", size = 2387397, upload-time = "2026-11-19T12:54:32.779Z" }, + { url = "https://files.pythonhosted.org/packages/fb/f7/95e23d389b7bd796127f783950aeaee408ffea4d77d165cdce2c3f3b5638/pydantic_core-2.50.5-cp313-cp313-manylinux2014_s390x.manylinux_2_17_s390x.whl", hash = "sha256:57b79401d870c9df395799c596d81875b647ecf3030129d86659a54f6bfcc0db", size = 2463652, upload-time = "2026-11-19T12:54:34.303Z" }, + { url = "https://files.pythonhosted.org/packages/13/c2/62015187d0e986dafc530ea4df390fce3d3379c744959148806668d40ab9/pydantic_core-2.50.5-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:cbfde3ad127786f1dea1a6cd89a5eb824a16203f24743ad2b4e07506f43bc844", size = 2264332, upload-time = "2026-11-19T12:54:35.918Z" }, + { url = "https://files.pythonhosted.org/packages/73/22/e4421a2018ee909a5e0cfd4410ed88d12481e31fe37abe272bc392f74675/pydantic_core-2.50.5-cp313-cp313-manylinux_2_31_riscv64.whl", hash = "sha256:1793ec63c8f247131aa4dfc8c4da645b9c5872cf26b53ce240f143f59ad116e4", size = 2264563, upload-time = "2026-11-19T12:54:37.356Z" }, + { url = "https://files.pythonhosted.org/packages/28/a0/3cd863a51470341405579257cc84d4df2e70ddb5ed17160859687868cc9d/pydantic_core-2.50.5-cp313-cp313-musllinux_1_1_aarch64.whl", hash = "sha256:5027c263fbceb821cfb4b385d36d485e19efca1d9adcc4e5bec69c04ca3cdc83", size = 2302938, upload-time = "2026-11-19T12:54:38.777Z" }, + { url = "https://files.pythonhosted.org/packages/c6/50/0b71fafde186b95a7a9fd704ef5dfd7c28b2b9a4645449912267c7457884/pydantic_core-2.50.5-cp313-cp313-musllinux_1_1_armv7l.whl", hash = "sha256:dac78f91e263c4c9a4d587b9d97b3b5b2561293b33247452cc3cfe5b500e8cfb", size = 2473911, upload-time = "2026-11-19T12:54:40.3Z" }, + { url = "https://files.pythonhosted.org/packages/6b/8f/0106ea256e51e9b0d21c8aa7b32091d5f8869597282c5c09a7144f2208bc/pydantic_core-2.50.5-cp313-cp313-musllinux_1_1_x86_64.whl", hash = "sha256:b9348cfd798b8199d34da5258becf2fc8f5e4e7a3b51da30c34b81b996a07b34", size = 2501611, upload-time = "2026-11-19T12:54:41.758Z" }, + { url = "https://files.pythonhosted.org/packages/da/b8/d3923395ada2e5738eaa985e2d9c623cb00f6687f94565a2abc0ddf573f8/pydantic_core-2.50.5-cp313-cp313-win32.whl", hash = "sha256:22f5f0c37251611191a55e801a5150aa21f348fa10eac8eac9fa43c29937a7b1", size = 2125035, upload-time = "2026-11-19T12:54:43.281Z" }, + { url = "https://files.pythonhosted.org/packages/7b/08/2759efbffc5643787a5a0a6e19b98805d102346a8e52ad2a181a92bd55ea/pydantic_core-2.50.5-cp313-cp313-win_amd64.whl", hash = "sha256:d34c0d4dd4a318f2be788a60a972c3a1ed5da0155a7c06d6dd810dc5d60ad704", size = 2268229, upload-time = "2026-11-19T12:54:44.905Z" }, + { url = "https://files.pythonhosted.org/packages/c7/18/b4491f24c42f6d31b149d30c2b1bb5a062e3a79ee626cc0aa2161e86eb5a/pydantic_core-2.50.5-cp313-cp313-win_arm64.whl", hash = "sha256:cbec4aad328be58961c738b83fc2c7bd993242d2366f949d914e8c09266dee0e", size = 2172693, upload-time = "2026-11-19T12:54:46.368Z" }, + { url = "https://files.pythonhosted.org/packages/ed/1d/0e2d5bb47dc729ddf21fb846cb1ac85baf6290eca5ef1ee3d871712496f4/pydantic_core-2.50.5-graalpy313-graalpy253_313_native-macosx_11_0_arm64.whl", hash = "sha256:d7826407ed74ff8e6cc6e6df7ffbf180e9b449ab1516f28eb5f6e2a489bc5129", size = 2054207, upload-time = "2026-11-19T12:56:17.916Z" }, + { url = "https://files.pythonhosted.org/packages/59/61/f1b75d2dffa662c4326adc6b16881f98158717cfd461936c2f0c36d9d1c8/pydantic_core-2.50.5-graalpy313-graalpy253_313_native-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:c415a8da7c89a3dd32d988a9117bf0a52371769b77b0943bcfd50b281ecefb8d", size = 2125491, upload-time = "2026-11-19T12:56:19.202Z" }, + { url = "https://files.pythonhosted.org/packages/e5/78/104a8c414f58132acaa6b2ce4cc3441b8cc556df0f7fcc9ca8c07473f17a/pydantic_core-2.50.5-graalpy313-graalpy253_313_native-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:ea7429e3adb2f2fd81e2d6e8942e5c1cd760a6e6be5b7574d2ee5499b5e19e67", size = 2284742, upload-time = "2026-11-19T12:56:20.825Z" }, +] + +[[package]] +name = "pydantic-settings" +version = "2.16.3" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "pydantic" }, + { name = "python-dotenv" }, + { name = "typing-extensions" }, + { name = "typing-inspection" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/59/28/227c843eedd29bd78e132e5aafa420d83154b10465c312f9c21ff2eaf77d/pydantic_settings-2.16.3.tar.gz", hash = "sha256:10e36f616623ebb586c05ca3d3cd22927146869db413d4f14c20c514442a1337", size = 311716, upload-time = "2026-11-13T11:18:30.102Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/4c/26/3e68379ca313b6aa58e11fbd8b28d5c6f1b9f4428d70222ba021a76797ec/pydantic_settings-2.16.3-py3-none-any.whl", hash = "sha256:d1db16a2d34006323a1b42c0640898da58adfbad7ec30baaa9e2b18aafc08999", size = 82679, upload-time = "2026-11-13T11:18:28.73Z" }, +] + +[[package]] +name = "python-dateutil" +version = "2.9.0.post0" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "six" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/66/c0/0c8b6ad9f17a802ee498c46e004a0eb49bc148f2fd230864601a86dcf6db/python-dateutil-2.9.0.post0.tar.gz", hash = "sha256:37dd54208da7e1cd875388217d5e00ebd4179249f90fb72437e91a35459a0ad3", size = 342432, upload-time = "2024-03-01T18:36:20.211Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/ec/57/56b9bcc3c9c6a792fcbaf139543cee77261f3651ca9da0c93f5c1221264b/python_dateutil-2.9.0.post0-py2.py3-none-any.whl", hash = "sha256:a8b2bc7bffae282281c8140a97d3aa9c14da0b136dfe83f850eea9a5f7470427", size = 229892, upload-time = "2024-03-01T18:36:18.57Z" }, +] + +[[package]] +name = "python-dotenv" +version = "1.2.4" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/74/26/2fbeedb218a787a5eea551c7532cac4e009f83d689dd2faa0d0353473f86/python_dotenv-1.2.4.tar.gz", hash = "sha256:f0d53e69935a851c0dcc78f3ab7aaccd8cabef0b92382b576b824212902873c0", size = 60824, upload-time = "2026-10-01T05:36:10Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/60/d1/38f3a3405989a89ac18390803e70c6ad7c7760da4f9b83cbeca0c44a0c72/python_dotenv-1.2.4-py3-none-any.whl", hash = "sha256:42269a8a5b3fd54ffa6f3d84b18abed50064717576b4ecf03dc4a55d8aa04fdc", size = 23266, upload-time = "2026-10-01T05:36:08.633Z" }, +] + +[[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/11/0fd08f8192109f7169db964b5707a2f1e8b745d4e239b784a5a1dd80d1db/pyyaml-6.0.3-cp313-cp313-macosx_10_13_x86_64.whl", hash = "sha256:8da9669d359f02c0b91ccc01cac4a67f16afec0dac22c2ad09f46bee0697eba8", size = 181669, upload-time = "2025-09-25T21:32:23.673Z" }, + { url = "https://files.pythonhosted.org/packages/b1/16/95309993f1d3748cd644e02e38b75d50cbc0d9561d21f390a76242ce073f/pyyaml-6.0.3-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:2283a07e2c21a2aa78d9c4442724ec1eb15f5e42a723b99cb3d822d48f5f7ad1", size = 173252, upload-time = "2025-09-25T21:32:25.149Z" }, + { url = "https://files.pythonhosted.org/packages/50/31/b20f376d3f810b9b2371e72ef5adb33879b25edb7a6d072cb7ca0c486398/pyyaml-6.0.3-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:ee2922902c45ae8ccada2c5b501ab86c36525b883eff4255313a253a3160861c", size = 767081, upload-time = "2025-09-25T21:32:26.575Z" }, + { url = "https://files.pythonhosted.org/packages/49/1e/a55ca81e949270d5d4432fbbd19dfea5321eda7c41a849d443dc92fd1ff7/pyyaml-6.0.3-cp313-cp313-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:a33284e20b78bd4a18c8c2282d549d10bc8408a2a7ff57653c0cf0b9be0afce5", size = 841159, upload-time = "2025-09-25T21:32:27.727Z" }, + { url = "https://files.pythonhosted.org/packages/74/27/e5b8f34d02d9995b80abcef563ea1f8b56d20134d8f4e5e81733b1feceb2/pyyaml-6.0.3-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:0f29edc409a6392443abf94b9cf89ce99889a1dd5376d94316ae5145dfedd5d6", size = 801626, upload-time = "2025-09-25T21:32:28.878Z" }, + { url = "https://files.pythonhosted.org/packages/f9/11/ba845c23988798f40e52ba45f34849aa8a1f2d4af4b798588010792ebad6/pyyaml-6.0.3-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:f7057c9a337546edc7973c0d3ba84ddcdf0daa14533c2065749c9075001090e6", size = 753613, upload-time = "2025-09-25T21:32:30.178Z" }, + { url = "https://files.pythonhosted.org/packages/3d/e0/7966e1a7bfc0a45bf0a7fb6b98ea03fc9b8d84fa7f2229e9659680b69ee3/pyyaml-6.0.3-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:eda16858a3cab07b80edaf74336ece1f986ba330fdb8ee0d6c0d68fe82bc96be", size = 794115, upload-time = "2025-09-25T21:32:31.353Z" }, + { url = "https://files.pythonhosted.org/packages/de/94/980b50a6531b3019e45ddeada0626d45fa85cbe22300844a7983285bed3b/pyyaml-6.0.3-cp313-cp313-win32.whl", hash = "sha256:d0eae10f8159e8fdad514efdc92d74fd8d682c933a6dd088030f3834bc8e6b26", size = 137427, upload-time = "2025-09-25T21:32:32.58Z" }, + { url = "https://files.pythonhosted.org/packages/97/c9/39d5b874e8b28845e4ec2202b5da735d0199dbe5b8fb85f91398814a9a46/pyyaml-6.0.3-cp313-cp313-win_amd64.whl", hash = "sha256:79005a0d97d5ddabfeeea4cf676af11e647e41d81c9a7722a193022accdb6b7c", size = 154090, upload-time = "2025-09-25T21:32:33.659Z" }, + { url = "https://files.pythonhosted.org/packages/73/e8/2bdf3ca2090f68bb3d75b44da7bbc71843b19c9f2b9cb9b0f4ab7a5a4329/pyyaml-6.0.3-cp313-cp313-win_arm64.whl", hash = "sha256:5498cd1645aa724a7c71c8f378eb29ebe23da2fc0d7a08071d89469bf1d2defb", size = 140246, upload-time = "2025-09-25T21:32:34.663Z" }, +] + +[[package]] +name = "referencing" +version = "0.37.0" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "attrs" }, + { name = "rpds-py" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/22/f5/df4e9027acead3ecc63e50fe1e36aca1523e1719559c499951bb4b53188f/referencing-0.37.0.tar.gz", hash = "sha256:44aefc3142c5b842538163acb373e24cce6632bd54bdb01b21ad5863489f50d8", size = 78036, upload-time = "2025-10-13T15:30:48.871Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/2c/58/ca301544e1fa93ed4f80d724bf5b194f6e4b945841c5bfd555878eea9fcb/referencing-0.37.0-py3-none-any.whl", hash = "sha256:381329a9f99628c9069361716891d34ad94af76e461dcb0335825aecc7692231", size = 26766, upload-time = "2025-10-13T15:30:47.625Z" }, +] + +[[package]] +name = "regex" +version = "2026.11.24" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/e7/32/7c768de6489417ef32a49480af8a2dfba3adc5b1784d6e7142f32972018a/regex-2026.11.24.tar.gz", hash = "sha256:07f222de81cdcfd39eef8671e92d14f50f61f1666f756659b0e649cf700b1b10", size = 421559, upload-time = "2026-11-25T03:28:00.709Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/f2/d2/0e1602566339d38c0460158bd9632546b64ad2ba401df77cd737b64e6bb3/regex-2026.11.24-cp313-cp313-macosx_10_13_universal2.whl", hash = "sha256:d6bb724076f2e9d184354765ba9c03e9cd3b780a236dd6691b88fa7dfa43c499", size = 500122, upload-time = "2026-11-25T03:26:10.495Z" }, + { url = "https://files.pythonhosted.org/packages/7f/4b/b753092ae6d1bb1ab6a57e54eab77b13abfdc68fb3371a693f0fe7af8ee1/regex-2026.11.24-cp313-cp313-macosx_10_13_x86_64.whl", hash = "sha256:f50c4026c75094f5bcef9608daf080104b08998226f74265d9dc06ab7684db09", size = 298228, upload-time = "2026-11-25T03:26:11.946Z" }, + { url = "https://files.pythonhosted.org/packages/82/c2/9245efe1aaa520a0257c1f5ed5d4606f35cb4263367ba8783c8b5b833e8a/regex-2026.11.24-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:f2824fc17c2eb3e209df31fb4b153273aeae6e2f3c5a9972b5e235edf86ea909", size = 295716, upload-time = "2026-11-25T03:26:13.008Z" }, + { url = "https://files.pythonhosted.org/packages/5d/c7/d625768673d26f238c74014612ec5ce1314a8c61a88ffbf71d98743cb2c1/regex-2026.11.24-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:fc93edd3c18866c13f1067a635f9d5bf05c4a2f0d6f9658513d1abdbb0b0a901", size = 809884, upload-time = "2026-11-25T03:26:14.051Z" }, + { url = "https://files.pythonhosted.org/packages/1b/a4/d6c19bab6ef9f64099879e46cc61e47e31e0815d24e6b23388068a79c62a/regex-2026.11.24-cp313-cp313-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:99feefe28991168f41744ef986942818dee453d3621d28063b8b8de128315be2", size = 884173, upload-time = "2026-11-25T03:26:15.934Z" }, + { url = "https://files.pythonhosted.org/packages/bf/98/4a7ad5abbf31a064833a87900c77447e08cd3645457ff6064bb92af50c58/regex-2026.11.24-cp313-cp313-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:b94ce459120d2bc2f3adbbde3fb59a90c0d6e6cdfda9397d7ac071e794ac6b00", size = 925871, upload-time = "2026-11-25T03:26:17.559Z" }, + { url = "https://files.pythonhosted.org/packages/ae/74/f439579452118f81fe9775b8621f6894d0350d1ee294fb4100ac3473dee0/regex-2026.11.24-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:da3551982678fb296b98de06a2b1a425cb0314437537ace7a216a516646db17b", size = 813332, upload-time = "2026-11-25T03:26:18.758Z" }, + { url = "https://files.pythonhosted.org/packages/63/db/f355513905233a2f96105783915b87048ccd304cf905e73a973d6c684481/regex-2026.11.24-cp313-cp313-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:7620dbee6edd20574436296434567f23e880eb87361f2236ff043091d4e7d507", size = 788393, upload-time = "2026-11-25T03:26:19.966Z" }, + { url = "https://files.pythonhosted.org/packages/80/b2/61122d54ddf7776f7e97ba63d66c641c2aef98171dd79069124eda92c2aa/regex-2026.11.24-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:2ad21bf32068af834905fc8a981172dbba5df41eec9908b91c6864f1891911a7", size = 797640, upload-time = "2026-11-25T03:26:21.222Z" }, + { url = "https://files.pythonhosted.org/packages/4b/c8/12486071ae13a06be5563441a0594405c9af22cbc96f46cbb913ab12fe8b/regex-2026.11.24-cp313-cp313-musllinux_1_2_ppc64le.whl", hash = "sha256:0580750e73ba4cd0f06b7d608da9ae0f6279b68c175ff7ae218f43f8f328387e", size = 873649, upload-time = "2026-11-25T03:26:22.512Z" }, + { url = "https://files.pythonhosted.org/packages/90/68/36c55306d93507575124c6b41a53597720f3330aa16b6a97082b48343a19/regex-2026.11.24-cp313-cp313-musllinux_1_2_riscv64.whl", hash = "sha256:828032136a7ff86815bf2d206524645b8146b3b1ab090212b9dd80566409e462", size = 774965, upload-time = "2026-11-25T03:26:24.401Z" }, + { url = "https://files.pythonhosted.org/packages/db/fd/4d5dc5e88a88479dcec8d9cf99f7bef93638711112568f116a07de84bf33/regex-2026.11.24-cp313-cp313-musllinux_1_2_s390x.whl", hash = "sha256:12c0a0aad056233abdbbe6c7144d7f36364c36f488dc04cc892dca70bbb135e5", size = 866741, upload-time = "2026-11-25T03:26:25.478Z" }, + { url = "https://files.pythonhosted.org/packages/62/0e/d8b5d56517bfd75a1239426025ddde8600dbd86afce411408645b606b927/regex-2026.11.24-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:6a677b869ae1a9e39553a3c1dc1e5c28a0589f3230f4aa9df08d3c7a2056b391", size = 800356, upload-time = "2026-11-25T03:26:26.645Z" }, + { url = "https://files.pythonhosted.org/packages/44/e9/540a41f1814899d445827245d8e0d30a9e88f8733c18c3b0bf7dfebc4d4d/regex-2026.11.24-cp313-cp313-win32.whl", hash = "sha256:2e4866a27a9681f54f47d3c60ca4029f2fca8fe6e7943a041db5b8d48715504a", size = 269972, upload-time = "2026-11-25T03:26:27.991Z" }, + { url = "https://files.pythonhosted.org/packages/46/45/5675e30029664c068bbf6d38b5199d598eed323ee3b12201ef7a17ea1053/regex-2026.11.24-cp313-cp313-win_amd64.whl", hash = "sha256:e8e36c76fc1a300ec66e4abd5c676c102078ea8142d9d974b43a6766f737f698", size = 280784, upload-time = "2026-11-25T03:26:29.225Z" }, + { url = "https://files.pythonhosted.org/packages/97/71/ce432f66400d14102ebf4ddc2c9c2f0a9c932957f7e36b26b2868f0d76f2/regex-2026.11.24-cp313-cp313-win_arm64.whl", hash = "sha256:fb80afcd5431e6b8b26124324fec7dc870dc4dbf85d2c126af9d01b024afb6c7", size = 281450, upload-time = "2026-11-25T03:26:30.406Z" }, +] + +[[package]] +name = "requests" +version = "2.34.2" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "certifi" }, + { name = "charset-normalizer" }, + { name = "idna" }, + { name = "urllib3" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/ac/c3/e2a2b89f2d3e2179abd6d00ebd70bff6273f37fb3e0cc209f48b39d00cbf/requests-2.34.2.tar.gz", hash = "sha256:f288924cae4e29463698d6d60bc6a4da69c89185ad1e0bcc4104f584e960b9ed", size = 142856, upload-time = "2026-05-14T19:25:27.735Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/a0/f4/c67b0b3f1b9245e8d266f0f112c500d50e5b4e83cb6f3b71b6528104182a/requests-2.34.2-py3-none-any.whl", hash = "sha256:2a0d60c172f83ac6ab31e4554906c0f3b3588d37b5cb939b1c061f4907e278e0", size = 73075, upload-time = "2026-05-14T19:25:26.443Z" }, +] + +[[package]] +name = "rpds-py" +version = "2026.9.1" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/42/68/3bd46b8a5e01d3c2ebdf9c5e9497912e3fe0cde02bac21a7130ca866e403/rpds_py-2026.9.1.tar.gz", hash = "sha256:4793ef7f78268b124b73fa933440f01d258bbae01de9fa53e9080c9ab0425a12", size = 63948, upload-time = "2026-10-04T16:32:36.469Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/83/ea/ee88fd9e756ff93fb6b1182a47ec09504a242620e33ce1d20679efefe841/rpds_py-2026.9.1-cp313-cp313-macosx_10_12_x86_64.whl", hash = "sha256:a36b70596407634ca82d4b989a3729074a008537a0522e4c8046a67c729103e9", size = 346229, upload-time = "2026-10-04T16:29:38.82Z" }, + { url = "https://files.pythonhosted.org/packages/57/71/a097d6552f837500fc36e6b23d09cfb9890c3cc47531f9ca64e149799615/rpds_py-2026.9.1-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:eba5d173f7d5708b22a93815017a4611873ed54db9f268077c0dd1ed99cfc858", size = 340514, upload-time = "2026-10-04T16:29:40.405Z" }, + { url = "https://files.pythonhosted.org/packages/bd/b7/497e85768bf4e0d8ddbaa096a4cac31d1509251dee2728a8490aa367e0b5/rpds_py-2026.9.1-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:457866b85daf5034296666168b84a69e0b2e89dc4f1af102b46f6448a60b9063", size = 372611, upload-time = "2026-10-04T16:29:41.778Z" }, + { url = "https://files.pythonhosted.org/packages/52/4b/74ab4108916250b6e198e0d3af05bc6835eb046315f22f7a0ceb49667c5a/rpds_py-2026.9.1-cp313-cp313-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:a3a52a3ba86436ab3aef510fbe21512abc2ddd1993005dfe50514bd2284ef025", size = 377712, upload-time = "2026-10-04T16:29:43.242Z" }, + { url = "https://files.pythonhosted.org/packages/0c/8e/067e77d9d7b3cc793c9d909b7e97e7aadbbb1fb094093b6876902cc96d38/rpds_py-2026.9.1-cp313-cp313-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:d7841166b7fa64c9c56404617ae4341448847482d45933b13135d26c130519e5", size = 488106, upload-time = "2026-10-04T16:29:44.692Z" }, + { url = "https://files.pythonhosted.org/packages/3c/b4/c5aae6c2dde269bf955f6b7d35065c655a57e47750d9668052ad67e74dda/rpds_py-2026.9.1-cp313-cp313-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:926bdd3e3b5998ddf70cc64bc8cf57209571f9044542913afb673799fec77dd0", size = 390795, upload-time = "2026-10-04T16:29:46.129Z" }, + { url = "https://files.pythonhosted.org/packages/a0/36/76fab39973ee11e7f9f357c55138197bb01c86f6502cb76487e3b4f42db0/rpds_py-2026.9.1-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:7868b85224291c6cb6759f9b5adb9745f486d226f62b16a614dd5a2a5ab2b35b", size = 370794, upload-time = "2026-10-04T16:29:47.603Z" }, + { url = "https://files.pythonhosted.org/packages/3d/fe/cd2a80e6d7b871937a60e935c5d507aa390d143f4ff3636f640b9733d5df/rpds_py-2026.9.1-cp313-cp313-manylinux_2_31_riscv64.whl", hash = "sha256:3cd182d7291d29b92c521a0069d9c01ba6193628a9a105531d11b40a6d731a33", size = 375673, upload-time = "2026-10-04T16:29:49.223Z" }, + { url = "https://files.pythonhosted.org/packages/6c/18/7464a9953724e55a3b3206062fa0ffdeaa519584c6aabf65d3956d94f131/rpds_py-2026.9.1-cp313-cp313-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:e6ea1cda8d8c688278430e4268a42f5e5da3bdd74578dfadc0820c3f1766ce83", size = 398758, upload-time = "2026-10-04T16:29:50.601Z" }, + { url = "https://files.pythonhosted.org/packages/c0/86/1534b436700fd49ff411063b7c4d7e938adfabf90895b6cf1622d5a7d1f6/rpds_py-2026.9.1-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:5943980471829f6de242a20b109de3111ba6b77e3af0ffc587028ac854b05e6c", size = 550370, upload-time = "2026-10-04T16:29:52.002Z" }, + { url = "https://files.pythonhosted.org/packages/57/1c/e1fa82a8a01e3c5820f3ba98a8b2673f642128eb368fa88871b01dd2c909/rpds_py-2026.9.1-cp313-cp313-musllinux_1_2_i686.whl", hash = "sha256:76d3af9732d2dab69f28179b40ba2d87e2f1d5824b4a694780aa787d685e8f36", size = 613106, upload-time = "2026-10-04T16:29:53.655Z" }, + { url = "https://files.pythonhosted.org/packages/29/55/b20b8c4c3dde8755bfcd5b08492a02d0cd2e26929aedf6199ca2a377d42a/rpds_py-2026.9.1-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:78326f4cb4427a56ba4996c0762b63be45f06b85f086526420d2b3a66e40f84d", size = 578235, upload-time = "2026-10-04T16:29:55.157Z" }, + { url = "https://files.pythonhosted.org/packages/55/42/df3f7bbc3f7ab37a8a9db8d6c2ff2c985422899f1f7926afbf7ec3c0b8b4/rpds_py-2026.9.1-cp313-cp313-win32.whl", hash = "sha256:172e47169583f46ce118cbec68e6795d0da0f4606b488b6434f8276bca0a058c", size = 205293, upload-time = "2026-10-04T16:29:56.669Z" }, + { url = "https://files.pythonhosted.org/packages/31/9c/ba5a9569d719bfdd6ce863df4133ac6a1658cf1b07cc3534c31db729fbbc/rpds_py-2026.9.1-cp313-cp313-win_amd64.whl", hash = "sha256:3e93b2cd69a9830be33e03945cd7cda940a0a8bfcfbff41d6144f0cb0d3d8bd9", size = 222409, upload-time = "2026-10-04T16:29:58.049Z" }, + { url = "https://files.pythonhosted.org/packages/35/72/f28ca566f6c23c35bbf7445f65eb0364577b25a026305995e24f78b83d94/rpds_py-2026.9.1-cp313-cp313-win_arm64.whl", hash = "sha256:d151e148117294133bf8af7eeace085e7e87432db15ab6adf640330298a47f6f", size = 217681, upload-time = "2026-10-04T16:29:59.449Z" }, +] + +[[package]] +name = "s3transfer" +version = "0.19.3" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "botocore" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/49/c5/0a5ce655109cb96b8dfad36908a4e108d15f5dc2eff8fbc3146c4312e704/s3transfer-0.19.3.tar.gz", hash = "sha256:8326acc3d056d7f7b8a37110c7d2aea41f67e83f6ae79cd3b5fbcca34c726406", size = 166087, upload-time = "2026-10-19T19:19:49.751Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/e2/a4/88f9e10498759121060b8050a1554753dfc04df39bbbcc7aad9ecc8d9440/s3transfer-0.19.3-py3-none-any.whl", hash = "sha256:24eb7535804306355e31c952a90022bf5b2f9d760f9a11062c7493a217c08553", size = 90252, upload-time = "2026-10-19T19:19:48.309Z" }, +] + +[[package]] +name = "six" +version = "1.17.0" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/94/e7/b2c673351809dca68a0e064b6af791aa332cf192da575fd474ed7d6f16a2/six-1.17.0.tar.gz", hash = "sha256:ff70335d468e7eb6ec65b95b99d3a2836546063f63acc5171de367e834932a81", size = 34031, upload-time = "2024-12-04T17:35:28.174Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/b7/ce/149a00dd41f10bc29e5921b496af8b574d8413afcd5e30dfa0ed46c2cc5e/six-1.17.0-py2.py3-none-any.whl", hash = "sha256:4721f391ed90541fddacab5acf947aa0d3dc7d27b2e1e8eda2be8970586c3274", size = 11050, upload-time = "2024-12-04T17:35:26.475Z" }, +] + +[[package]] +name = "sniffio" +version = "1.3.1" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/a2/87/a6771e1546d97e7e041b6ae58d80074f81b7d5121207425c964ddf5cfdbd/sniffio-1.3.1.tar.gz", hash = "sha256:f4324edc670a0f49750a81b895f35c3adb843cca46f0530f79fc1babb23789dc", size = 20372, upload-time = "2024-02-25T23:20:04.057Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/e9/44/75a9c9421471a6c4805dbf2356f7c181a29c1879239abab1ea2cc8f38b40/sniffio-1.3.1-py3-none-any.whl", hash = "sha256:2f6da418d1f1e0fddd844478f41680e794e6051915791a034ff65e5f100525a2", size = 10235, upload-time = "2024-02-25T23:20:01.196Z" }, +] + +[[package]] +name = "sqlalchemy" +version = "2.0.50" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "greenlet", marker = "platform_machine == 'AMD64' or platform_machine == 'WIN32' or platform_machine == 'aarch64' or platform_machine == 'amd64' or platform_machine == 'ppc64le' or platform_machine == 'win32' or platform_machine == 'x86_64' or (extra == 'extra-23-lang2sql-bird-benchmark-gpt41' and extra == 'extra-23-lang2sql-bird-benchmark-luna')" }, + { name = "typing-extensions" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/57/da/6fbf010c8ebb347679d0d100b22fe9ba5e13fd04046c5df7280d2f0bf706/sqlalchemy-2.0.50.tar.gz", hash = "sha256:af5607d11ef90fd6a5c0549fe0045dce1663d427426bcfb506dcb5346a85a3b9", size = 9907424, upload-time = "2026-05-24T19:20:04.018Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/0b/c4/c42356b527296e9862f67990efce31ef78b4cf69cd3f80873a528a060320/sqlalchemy-2.0.50-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:06a9210bdc5f4298cff0781087e2ff45683922252dacc452846373a58761f093", size = 2156697, upload-time = "2026-05-24T19:27:54.764Z" }, + { url = "https://files.pythonhosted.org/packages/60/a1/b1a70e3c4365ac7fe9e347f3710f19b562c866fb96d45e3c891588789a7b/sqlalchemy-2.0.50-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:8b53784972ade4f8174b9aa661f31a06f8a936d2cfdd602913ff3c6dd40ae873", size = 3284260, upload-time = "2026-05-24T20:09:34.195Z" }, + { url = "https://files.pythonhosted.org/packages/3f/4a/f3ac3caa19f263d57b0a47f8c91bbf56583dc2d3fc63acfbf644abb24fe0/sqlalchemy-2.0.50-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:31648fa14460537e768a7303b078e4344d208e0d23e06867c1f376a227ed82db", size = 3302280, upload-time = "2026-05-24T20:17:17.825Z" }, + { url = "https://files.pythonhosted.org/packages/66/55/ccada3e3d62254587819749a0bc69f41173eb48a6e385d10e66d32a9c88e/sqlalchemy-2.0.50-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:03f4323c980ad0e918cc9e5369b015f759f4e534db5bbaf4dc36832c10d05064", size = 3231580, upload-time = "2026-05-24T20:09:36.406Z" }, + { url = "https://files.pythonhosted.org/packages/05/f6/6809349130a2de0e109e7f00fd7d431da9565b9b2868b32ee684754f672b/sqlalchemy-2.0.50-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:2b9dcc43afef8ac157cd92fce96985d6b8b0cfbd3df4d666f66b4d55a75d202f", size = 3269375, upload-time = "2026-05-24T20:17:20.34Z" }, + { url = "https://files.pythonhosted.org/packages/48/84/278a811ef4e07be9c89dc5cdd7be833268509a66a68c4897cf585e67428f/sqlalchemy-2.0.50-cp313-cp313-win32.whl", hash = "sha256:60922d6599065ddca2c6f376b9aa2f41a6b85a271725e0909490bbc50b1998a5", size = 2117229, upload-time = "2026-05-24T19:50:08.215Z" }, + { url = "https://files.pythonhosted.org/packages/f6/1c/067cc6187ed32d2ec222fe6d2643acc1659a6d0659f8a7cbc5ad3ae83280/sqlalchemy-2.0.50-cp313-cp313-win_amd64.whl", hash = "sha256:287086e67275a212c4582d166a6fb03a65ccc5551d80866270ce0dd9f34eccd3", size = 2143126, upload-time = "2026-05-24T19:50:09.691Z" }, + { url = "https://files.pythonhosted.org/packages/d0/10/f7220e9b784d295d241c86ed99aeb537f92afcd469a64861f2717e9bb077/sqlalchemy-2.0.50-py3-none-any.whl", hash = "sha256:92064363517a3ff8212b5a93b8c62876579d8dfd1ca5b561335f30152d884fa9", size = 1943861, upload-time = "2026-05-24T19:59:01.119Z" }, +] + +[[package]] +name = "tiktoken" +version = "0.14.0" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "regex" }, + { name = "requests" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/66/62/167a842aa0429d45f5e797354fd4343a96f6043d67d0513c675c7b8d36e6/tiktoken-0.14.0.tar.gz", hash = "sha256:231dec90efcdccf1b565a1416107736f1e09b1a08fe736ef9d6363e626d03874", size = 38898, upload-time = "2026-08-17T19:49:49.514Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/50/53/ee1453623bf65f019328721ccb6587846d2c5b7b82f34e73ca09101f072e/tiktoken-0.14.0-cp313-cp313-macosx_10_13_x86_64.whl", hash = "sha256:e9c5fe393aab56469f04e432ff851216d3def3436cf5f07e442a240164bf500f", size = 1094198, upload-time = "2026-08-17T19:48:57.955Z" }, + { url = "https://files.pythonhosted.org/packages/ad/5f/6448cfe278c3664ba9ec5b5ac08344341f7dc3d42888476e215a14eda2be/tiktoken-0.14.0-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:cbe2cc3bba939bcdaf103e03df9d5039d33887080b315624be28ec69059e5f94", size = 1038820, upload-time = "2026-08-17T19:48:59.015Z" }, + { url = "https://files.pythonhosted.org/packages/69/3b/d67eac1bcce9dee3abe23aff5e3ded3116bbebaf67b80a0811c06d3806fc/tiktoken-0.14.0-cp313-cp313-manylinux_2_28_aarch64.whl", hash = "sha256:2157f52e4b4d7ac5ecc7457b3716834706e7ef9a46f5144029bfeb7cf71f4e06", size = 1186175, upload-time = "2026-08-17T19:49:00.068Z" }, + { url = "https://files.pythonhosted.org/packages/37/62/cae690d9783146b0f81f564ada0f8f611de68178c0c9c7e1e969f0516b48/tiktoken-0.14.0-cp313-cp313-manylinux_2_28_x86_64.whl", hash = "sha256:26e60f6a956ee171ab728b37b8439905d7ea1db435c30f9822f291e9861c861d", size = 1203884, upload-time = "2026-08-17T19:49:01.163Z" }, + { url = "https://files.pythonhosted.org/packages/b9/1e/633e30237b94e383cf814145499079f3bb9cdd4aeafc1bc42e01b0f810a6/tiktoken-0.14.0-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:380873f330b741c4435574f37edb20813d04603ace2d53e0a63560e1fec83010", size = 1250980, upload-time = "2026-08-17T19:49:02.274Z" }, + { url = "https://files.pythonhosted.org/packages/cb/56/4c12f07b812f84206f38d723eb1ebfdd34bad9309b5dbc0bee6bbcff4cbf/tiktoken-0.14.0-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:3fd7c14b1cb45b486c39fc9b3443bb341f3e2fc7e6f31247f3435a5836651632", size = 1315434, upload-time = "2026-08-17T19:49:03.434Z" }, + { url = "https://files.pythonhosted.org/packages/c9/e0/c65603f0c44811def666d3fbf611bf2af3b5e1ef613e06c19411419830b3/tiktoken-0.14.0-cp313-cp313-win_amd64.whl", hash = "sha256:90a762670c7f968184723769a06ed51f5cf5ce5dcd1e30164f25c72d85c2d1f1", size = 940883, upload-time = "2026-08-17T19:49:04.583Z" }, +] + +[[package]] +name = "tokenizers" +version = "0.23.3" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "huggingface-hub" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/e0/7c/2cabb2174e772636683008f2c5621949b645da7d303c596589e84516a184/tokenizers-0.23.3.tar.gz", hash = "sha256:cded33237c77caeef62944d32aa9a7ef42bdce2b3497e18d137e072a8c4be438", size = 385286, upload-time = "2026-10-09T10:16:55.759Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/aa/2e/4ce5b9716f26e526eff6b0502ebed4ea8d7161f03b3c77617c9f25528e97/tokenizers-0.23.3-cp310-abi3-macosx_10_12_x86_64.whl", hash = "sha256:9d2b5c97daf61688c2ad1803ca851800feaba50fb68d5821779e9ea5880d968c", size = 3148800, upload-time = "2026-10-09T10:00:51.457Z" }, + { url = "https://files.pythonhosted.org/packages/b2/72/01e49f032bb346e5aaf06c10c74fe8aeec847173adbadd66eb7c53054bf2/tokenizers-0.23.3-cp310-abi3-macosx_11_0_arm64.whl", hash = "sha256:68649e97d5b43c44c031d8d848874a6eecae8f8fe40ea989aa777a5a83aca716", size = 3101381, upload-time = "2026-10-09T10:00:54.063Z" }, + { url = "https://files.pythonhosted.org/packages/15/fc/ae987741829b1cd547668c4c94be732ae3eefd1d74344e64c3d2ca714acd/tokenizers-0.23.3-cp310-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:ec82e80e65a862275b97c3d90b7a523df8d9519ee48aeb4e9625b2cc909274e0", size = 3519944, upload-time = "2026-10-09T10:00:55.885Z" }, + { url = "https://files.pythonhosted.org/packages/1c/da/cc8f6c030afaf05fbddc608158fbb761dca46913cbeba6b112e59fc82e2a/tokenizers-0.23.3-cp310-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:c64a0713180ff16829d4e7f39a658b77ea11443af4e1aa46523692943c9b1414", size = 3397695, upload-time = "2026-10-09T10:00:57.444Z" }, + { url = "https://files.pythonhosted.org/packages/ec/f1/256f78d1365fa2cd3ea6db716883d74667c8cbb6a21f15fa5b89a773cdc2/tokenizers-0.23.3-cp310-abi3-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:ddedfd4b3b4be6be24ff6ca645c4a37fddfd305f6f3e354c54cf10b715c48215", size = 3753125, upload-time = "2026-10-09T10:01:00.165Z" }, + { url = "https://files.pythonhosted.org/packages/60/93/eee007ac2fcbf4ecfce7fbc354826cf3611f56bdb886f3e91b1f7dd06b8f/tokenizers-0.23.3-cp310-abi3-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:2a89614730d7b80940a5d2ed9320e1ec8add5a745c6151d8d05071b7215505b6", size = 4018598, upload-time = "2026-10-09T10:01:02.05Z" }, + { url = "https://files.pythonhosted.org/packages/bf/f9/0c96c4739461fce9d8d865b416728081bf6230022d7163bd6244f35f4b31/tokenizers-0.23.3-cp310-abi3-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:e88646b8580c5ad7f4361477f1298e9cc01771a1ee9aecfe32c47b8ff614cc38", size = 3602442, upload-time = "2026-10-09T10:01:03.77Z" }, + { url = "https://files.pythonhosted.org/packages/3a/40/6706b82693715581457c6d5423eaa7faae576bb0526c5738a57085eb4449/tokenizers-0.23.3-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:376851d22bcf9d650a5c3090bb83e6cf9e895fbf0595369fa4cd43c1f69b5f87", size = 3396193, upload-time = "2026-10-09T10:01:05.48Z" }, + { url = "https://files.pythonhosted.org/packages/fe/0c/85946de40e25b7364b8f1bcf56def129069acd5bb364b7c86a32919e1a23/tokenizers-0.23.3-cp310-abi3-manylinux_2_31_riscv64.whl", hash = "sha256:bf501c40b72d2d5c8623620210430e9cac1ce47a46e45b34107b70a1557d46b0", size = 3553483, upload-time = "2026-10-09T10:01:07.387Z" }, + { url = "https://files.pythonhosted.org/packages/f1/6b/8d615d92cad1d511ca5ab188d1c7c167f0b3d295cc0d96207f9f82d486d8/tokenizers-0.23.3-cp310-abi3-musllinux_1_2_aarch64.whl", hash = "sha256:114e2b55ed177179d59f4ab98200a4471e11e78f9e4b5a922d146740f96fcf52", size = 9972248, upload-time = "2026-10-09T10:01:09.437Z" }, + { url = "https://files.pythonhosted.org/packages/c9/7d/a922e37ddd58d1b463bbc2ad08120c8f59c60b814cd353519a116b24f8ba/tokenizers-0.23.3-cp310-abi3-musllinux_1_2_armv7l.whl", hash = "sha256:d3407fb7b9c4d75dd68850ffd7180bc0a5d2dbaf0762d888e612f31fec3f9c6b", size = 9802957, upload-time = "2026-10-09T10:01:11.869Z" }, + { url = "https://files.pythonhosted.org/packages/4b/06/5d3f506a86ae0699a0e4ea05c05978f9aee169ef2c1d844e68c971cf8194/tokenizers-0.23.3-cp310-abi3-musllinux_1_2_i686.whl", hash = "sha256:84513ef0aeb8bf8f4ea11a2e8a7ac163ec5288aa115e649a59b470ac5c3107df", size = 10145487, upload-time = "2026-10-09T10:01:14.268Z" }, + { url = "https://files.pythonhosted.org/packages/26/e5/065625317690ea3548d834dad81f48ea1fd32e4964610e658e195d7fe28e/tokenizers-0.23.3-cp310-abi3-musllinux_1_2_x86_64.whl", hash = "sha256:e05ab7baf7f47b406a95fea6f3b0a484b2ddcd9e1d14b68844c457eb755085a3", size = 10266026, upload-time = "2026-10-09T10:16:33.054Z" }, + { url = "https://files.pythonhosted.org/packages/77/4e/babede85d0d19f5e3deeef0063e01848141329934d3d77c31b5cab5ac2b4/tokenizers-0.23.3-cp310-abi3-win32.whl", hash = "sha256:1ebf28794e7e4954e20a7f70fbea410b2d1f0418f7dbbca97ca384fcfef38c25", size = 2588086, upload-time = "2026-10-09T10:16:35.686Z" }, + { url = "https://files.pythonhosted.org/packages/d1/6c/24f074c9a0efb98e61b20aafe6b2641922d5db24e447d5d6daffd9e17555/tokenizers-0.23.3-cp310-abi3-win_amd64.whl", hash = "sha256:1f0823bb00c5fdc98e487354d54dd55a03848d61a1a0bf29a68c77f24f3b26c3", size = 2872101, upload-time = "2026-10-09T10:16:37.533Z" }, + { url = "https://files.pythonhosted.org/packages/53/77/a476b6f73a661c11d113a342d2326b91506cf2285f0995d1212a6bb2022d/tokenizers-0.23.3-cp310-abi3-win_arm64.whl", hash = "sha256:7e48734d2de9260d86f03ab056d2cfeeff3869f61dbd49aaa15a2793b5f3458b", size = 2742580, upload-time = "2026-10-09T10:16:39.244Z" }, +] + +[[package]] +name = "tqdm" +version = "4.70.1" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "colorama", marker = "sys_platform == 'win32'" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/0d/ea/b2a5bd54b28a324dae8211928b2d730b6547500342c7e6c6dea08bd0a485/tqdm-4.70.1.tar.gz", hash = "sha256:cefd0eca11b2a37a3aee776544d4f4ae913f02688135b5556b8788dfa474afc4", size = 171846, upload-time = "2026-09-11T07:25:16.601Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/a7/03/921a3d3c75785aca9ebfbfcabfbc3a1be12e2ab5265deb026d55a5a3f83e/tqdm-4.70.1-py3-none-any.whl", hash = "sha256:c293e525e6fef9c20e8728fd4612df02a0aa31bb5fe91ecd93e123b1b7bffa73", size = 80199, upload-time = "2026-09-11T07:25:14.599Z" }, +] + +[[package]] +name = "truststore" +version = "0.10.5" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/ee/9f/c5201d42a484c061e528825fc8e2d565f5abd50a4ced6fb7d29c4ec99b2b/truststore-0.10.5.tar.gz", hash = "sha256:30d36967ccaded5cbb38d602c433f53600036c79d502f4533a49b60a03bbefcd", size = 28091, upload-time = "2026-10-12T22:27:31.808Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/51/e9/3a7820be2bb0fe53b6bc9c3be26d3d1158004e4c3ab953aa6840b955b1e9/truststore-0.10.5-py3-none-any.whl", hash = "sha256:9aaaedaefaf06d8b206278cf8b5012bc897f485a874503501e12d776df78951c", size = 19017, upload-time = "2026-10-12T22:27:30.377Z" }, +] + +[[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 = "typing-inspection" +version = "0.4.5" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "typing-extensions" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/ff/50/0195198eb1d75bab716bb0a813abea4cc394bfa17a92a189f021a34859af/typing_inspection-0.4.5.tar.gz", hash = "sha256:7f16c411e7930dc79596d42ab44672a3fe5f60eb34b781a1647e7872363120c7", size = 81194, upload-time = "2026-11-04T14:13:23.774Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/de/0c/ea2544850a7c135e15033a5c7a8e7211136184b7ae63e2239d557c2b3019/typing_inspection-0.4.5-py3-none-any.whl", hash = "sha256:bc210535442b39e1bf2805e0c7a17dfd6a4ace760c84c7f7d16245d23a6b1c39", size = 14874, upload-time = "2026-11-04T14:13:22.616Z" }, +] + +[[package]] +name = "urllib3" +version = "2.8.0" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/e3/05/b17359e1cefb4f909b5e40b1b90a496d987258916dbbf88e842c729f510e/urllib3-2.8.0.tar.gz", hash = "sha256:63bf2ead4c879426ebf22ef2a781eeb4aa3b4ae798a0435506f8687fd5bb9b63", size = 458972, upload-time = "2026-09-15T19:29:36.253Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/92/9d/c4e665119135114480843e7ab388fa94d8480650450e6f8e26b70d323a4c/urllib3-2.8.0-py3-none-any.whl", hash = "sha256:0cf3cae568d36aa9576b28dfb35f11328f1cb974ca7647d9475ebb86c75ac6e3", size = 135717, upload-time = "2026-09-15T19:29:34.577Z" }, +] + +[[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/7b/ed/2f3129bbcc9a5c8ba12cc2b29d8060a3bab9c8043c456cfd4b5ca3188890/yarl-1.25.1-cp313-cp313-macosx_10_13_universal2.whl", hash = "sha256:25868beca8b6765f8f7d0e11fe6dd7c66dd4b0793b9500286d20cc92352126a5", size = 143623, upload-time = "2026-09-15T19:31:37.966Z" }, + { url = "https://files.pythonhosted.org/packages/17/e1/f1bc3390fdca352826676b531d0712736f156919090206700421d46b2c37/yarl-1.25.1-cp313-cp313-macosx_10_13_x86_64.whl", hash = "sha256:10b2fd95332f0d716d5eee3c9fb2ce8eada19082de7fee83d32e37992fd75c26", size = 104011, upload-time = "2026-09-15T19:31:40.25Z" }, + { url = "https://files.pythonhosted.org/packages/a8/aa/50acc5c3e5da04172ae3c281c75405af4d2ca911e16120ab0563f4dffb66/yarl-1.25.1-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:0f12afda4eea8c8994a76d4df1875c765194f5fbe8a9d197929ea303caee29ec", size = 103677, upload-time = "2026-09-15T19:31:42.46Z" }, + { url = "https://files.pythonhosted.org/packages/30/d2/7d1e0ab9f8390e1fbcede5a6dbf70d23c96ad09b8c5567f3a514d1ddb0e2/yarl-1.25.1-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:14b79a30a93a3ce2e8832603fd0ab780ada281b0ba5110b519a634f2d7d7d1fc", size = 115392, upload-time = "2026-09-15T19:31:44.371Z" }, + { url = "https://files.pythonhosted.org/packages/71/e1/5ba1e3a2a22139213655e760919038e8ed7e2d4a99826d0bbddb3beb96e5/yarl-1.25.1-cp313-cp313-manylinux2014_armv7l.manylinux_2_17_armv7l.manylinux_2_31_armv7l.whl", hash = "sha256:4bd6340d20ae2c7ca719b87b426e808e90743b676d05d4c26c4fb5ca71f41184", size = 107493, upload-time = "2026-09-15T19:31:46.273Z" }, + { url = "https://files.pythonhosted.org/packages/f5/53/780653d5e0f73831f467cf13548912e5eec97f21dc49fc8daf21da027df4/yarl-1.25.1-cp313-cp313-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:126a2533570c554719ca40a1288fdee1700b6bc82e7131aa69fa85252d92e651", size = 122537, upload-time = "2026-09-15T19:31:48.654Z" }, + { url = "https://files.pythonhosted.org/packages/03/92/d54fa70236c6036271c9c9c09fd978df5cbe3ef49ef6c46e9b833476d215/yarl-1.25.1-cp313-cp313-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:a3faadac7d812ddac258feb57b9846b60c1b437c4f4b9ad42595c6f6fe4390df", size = 126170, upload-time = "2026-09-15T19:31:50.872Z" }, + { url = "https://files.pythonhosted.org/packages/0e/b7/a82a49bf88340b837ef6972b508a1604ae377b9e6904b46b10cf5f1cf925/yarl-1.25.1-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:be80550d9bfe83d9b62398a37081a90434e6df2d978ec345c3d2820de6beddab", size = 117012, upload-time = "2026-09-15T19:31:53.189Z" }, + { url = "https://files.pythonhosted.org/packages/ef/78/5d684b411e3f3602464ee9b538db48205038f8605872985f61efb809ced0/yarl-1.25.1-cp313-cp313-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:e07595c7d6f4db270ceede356a1bd1c07a34f1c26f958d1ed0cd7b48e0d2bba3", size = 114950, upload-time = "2026-09-15T19:31:55.694Z" }, + { url = "https://files.pythonhosted.org/packages/2f/11/51d82b852c64f7fad0fc7a7ff3031517204887e874c722bbca839c0b23ac/yarl-1.25.1-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:eb96ed1ae6c7d072d60840c0434aef07a2df611812810807fbc54263a6053e9a", size = 115428, upload-time = "2026-09-15T19:31:57.966Z" }, + { url = "https://files.pythonhosted.org/packages/e4/49/9d1978049bf646b9ea918313926453c6901b71c92f097467777d47d36a88/yarl-1.25.1-cp313-cp313-musllinux_1_2_armv7l.whl", hash = "sha256:3feb99222553a8cbedfa52c2f59dd84c3f50d5b582c728d522caf8d72769a54b", size = 108428, upload-time = "2026-09-15T19:32:00.048Z" }, + { url = "https://files.pythonhosted.org/packages/43/35/7b8f1ebb45d7ec3dda7d1909bf44f458de41ef91e2937f107733582a5166/yarl-1.25.1-cp313-cp313-musllinux_1_2_ppc64le.whl", hash = "sha256:a2ed0ba415ccdf08f14bf544cb78346d0f76086707ffee24921a2c84dbf1305a", size = 121961, upload-time = "2026-09-15T19:32:02.436Z" }, + { url = "https://files.pythonhosted.org/packages/63/d6/d8b689ab7ca26edeb85f6ff28812aac7a25376eefc1780e303a7bfbaceff/yarl-1.25.1-cp313-cp313-musllinux_1_2_riscv64.whl", hash = "sha256:2b49375d22299b0a834c2bca72f39aaecc270d96fb24c30424899676f487b22a", size = 114961, upload-time = "2026-09-15T19:32:04.456Z" }, + { url = "https://files.pythonhosted.org/packages/cf/d5/1a1798ea4dc6b7ee3260010a27907ebc697c95dae99817d817ed446d24aa/yarl-1.25.1-cp313-cp313-musllinux_1_2_s390x.whl", hash = "sha256:ef74070ac553c59eb4f04258722066d6c6135b7baa03b2e9f2da65c096e96d98", size = 120036, upload-time = "2026-09-15T19:32:06.5Z" }, + { url = "https://files.pythonhosted.org/packages/91/8d/b1b35ed7903da6669b1d367cb2c09436acd4ff508029b4f39a0c0c2058fc/yarl-1.25.1-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:0a66db89ea473abeac4b70523cafd94db3772380e565f9d28af7a179b7af71fa", size = 117276, upload-time = "2026-09-15T19:32:09.401Z" }, + { url = "https://files.pythonhosted.org/packages/3a/8f/4db01cef62caff0d7a4593ed694fb8a41a27a11158cab80d290221f13e57/yarl-1.25.1-cp313-cp313-win_amd64.whl", hash = "sha256:1f51020b2eb8a003c84925638ec63c21a750a4bddd3a22ec8eac6a742dadf1b9", size = 101945, upload-time = "2026-09-15T19:32:11.545Z" }, + { url = "https://files.pythonhosted.org/packages/c0/5e/3ce00497c5c0babb74d4130c10c3828ccd215b4819d12020c42429f991ac/yarl-1.25.1-cp313-cp313-win_arm64.whl", hash = "sha256:b10dd0557ba422715b5206b3743192135a6022acca8baec51aa127d0a75db8fe", size = 97270, upload-time = "2026-09-15T19:32:14.127Z" }, + { 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" }, +] + +[[package]] +name = "zipp" +version = "4.1.2" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/18/05/ba1458dee0ac485b2a01071c1b88f5199fe878a485df482e10e1ef2205cc/zipp-4.1.2.tar.gz", hash = "sha256:cf474b90b07ea932637e17c6b9479de2b2882900b0d311bdaf4f5c000a15a97f", size = 27864, upload-time = "2026-10-21T18:57:04.743Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/b8/44/7bd2007260da11cccca29ba2d4c345f1287aa663db38ee7cefeabf6386a5/zipp-4.1.2-py3-none-any.whl", hash = "sha256:b30cb6cd253122169c47de245ca24a86bac2a5d3802ba15bf7ba6414eb9e144d", size = 10581, upload-time = "2026-10-21T18:57:03.79Z" }, +] diff --git a/tests/test_bird_benchmark.py b/tests/test_bird_benchmark.py new file mode 100644 index 00000000..239da2a8 --- /dev/null +++ b/tests/test_bird_benchmark.py @@ -0,0 +1,52 @@ +import sqlite3 + +import pytest + +from bench.bird.comparison import paired_metrics +from bench.bird.dataset import COHORT_PATH, manifest_metadata, selected_metadata +from bench.bird.io import ProtocolError, read_json +from bench.bird.scoring import BUDGETS, QueryFailure, calculate_ex, read_rows + + +def test_frozen_cohort_and_smoke_cases(): + cohort = read_json(COHORT_PATH) + cases = cohort["cases"] + question_ids = sorted({case["question_id"] for case in cases}) + assert len(question_ids) == 100 + assert [case["question_id"] for case in cases] == question_ids + assert len({case["db_id"] for case in cases}) == 11 + + smoke = selected_metadata(cohort, 2) + assert len({case["db_id"] for case in smoke}) == 2 + assert all(case in cases for case in smoke) + assert manifest_metadata(cohort, 2)["cases"] == smoke + with pytest.raises(ProtocolError, match="Smoke cases"): + selected_metadata(cohort, 100) + + +def test_ex_compares_sqlite_rows_and_denies_writes(tmp_path): + db = tmp_path / "fixture.sqlite" + with sqlite3.connect(db) as connection: + connection.execute("CREATE TABLE result (first INT, second INT)") + connection.executemany("INSERT INTO result VALUES (?, ?)", [(1, 2), (3, 4)]) + gold = read_rows(db, "SELECT first, second FROM result", BUDGETS) + duplicate = read_rows( + db, + "SELECT * FROM result UNION ALL SELECT * FROM result ORDER BY first DESC", + BUDGETS, + ) + swapped = read_rows(db, "SELECT second, first FROM result", BUDGETS) + assert calculate_ex(duplicate, gold) == 1 + assert calculate_ex(swapped, gold) == 0 + with pytest.raises(QueryFailure, match="sql_error"): + read_rows(db, "DELETE FROM result RETURNING *", BUDGETS) + + +def test_paired_metrics_count_changes_and_reject_misaligned_ids(): + before = [{"question_id": 1, "ex": 0}, {"question_id": 2, "ex": 1}] + after = [{"question_id": 1, "ex": 1}, {"question_id": 2, "ex": 0}] + report = paired_metrics(before, after) + assert report["delta_ex_pp"] == 0 + assert report["wrong_to_right"] == report["right_to_wrong"] == 1 + with pytest.raises(ProtocolError, match="paired by question ID"): + paired_metrics(before, after[::-1]) From fb6a4c62279459ee2f693f4cde17907eaaa258d6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EB=B0=95=EC=A0=9C=ED=98=95?= <184927314+jhpark324@users.noreply.github.com> Date: Wed, 25 Nov 2026 21:01:30 +0900 Subject: [PATCH 2/3] =?UTF-8?q?fix(bench):=20=EC=A0=9C=ED=92=88=EC=9D=98?= =?UTF-8?q?=20SQL=20=EC=83=9D=EC=84=B1=20=EB=8F=84=EA=B5=AC=EB=A5=BC=20BIR?= =?UTF-8?q?D=20=ED=8F=89=EA=B0=80=EC=97=90=20=ED=8F=AC=ED=95=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- bench/bird/README.md | 5 +- bench/bird/protocol.py | 5 +- bench/bird/runner.py | 154 +++++++++++++++++++++-------------- tests/test_bird_benchmark.py | 39 +++++++++ 4 files changed, 137 insertions(+), 66 deletions(-) diff --git a/bench/bird/README.md b/bench/bird/README.md index 33945ea5..a56d844b 100644 --- a/bench/bird/README.md +++ b/bench/bird/README.md @@ -5,7 +5,8 @@ ## 고정 프로토콜 - [표본 manifest](manifest-sqlite100.json)는 기존 벤치와 동일한 SQLite 리비전에서 evidence가 있는 365문항을 대상으로 한다. `db_id`와 난이도별 비례 몫을 최대 나머지 방식으로 정하고, 각 그룹에서 `SHA-256(20261114:question_id)`가 작은 문항을 뽑았다. 고정한 100문항에 11개 DB와 `challenging` 98건, `moderate` 2건이 포함된다. [기존 결과 PR #315](https://github.com/CausalInferenceLab/Lang2SQL/pull/315) -- **B**는 질문과 같은 사용자 메시지에 `BIRD evidence` 블록으로 원문을 전달한다. **D**는 질문에 공통 SQL 제출 지시만 붙인다. 각 문항은 새 세션과 빈 지식 저장소에서 시작한다. 제품의 `run_sql`과 `explore_schema`를 사용하며, 해당 제품이 제공하는 `review_sql`도 노출한다. +- **B**는 질문과 같은 사용자 메시지에 `BIRD evidence` 블록으로 원문을 전달한다. **D**는 질문에 공통 SQL 제출 지시만 붙인다. 각 문항은 새 세션과 빈 인메모리 지식 저장소에서 시작한다. +- 제품 도구 레지스트리에서 `run_sql`, `explore_schema`와 등록된 `enrich_schema`, `org_setup`, `term_custom`, `review_sql`을 제품의 순서와 스키마 그대로 제공한다. 컬럼 보강과 용어 등록은 해당 문항의 임시 저장소에서 이뤄진다. 도구 내부 모델 호출도 문항당 8회 예산에 포함된다. - [프로토콜 설정](protocol.py)은 모델 ID, 응답 확인용 모델 ID, 호출 설정을 고정한다. `gpt-4.1-mini-2025-04-14`와 `gpt-4.1-2025-04-14`는 OpenAI SDK 3.51.0, `gpt-6-luna`는 SDK 3.57.0과 `reasoning_effort=none`을 사용한다. Luna는 공급자의 별칭으로 지정하고 응답 모델 ID와 제공되는 `system_fingerprint`를 기록한다. [기존 런타임 설정](https://github.com/CausalInferenceLab/Lang2SQL/pull/315) - Python 3.13.14, SQLite 3.53.1, LiteLLM 1.109.1을 사용한다. SQLAlchemy와 나머지 패키지는 [잠금 파일](uv.lock)에 고정한다. 문항당 모델 호출은 8회, 출력은 호출당 4,096토큰으로 제한한다. 호출·문항·SQL 제한은 각각 120초·480초·30초이며, 채점 결과는 100,000행까지 읽는다. 각 모델은 B, D 순서로 실행하고 세 모델은 병렬로 돌린다. 조합당 동시성은 4다. - EX는 읽기 전용 SQLite에서 예측과 기준 SQL의 행 튜플 집합이 같으면 1점이다. 행 순서와 중복은 무시하고, 열 순서와 값은 유지한다. SQL 미제출과 실행 실패도 분모에 포함한다. [BIRD EX 규칙](https://github.com/bird-bench/mini_dev/blob/1c49a375e76c471e218564da3f4617513d33e371/evaluation/evaluation_ex.py#L17) @@ -60,4 +61,4 @@ bash bench/bird/matrix.sh "$CANDIDATE_TREE" "$CANDIDATE_SHA" \ ## 오프라인 스모크 -`prepare --smoke-cases 2`로 다른 DB에서 고정 문항 두 개를 준비하고 `check-gold`를 실행한다. 위의 두 `matrix.sh` 호출에 `--smoke`를 추가하고, `compare`에도 `--smoke`를 붙인다. 별도 결과 경로를 사용한다. 스크립트 응답으로 실제 제품의 스키마 조회와 SQLite 실행, 최종 SQL 제출, EX 채점, 문항 대응을 확인한다. 오프라인 결과에는 `scripted-smoke` 모드가 기록된다. +`prepare --smoke-cases 2`로 다른 DB에서 고정 문항 두 개를 준비하고 `check-gold`를 실행한다. 위의 두 `matrix.sh` 호출에 `--smoke`를 추가하고, `compare`에도 `--smoke`를 붙인다. 별도 결과 경로를 사용한다. 스크립트 응답으로 제품에 등록된 SQL 도구 호출, 최종 SQL 제출, EX 채점, 문항 대응을 확인한다. 오프라인 결과에는 `scripted-smoke` 모드가 기록된다. diff --git a/bench/bird/protocol.py b/bench/bird/protocol.py index dc49cee1..9a433159 100644 --- a/bench/bird/protocol.py +++ b/bench/bird/protocol.py @@ -17,7 +17,8 @@ BENCH_ROOT = BENCH_DIR.parents[1] CONDITIONS = ("B", "D") REQUIRED_TOOLS = ("run_sql", "explore_schema") -OPTIONAL_TOOLS = ("review_sql",) +OPTIONAL_TOOLS = ("enrich_schema", "org_setup", "term_custom", "review_sql") +SQL_TOOLS = frozenset(REQUIRED_TOOLS + OPTIONAL_TOOLS) EVIDENCE_LABEL = "BIRD evidence" INSTRUCTION = ( "\n\nNo follow-up user is available. Give the best supported answer for the " @@ -169,6 +170,8 @@ def fixed_settings(manifest: dict) -> dict: "seed": SEED, "question_order": question_order(manifest), "tool_policy": { + "registry": "product", + "case_store": "in-memory", "required": list(REQUIRED_TOOLS), "optional": list(OPTIONAL_TOOLS), }, diff --git a/bench/bird/runner.py b/bench/bird/runner.py index c18be956..6310547f 100644 --- a/bench/bird/runner.py +++ b/bench/bird/runner.py @@ -16,10 +16,10 @@ from sqlalchemy import create_engine, event from sqlalchemy.pool import NullPool -from lang2sql import tools as product_tools from lang2sql.adapters.db.sqlalchemy_explorer import SqlAlchemyExplorer from lang2sql.adapters.storage.sqlite_store import SqliteStore from lang2sql.core.identity import Identity +from lang2sql.core.types import ToolResult from lang2sql.harness.loop import agent_loop from lang2sql.harness.tool_registry import ToolRegistry from lang2sql.tenancy.concierge import ContextConcierge @@ -29,8 +29,8 @@ from .io import ProtocolError, json_digest, lock_output, read_json, write_json from .protocol import ( API_BASE, - OPTIONAL_TOOLS, REQUIRED_TOOLS, + SQL_TOOLS, Budgets, check_settings, user_text, @@ -60,85 +60,106 @@ def close(self) -> None: self._engine.dispose() -class CaseStore(SqliteStore): - """Keep case knowledge empty while allowing the product to write audit events.""" +class QueryTools: + """Use the SQL tools registered by the selected product checkout.""" - def kv_set(self, scope: str, key: str, value: str) -> None: - raise ProtocolError("Knowledge writes are disabled during inference") + def __init__(self, registry: ToolRegistry, dispatches: list[dict]): + self.registry = registry + self.dispatches = dispatches + self._specs = [spec for spec in registry.specs() if spec.name in SQL_TOOLS] + self._names = {spec.name for spec in self._specs} + if not self._names.issuperset(REQUIRED_TOOLS): + raise ProtocolError("Product registry is missing required SQL tools") - def kv_delete(self, scope: str, key: str) -> None: - raise ProtocolError("Knowledge writes are disabled during inference") - - def kv_delete_prefix(self, scope: str, prefix: str) -> int: - raise ProtocolError("Knowledge writes are disabled during inference") - - -class QueryTools(ToolRegistry): - def __init__(self): - tools = [product_tools.RunSQL(), product_tools.ExploreSchema()] - review = getattr(product_tools, "ReviewSQL", None) - if review is not None: - tools.append(review()) - super().__init__(tools) - self.dispatches = [] + def specs(self): + return list(self._specs) async def dispatch(self, name, args, ctx, call_id): - result = await super().dispatch(name, args, ctx, call_id) + if name in self._names: + result = await self.registry.dispatch(name, args, ctx, call_id) + else: + result = ToolResult(call_id, f"unknown tool: {name}", is_error=True) self.dispatches.append({"name": name, "arguments": args, **asdict(result)}) return result def scripted_transport(db: Path, response_model: str, timeout: float) -> Transport: - """Exercise actual schema, SQL and scoring paths without loading a provider.""" + """Exercise the available product SQL tools with scripted model responses.""" with closing(read_connection(db, time.monotonic() + timeout)) as connection: table = connection.execute( "SELECT name FROM sqlite_schema WHERE type='table' " "AND name NOT LIKE 'sqlite_%' ORDER BY name LIMIT 1" ).fetchone()[0] + column = connection.execute( + "SELECT name FROM pragma_table_info(?) ORDER BY cid LIMIT 1", (table,) + ).fetchone()[0] escaped_table = table.replace('"', '""') sql = f'SELECT COUNT(*) FROM "{escaped_table}"' + term = "BIRD smoke row count" + definition = "Number of rows in the selected table." + metadata = { + "columns": {f"{table}.{column}": "BIRD smoke column description."}, + "domain": "BIRD smoke", + "terms": [{"term": term, "definition": definition}], + } async def complete(**request): - tools = request.get("tools", []) + tools = {t["function"]["name"]: t["function"] for t in request.get("tools", [])} messages = request["messages"] - tool_turns = sum(message["role"] == "tool" for message in messages) - if tool_turns >= 2: - message = {"content": f"```sql\n{sql}\n```"} - finish_reason = "stop" + message = {"role": "assistant"} + finish_reason = "stop" + if not tools: + # Enrichment and setup use a standalone user prompt. SQL review + # provides a system prompt and a separate review payload. + payload = ( + metadata + if len(messages) == 1 + else {"verdict": "pass", "reason": "Scripted smoke verdict."} + ) + message["content"] = json.dumps(payload) else: - if tool_turns == 0: - name = "explore_schema" - spec = next( - tool["function"] - for tool in tools - if tool["function"]["name"] == name - ) - args = ( - {"tables": [table]} - if "tables" in spec["parameters"]["properties"] - else {"table": table} - ) + properties = tools["explore_schema"]["parameters"]["properties"] + schema = {"tables": [table]} if "tables" in properties else {"table": table} + term_args = ( + {"list": True} + if "org_setup" in tools + else {"term": term, "definition": definition} + ) + groups = [ + [ + ("enrich_schema", {"table": table}), + ("org_setup", {"team": "BIRD benchmark"}), + ("term_custom", term_args), + ], + [("explore_schema", schema)], + [("review_sql", {"sql": sql})], + [("run_sql", {"sql": sql})], + ] + available = [ + [call for call in group if call[0] in tools] for group in groups + ] + phases = [group for group in available if group] + tool_turns = sum( + bool(item.get("tool_calls")) + for item in messages + if item["role"] == "assistant" + ) + if tool_turns == len(phases): + message["content"] = f"```sql\n{sql}\n```" else: - name, args = "run_sql", {"sql": sql} - message = { - "content": None, - "tool_calls": [ + message["content"] = None + message["tool_calls"] = [ { - "id": f"scripted-{tool_turns}", + "id": f"scripted-{tool_turns}-{name}", "type": "function", "function": {"name": name, "arguments": json.dumps(args)}, } - ], - } - finish_reason = "tool_calls" + for name, args in phases[tool_turns] + ] + finish_reason = "tool_calls" raw = { "model": response_model, - "choices": [ - { - "message": {"role": "assistant", **message}, - "finish_reason": finish_reason, - } - ], + "choices": [{"message": message, "finish_reason": finish_reason}], } return SimpleNamespace(model_dump=lambda: raw) @@ -159,8 +180,8 @@ async def run_case( trace: dict = {} answer = None transcript: list[dict] = [] - tools = QueryTools() - store = CaseStore() + dispatches: list[dict] = [] + store = SqliteStore(":memory:") explorer = ReadOnlyExplorer(db, budgets.sql_timeout) def observe(wire: list[dict], specs: list[dict]) -> None: @@ -172,8 +193,8 @@ def observe(wire: list[dict], specs: list[dict]) -> None: raise ProtocolError( "First user message differs from the fixed evidence protocol" ) - names = tuple(tool["function"]["name"] for tool in specs) - if names not in (REQUIRED_TOOLS, REQUIRED_TOOLS + OPTIONAL_TOOLS): + names = {tool["function"]["name"] for tool in specs} + if not set(REQUIRED_TOOLS) <= names <= SQL_TOOLS or len(names) != len(specs): raise ProtocolError("Unexpected first-request SQL tools") trace.update( system=wire[0]["content"], @@ -217,7 +238,7 @@ async def generate() -> str: ctx.okf_bundle_dir = None if store.kv_list_prefix(identity.kv_scope, "") or ctx.session.history(): raise ProtocolError("Each case must start with an empty KV and session") - ctx.tools = tools + ctx.tools = QueryTools(ctx.tools, dispatches) try: kwargs = {"extract_final_sql": final_sql} if HAS_FINAL_SQL_HOOK else {} return await agent_loop(ctx, text, **kwargs) @@ -270,10 +291,17 @@ async def generate() -> str: f"Provider rejected the credentials or model (HTTP {call['status_code']})" ) if transport is None: - succeeded = {tool["name"] for tool in tools.dispatches if not tool["is_error"]} - if result["status"] != "predicted" or not succeeded.issuperset(REQUIRED_TOOLS): + advertised = {tool["function"]["name"] for tool in trace.get("tool_specs", [])} + succeeded = {tool["name"] for tool in dispatches if not tool["is_error"]} + missing = sorted((advertised | set(REQUIRED_TOOLS)) - succeeded) + if missing: + raise ProtocolError( + f"Smoke case {case.question_id} failed tools {', '.join(missing)}" + ) + if result["status"] != "predicted": + reason = result["failure"]["reason"] raise ProtocolError( - f"Smoke case {case.question_id} did not complete both tools and submit SQL" + f"Smoke case {case.question_id} failed to submit SQL ({reason})" ) result.update( started_at=started_at, @@ -282,7 +310,7 @@ async def generate() -> str: seconds=time.monotonic() - started, answer=answer, transcript=transcript, - tools=tools.dispatches, + tools=dispatches, ) return files.finish(result) diff --git a/tests/test_bird_benchmark.py b/tests/test_bird_benchmark.py index 239da2a8..da83bec9 100644 --- a/tests/test_bird_benchmark.py +++ b/tests/test_bird_benchmark.py @@ -5,7 +5,10 @@ from bench.bird.comparison import paired_metrics from bench.bird.dataset import COHORT_PATH, manifest_metadata, selected_metadata from bench.bird.io import ProtocolError, read_json +from bench.bird.runner import QueryTools from bench.bird.scoring import BUDGETS, QueryFailure, calculate_ex, read_rows +from lang2sql.core.types import ToolResult, ToolSpec +from lang2sql.harness.tool_registry import ToolRegistry def test_frozen_cohort_and_smoke_cases(): @@ -50,3 +53,39 @@ def test_paired_metrics_count_changes_and_reject_misaligned_ids(): assert report["wrong_to_right"] == report["right_to_wrong"] == 1 with pytest.raises(ProtocolError, match="paired by question ID"): paired_metrics(before, after[::-1]) + + +@pytest.mark.asyncio +async def test_sql_tool_filter_preserves_product_registry_and_dispatch(): + invoked = [] + + class ProbeTool: + def __init__(self, name): + self.spec = ToolSpec(name, f"Product definition for {name}") + + async def run(self, args, ctx): + invoked.append(self.spec.name) + return ToolResult("", "Product result") + + names = ( + "review_sql", + "run_sql", + "ingest_doc", + "explore_schema", + "enrich_schema", + "term_custom", + "org_setup", + ) + registry = ToolRegistry([ProbeTool(name) for name in names]) + records = [] + tools = QueryTools(registry, records) + + assert tools.specs() == [ + spec for spec in registry.specs() if spec.name != "ingest_doc" + ] + assert ( + await tools.dispatch("enrich_schema", {}, None, "1") + ).content == "Product result" + assert (await tools.dispatch("ingest_doc", {}, None, "2")).is_error + assert invoked == ["enrich_schema"] + assert [record["call_id"] for record in records] == ["1", "2"] From d926f6011c15bd94d2e82d13cb84aaa25b6178b0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EB=B0=95=EC=A0=9C=ED=98=95?= <184927314+jhpark324@users.noreply.github.com> Date: Wed, 25 Nov 2026 21:16:30 +0900 Subject: [PATCH 3/3] =?UTF-8?q?fix(bench):=20=ED=8F=89=EA=B0=80=20?= =?UTF-8?q?=EB=8C=80=EC=83=81=20=EC=A0=9C=ED=92=88=EC=9D=98=20=EC=A0=84?= =?UTF-8?q?=EC=B2=B4=20=EB=8F=84=EA=B5=AC=20=EC=82=AC=EC=9A=A9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- bench/bird/README.md | 4 +-- bench/bird/protocol.py | 8 ++--- bench/bird/providers.py | 16 ---------- bench/bird/runner.py | 61 ++++++++++++++++-------------------- tests/test_bird_benchmark.py | 35 +++++++++++++++------ 5 files changed, 57 insertions(+), 67 deletions(-) diff --git a/bench/bird/README.md b/bench/bird/README.md index a56d844b..409abe1e 100644 --- a/bench/bird/README.md +++ b/bench/bird/README.md @@ -6,7 +6,7 @@ - [표본 manifest](manifest-sqlite100.json)는 기존 벤치와 동일한 SQLite 리비전에서 evidence가 있는 365문항을 대상으로 한다. `db_id`와 난이도별 비례 몫을 최대 나머지 방식으로 정하고, 각 그룹에서 `SHA-256(20261114:question_id)`가 작은 문항을 뽑았다. 고정한 100문항에 11개 DB와 `challenging` 98건, `moderate` 2건이 포함된다. [기존 결과 PR #315](https://github.com/CausalInferenceLab/Lang2SQL/pull/315) - **B**는 질문과 같은 사용자 메시지에 `BIRD evidence` 블록으로 원문을 전달한다. **D**는 질문에 공통 SQL 제출 지시만 붙인다. 각 문항은 새 세션과 빈 인메모리 지식 저장소에서 시작한다. -- 제품 도구 레지스트리에서 `run_sql`, `explore_schema`와 등록된 `enrich_schema`, `org_setup`, `term_custom`, `review_sql`을 제품의 순서와 스키마 그대로 제공한다. 컬럼 보강과 용어 등록은 해당 문항의 임시 저장소에서 이뤄진다. 도구 내부 모델 호출도 문항당 8회 예산에 포함된다. +- 평가 대상 커밋의 기본 도구 레지스트리 전체를 제품의 순서와 스키마 그대로 제공한다. 컬럼 보강, 용어 등록과 기억은 해당 문항의 임시 저장소에 기록된다. 문서 도구에는 `ingest_doc`의 인라인 본문을 전달할 수 있다. 도구 내부 모델 호출도 문항당 8회 예산에 포함된다. - [프로토콜 설정](protocol.py)은 모델 ID, 응답 확인용 모델 ID, 호출 설정을 고정한다. `gpt-4.1-mini-2025-04-14`와 `gpt-4.1-2025-04-14`는 OpenAI SDK 3.51.0, `gpt-6-luna`는 SDK 3.57.0과 `reasoning_effort=none`을 사용한다. Luna는 공급자의 별칭으로 지정하고 응답 모델 ID와 제공되는 `system_fingerprint`를 기록한다. [기존 런타임 설정](https://github.com/CausalInferenceLab/Lang2SQL/pull/315) - Python 3.13.14, SQLite 3.53.1, LiteLLM 1.109.1을 사용한다. SQLAlchemy와 나머지 패키지는 [잠금 파일](uv.lock)에 고정한다. 문항당 모델 호출은 8회, 출력은 호출당 4,096토큰으로 제한한다. 호출·문항·SQL 제한은 각각 120초·480초·30초이며, 채점 결과는 100,000행까지 읽는다. 각 모델은 B, D 순서로 실행하고 세 모델은 병렬로 돌린다. 조합당 동시성은 4다. - EX는 읽기 전용 SQLite에서 예측과 기준 SQL의 행 튜플 집합이 같으면 1점이다. 행 순서와 중복은 무시하고, 열 순서와 값은 유지한다. SQL 미제출과 실행 실패도 분모에 포함한다. [BIRD EX 규칙](https://github.com/bird-bench/mini_dev/blob/1c49a375e76c471e218564da3f4617513d33e371/evaluation/evaluation_ex.py#L17) @@ -61,4 +61,4 @@ bash bench/bird/matrix.sh "$CANDIDATE_TREE" "$CANDIDATE_SHA" \ ## 오프라인 스모크 -`prepare --smoke-cases 2`로 다른 DB에서 고정 문항 두 개를 준비하고 `check-gold`를 실행한다. 위의 두 `matrix.sh` 호출에 `--smoke`를 추가하고, `compare`에도 `--smoke`를 붙인다. 별도 결과 경로를 사용한다. 스크립트 응답으로 제품에 등록된 SQL 도구 호출, 최종 SQL 제출, EX 채점, 문항 대응을 확인한다. 오프라인 결과에는 `scripted-smoke` 모드가 기록된다. +`prepare --smoke-cases 2`로 다른 DB에서 고정 문항 두 개를 준비하고 `check-gold`를 실행한다. 위의 두 `matrix.sh` 호출에 `--smoke`를 추가하고, `compare`에도 `--smoke`를 붙인다. 별도 결과 경로를 사용한다. 스크립트 응답으로 전체 도구 노출과 SQL 도구 호출, 최종 SQL 제출, EX 채점, 문항 대응을 확인한다. 오프라인 결과에는 `scripted-smoke` 모드가 기록된다. diff --git a/bench/bird/protocol.py b/bench/bird/protocol.py index 9a433159..024f40e7 100644 --- a/bench/bird/protocol.py +++ b/bench/bird/protocol.py @@ -16,9 +16,6 @@ BENCH_DIR = Path(__file__).resolve().parent BENCH_ROOT = BENCH_DIR.parents[1] CONDITIONS = ("B", "D") -REQUIRED_TOOLS = ("run_sql", "explore_schema") -OPTIONAL_TOOLS = ("enrich_schema", "org_setup", "term_custom", "review_sql") -SQL_TOOLS = frozenset(REQUIRED_TOOLS + OPTIONAL_TOOLS) EVIDENCE_LABEL = "BIRD evidence" INSTRUCTION = ( "\n\nNo follow-up user is available. Give the best supported answer for the " @@ -170,10 +167,9 @@ def fixed_settings(manifest: dict) -> dict: "seed": SEED, "question_order": question_order(manifest), "tool_policy": { - "registry": "product", + "registry": "product-default", "case_store": "in-memory", - "required": list(REQUIRED_TOOLS), - "optional": list(OPTIONAL_TOOLS), + "document_source": "inline", }, "instruction": INSTRUCTION, "evidence_label": EVIDENCE_LABEL, diff --git a/bench/bird/providers.py b/bench/bird/providers.py index ccfd3823..014c1cbb 100644 --- a/bench/bird/providers.py +++ b/bench/bird/providers.py @@ -74,25 +74,12 @@ async def complete_with_required_tool( ) -> Completion: return await self._complete(messages, tools, required_tool=tool_name) - async def complete_with_json_schema( - self, messages: Sequence[Message], *, name: str, schema: dict - ) -> Completion: - return await self._complete( - messages, - (), - response_format={ - "type": "json_schema", - "json_schema": {"name": name, "schema": schema, "strict": True}, - }, - ) - async def _complete( self, messages: Sequence[Message], tools: Sequence[ToolSpec], *, required_tool: str | None = None, - response_format: dict | None = None, ) -> Completion: if len(self.calls) >= self.max_calls: raise CallBudgetExhausted @@ -129,13 +116,10 @@ async def _complete( if required_tool else "auto" ) - if response_format is not None: - kwargs["response_format"] = response_format entry = { "status": "started", "usage": None, "tool_choice": kwargs.get("tool_choice"), - "response_format": response_format, } self.calls.append(entry) self.save_attempt(self.calls) diff --git a/bench/bird/runner.py b/bench/bird/runner.py index 6310547f..a3492ec6 100644 --- a/bench/bird/runner.py +++ b/bench/bird/runner.py @@ -19,28 +19,28 @@ from lang2sql.adapters.db.sqlalchemy_explorer import SqlAlchemyExplorer from lang2sql.adapters.storage.sqlite_store import SqliteStore from lang2sql.core.identity import Identity -from lang2sql.core.types import ToolResult from lang2sql.harness.loop import agent_loop from lang2sql.harness.tool_registry import ToolRegistry +from lang2sql.ingestion import FileSource from lang2sql.tenancy.concierge import ContextConcierge from lang2sql.tenancy.encrypted_secrets import EncryptedSecrets from .dataset import Case from .io import ProtocolError, json_digest, lock_output, read_json, write_json -from .protocol import ( - API_BASE, - REQUIRED_TOOLS, - SQL_TOOLS, - Budgets, - check_settings, - user_text, -) +from .protocol import API_BASE, Budgets, check_settings, user_text from .providers import CallBudgetExhausted, MeasuredLLM, ModelCallError, Transport from .records import CaseFiles from .sqlite import read_connection, set_deadline from .submissions import SubmissionError, final_sql HAS_FINAL_SQL_HOOK = "extract_final_sql" in inspect.signature(agent_loop).parameters +SCRIPTED_SQL_TOOLS = { + "run_sql", + "explore_schema", + "enrich_schema", + "org_setup", + "term_custom", +} class ReadOnlyExplorer(SqlAlchemyExplorer): @@ -60,25 +60,27 @@ def close(self) -> None: self._engine.dispose() -class QueryTools: - """Use the SQL tools registered by the selected product checkout.""" +class InlineDocumentSource(FileSource): + """Accept the document content from the case without resolving file paths.""" + + async def fetch(self, ref: str, blob: bytes | None = None): + if blob is None: + raise ValueError("BIRD document input requires inline content") + return await super().fetch(ref, blob) + + +class TracedTools: + """Expose the product registry and record its dispatch results.""" def __init__(self, registry: ToolRegistry, dispatches: list[dict]): self.registry = registry self.dispatches = dispatches - self._specs = [spec for spec in registry.specs() if spec.name in SQL_TOOLS] - self._names = {spec.name for spec in self._specs} - if not self._names.issuperset(REQUIRED_TOOLS): - raise ProtocolError("Product registry is missing required SQL tools") def specs(self): - return list(self._specs) + return self.registry.specs() async def dispatch(self, name, args, ctx, call_id): - if name in self._names: - result = await self.registry.dispatch(name, args, ctx, call_id) - else: - result = ToolResult(call_id, f"unknown tool: {name}", is_error=True) + result = await self.registry.dispatch(name, args, ctx, call_id) self.dispatches.append({"name": name, "arguments": args, **asdict(result)}) return result @@ -109,14 +111,7 @@ async def complete(**request): message = {"role": "assistant"} finish_reason = "stop" if not tools: - # Enrichment and setup use a standalone user prompt. SQL review - # provides a system prompt and a separate review payload. - payload = ( - metadata - if len(messages) == 1 - else {"verdict": "pass", "reason": "Scripted smoke verdict."} - ) - message["content"] = json.dumps(payload) + message["content"] = json.dumps(metadata) else: properties = tools["explore_schema"]["parameters"]["properties"] schema = {"tables": [table]} if "tables" in properties else {"table": table} @@ -132,7 +127,6 @@ async def complete(**request): ("term_custom", term_args), ], [("explore_schema", schema)], - [("review_sql", {"sql": sql})], [("run_sql", {"sql": sql})], ] available = [ @@ -193,9 +187,6 @@ def observe(wire: list[dict], specs: list[dict]) -> None: raise ProtocolError( "First user message differs from the fixed evidence protocol" ) - names = {tool["function"]["name"] for tool in specs} - if not set(REQUIRED_TOOLS) <= names <= SQL_TOOLS or len(names) != len(specs): - raise ProtocolError("Unexpected first-request SQL tools") trace.update( system=wire[0]["content"], user=wire[1]["content"], @@ -234,11 +225,13 @@ async def generate() -> str: max_turns=budgets.max_calls, secrets=EncryptedSecrets(store, key=Fernet.generate_key()), ) + # The product registry wires this document source during context assembly. + concierge._source = InlineDocumentSource() ctx = await concierge.build_context(identity) ctx.okf_bundle_dir = None if store.kv_list_prefix(identity.kv_scope, "") or ctx.session.history(): raise ProtocolError("Each case must start with an empty KV and session") - ctx.tools = QueryTools(ctx.tools, dispatches) + ctx.tools = TracedTools(ctx.tools, dispatches) try: kwargs = {"extract_final_sql": final_sql} if HAS_FINAL_SQL_HOOK else {} return await agent_loop(ctx, text, **kwargs) @@ -293,7 +286,7 @@ async def generate() -> str: if transport is None: advertised = {tool["function"]["name"] for tool in trace.get("tool_specs", [])} succeeded = {tool["name"] for tool in dispatches if not tool["is_error"]} - missing = sorted((advertised | set(REQUIRED_TOOLS)) - succeeded) + missing = sorted((advertised & SCRIPTED_SQL_TOOLS) - succeeded) if missing: raise ProtocolError( f"Smoke case {case.question_id} failed tools {', '.join(missing)}" diff --git a/tests/test_bird_benchmark.py b/tests/test_bird_benchmark.py index da83bec9..9f2dbad5 100644 --- a/tests/test_bird_benchmark.py +++ b/tests/test_bird_benchmark.py @@ -5,7 +5,7 @@ from bench.bird.comparison import paired_metrics from bench.bird.dataset import COHORT_PATH, manifest_metadata, selected_metadata from bench.bird.io import ProtocolError, read_json -from bench.bird.runner import QueryTools +from bench.bird.runner import InlineDocumentSource, TracedTools from bench.bird.scoring import BUDGETS, QueryFailure, calculate_ex, read_rows from lang2sql.core.types import ToolResult, ToolSpec from lang2sql.harness.tool_registry import ToolRegistry @@ -56,7 +56,7 @@ def test_paired_metrics_count_changes_and_reject_misaligned_ids(): @pytest.mark.asyncio -async def test_sql_tool_filter_preserves_product_registry_and_dispatch(): +async def test_traced_tools_preserve_all_product_specs_and_dispatch(): invoked = [] class ProbeTool: @@ -68,24 +68,41 @@ async def run(self, args, ctx): return ToolResult("", "Product result") names = ( - "review_sql", + "registered_extension", "run_sql", "ingest_doc", "explore_schema", "enrich_schema", "term_custom", "org_setup", + "ask_user", + "remember", + "confirm_ingest", ) registry = ToolRegistry([ProbeTool(name) for name in names]) records = [] - tools = QueryTools(registry, records) + tools = TracedTools(registry, records) - assert tools.specs() == [ - spec for spec in registry.specs() if spec.name != "ingest_doc" - ] + assert tools.specs() == registry.specs() assert ( await tools.dispatch("enrich_schema", {}, None, "1") ).content == "Product result" - assert (await tools.dispatch("ingest_doc", {}, None, "2")).is_error - assert invoked == ["enrich_schema"] + assert ( + await tools.dispatch("ingest_doc", {"content": "Definition"}, None, "2") + ).content == "Product result" + assert invoked == ["enrich_schema", "ingest_doc"] assert [record["call_id"] for record in records] == ["1", "2"] + + +@pytest.mark.asyncio +async def test_benchmark_document_source_uses_inline_content(tmp_path): + ref = tmp_path / "document.txt" + ref.write_text("Content outside the question", encoding="utf-8") + source = InlineDocumentSource() + + with pytest.raises(ValueError, match="requires inline content"): + await source.fetch(str(ref)) + document = await source.fetch(str(ref), b"Content within the question") + assert document.name == "document.txt" + assert document.text == "Content within the question" + assert document.source_id == str(ref)