7 Commits

Author SHA1 Message Date
faligam
56d6415e68 fix(crawler): prioritize usable source retrieval over equal byte splits
Fetch candidate pages sequentially with the full remaining download budget instead of dividing a quick run's 500 KB equally across every URL. This avoids aborting otherwise readable pages at roughly 33 KB before claim extraction can inspect them.

Account for bytes consumed by failed downloads, preserve fetch errors in source responses, and fail runs with no successfully extracted document using an actionable error. Keep attempted sources on failed runs for diagnostics and cover the allocation and no-usable-source paths with regression tests.
2026-09-07 14:04:48 +02:00
faligam
610c716a97 feat(pipeline): produce evidence scores and complete fallback reports
Connect source-independence analysis and Stage 8 evidence scoring to the research orchestrator so completed runs retain a transparent score for every extracted claim. Forward those scores into Stage 9's evidence package, allowing synthesis to reason from actual provenance and exposing them through the research API.

Replace the previously technical-only synthesis fallback with the report contract consumed by the UI: a summary, source statistics, methodology, and provenance-preserving uncertain findings. Add regression coverage for score generation, score hand-off to Stage 9, report methodology, and visible fallback findings; record the healthy container deployment in the hand-off.
2026-09-07 13:45:16 +02:00
faligam
dc285d80bd fix research result handoff and synthesis provenance 2026-09-07 13:21:33 +02:00
faligam
e483c4d13f fix search runs with empty results 2026-09-07 12:46:06 +02:00
faligam
5f237d535f Fix research pipeline budget tracking 2026-09-07 11:56:13 +02:00
faligam
a5324d3971 Fix research pipeline runtime failures 2026-09-07 11:16:36 +02:00
faligam
e5b7d90436 Fix research pipeline provider failures 2026-09-06 18:32:42 +02:00