Skip to content

Commit 709c800

Browse files
Pigbibicodex
andcommitted
chore: add qsl compat metadata and compatibility tests
Co-Authored-By: Codex <noreply@openai.com>
1 parent d2daac8 commit 709c800

3 files changed

Lines changed: 105 additions & 0 deletions

File tree

qsl.toml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
[qsl]
2+
repo = "PoliticalEventTrackingResearch"
3+
tier = "research"
4+
ring = 2
5+
allow_legacy = false
6+
7+
[qsl.compat]
8+
bundle = "2026.07.0"

tests/test_qsl_metadata.py

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
"""Minimal QSL compat metadata smoke tests."""
2+
3+
from __future__ import annotations
4+
5+
from pathlib import Path
6+
import tomllib
7+
8+
9+
def test_qsl_metadata_has_compat_bundle() -> None:
10+
path = Path(__file__).resolve().parents[1] / "qsl.toml"
11+
with path.open("rb") as f:
12+
data = tomllib.load(f)
13+
14+
qsl = data["qsl"]
15+
assert qsl["tier"] == "research"
16+
assert qsl["ring"] == 2
17+
assert qsl.get("repo") == "PoliticalEventTrackingResearch"
18+
compat = qsl["compat"]
19+
assert compat["bundle"] == "2026.07.0"

uv.lock

Lines changed: 78 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)