Compare commits
2
Commits
531f69e65a
...
24d66f706e
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
24d66f706e | ||
|
|
d20e76a000 |
No files matched your search
@@ -203,7 +203,7 @@ if p.is_file():
|
|||||||
fi
|
fi
|
||||||
run_checked "hs-readme-sync --install-hooks" "${PYTHON_BIN}" -m hyperstitionstud_io.publishing.readme_sync --install-hooks
|
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-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 "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-db-build (--build)" "${PYTHON_BIN}" -m hyperstitionstud_io.db.sqlite_meta --build
|
||||||
run_checked "hs-doctor" "${PYTHON_BIN}" -m hyperstitionstud_io.ci.doctor
|
run_checked "hs-doctor" "${PYTHON_BIN}" -m hyperstitionstud_io.ci.doctor
|
||||||
|
|||||||
@@ -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 all(re.match(r"^\d{4}-\d{2}-\d{2}$", d) for d in ts_full["dates_utc"])
|
||||||
assert len(ts_full["instruments"]) == 24
|
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")
|
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["data_available"] is False
|
||||||
assert anthr_ts["available_trading_days"] == 0
|
assert anthr_ts["available_trading_days"] == 0
|
||||||
|
|||||||
Reference in new issue
Block a user