Commit 76b576b
test(temporal): make always-true-filter recall comparison order-insensitive
The unfiltered-vs-filtered recall equivalence test compared ordered key
lists across two calls, but the first (unfiltered) call reinforces both
hits — legitimately changing the ranking inputs (retrieval_count,
last_accessed_unix_ms) before the second call — and the final ORDER BY
tie-break is id ASC over random UUIDs. Post-rebase onto schema-v8 main
this flaked roughly half the time (creation crossing a millisecond
boundary + unlucky UUID order). The invariant under test is membership,
not order: compare sorted key sets.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>1 parent a76636e commit 76b576b
1 file changed
Lines changed: 9 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3087 | 3087 | | |
3088 | 3088 | | |
3089 | 3089 | | |
| 3090 | + | |
| 3091 | + | |
| 3092 | + | |
| 3093 | + | |
| 3094 | + | |
3090 | 3095 | | |
3091 | | - | |
| 3096 | + | |
3092 | 3097 | | |
3093 | 3098 | | |
3094 | 3099 | | |
3095 | 3100 | | |
3096 | | - | |
| 3101 | + | |
| 3102 | + | |
| 3103 | + | |
3097 | 3104 | | |
3098 | 3105 | | |
3099 | 3106 | | |
| |||
0 commit comments