Spaces:
Running
Running
Commit History
10 days ago
-
feat(feed): session share, one-save interests, silhouette interest count; Ask, plain terms, ops digest (audit F4, F19, F27, F20, F21, F25)
siddhm11 +1: Claude Opus 5.5- F4: interests and the session supplement share one scale (fusion.group_weights) in MMR budgets and quota enforcement: [39, 19, 2] -> [33, 17, 10] slots. - F19: one save runs the interest path; Tiers 2/3 are fallbacks. - F27: interest count = Ward cut with the best silhouette, one below 0.12. Real-vector check: exact count 30% -> 67%, mean miscount 1.59 -> 0.58. - F20: Ask prompt a2 (the paper's own limitations, no anchors); leaked LaTeXML ids removed from answers. - F21: plain_prewarm writes "In plain terms" for starter first pages and trending papers, 150 a day. - F25: ops_daily digest (errors per module, boots, p95s), replicated; errors in /healthz/runtime; last 7 days on /admin/feed. Doc 06 changelog 2026-11-13; CLAUDE.md §3.3 updated. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>e7857b3
16 days ago
-
feat(ask): record a question as an `ask` interaction (paper id only)
siddhm11 +1: Claude Opus 5.5Asking about a paper means the reader is working through it, so it now writes one `ask` interaction, before the answer so a failed answer still counts. The question text is still stored nowhere: the privacy test now checks both ask_log and interactions for it. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>fa71044
-
fix(ask): fetch the paper's text before answering; don't cache abstract-only
siddhm11 +1: Claude Opus 5.5Ask read the same local-only text as the briefing. After a deploy it answered from the abstract alone, and a suggested question's answer was then cached for every reader. It now fetches the text first when this container lacks it, does not cache an answer written without it when the paper has paragraphs, and skips such a cached answer if one exists. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>ce7c67e
-
feat(ai-usage): count cache use and answer quality per feature, per day
siddhm11 +1: Claude Opus 5.5Calls alone don't say how well the AI did. ai_daily keeps one number per UTC day, feature and metric, replicated: explain cache_hit, cache_miss, written, trimmed, declined search_rewrite skipped (already academic), rewritten, unchanged, discarded search_overview shown, trimmed, empty briefing cache_hit, cache_miss, ok, insufficient, failed, busy, points_dropped (by the number and anchor checks) ask cache_hit, cache_miss (suggested questions), answer, unanswerable, nosupport, cap, busy, error, quotes_kept, quotes_dropped, cites_dropped any feature reported (Report a problem) ai_usage.count() only adds to a dict; a loop owned by the app lifespan writes the counts every minute and on shutdown, each row rewritten whole so turso_sync pushes it, and keeps them if a write fails. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>94b838e
-
feat(ask): answer questions from the paper's own paragraphs
siddhm11 +1: Claude Opus 5.5POST /api/papers/<id>/ask picks passages with no model: the abstract, any figure or table the question names with the paragraphs citing it, and the top 8 paragraphs by BM25 in plain Python, with word hints for the suggested questions. The model drafts JSON; code keeps only quotes that match a cited paragraph word for word (NFKC, plain punctuation, whitespace and TeX dollars ignored) and shows the paper's own words for them, only cites that were sent, and swaps in a no-support message for any answer with an unfound number or no valid cite. Suggested questions are cached per paper and their text is always the server's own; free-form ones are not cached. A daily cap per reader, rate limit and the model budget each have their own message. Logs keep counts, never question text, and Ask never writes interactions. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>b627658