Commit 4126620
authored
test: add cloud integration tests for Search API RRF and GroupBy (#483)
* docs(17): capture phase context
* docs(state): record phase 17 context session
* docs(17): research phase domain
* docs(phase-17): add validation strategy
* docs(17): create phase plan
* fix(17): revise plan based on checker feedback
* test(17-01): add TestCloudClientSearchRRF with dense+sparse smoke and weighted subtests
- RRF smoke test verifies dense+sparse KNN fusion returns quantum docs first
- Weight/k test verifies different configurations produce different score slices
* test(17-01): add TestCloudClientSearchGroupBy with MinK and MaxK subtests
- MinK test verifies per-group cap of 2 using sr.RowGroups() iteration
- MaxK test verifies per-group cap of 2 with numeric priority metadata
* docs(17-01): complete cloud RRF and GroupBy test coverage plan
- SUMMARY.md with self-check passed
- STATE.md updated with phase 17 plan 01 completion
- ROADMAP.md updated with phase 17 progress
* test(17): persist human verification items as UAT
* docs(phase-17): complete phase execution
* docs(phase-17): evolve PROJECT.md after phase completion
* test(17): complete UAT - 2 passed, 0 issues
* test(17): add edge case and validation subtests for RRF and GroupBy
RRF: single rank, zero weight isolation, rejects negative/NaN/zero-k/no-ranks
GroupBy: k=1 per-group cap, rejects zero-k/nil-aggregate/no-keys
* test: tighten cloud RRF and GroupBy assertions
* docs(17): ship phase 17 — PR #4831 parent a3ea357 commit 4126620
12 files changed
Lines changed: 1735 additions & 14 deletions
File tree
- .planning
- phases/17-cloud-rrf-and-groupby-test-coverage
- pkg/api/v2
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
71 | 71 | | |
72 | 72 | | |
73 | 73 | | |
74 | | - | |
| 74 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
33 | | - | |
| 33 | + | |
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
| |||
181 | 181 | | |
182 | 182 | | |
183 | 183 | | |
184 | | - | |
| 184 | + | |
185 | 185 | | |
186 | 186 | | |
187 | 187 | | |
| |||
318 | 318 | | |
319 | 319 | | |
320 | 320 | | |
321 | | - | |
| 321 | + | |
322 | 322 | | |
323 | 323 | | |
324 | | - | |
| 324 | + | |
325 | 325 | | |
326 | 326 | | |
327 | 327 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
6 | | - | |
7 | | - | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
11 | | - | |
12 | | - | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
26 | | - | |
| 26 | + | |
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
| |||
78 | 78 | | |
79 | 79 | | |
80 | 80 | | |
| 81 | + | |
81 | 82 | | |
82 | 83 | | |
83 | 84 | | |
| |||
137 | 138 | | |
138 | 139 | | |
139 | 140 | | |
| 141 | + | |
140 | 142 | | |
141 | 143 | | |
142 | 144 | | |
| |||
169 | 171 | | |
170 | 172 | | |
171 | 173 | | |
172 | | - | |
173 | | - | |
| 174 | + | |
| 175 | + | |
174 | 176 | | |
0 commit comments