WikiStar / api.py

Commit History

14 days ago

  1. TEMP: log summary cache hits/misses (revert after testing)

    b608171

17 days ago

  1. Use Wikistar name consistently

    23c2321
  2. Single default model (gpt-5-mini); reject models outside the supported list

    c9d726b
  3. Time out stalled/overlong classification jobs; bound frontend results polling

    212d0e1

18 days ago

  1. Use lifespan for startup hook; add_event_handler removed in Starlette 1.x

    316e7e0
  2. Scope classification runs to per-job IDs

    8ae67fe
  3. Accurate API key notice; redact keys from logs and error traces

    b01f62d
  4. Server decides server-key use: demo-only, gpt-5-mini allow-list, global rate caps, bundled explanations; default gpt-5-mini

    9db2911
  5. Limit free demo summaries to 25 per browser; prompt for OpenAI key at limit

    960d402

  1. Trim comments; server-key gate, usage log, store=True for retrievable summaries

    ef6610c

  1. Require user API key for pipeline + generated-page summaries; keep secret for demo summaries; add OpenAI key guide link

    7d06b63

  1. By-section 'All edit types' cell click: one combined summary of all edits, not per-label

    cea1ff8
  2. Substitute {PAGE_NAME} with article name in summary prompt and legend tooltips

    419d22f
  3. Hide structural sections (See also, Further reading, External links, References, Other sources, Resources) from aggregated views and summaries

    e85174b

  1. grouped_idx: chain rows via linker's (rev_id, section) pointers

    ee0123b
  2. Rename identity-card metrics; ship User column for editor count

    39c371f

  1. Add TLDR to evolution summary (prompt + UI)

    9918584

  1. Add Artificial intelligence demo with evolution summary

    e498a75
  2. Add Artificial intelligence as a fifth demo (slimmed CSV, centered tile)

    43a67a2
  3. Redesign landing page; fall back to Space's OPENAI_API_KEY secret

    e0f155a
  4. Summaries: bullets + bottom line moved to top

    e785a63
  5. Summarization uses gpt-5.4 unconditionally; inference unchanged

    9bfb03f
  6. Render evolution summary as markdown with Show more; rewrite case-study texts

    2e9ff7a
  7. Wire evolution summaries for Ising model, Vaccine, and Chaos theory demos

    3690b9d
  8. Send all matched snippets to /summarize (drop MAX_SNIPPETS cap)

    6b9cbcd
  9. Add Ising model, Vaccine, and Chaos theory case-study demos

    4469420
  10. Summarize a label across all periods (Over-Time toolbar + stepper panel)

    dd0537a
  11. Constrain summaries to evidence matching the label definition

    e99a192
  12. Summaries: bold evidence + bottom-line sentence, anchored to taxonomy definition

    3a38a8b
  13. Demo: collapse slim/heavy split into a single LFS-tracked CSV loaded at startup

    b8fde83
  14. Demo: split heavy text columns into a lazy-loaded gzipped CSV (Edits table + download), keeping slim file fast for charts and summaries

    88269cc

  1. Restore /demo, /summarize, SPA mount lost in a04ea44; keep label 11 renumber

    bac064e
  2. Drop taxonomy label 11; renumber 'None of the above' from 12 to 11

    a04ea44

  1. Add Section evolution tab (debuts + renames per period)

    16281d1

  1. Add CSV+summary upload path with hybrid client-side parsing

    2e7e94d
  2. Add download buttons for evolution summary and classified CSV

    9a854d1

  1. Add per-page evolution summary (label 1/6) shown at top of results

    64770a6

  1. Drop temperature param from /summarize: not supported by GPT-5 family

    9edc39e
  2. Add interactive edit summaries: /summarize endpoint + click-to-summarize panel

    d48df32

  1. Speed up /demo: gzip, slim payload, in-memory cache

    0e1ff55
  2. Swap demo from Circadian rhythm to CRISPR

    12da8b8
  3. Add Circadian Rhythm demo: GET /demo endpoint + 'View Demo' button

    cf67f2a

  1. Add grouped_idx + interactive edits-over-time, heatmap, and co-occurrence charts

    16b0322

  1. Per-instance OpenAI client + per-call temp JSONL; remove os.environ mutation

    a98a573
  2. Add .gitignore

    d1d57e3