Skip to content

Commit 4523c8e

Browse files
committed
Adopt canonical tech snapshot contract version
1 parent ca6cae8 commit 4523c8e

3 files changed

Lines changed: 9 additions & 9 deletions

File tree

requirements.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
flask
22
gunicorn
3-
quant-platform-kit @ git+https://github.com/QuantStrategyLab/QuantPlatformKit.git@v0.7.10
4-
us-equity-strategies @ git+https://github.com/QuantStrategyLab/UsEquityStrategies.git@v0.7.13
3+
quant-platform-kit @ git+https://github.com/QuantStrategyLab/QuantPlatformKit.git@v0.7.11
4+
us-equity-strategies @ git+https://github.com/QuantStrategyLab/UsEquityStrategies.git@v0.7.14
55
pandas
66
numpy
77
requests

tests/test_feature_snapshot_service.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -95,9 +95,9 @@ def test_load_feature_snapshot_guarded_requires_manifest_when_requested(self):
9595
run_as_of="2026-04-01",
9696
required_columns=("as_of", "symbol", "sector", "mom_6_1"),
9797
require_manifest=True,
98-
expected_strategy_profile="tech_pullback_cash_buffer",
98+
expected_strategy_profile="qqq_tech_enhancement",
9999
expected_config_name="tech_pullback_cash_buffer",
100-
expected_contract_version="tech_pullback_cash_buffer.feature_snapshot.v1",
100+
expected_contract_version="qqq_tech_enhancement.feature_snapshot.v1",
101101
)
102102

103103
self.assertIsNone(result.frame)
@@ -135,10 +135,10 @@ def test_load_feature_snapshot_guarded_validates_manifest_checksums(self):
135135
run_as_of="2026-04-01",
136136
required_columns=("as_of", "symbol", "sector", "mom_6_1"),
137137
require_manifest=True,
138-
expected_strategy_profile="tech_pullback_cash_buffer",
138+
expected_strategy_profile="qqq_tech_enhancement",
139139
expected_config_name="tech_pullback_cash_buffer",
140140
expected_config_path=str(config_path),
141-
expected_contract_version="tech_pullback_cash_buffer.feature_snapshot.v1",
141+
expected_contract_version="qqq_tech_enhancement.feature_snapshot.v1",
142142
)
143143

144144
self.assertIsNotNone(result.frame)
@@ -211,10 +211,10 @@ def fake_download(uri: str, destination: Path) -> None:
211211
run_as_of="2026-04-01",
212212
required_columns=("as_of", "symbol", "sector", "mom_6_1"),
213213
require_manifest=True,
214-
expected_strategy_profile="tech_pullback_cash_buffer",
214+
expected_strategy_profile="qqq_tech_enhancement",
215215
expected_config_name="tech_pullback_cash_buffer",
216216
expected_config_path=str(config_path),
217-
expected_contract_version="tech_pullback_cash_buffer.feature_snapshot.v1",
217+
expected_contract_version="qqq_tech_enhancement.feature_snapshot.v1",
218218
)
219219

220220
self.assertIsNotNone(result.frame)

tests/test_strategy_loader.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ def test_load_strategy_runtime_adapter_for_profile_resolves_tech_pullback_cash_b
6565
assert adapter.status_icon == "🧲"
6666
assert adapter.available_inputs == frozenset({"feature_snapshot"})
6767
assert adapter.require_snapshot_manifest is True
68-
assert adapter.snapshot_contract_version == "tech_pullback_cash_buffer.feature_snapshot.v1"
68+
assert adapter.snapshot_contract_version == "qqq_tech_enhancement.feature_snapshot.v1"
6969

7070

7171
def test_load_strategy_runtime_adapter_for_profile_resolves_global_etf_rotation_inputs(monkeypatch):

0 commit comments

Comments
 (0)