Make search_help tie-break explicit: returns, shipping, warranty, then by id
main·
No checks reported
Commit
Ranking ties previously fell back to articles.json order, which put payments first in every tied slot. Equal scores now prefer the core policy articles (returns, shipping, warranty) and order the rest by article id, independent of file order. articles.json is reordered to match.
Only tied filler slots change; every top result in the policy baseline is unchanged. The baseline is updated accordingly, and a new test pins the top result for the return/shipping/warranty/payment questions, checks the ranking is unchanged when articles.json order is reversed, and keeps address-change and international-shipping out of the top 3.
Co-Authored-By: Claude Opus 5.5 noreply@anthropic.com Entire-Checkpoint: 01M4KRQDT8658YEW243Z1TC18P