File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ [qsl ]
2+ repo = " QuantAdvisorResearch"
3+ tier = " research"
4+ ring = 2
5+ allow_legacy = false
6+ artifact_contract = " docs/advisory_contract.md"
7+ snapshot_contract = " docs/architecture.md"
8+
9+ [qsl .compat ]
10+ bundle = " 2026.07.0"
Original file line number Diff line number Diff line change 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" ) == "QuantAdvisorResearch"
18+ compat = qsl ["compat" ]
19+ assert compat ["bundle" ] == "2026.07.0"
20+ assert qsl .get ("artifact_contract" ) == "docs/advisory_contract.md"
21+ assert qsl .get ("snapshot_contract" ) == "docs/architecture.md"
You can’t perform that action at this time.
0 commit comments