Task ID: top10-pad-2026-05-06 Layer: Atlas (homepage spotlight + Atom feed) Date: 2026-05-06
https://scidex.ai was rendering only 1 row in the homepage "Top 10 of the
Week" spotlight. Same for the /feed/top10 Atom feed.
Root cause: both queries used a PARTITION BY domain ... WHERE rn = 1
window, which caps the result to one hypothesis per domain. All 32
hypotheses created in the past 7 days share domain = 'neurodegeneration',
so the strict per-domain dedup collapsed the list to a single entry.
-- before
SELECT ... FROM ranked WHERE rn = 1 ORDER BY composite_score DESC LIMIT 10api.py (homepage spotlight ~L39243, feed /feed/top10 ~L39738):
WHERE rn = 1. Order by(rn ASC, composite_score DESC) then LIMIT 10. When many domains exist,EARLIER badge in theapi.py — homepage Top 10 of the Week block (soft diversity + pad +/feed/top10 Atom feed (soft diversity + pad).python3 -c "import ast; ast.parse(open('api.py').read())" → OK/ should show 10 rows; padded rows taggedEARLIER. /feed/top10 should emit 10 <entry> elements.