Compare commits

..
2 Commits
2 changed files with 11 additions and 1 deletions

No files matched your search

+1 -1
View File
@@ -203,7 +203,7 @@ if p.is_file():
fi
run_checked "hs-readme-sync --install-hooks" "${PYTHON_BIN}" -m hyperstitionstud_io.publishing.readme_sync --install-hooks
run_checked "hs-deploy-scripts-sync --check" "${PYTHON_BIN}" -m hyperstitionstud_io.ci.deploy_scripts_sync --workspace-root "${REPOS_ROOT}" --check
run_checked "hs-closeups-sync --check" "${PYTHON_BIN}" -m hyperstitionstud_io.publishing.closeups_sync --check
run_checked "hs-closeups-sync" "${PYTHON_BIN}" -m hyperstitionstud_io.publishing.closeups_sync
run_checked "version_sync --check" "${PYTHON_BIN}" -m hyperstitionstud_io.version_sync --check
run_checked "hs-db-build (--build)" "${PYTHON_BIN}" -m hyperstitionstud_io.db.sqlite_meta --build
run_checked "hs-doctor" "${PYTHON_BIN}" -m hyperstitionstud_io.ci.doctor
+10
View File
@@ -319,6 +319,16 @@ def test_ipld_quant_and_mcp_server() -> None:
assert all(re.match(r"^\d{4}-\d{2}-\d{2}$", d) for d in ts_full["dates_utc"])
assert len(ts_full["instruments"]) == 24
# Strict regression check: Ensure all dates present in real market history are fully covered in dates_utc
from hyperstitionstud_io.quant.timeseries import _load_real_market_history_bars
cfg_test = load_workspace_config()
real_hist_test = _load_real_market_history_bars(cfg_test)
history_dates = set()
for sym_obj in real_hist_test.values():
history_dates.update(sym_obj.keys())
for d in history_dates:
assert d in ts_full["dates_utc"], f"Regression: Real history date {d} missing from timeseries dates_utc!"
anthr_ts = next(x for x in ts_full["instruments"] if x["symbol"] == "ANTHR-PVT")
assert anthr_ts["data_available"] is False
assert anthr_ts["available_trading_days"] == 0