Skip to content

integrate-ui 0.2.0

Choose a tag to compare

@cultpenguin cultpenguin released this 27 Nov 12:17
· 21 commits to main since this release

integrate-ui 0.2.0

New: the Ask tab (replaces Decision, ADR-0018)

  • Ask a question about a posterior in plain words and get a probabilistic answer in one click: the AI model translates it with integrate.query_from_text, and integrate.query evaluates it.
  • Two panes: "Your question" and "How the AI understood it". "Run the query automatically" is on by default.
  • Probability answers are shown as a map (hot_r, 0 to 1, as query_plot). Percentile answers are shown as P5/P50/P95 maps (viridis, one shared scale, as query_percentile_plot).
  • One app-wide AI model setting, folded by default:
    • an API key in the environment is used first, then a local Ollama model;
    • a typed key stays in memory only and is never shown again;
    • a small green/yellow/red light shows the connection status.
  • The query JSON is editable: run it without an AI call, Save it, and Load it (the save_query format).
  • The earlier area, volume and comparison steps are kept, folded under "Next steps".

Backend

  • New job kinds llm_test (query_test_llm) and percentile (per-sounding percentile maps).
  • New route GET /api/llm.
  • Structured translation failures and field-level 422 errors.

Also

  • Golden tests for the answer maps against the library figures.
  • CI is green again. The e2e suites follow the posterior-only UI; the New-prior specs are skipped while New prior is hidden.

🤖 Generated with Claude Code