Repository navigation
Helios Collective v0.2.1
A small fix release for the web UI introduced in v0.2.0. It came out of hands-on testing in the browser, and makes the result view more honest and easier to trust.
Fixes
- Honest result labeling: the result no longer shows a green "completed" just because the run finished and its records verify. It now says answered (green) only when every research question was answered, partly answered (yellow) when some were, and not answered when none were. For example, a question about Bangkok in offline mode answers where Bangkok is, but has no recorded climate data, so it is now shown as partly answered instead of completed.
- Per-research-question summary: the result shows how many research questions were answered and names the ones that were not, e.g. "1 of 3 answered (RQ2 failed, RQ3 failed)". The API adds this as
completeandquestions(each question's id, kind, status and notes) in theGET /inquiry/{run_id}result. The existingokfield keeps its meaning: the run finished and its provenance verifies. - No lone English tab: the language tabs are hidden again when there is no translation. A CSS rule had overridden the
hiddenattribute. - Run links restore the question: opening a run from its link (
/#run_…) now fills the question box and the Enable debate and Thai locale options from that run, so the form matches the result on screen.
How to run the web UI
uv sync --locked
make webThen open http://127.0.0.1:8000. make web runs offline from the recorded NASA POWER and OpenAlex responses, so no API keys are needed. For live data, run uv run python -m helios_api.
Testing
The test suite has 211 tests: 209 pass, and 2 need a live PostgreSQL and are skipped otherwise. A new API test covers a partly answered run. The fixes were also checked by hand in a browser.
Known limitations
The limitations listed for v0.2.0 still apply. The Docker Compose web service is untested, run status is kept in memory, and the API has no authentication. See STATUS.md.
Full changelog: v0.2.0...v0.2.1