Commit 5bcad1f
feat: add reaffirmation and normalizedScore fields to SearchResult (PM-14a)
SearchResult model now includes:
- reaffirmation: multiplicative reaffirmation factor (replaces additive occurrenceBoost)
- normalized_score: per-batch normalization to [0.0, 1.0] (PM-13)
Both fields have defaults (1.0 and 0.0) so existing API responses without
them are handled gracefully. occurrenceBoost kept for back-compat (PM-14b).
Bump version 0.2.2 → 0.3.0 (new fields = minor version).
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent 59c6718 commit 5bcad1f
4 files changed
Lines changed: 7 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
29 | | - | |
| 29 | + | |
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
101 | 101 | | |
102 | 102 | | |
103 | 103 | | |
104 | | - | |
| 104 | + | |
| 105 | + | |
105 | 106 | | |
| 107 | + | |
106 | 108 | | |
107 | 109 | | |
108 | 110 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
| 7 | + | |
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
89 | 89 | | |
90 | 90 | | |
91 | 91 | | |
| 92 | + | |
92 | 93 | | |
| 94 | + | |
93 | 95 | | |
94 | 96 | | |
95 | 97 | | |
| |||
0 commit comments