Skip to content

Atlas search: recency-ranked suggestions (the Curry wart) - #91

Merged
jcdavis131 merged 3 commits into
masterfrom
scout/atlas-search-recency
Oct 18, 2026
Merged

jcdavis131 merged 3 commits into
masterfrom
scout/atlas-search-recency

Conversation

@jcdavis131

Copy link
Copy Markdown
Owner

Fixes the known atlas search wart: suggestions were capped at 8 in chronological file order, so 'Curry' surfaced only Dell/Michael Curry seasons and Stephen required typing his full name.

The old comparator only ordered identical names; everything else kept file order. Ranking is now: match tier (name-start/word-start before substring), then most recent season first, then name.

Browser-verified against a local serve: 'Curry' → Stephen Curry 2025–26 first (Seth interleaved by recency, as a surname search should); 'Dell' → Dellavedova's recent seasons, Dell Curry one more letter away; no page errors.

The suggestion sort only ordered identical names and left everything
else in index order — and the index is chronological, so a surname
query filled all 8 slots with the oldest namesakes: 'Curry' showed
Dell and Michael Curry seasons and never Stephen. Now: match tier
(name/word-start before substring), then most recent season first,
then name. Verified in a browser: 'Curry' now leads with Stephen
Curry 2025-26; 'Dell' and 'Jordan' behave consistently; no page
errors.
@vercel

vercel Bot commented Oct 13, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
vector-hoops Ready Ready Preview Oct 18, 2026 2:10am UTC

Request Review

@cursor cursor Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved. Cursor Bugbot was not present after the first checks poll, so that signal was skipped, and no other configured review signal or approval policy required human review. No reviewers were assigned.

Open in Web View Automation 

Sent by Cursor Approval Agent: Pull Request Router and Approver

- scripts: take master's ruff-clean pathlib versions (#92, CI-validated)
- index.html/public/index.html: keep master's deferred footer scripts (#93),
  re-stamp atlas-map.js token for the recency change
@jcdavis131
jcdavis131 merged commit d1976a8 into master Oct 18, 2026
7 of 8 checks passed
jcdavis131 pushed a commit that referenced this pull request Oct 18, 2026
…cohesion-redesign

Conflict resolutions:
- assets/insights.json: #95's kicker taxonomy kept on 17 cards; payroll-per-win
  card takes master's reviewed 4-season rebuild (title/lede/rows/viz/foot)
- assets/insights.js: keep #95's card numbering (NUM_BY_SLUG) + #94's seasons
  viz renderer; KICKER_THEMES unioned to cover both taxonomies
- insights.html/index.html: token-only conflicts, re-stamped
All repo gates pass: stamp_assets, sync_public, ruff, site facts, a11y, contrast.

This branch was successfully deployed

1 active deployment
Preview — 850b65c6 Deployed Oct 18, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant