@absolutejs/absolute 0.19.0-beta.633 → 0.19.0-beta.634

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -8,6 +8,8 @@ export declare const planNativeCandidateSearchBackfillK: (input: {
8
8
  currentSearchK: number;
9
9
  candidateLimit: number;
10
10
  filteredCandidateCount?: number;
11
+ backfillCount?: number;
12
+ maxBackfills?: number;
11
13
  }) => number;
12
14
  export declare const summarizeSQLiteCandidateCoverage: (input: {
13
15
  topK: number;
@@ -171,6 +171,7 @@ export declare const useRAG: (path: string, options?: UseRAGOptions) => {
171
171
  candidateTopK?: number | undefined;
172
172
  nativeQueryMultiplier?: number | undefined;
173
173
  nativeCandidateLimit?: number | undefined;
174
+ nativeMaxBackfills?: number | undefined;
174
175
  scoreThreshold?: number | undefined;
175
176
  queryTransform?: import("../..").RAGQueryTransformProviderLike | undefined;
176
177
  retrievalStrategy?: import("../..").RAGRetrievalStrategyProviderLike | undefined;
@@ -187,6 +188,7 @@ export declare const useRAG: (path: string, options?: UseRAGOptions) => {
187
188
  candidateTopK?: number | undefined;
188
189
  nativeQueryMultiplier?: number | undefined;
189
190
  nativeCandidateLimit?: number | undefined;
191
+ nativeMaxBackfills?: number | undefined;
190
192
  scoreThreshold?: number | undefined;
191
193
  queryTransform?: import("../..").RAGQueryTransformProviderLike | undefined;
192
194
  retrievalStrategy?: import("../..").RAGRetrievalStrategyProviderLike | undefined;
@@ -173,6 +173,7 @@ export declare const createRAG: (path: string, options?: CreateRAGOptions) => {
173
173
  candidateTopK?: number | undefined;
174
174
  nativeQueryMultiplier?: number | undefined;
175
175
  nativeCandidateLimit?: number | undefined;
176
+ nativeMaxBackfills?: number | undefined;
176
177
  scoreThreshold?: number | undefined;
177
178
  queryTransform?: import("../..").RAGQueryTransformProviderLike | undefined;
178
179
  retrievalStrategy?: import("../..").RAGRetrievalStrategyProviderLike | undefined;
@@ -189,6 +190,7 @@ export declare const createRAG: (path: string, options?: CreateRAGOptions) => {
189
190
  candidateTopK?: number | undefined;
190
191
  nativeQueryMultiplier?: number | undefined;
191
192
  nativeCandidateLimit?: number | undefined;
193
+ nativeMaxBackfills?: number | undefined;
192
194
  scoreThreshold?: number | undefined;
193
195
  queryTransform?: import("../..").RAGQueryTransformProviderLike | undefined;
194
196
  retrievalStrategy?: import("../..").RAGRetrievalStrategyProviderLike | undefined;
@@ -591,6 +591,8 @@ export declare const useRAG: (path: string, options?: UseRAGOptions) => {
591
591
  previousSqliteQueryMultiplierUsed?: number | undefined;
592
592
  sqliteQueryCandidateLimitUsed?: number | undefined;
593
593
  previousSqliteQueryCandidateLimitUsed?: number | undefined;
594
+ sqliteQueryMaxBackfillsUsed?: number | undefined;
595
+ previousSqliteQueryMaxBackfillsUsed?: number | undefined;
594
596
  sqliteQueryPushdownCoverageRatio?: number | undefined;
595
597
  previousSqliteQueryPushdownCoverageRatio?: number | undefined;
596
598
  sqliteQueryJsRemainderRatio?: number | undefined;
@@ -605,6 +607,8 @@ export declare const useRAG: (path: string, options?: UseRAGOptions) => {
605
607
  previousSqliteQuerySearchExpansionRatio?: number | undefined;
606
608
  sqliteQueryBackfillCount?: number | undefined;
607
609
  previousSqliteQueryBackfillCount?: number | undefined;
610
+ sqliteQueryBackfillLimitReached?: boolean | undefined;
611
+ previousSqliteQueryBackfillLimitReached?: boolean | undefined;
608
612
  sqliteQueryReturnedCount?: number | undefined;
609
613
  previousSqliteQueryReturnedCount?: number | undefined;
610
614
  sqliteQueryCandidateYieldRatio?: number | undefined;
@@ -633,6 +637,8 @@ export declare const useRAG: (path: string, options?: UseRAGOptions) => {
633
637
  previousPostgresQueryMultiplierUsed?: number | undefined;
634
638
  postgresQueryCandidateLimitUsed?: number | undefined;
635
639
  previousPostgresQueryCandidateLimitUsed?: number | undefined;
640
+ postgresQueryMaxBackfillsUsed?: number | undefined;
641
+ previousPostgresQueryMaxBackfillsUsed?: number | undefined;
636
642
  postgresQueryPushdownCoverageRatio?: number | undefined;
637
643
  previousPostgresQueryPushdownCoverageRatio?: number | undefined;
638
644
  postgresQueryJsRemainderRatio?: number | undefined;
@@ -647,6 +653,8 @@ export declare const useRAG: (path: string, options?: UseRAGOptions) => {
647
653
  previousPostgresQuerySearchExpansionRatio?: number | undefined;
648
654
  postgresQueryBackfillCount?: number | undefined;
649
655
  previousPostgresQueryBackfillCount?: number | undefined;
656
+ postgresQueryBackfillLimitReached?: boolean | undefined;
657
+ previousPostgresQueryBackfillLimitReached?: boolean | undefined;
650
658
  postgresQueryReturnedCount?: number | undefined;
651
659
  previousPostgresQueryReturnedCount?: number | undefined;
652
660
  postgresQueryCandidateYieldRatio?: number | undefined;
@@ -850,6 +858,8 @@ export declare const useRAG: (path: string, options?: UseRAGOptions) => {
850
858
  previousSqliteQueryMultiplierUsed?: number | undefined;
851
859
  sqliteQueryCandidateLimitUsed?: number | undefined;
852
860
  previousSqliteQueryCandidateLimitUsed?: number | undefined;
861
+ sqliteQueryMaxBackfillsUsed?: number | undefined;
862
+ previousSqliteQueryMaxBackfillsUsed?: number | undefined;
853
863
  sqliteQueryPushdownCoverageRatio?: number | undefined;
854
864
  previousSqliteQueryPushdownCoverageRatio?: number | undefined;
855
865
  sqliteQueryJsRemainderRatio?: number | undefined;
@@ -864,6 +874,8 @@ export declare const useRAG: (path: string, options?: UseRAGOptions) => {
864
874
  previousSqliteQuerySearchExpansionRatio?: number | undefined;
865
875
  sqliteQueryBackfillCount?: number | undefined;
866
876
  previousSqliteQueryBackfillCount?: number | undefined;
877
+ sqliteQueryBackfillLimitReached?: boolean | undefined;
878
+ previousSqliteQueryBackfillLimitReached?: boolean | undefined;
867
879
  sqliteQueryReturnedCount?: number | undefined;
868
880
  previousSqliteQueryReturnedCount?: number | undefined;
869
881
  sqliteQueryCandidateYieldRatio?: number | undefined;
@@ -892,6 +904,8 @@ export declare const useRAG: (path: string, options?: UseRAGOptions) => {
892
904
  previousPostgresQueryMultiplierUsed?: number | undefined;
893
905
  postgresQueryCandidateLimitUsed?: number | undefined;
894
906
  previousPostgresQueryCandidateLimitUsed?: number | undefined;
907
+ postgresQueryMaxBackfillsUsed?: number | undefined;
908
+ previousPostgresQueryMaxBackfillsUsed?: number | undefined;
895
909
  postgresQueryPushdownCoverageRatio?: number | undefined;
896
910
  previousPostgresQueryPushdownCoverageRatio?: number | undefined;
897
911
  postgresQueryJsRemainderRatio?: number | undefined;
@@ -906,6 +920,8 @@ export declare const useRAG: (path: string, options?: UseRAGOptions) => {
906
920
  previousPostgresQuerySearchExpansionRatio?: number | undefined;
907
921
  postgresQueryBackfillCount?: number | undefined;
908
922
  previousPostgresQueryBackfillCount?: number | undefined;
923
+ postgresQueryBackfillLimitReached?: boolean | undefined;
924
+ previousPostgresQueryBackfillLimitReached?: boolean | undefined;
909
925
  postgresQueryReturnedCount?: number | undefined;
910
926
  previousPostgresQueryReturnedCount?: number | undefined;
911
927
  postgresQueryCandidateYieldRatio?: number | undefined;
@@ -1118,6 +1134,7 @@ export declare const useRAG: (path: string, options?: UseRAGOptions) => {
1118
1134
  jsRemainderClauseCount: number;
1119
1135
  queryMultiplierUsed?: number | undefined;
1120
1136
  candidateLimitUsed?: number | undefined;
1137
+ maxBackfillsUsed?: number | undefined;
1121
1138
  pushdownCoverageRatio?: number | undefined;
1122
1139
  jsRemainderRatio?: number | undefined;
1123
1140
  filteredCandidateCount?: number | undefined;
@@ -1125,6 +1142,7 @@ export declare const useRAG: (path: string, options?: UseRAGOptions) => {
1125
1142
  finalSearchK?: number | undefined;
1126
1143
  searchExpansionRatio?: number | undefined;
1127
1144
  backfillCount?: number | undefined;
1145
+ backfillLimitReached?: boolean | undefined;
1128
1146
  returnedCount?: number | undefined;
1129
1147
  candidateYieldRatio?: number | undefined;
1130
1148
  topKFillRatio?: number | undefined;
@@ -1166,6 +1184,7 @@ export declare const useRAG: (path: string, options?: UseRAGOptions) => {
1166
1184
  jsRemainderClauseCount: number;
1167
1185
  queryMultiplierUsed?: number | undefined;
1168
1186
  candidateLimitUsed?: number | undefined;
1187
+ maxBackfillsUsed?: number | undefined;
1169
1188
  pushdownCoverageRatio?: number | undefined;
1170
1189
  jsRemainderRatio?: number | undefined;
1171
1190
  filteredCandidateCount?: number | undefined;
@@ -1173,6 +1192,7 @@ export declare const useRAG: (path: string, options?: UseRAGOptions) => {
1173
1192
  finalSearchK?: number | undefined;
1174
1193
  searchExpansionRatio?: number | undefined;
1175
1194
  backfillCount?: number | undefined;
1195
+ backfillLimitReached?: boolean | undefined;
1176
1196
  returnedCount?: number | undefined;
1177
1197
  candidateYieldRatio?: number | undefined;
1178
1198
  topKFillRatio?: number | undefined;
@@ -1236,6 +1256,7 @@ export declare const useRAG: (path: string, options?: UseRAGOptions) => {
1236
1256
  jsRemainderClauseCount: number;
1237
1257
  queryMultiplierUsed?: number | undefined;
1238
1258
  candidateLimitUsed?: number | undefined;
1259
+ maxBackfillsUsed?: number | undefined;
1239
1260
  pushdownCoverageRatio?: number | undefined;
1240
1261
  jsRemainderRatio?: number | undefined;
1241
1262
  filteredCandidateCount?: number | undefined;
@@ -1243,6 +1264,7 @@ export declare const useRAG: (path: string, options?: UseRAGOptions) => {
1243
1264
  finalSearchK?: number | undefined;
1244
1265
  searchExpansionRatio?: number | undefined;
1245
1266
  backfillCount?: number | undefined;
1267
+ backfillLimitReached?: boolean | undefined;
1246
1268
  returnedCount?: number | undefined;
1247
1269
  candidateYieldRatio?: number | undefined;
1248
1270
  topKFillRatio?: number | undefined;
@@ -1284,6 +1306,7 @@ export declare const useRAG: (path: string, options?: UseRAGOptions) => {
1284
1306
  jsRemainderClauseCount: number;
1285
1307
  queryMultiplierUsed?: number | undefined;
1286
1308
  candidateLimitUsed?: number | undefined;
1309
+ maxBackfillsUsed?: number | undefined;
1287
1310
  pushdownCoverageRatio?: number | undefined;
1288
1311
  jsRemainderRatio?: number | undefined;
1289
1312
  filteredCandidateCount?: number | undefined;
@@ -1291,6 +1314,7 @@ export declare const useRAG: (path: string, options?: UseRAGOptions) => {
1291
1314
  finalSearchK?: number | undefined;
1292
1315
  searchExpansionRatio?: number | undefined;
1293
1316
  backfillCount?: number | undefined;
1317
+ backfillLimitReached?: boolean | undefined;
1294
1318
  returnedCount?: number | undefined;
1295
1319
  candidateYieldRatio?: number | undefined;
1296
1320
  topKFillRatio?: number | undefined;
@@ -1984,6 +2008,7 @@ export declare const useRAG: (path: string, options?: UseRAGOptions) => {
1984
2008
  candidateTopK?: number | undefined;
1985
2009
  nativeQueryMultiplier?: number | undefined;
1986
2010
  nativeCandidateLimit?: number | undefined;
2011
+ nativeMaxBackfills?: number | undefined;
1987
2012
  scoreThreshold?: number | undefined;
1988
2013
  queryTransform?: import("../..").RAGQueryTransformer | {
1989
2014
  transform: import("../..").RAGQueryTransformer;
@@ -2019,6 +2044,7 @@ export declare const useRAG: (path: string, options?: UseRAGOptions) => {
2019
2044
  candidateTopK?: number | undefined;
2020
2045
  nativeQueryMultiplier?: number | undefined;
2021
2046
  nativeCandidateLimit?: number | undefined;
2047
+ nativeMaxBackfills?: number | undefined;
2022
2048
  scoreThreshold?: number | undefined;
2023
2049
  queryTransform?: import("../..").RAGQueryTransformer | {
2024
2050
  transform: import("../..").RAGQueryTransformer;
@@ -2113,6 +2139,7 @@ export declare const useRAG: (path: string, options?: UseRAGOptions) => {
2113
2139
  candidateTopK?: number | undefined;
2114
2140
  nativeQueryMultiplier?: number | undefined;
2115
2141
  nativeCandidateLimit?: number | undefined;
2142
+ nativeMaxBackfills?: number | undefined;
2116
2143
  scoreThreshold?: number | undefined;
2117
2144
  queryTransform?: import("../..").RAGQueryTransformProviderLike | undefined;
2118
2145
  retrievalStrategy?: import("../..").RAGRetrievalStrategyProviderLike | undefined;
@@ -2129,6 +2156,7 @@ export declare const useRAG: (path: string, options?: UseRAGOptions) => {
2129
2156
  candidateTopK?: number | undefined;
2130
2157
  nativeQueryMultiplier?: number | undefined;
2131
2158
  nativeCandidateLimit?: number | undefined;
2159
+ nativeMaxBackfills?: number | undefined;
2132
2160
  scoreThreshold?: number | undefined;
2133
2161
  queryTransform?: import("../..").RAGQueryTransformProviderLike | undefined;
2134
2162
  retrievalStrategy?: import("../..").RAGRetrievalStrategyProviderLike | undefined;
@@ -350,6 +350,8 @@ export declare const useRAGEvaluate: (path: string) => {
350
350
  previousSqliteQueryMultiplierUsed?: number | undefined;
351
351
  sqliteQueryCandidateLimitUsed?: number | undefined;
352
352
  previousSqliteQueryCandidateLimitUsed?: number | undefined;
353
+ sqliteQueryMaxBackfillsUsed?: number | undefined;
354
+ previousSqliteQueryMaxBackfillsUsed?: number | undefined;
353
355
  sqliteQueryPushdownCoverageRatio?: number | undefined;
354
356
  previousSqliteQueryPushdownCoverageRatio?: number | undefined;
355
357
  sqliteQueryJsRemainderRatio?: number | undefined;
@@ -364,6 +366,8 @@ export declare const useRAGEvaluate: (path: string) => {
364
366
  previousSqliteQuerySearchExpansionRatio?: number | undefined;
365
367
  sqliteQueryBackfillCount?: number | undefined;
366
368
  previousSqliteQueryBackfillCount?: number | undefined;
369
+ sqliteQueryBackfillLimitReached?: boolean | undefined;
370
+ previousSqliteQueryBackfillLimitReached?: boolean | undefined;
367
371
  sqliteQueryReturnedCount?: number | undefined;
368
372
  previousSqliteQueryReturnedCount?: number | undefined;
369
373
  sqliteQueryCandidateYieldRatio?: number | undefined;
@@ -392,6 +396,8 @@ export declare const useRAGEvaluate: (path: string) => {
392
396
  previousPostgresQueryMultiplierUsed?: number | undefined;
393
397
  postgresQueryCandidateLimitUsed?: number | undefined;
394
398
  previousPostgresQueryCandidateLimitUsed?: number | undefined;
399
+ postgresQueryMaxBackfillsUsed?: number | undefined;
400
+ previousPostgresQueryMaxBackfillsUsed?: number | undefined;
395
401
  postgresQueryPushdownCoverageRatio?: number | undefined;
396
402
  previousPostgresQueryPushdownCoverageRatio?: number | undefined;
397
403
  postgresQueryJsRemainderRatio?: number | undefined;
@@ -406,6 +412,8 @@ export declare const useRAGEvaluate: (path: string) => {
406
412
  previousPostgresQuerySearchExpansionRatio?: number | undefined;
407
413
  postgresQueryBackfillCount?: number | undefined;
408
414
  previousPostgresQueryBackfillCount?: number | undefined;
415
+ postgresQueryBackfillLimitReached?: boolean | undefined;
416
+ previousPostgresQueryBackfillLimitReached?: boolean | undefined;
409
417
  postgresQueryReturnedCount?: number | undefined;
410
418
  previousPostgresQueryReturnedCount?: number | undefined;
411
419
  postgresQueryCandidateYieldRatio?: number | undefined;
@@ -609,6 +617,8 @@ export declare const useRAGEvaluate: (path: string) => {
609
617
  previousSqliteQueryMultiplierUsed?: number | undefined;
610
618
  sqliteQueryCandidateLimitUsed?: number | undefined;
611
619
  previousSqliteQueryCandidateLimitUsed?: number | undefined;
620
+ sqliteQueryMaxBackfillsUsed?: number | undefined;
621
+ previousSqliteQueryMaxBackfillsUsed?: number | undefined;
612
622
  sqliteQueryPushdownCoverageRatio?: number | undefined;
613
623
  previousSqliteQueryPushdownCoverageRatio?: number | undefined;
614
624
  sqliteQueryJsRemainderRatio?: number | undefined;
@@ -623,6 +633,8 @@ export declare const useRAGEvaluate: (path: string) => {
623
633
  previousSqliteQuerySearchExpansionRatio?: number | undefined;
624
634
  sqliteQueryBackfillCount?: number | undefined;
625
635
  previousSqliteQueryBackfillCount?: number | undefined;
636
+ sqliteQueryBackfillLimitReached?: boolean | undefined;
637
+ previousSqliteQueryBackfillLimitReached?: boolean | undefined;
626
638
  sqliteQueryReturnedCount?: number | undefined;
627
639
  previousSqliteQueryReturnedCount?: number | undefined;
628
640
  sqliteQueryCandidateYieldRatio?: number | undefined;
@@ -651,6 +663,8 @@ export declare const useRAGEvaluate: (path: string) => {
651
663
  previousPostgresQueryMultiplierUsed?: number | undefined;
652
664
  postgresQueryCandidateLimitUsed?: number | undefined;
653
665
  previousPostgresQueryCandidateLimitUsed?: number | undefined;
666
+ postgresQueryMaxBackfillsUsed?: number | undefined;
667
+ previousPostgresQueryMaxBackfillsUsed?: number | undefined;
654
668
  postgresQueryPushdownCoverageRatio?: number | undefined;
655
669
  previousPostgresQueryPushdownCoverageRatio?: number | undefined;
656
670
  postgresQueryJsRemainderRatio?: number | undefined;
@@ -665,6 +679,8 @@ export declare const useRAGEvaluate: (path: string) => {
665
679
  previousPostgresQuerySearchExpansionRatio?: number | undefined;
666
680
  postgresQueryBackfillCount?: number | undefined;
667
681
  previousPostgresQueryBackfillCount?: number | undefined;
682
+ postgresQueryBackfillLimitReached?: boolean | undefined;
683
+ previousPostgresQueryBackfillLimitReached?: boolean | undefined;
668
684
  postgresQueryReturnedCount?: number | undefined;
669
685
  previousPostgresQueryReturnedCount?: number | undefined;
670
686
  postgresQueryCandidateYieldRatio?: number | undefined;
@@ -45,6 +45,7 @@ export declare const useRAGIndexAdmin: (path: string) => {
45
45
  jsRemainderClauseCount: number;
46
46
  queryMultiplierUsed?: number | undefined;
47
47
  candidateLimitUsed?: number | undefined;
48
+ maxBackfillsUsed?: number | undefined;
48
49
  pushdownCoverageRatio?: number | undefined;
49
50
  jsRemainderRatio?: number | undefined;
50
51
  filteredCandidateCount?: number | undefined;
@@ -52,6 +53,7 @@ export declare const useRAGIndexAdmin: (path: string) => {
52
53
  finalSearchK?: number | undefined;
53
54
  searchExpansionRatio?: number | undefined;
54
55
  backfillCount?: number | undefined;
56
+ backfillLimitReached?: boolean | undefined;
55
57
  returnedCount?: number | undefined;
56
58
  candidateYieldRatio?: number | undefined;
57
59
  topKFillRatio?: number | undefined;
@@ -93,6 +95,7 @@ export declare const useRAGIndexAdmin: (path: string) => {
93
95
  jsRemainderClauseCount: number;
94
96
  queryMultiplierUsed?: number | undefined;
95
97
  candidateLimitUsed?: number | undefined;
98
+ maxBackfillsUsed?: number | undefined;
96
99
  pushdownCoverageRatio?: number | undefined;
97
100
  jsRemainderRatio?: number | undefined;
98
101
  filteredCandidateCount?: number | undefined;
@@ -100,6 +103,7 @@ export declare const useRAGIndexAdmin: (path: string) => {
100
103
  finalSearchK?: number | undefined;
101
104
  searchExpansionRatio?: number | undefined;
102
105
  backfillCount?: number | undefined;
106
+ backfillLimitReached?: boolean | undefined;
103
107
  returnedCount?: number | undefined;
104
108
  candidateYieldRatio?: number | undefined;
105
109
  topKFillRatio?: number | undefined;
@@ -163,6 +167,7 @@ export declare const useRAGIndexAdmin: (path: string) => {
163
167
  jsRemainderClauseCount: number;
164
168
  queryMultiplierUsed?: number | undefined;
165
169
  candidateLimitUsed?: number | undefined;
170
+ maxBackfillsUsed?: number | undefined;
166
171
  pushdownCoverageRatio?: number | undefined;
167
172
  jsRemainderRatio?: number | undefined;
168
173
  filteredCandidateCount?: number | undefined;
@@ -170,6 +175,7 @@ export declare const useRAGIndexAdmin: (path: string) => {
170
175
  finalSearchK?: number | undefined;
171
176
  searchExpansionRatio?: number | undefined;
172
177
  backfillCount?: number | undefined;
178
+ backfillLimitReached?: boolean | undefined;
173
179
  returnedCount?: number | undefined;
174
180
  candidateYieldRatio?: number | undefined;
175
181
  topKFillRatio?: number | undefined;
@@ -211,6 +217,7 @@ export declare const useRAGIndexAdmin: (path: string) => {
211
217
  jsRemainderClauseCount: number;
212
218
  queryMultiplierUsed?: number | undefined;
213
219
  candidateLimitUsed?: number | undefined;
220
+ maxBackfillsUsed?: number | undefined;
214
221
  pushdownCoverageRatio?: number | undefined;
215
222
  jsRemainderRatio?: number | undefined;
216
223
  filteredCandidateCount?: number | undefined;
@@ -218,6 +225,7 @@ export declare const useRAGIndexAdmin: (path: string) => {
218
225
  finalSearchK?: number | undefined;
219
226
  searchExpansionRatio?: number | undefined;
220
227
  backfillCount?: number | undefined;
228
+ backfillLimitReached?: boolean | undefined;
221
229
  returnedCount?: number | undefined;
222
230
  candidateYieldRatio?: number | undefined;
223
231
  topKFillRatio?: number | undefined;
@@ -12,6 +12,7 @@ export declare const useRAGSearch: (path: string) => {
12
12
  candidateTopK?: number | undefined;
13
13
  nativeQueryMultiplier?: number | undefined;
14
14
  nativeCandidateLimit?: number | undefined;
15
+ nativeMaxBackfills?: number | undefined;
15
16
  scoreThreshold?: number | undefined;
16
17
  queryTransform?: import("../..").RAGQueryTransformer | {
17
18
  transform: import("../..").RAGQueryTransformer;
@@ -47,6 +48,7 @@ export declare const useRAGSearch: (path: string) => {
47
48
  candidateTopK?: number | undefined;
48
49
  nativeQueryMultiplier?: number | undefined;
49
50
  nativeCandidateLimit?: number | undefined;
51
+ nativeMaxBackfills?: number | undefined;
50
52
  scoreThreshold?: number | undefined;
51
53
  queryTransform?: import("../..").RAGQueryTransformer | {
52
54
  transform: import("../..").RAGQueryTransformer;
@@ -749,7 +749,7 @@ var formatLeadMediaCueSummary = (input) => {
749
749
  return parts.length > 0 ? parts.join(" \xB7 ") : "none";
750
750
  };
751
751
  var formatRAGTraceMetadataRow = (key, value) => ({
752
- label: key === "sqliteQueryMode" ? "SQLite query mode" : key === "postgresQueryMode" ? "Postgres query mode" : key === "sqliteQueryPushdownMode" ? "SQLite pushdown mode" : key === "postgresQueryPushdownMode" ? "Postgres pushdown mode" : key === "sqliteQueryPushdownApplied" ? "SQLite pushdown applied" : key === "postgresQueryPushdownApplied" ? "Postgres pushdown applied" : key === "sqliteQueryPushdownClauseCount" ? "SQLite pushdown clauses" : key === "postgresQueryPushdownClauseCount" ? "Postgres pushdown clauses" : key === "sqliteQueryPushdownCoverageRatio" ? "SQLite pushdown coverage" : key === "postgresQueryPushdownCoverageRatio" ? "Postgres pushdown coverage" : key === "sqliteQueryTotalFilterClauseCount" ? "SQLite total filter clauses" : key === "postgresQueryTotalFilterClauseCount" ? "Postgres total filter clauses" : key === "sqliteQueryJsRemainderClauseCount" ? "SQLite JS remainder clauses" : key === "sqliteQueryMultiplierUsed" ? "SQLite query multiplier" : key === "sqliteQueryCandidateLimitUsed" ? "SQLite candidate limit" : key === "postgresQueryJsRemainderClauseCount" ? "Postgres JS remainder clauses" : key === "postgresQueryMultiplierUsed" ? "Postgres query multiplier" : key === "postgresQueryCandidateLimitUsed" ? "Postgres candidate limit" : key === "sqliteQueryJsRemainderRatio" ? "SQLite JS remainder share" : key === "postgresQueryJsRemainderRatio" ? "Postgres JS remainder share" : key === "sqliteQueryFilteredCandidates" ? "SQLite filtered candidates" : key === "postgresQueryFilteredCandidates" ? "Postgres filtered candidates" : key === "sqliteQueryInitialSearchK" ? "SQLite initial searchK" : key === "postgresQueryInitialSearchK" ? "Postgres initial searchK" : key === "sqliteQueryFinalSearchK" ? "SQLite final searchK" : key === "postgresQueryFinalSearchK" ? "Postgres final searchK" : key === "sqliteQuerySearchExpansionRatio" ? "SQLite search expansion" : key === "postgresQuerySearchExpansionRatio" ? "Postgres search expansion" : key === "sqliteQueryBackfillCount" ? "SQLite backfill count" : key === "postgresQueryBackfillCount" ? "Postgres backfill count" : key === "sqliteQueryReturnedCount" ? "SQLite returned hits" : key === "postgresQueryReturnedCount" ? "Postgres returned hits" : key === "sqliteQueryCandidateYieldRatio" ? "SQLite candidate yield" : key === "postgresQueryCandidateYieldRatio" ? "Postgres candidate yield" : key === "sqliteQueryTopKFillRatio" ? "SQLite topK fill rate" : key === "postgresQueryTopKFillRatio" ? "Postgres topK fill rate" : key === "sqliteQueryUnderfilledTopK" ? "SQLite underfilled topK" : key === "postgresQueryUnderfilledTopK" ? "Postgres underfilled topK" : key === "sqliteQueryCandidateBudgetExhausted" ? "SQLite candidate budget exhausted" : key === "postgresQueryCandidateBudgetExhausted" ? "Postgres candidate budget exhausted" : key === "sqliteQueryCandidateCoverage" ? "SQLite candidate coverage" : key === "postgresQueryCandidateCoverage" ? "Postgres candidate coverage" : key === "leadSpeakerCue" ? "Lead speaker cue" : key === "leadSpeakerAttributionCue" ? "Lead speaker attribution" : key === "leadChannelAttributionCue" ? "Lead channel attribution" : key === "leadChannelCue" ? "Lead channel cue" : key === "leadContinuityCue" ? "Lead continuity cue" : key,
752
+ label: key === "sqliteQueryMode" ? "SQLite query mode" : key === "postgresQueryMode" ? "Postgres query mode" : key === "sqliteQueryPushdownMode" ? "SQLite pushdown mode" : key === "postgresQueryPushdownMode" ? "Postgres pushdown mode" : key === "sqliteQueryPushdownApplied" ? "SQLite pushdown applied" : key === "postgresQueryPushdownApplied" ? "Postgres pushdown applied" : key === "sqliteQueryPushdownClauseCount" ? "SQLite pushdown clauses" : key === "postgresQueryPushdownClauseCount" ? "Postgres pushdown clauses" : key === "sqliteQueryPushdownCoverageRatio" ? "SQLite pushdown coverage" : key === "postgresQueryPushdownCoverageRatio" ? "Postgres pushdown coverage" : key === "sqliteQueryTotalFilterClauseCount" ? "SQLite total filter clauses" : key === "postgresQueryTotalFilterClauseCount" ? "Postgres total filter clauses" : key === "sqliteQueryJsRemainderClauseCount" ? "SQLite JS remainder clauses" : key === "sqliteQueryMultiplierUsed" ? "SQLite query multiplier" : key === "sqliteQueryCandidateLimitUsed" ? "SQLite candidate limit" : key === "sqliteQueryMaxBackfillsUsed" ? "SQLite max backfills" : key === "postgresQueryJsRemainderClauseCount" ? "Postgres JS remainder clauses" : key === "postgresQueryMultiplierUsed" ? "Postgres query multiplier" : key === "postgresQueryCandidateLimitUsed" ? "Postgres candidate limit" : key === "postgresQueryMaxBackfillsUsed" ? "Postgres max backfills" : key === "sqliteQueryJsRemainderRatio" ? "SQLite JS remainder share" : key === "postgresQueryJsRemainderRatio" ? "Postgres JS remainder share" : key === "sqliteQueryFilteredCandidates" ? "SQLite filtered candidates" : key === "postgresQueryFilteredCandidates" ? "Postgres filtered candidates" : key === "sqliteQueryInitialSearchK" ? "SQLite initial searchK" : key === "postgresQueryInitialSearchK" ? "Postgres initial searchK" : key === "sqliteQueryFinalSearchK" ? "SQLite final searchK" : key === "postgresQueryFinalSearchK" ? "Postgres final searchK" : key === "sqliteQuerySearchExpansionRatio" ? "SQLite search expansion" : key === "postgresQuerySearchExpansionRatio" ? "Postgres search expansion" : key === "sqliteQueryBackfillCount" ? "SQLite backfill count" : key === "sqliteQueryBackfillLimitReached" ? "SQLite backfill limit reached" : key === "postgresQueryBackfillCount" ? "Postgres backfill count" : key === "postgresQueryBackfillLimitReached" ? "Postgres backfill limit reached" : key === "sqliteQueryReturnedCount" ? "SQLite returned hits" : key === "postgresQueryReturnedCount" ? "Postgres returned hits" : key === "sqliteQueryCandidateYieldRatio" ? "SQLite candidate yield" : key === "postgresQueryCandidateYieldRatio" ? "Postgres candidate yield" : key === "sqliteQueryTopKFillRatio" ? "SQLite topK fill rate" : key === "postgresQueryTopKFillRatio" ? "Postgres topK fill rate" : key === "sqliteQueryUnderfilledTopK" ? "SQLite underfilled topK" : key === "postgresQueryUnderfilledTopK" ? "Postgres underfilled topK" : key === "sqliteQueryCandidateBudgetExhausted" ? "SQLite candidate budget exhausted" : key === "postgresQueryCandidateBudgetExhausted" ? "Postgres candidate budget exhausted" : key === "sqliteQueryCandidateCoverage" ? "SQLite candidate coverage" : key === "postgresQueryCandidateCoverage" ? "Postgres candidate coverage" : key === "leadSpeakerCue" ? "Lead speaker cue" : key === "leadSpeakerAttributionCue" ? "Lead speaker attribution" : key === "leadChannelAttributionCue" ? "Lead channel attribution" : key === "leadChannelCue" ? "Lead channel cue" : key === "leadContinuityCue" ? "Lead continuity cue" : key,
753
753
  value: key === "sourceAwareChunkReason" ? formatSourceAwareChunkReason(value) ?? formatRAGTraceValue(value) : key === "leadSpeakerAttributionCue" ? formatLeadSpeakerAttributionCue(value) ?? formatRAGTraceValue(value) : key === "leadChannelAttributionCue" ? formatLeadChannelAttributionCue(value) ?? formatRAGTraceValue(value) : key === "leadContinuityCue" ? formatLeadContinuityCue(value) ?? formatRAGTraceValue(value) : formatRAGTraceValue(value)
754
754
  });
755
755
  var buildRAGRetrievalTracePresentation = (trace) => {
@@ -2523,12 +2523,14 @@ var formatSQLitePlannerCueSummary = (input) => {
2523
2523
  typeof input?.sqliteQueryJsRemainderClauseCount === "number" ? `js remainder ${input.sqliteQueryJsRemainderClauseCount}` : undefined,
2524
2524
  typeof input?.sqliteQueryMultiplierUsed === "number" ? `x${input.sqliteQueryMultiplierUsed}` : undefined,
2525
2525
  typeof input?.sqliteQueryCandidateLimitUsed === "number" ? `cap ${input.sqliteQueryCandidateLimitUsed}` : undefined,
2526
+ typeof input?.sqliteQueryMaxBackfillsUsed === "number" ? `backfills ${input.sqliteQueryMaxBackfillsUsed}` : undefined,
2526
2527
  typeof input?.sqliteQueryJsRemainderRatio === "number" ? `js ${(input.sqliteQueryJsRemainderRatio * 100).toFixed(0)}%` : undefined,
2527
2528
  typeof input?.sqliteQueryTotalFilterClauseCount === "number" ? `total clauses ${input.sqliteQueryTotalFilterClauseCount}` : undefined,
2528
2529
  typeof input?.sqliteQueryFilteredCandidates === "number" ? `filtered ${input.sqliteQueryFilteredCandidates}` : undefined,
2529
2530
  typeof input?.sqliteQueryInitialSearchK === "number" && typeof input?.sqliteQueryFinalSearchK === "number" ? `searchK ${input.sqliteQueryInitialSearchK}->${input.sqliteQueryFinalSearchK}` : typeof input?.sqliteQueryFinalSearchK === "number" ? `searchK ${input.sqliteQueryFinalSearchK}` : undefined,
2530
2531
  typeof input?.sqliteQuerySearchExpansionRatio === "number" ? `expand ${(input.sqliteQuerySearchExpansionRatio * 100).toFixed(0)}%` : undefined,
2531
2532
  typeof input?.sqliteQueryBackfillCount === "number" ? `backfill ${input.sqliteQueryBackfillCount}` : undefined,
2533
+ typeof input?.sqliteQueryBackfillLimitReached === "boolean" && input.sqliteQueryBackfillLimitReached ? "backfill limit reached" : undefined,
2532
2534
  typeof input?.sqliteQueryReturnedCount === "number" ? `returned ${input.sqliteQueryReturnedCount}` : undefined,
2533
2535
  typeof input?.sqliteQueryCandidateYieldRatio === "number" ? `yield ${(input.sqliteQueryCandidateYieldRatio * 100).toFixed(0)}%` : undefined,
2534
2536
  typeof input?.sqliteQueryTopKFillRatio === "number" ? `fill ${(input.sqliteQueryTopKFillRatio * 100).toFixed(0)}%` : undefined,
@@ -2550,12 +2552,14 @@ var formatPostgresPlannerCueSummary = (input) => {
2550
2552
  typeof input?.postgresQueryJsRemainderClauseCount === "number" ? `js remainder ${input.postgresQueryJsRemainderClauseCount}` : undefined,
2551
2553
  typeof input?.postgresQueryMultiplierUsed === "number" ? `x${input.postgresQueryMultiplierUsed}` : undefined,
2552
2554
  typeof input?.postgresQueryCandidateLimitUsed === "number" ? `cap ${input.postgresQueryCandidateLimitUsed}` : undefined,
2555
+ typeof input?.postgresQueryMaxBackfillsUsed === "number" ? `backfills ${input.postgresQueryMaxBackfillsUsed}` : undefined,
2553
2556
  typeof input?.postgresQueryJsRemainderRatio === "number" ? `js ${(input.postgresQueryJsRemainderRatio * 100).toFixed(0)}%` : undefined,
2554
2557
  typeof input?.postgresQueryTotalFilterClauseCount === "number" ? `total clauses ${input.postgresQueryTotalFilterClauseCount}` : undefined,
2555
2558
  typeof input?.postgresQueryFilteredCandidates === "number" ? `filtered ${input.postgresQueryFilteredCandidates}` : undefined,
2556
2559
  typeof input?.postgresQueryInitialSearchK === "number" && typeof input?.postgresQueryFinalSearchK === "number" ? `searchK ${input.postgresQueryInitialSearchK}->${input.postgresQueryFinalSearchK}` : typeof input?.postgresQueryFinalSearchK === "number" ? `searchK ${input.postgresQueryFinalSearchK}` : undefined,
2557
2560
  typeof input?.postgresQuerySearchExpansionRatio === "number" ? `expand ${(input.postgresQuerySearchExpansionRatio * 100).toFixed(0)}%` : undefined,
2558
2561
  typeof input?.postgresQueryBackfillCount === "number" ? `backfill ${input.postgresQueryBackfillCount}` : undefined,
2562
+ typeof input?.postgresQueryBackfillLimitReached === "boolean" && input.postgresQueryBackfillLimitReached ? "backfill limit reached" : undefined,
2559
2563
  typeof input?.postgresQueryReturnedCount === "number" ? `returned ${input.postgresQueryReturnedCount}` : undefined,
2560
2564
  typeof input?.postgresQueryCandidateYieldRatio === "number" ? `yield ${(input.postgresQueryCandidateYieldRatio * 100).toFixed(0)}%` : undefined,
2561
2565
  typeof input?.postgresQueryTopKFillRatio === "number" ? `fill ${(input.postgresQueryTopKFillRatio * 100).toFixed(0)}%` : undefined,
@@ -3868,10 +3872,12 @@ var buildEvaluationSQLiteQueryPlanSnapshot = (trace) => {
3868
3872
  sqliteQueryJsRemainderClauseCount: typeof metadata.sqliteQueryJsRemainderClauseCount === "number" ? metadata.sqliteQueryJsRemainderClauseCount : undefined,
3869
3873
  sqliteQueryMultiplierUsed: typeof metadata.sqliteQueryMultiplierUsed === "number" ? metadata.sqliteQueryMultiplierUsed : undefined,
3870
3874
  sqliteQueryCandidateLimitUsed: typeof metadata.sqliteQueryCandidateLimitUsed === "number" ? metadata.sqliteQueryCandidateLimitUsed : undefined,
3875
+ sqliteQueryMaxBackfillsUsed: typeof metadata.sqliteQueryMaxBackfillsUsed === "number" ? metadata.sqliteQueryMaxBackfillsUsed : undefined,
3871
3876
  sqliteQueryPushdownCoverageRatio: typeof metadata.sqliteQueryPushdownCoverageRatio === "number" ? metadata.sqliteQueryPushdownCoverageRatio : undefined,
3872
3877
  sqliteQueryJsRemainderRatio: typeof metadata.sqliteQueryJsRemainderRatio === "number" ? metadata.sqliteQueryJsRemainderRatio : undefined,
3873
3878
  sqliteQueryReturnedCount: typeof metadata.sqliteQueryReturnedCount === "number" ? metadata.sqliteQueryReturnedCount : undefined,
3874
3879
  sqliteQueryCandidateYieldRatio: typeof metadata.sqliteQueryCandidateYieldRatio === "number" ? metadata.sqliteQueryCandidateYieldRatio : undefined,
3880
+ sqliteQueryBackfillLimitReached: typeof metadata.sqliteQueryBackfillLimitReached === "boolean" ? metadata.sqliteQueryBackfillLimitReached : undefined,
3875
3881
  sqliteQueryTopKFillRatio: typeof metadata.sqliteQueryTopKFillRatio === "number" ? metadata.sqliteQueryTopKFillRatio : undefined,
3876
3882
  sqliteQueryUnderfilledTopK: typeof metadata.sqliteQueryUnderfilledTopK === "boolean" ? metadata.sqliteQueryUnderfilledTopK : undefined
3877
3883
  };
@@ -3895,10 +3901,12 @@ var buildEvaluationPostgresQueryPlanSnapshot = (trace) => {
3895
3901
  postgresQueryJsRemainderClauseCount: typeof metadata.postgresQueryJsRemainderClauseCount === "number" ? metadata.postgresQueryJsRemainderClauseCount : undefined,
3896
3902
  postgresQueryMultiplierUsed: typeof metadata.postgresQueryMultiplierUsed === "number" ? metadata.postgresQueryMultiplierUsed : undefined,
3897
3903
  postgresQueryCandidateLimitUsed: typeof metadata.postgresQueryCandidateLimitUsed === "number" ? metadata.postgresQueryCandidateLimitUsed : undefined,
3904
+ postgresQueryMaxBackfillsUsed: typeof metadata.postgresQueryMaxBackfillsUsed === "number" ? metadata.postgresQueryMaxBackfillsUsed : undefined,
3898
3905
  postgresQueryPushdownCoverageRatio: typeof metadata.postgresQueryPushdownCoverageRatio === "number" ? metadata.postgresQueryPushdownCoverageRatio : undefined,
3899
3906
  postgresQueryJsRemainderRatio: typeof metadata.postgresQueryJsRemainderRatio === "number" ? metadata.postgresQueryJsRemainderRatio : undefined,
3900
3907
  postgresQueryReturnedCount: typeof metadata.postgresQueryReturnedCount === "number" ? metadata.postgresQueryReturnedCount : undefined,
3901
3908
  postgresQueryCandidateYieldRatio: typeof metadata.postgresQueryCandidateYieldRatio === "number" ? metadata.postgresQueryCandidateYieldRatio : undefined,
3909
+ postgresQueryBackfillLimitReached: typeof metadata.postgresQueryBackfillLimitReached === "boolean" ? metadata.postgresQueryBackfillLimitReached : undefined,
3902
3910
  postgresQueryTopKFillRatio: typeof metadata.postgresQueryTopKFillRatio === "number" ? metadata.postgresQueryTopKFillRatio : undefined,
3903
3911
  postgresQueryUnderfilledTopK: typeof metadata.postgresQueryUnderfilledTopK === "boolean" ? metadata.postgresQueryUnderfilledTopK : undefined
3904
3912
  };
@@ -5151,6 +5159,7 @@ var buildEvaluationCaseTraceSnapshot = ({
5151
5159
  const sqliteQueryJsRemainderClauseCount = currentSQLiteQueryPlanSnapshot.sqliteQueryJsRemainderClauseCount ?? currentSnapshot?.sqliteQueryJsRemainderClauseCount;
5152
5160
  const sqliteQueryMultiplierUsed = currentSQLiteQueryPlanSnapshot.sqliteQueryMultiplierUsed ?? currentSnapshot?.sqliteQueryMultiplierUsed;
5153
5161
  const sqliteQueryCandidateLimitUsed = currentSQLiteQueryPlanSnapshot.sqliteQueryCandidateLimitUsed ?? currentSnapshot?.sqliteQueryCandidateLimitUsed;
5162
+ const sqliteQueryMaxBackfillsUsed = currentSQLiteQueryPlanSnapshot.sqliteQueryMaxBackfillsUsed ?? currentSnapshot?.sqliteQueryMaxBackfillsUsed;
5154
5163
  const sqliteQueryPushdownCoverageRatio = currentSQLiteQueryPlanSnapshot.sqliteQueryPushdownCoverageRatio ?? currentSnapshot?.sqliteQueryPushdownCoverageRatio;
5155
5164
  const sqliteQueryJsRemainderRatio = currentSQLiteQueryPlanSnapshot.sqliteQueryJsRemainderRatio ?? currentSnapshot?.sqliteQueryJsRemainderRatio;
5156
5165
  const sqliteQueryFilteredCandidates = currentSQLiteQueryPlanSnapshot.sqliteQueryFilteredCandidates ?? currentSnapshot?.sqliteQueryFilteredCandidates;
@@ -5158,6 +5167,7 @@ var buildEvaluationCaseTraceSnapshot = ({
5158
5167
  const sqliteQueryFinalSearchK = currentSQLiteQueryPlanSnapshot.sqliteQueryFinalSearchK ?? currentSnapshot?.sqliteQueryFinalSearchK;
5159
5168
  const sqliteQuerySearchExpansionRatio = currentSQLiteQueryPlanSnapshot.sqliteQuerySearchExpansionRatio ?? currentSnapshot?.sqliteQuerySearchExpansionRatio;
5160
5169
  const sqliteQueryBackfillCount = currentSQLiteQueryPlanSnapshot.sqliteQueryBackfillCount ?? currentSnapshot?.sqliteQueryBackfillCount;
5170
+ const sqliteQueryBackfillLimitReached = currentSQLiteQueryPlanSnapshot.sqliteQueryBackfillLimitReached ?? currentSnapshot?.sqliteQueryBackfillLimitReached;
5161
5171
  const sqliteQueryReturnedCount = currentSQLiteQueryPlanSnapshot.sqliteQueryReturnedCount ?? currentSnapshot?.sqliteQueryReturnedCount;
5162
5172
  const sqliteQueryCandidateYieldRatio = currentSQLiteQueryPlanSnapshot.sqliteQueryCandidateYieldRatio ?? currentSnapshot?.sqliteQueryCandidateYieldRatio;
5163
5173
  const sqliteQueryTopKFillRatio = currentSQLiteQueryPlanSnapshot.sqliteQueryTopKFillRatio ?? currentSnapshot?.sqliteQueryTopKFillRatio;
@@ -5172,6 +5182,7 @@ var buildEvaluationCaseTraceSnapshot = ({
5172
5182
  const postgresQueryJsRemainderClauseCount = currentPostgresQueryPlanSnapshot.postgresQueryJsRemainderClauseCount ?? currentSnapshot?.postgresQueryJsRemainderClauseCount;
5173
5183
  const postgresQueryMultiplierUsed = currentPostgresQueryPlanSnapshot.postgresQueryMultiplierUsed ?? currentSnapshot?.postgresQueryMultiplierUsed;
5174
5184
  const postgresQueryCandidateLimitUsed = currentPostgresQueryPlanSnapshot.postgresQueryCandidateLimitUsed ?? currentSnapshot?.postgresQueryCandidateLimitUsed;
5185
+ const postgresQueryMaxBackfillsUsed = currentPostgresQueryPlanSnapshot.postgresQueryMaxBackfillsUsed ?? currentSnapshot?.postgresQueryMaxBackfillsUsed;
5175
5186
  const postgresQueryPushdownCoverageRatio = currentPostgresQueryPlanSnapshot.postgresQueryPushdownCoverageRatio ?? currentSnapshot?.postgresQueryPushdownCoverageRatio;
5176
5187
  const postgresQueryJsRemainderRatio = currentPostgresQueryPlanSnapshot.postgresQueryJsRemainderRatio ?? currentSnapshot?.postgresQueryJsRemainderRatio;
5177
5188
  const postgresQueryFilteredCandidates = currentPostgresQueryPlanSnapshot.postgresQueryFilteredCandidates ?? currentSnapshot?.postgresQueryFilteredCandidates;
@@ -5179,6 +5190,7 @@ var buildEvaluationCaseTraceSnapshot = ({
5179
5190
  const postgresQueryFinalSearchK = currentPostgresQueryPlanSnapshot.postgresQueryFinalSearchK ?? currentSnapshot?.postgresQueryFinalSearchK;
5180
5191
  const postgresQuerySearchExpansionRatio = currentPostgresQueryPlanSnapshot.postgresQuerySearchExpansionRatio ?? currentSnapshot?.postgresQuerySearchExpansionRatio;
5181
5192
  const postgresQueryBackfillCount = currentPostgresQueryPlanSnapshot.postgresQueryBackfillCount ?? currentSnapshot?.postgresQueryBackfillCount;
5193
+ const postgresQueryBackfillLimitReached = currentPostgresQueryPlanSnapshot.postgresQueryBackfillLimitReached ?? currentSnapshot?.postgresQueryBackfillLimitReached;
5182
5194
  const postgresQueryReturnedCount = currentPostgresQueryPlanSnapshot.postgresQueryReturnedCount ?? currentSnapshot?.postgresQueryReturnedCount;
5183
5195
  const postgresQueryCandidateYieldRatio = currentPostgresQueryPlanSnapshot.postgresQueryCandidateYieldRatio ?? currentSnapshot?.postgresQueryCandidateYieldRatio;
5184
5196
  const postgresQueryTopKFillRatio = currentPostgresQueryPlanSnapshot.postgresQueryTopKFillRatio ?? currentSnapshot?.postgresQueryTopKFillRatio;
@@ -5189,7 +5201,7 @@ var buildEvaluationCaseTraceSnapshot = ({
5189
5201
  const previousFilterSignature = JSON.stringify(previousTrace?.inputFilter ?? undefined);
5190
5202
  const currentRetrievalSignature = JSON.stringify(retrieval ?? undefined);
5191
5203
  const previousRetrievalSignature = JSON.stringify(previousTrace?.inputRetrieval ?? undefined);
5192
- const traceChange = !previousTrace ? currentTrace ? "new" : "unchanged" : previousTrace.traceMode !== currentTrace?.mode || previousFilterSignature !== currentFilterSignature || previousRetrievalSignature !== currentRetrievalSignature || previousTrace.sourceBalanceStrategy !== currentTrace?.sourceBalanceStrategy || previousTrace.transformedQuery !== (currentTrace?.transformedQuery || undefined) || previousTrace.variantQueries.join("|") !== (currentTrace?.variantQueries ?? []).join("|") || previousTrace.finalCount !== (currentTrace?.resultCounts.final ?? 0) || previousTrace.vectorCount !== (currentTrace?.resultCounts.vector ?? 0) || previousTrace.lexicalCount !== (currentTrace?.resultCounts.lexical ?? 0) || previousTrace.candidateTopK !== (currentTrace?.candidateTopK ?? 0) || previousTrace.lexicalTopK !== (currentTrace?.lexicalTopK ?? 0) || previousTrace.topContextLabel !== topContextLabel || previousTrace.topLocatorLabel !== topLocatorLabel || previousTrace.sourceAwareChunkReasonLabel !== sourceAwareChunkReasonLabel || previousTrace.sourceAwareUnitScopeLabel !== sourceAwareUnitScopeLabel || previousTrace.leadSpeakerCue !== leadSpeakerCue || previousTrace.leadSpeakerAttributionCue !== leadSpeakerAttributionCue || previousTrace.leadChannelCue !== leadChannelCue || previousTrace.leadChannelAttributionCue !== leadChannelAttributionCue || previousTrace.leadContinuityCue !== leadContinuityCue || previousTrace.sqliteQueryMode !== sqliteQueryMode || previousTrace.sqliteQueryPushdownMode !== sqliteQueryPushdownMode || previousTrace.sqliteQueryPushdownApplied !== sqliteQueryPushdownApplied || previousTrace.sqliteQueryPushdownClauseCount !== sqliteQueryPushdownClauseCount || previousTrace.sqliteQueryTotalFilterClauseCount !== sqliteQueryTotalFilterClauseCount || previousTrace.sqliteQueryJsRemainderClauseCount !== sqliteQueryJsRemainderClauseCount || previousTrace.sqliteQueryMultiplierUsed !== sqliteQueryMultiplierUsed || previousTrace.sqliteQueryCandidateLimitUsed !== sqliteQueryCandidateLimitUsed || previousTrace.sqliteQueryPushdownCoverageRatio !== sqliteQueryPushdownCoverageRatio || previousTrace.sqliteQueryJsRemainderRatio !== sqliteQueryJsRemainderRatio || previousTrace.sqliteQueryFilteredCandidates !== sqliteQueryFilteredCandidates || previousTrace.sqliteQueryInitialSearchK !== sqliteQueryInitialSearchK || previousTrace.sqliteQueryFinalSearchK !== sqliteQueryFinalSearchK || previousTrace.sqliteQuerySearchExpansionRatio !== sqliteQuerySearchExpansionRatio || previousTrace.sqliteQueryBackfillCount !== sqliteQueryBackfillCount || previousTrace.sqliteQueryReturnedCount !== sqliteQueryReturnedCount || previousTrace.sqliteQueryCandidateYieldRatio !== sqliteQueryCandidateYieldRatio || previousTrace.sqliteQueryTopKFillRatio !== sqliteQueryTopKFillRatio || previousTrace.sqliteQueryUnderfilledTopK !== sqliteQueryUnderfilledTopK || previousTrace.sqliteQueryCandidateBudgetExhausted !== sqliteQueryCandidateBudgetExhausted || previousTrace.sqliteQueryCandidateCoverage !== sqliteQueryCandidateCoverage || previousTrace.postgresQueryMode !== postgresQueryMode || previousTrace.postgresQueryPushdownMode !== postgresQueryPushdownMode || previousTrace.postgresQueryPushdownApplied !== postgresQueryPushdownApplied || previousTrace.postgresQueryPushdownClauseCount !== postgresQueryPushdownClauseCount || previousTrace.postgresQueryTotalFilterClauseCount !== postgresQueryTotalFilterClauseCount || previousTrace.postgresQueryJsRemainderClauseCount !== postgresQueryJsRemainderClauseCount || previousTrace.postgresQueryMultiplierUsed !== postgresQueryMultiplierUsed || previousTrace.postgresQueryCandidateLimitUsed !== postgresQueryCandidateLimitUsed || previousTrace.postgresQueryPushdownCoverageRatio !== postgresQueryPushdownCoverageRatio || previousTrace.postgresQueryJsRemainderRatio !== postgresQueryJsRemainderRatio || previousTrace.postgresQueryFilteredCandidates !== postgresQueryFilteredCandidates || previousTrace.postgresQueryInitialSearchK !== postgresQueryInitialSearchK || previousTrace.postgresQueryFinalSearchK !== postgresQueryFinalSearchK || previousTrace.postgresQuerySearchExpansionRatio !== postgresQuerySearchExpansionRatio || previousTrace.postgresQueryBackfillCount !== postgresQueryBackfillCount || previousTrace.postgresQueryReturnedCount !== postgresQueryReturnedCount || previousTrace.postgresQueryCandidateYieldRatio !== postgresQueryCandidateYieldRatio || previousTrace.postgresQueryTopKFillRatio !== postgresQueryTopKFillRatio || previousTrace.postgresQueryUnderfilledTopK !== postgresQueryUnderfilledTopK || previousTrace.postgresQueryCandidateBudgetExhausted !== postgresQueryCandidateBudgetExhausted || previousTrace.postgresQueryCandidateCoverage !== postgresQueryCandidateCoverage || !areStageCountsEqual(previousStageCounts, stageCounts) ? "changed" : "unchanged";
5204
+ const traceChange = !previousTrace ? currentTrace ? "new" : "unchanged" : previousTrace.traceMode !== currentTrace?.mode || previousFilterSignature !== currentFilterSignature || previousRetrievalSignature !== currentRetrievalSignature || previousTrace.sourceBalanceStrategy !== currentTrace?.sourceBalanceStrategy || previousTrace.transformedQuery !== (currentTrace?.transformedQuery || undefined) || previousTrace.variantQueries.join("|") !== (currentTrace?.variantQueries ?? []).join("|") || previousTrace.finalCount !== (currentTrace?.resultCounts.final ?? 0) || previousTrace.vectorCount !== (currentTrace?.resultCounts.vector ?? 0) || previousTrace.lexicalCount !== (currentTrace?.resultCounts.lexical ?? 0) || previousTrace.candidateTopK !== (currentTrace?.candidateTopK ?? 0) || previousTrace.lexicalTopK !== (currentTrace?.lexicalTopK ?? 0) || previousTrace.topContextLabel !== topContextLabel || previousTrace.topLocatorLabel !== topLocatorLabel || previousTrace.sourceAwareChunkReasonLabel !== sourceAwareChunkReasonLabel || previousTrace.sourceAwareUnitScopeLabel !== sourceAwareUnitScopeLabel || previousTrace.leadSpeakerCue !== leadSpeakerCue || previousTrace.leadSpeakerAttributionCue !== leadSpeakerAttributionCue || previousTrace.leadChannelCue !== leadChannelCue || previousTrace.leadChannelAttributionCue !== leadChannelAttributionCue || previousTrace.leadContinuityCue !== leadContinuityCue || previousTrace.sqliteQueryMode !== sqliteQueryMode || previousTrace.sqliteQueryPushdownMode !== sqliteQueryPushdownMode || previousTrace.sqliteQueryPushdownApplied !== sqliteQueryPushdownApplied || previousTrace.sqliteQueryPushdownClauseCount !== sqliteQueryPushdownClauseCount || previousTrace.sqliteQueryTotalFilterClauseCount !== sqliteQueryTotalFilterClauseCount || previousTrace.sqliteQueryJsRemainderClauseCount !== sqliteQueryJsRemainderClauseCount || previousTrace.sqliteQueryMultiplierUsed !== sqliteQueryMultiplierUsed || previousTrace.sqliteQueryCandidateLimitUsed !== sqliteQueryCandidateLimitUsed || previousTrace.sqliteQueryMaxBackfillsUsed !== sqliteQueryMaxBackfillsUsed || previousTrace.sqliteQueryPushdownCoverageRatio !== sqliteQueryPushdownCoverageRatio || previousTrace.sqliteQueryJsRemainderRatio !== sqliteQueryJsRemainderRatio || previousTrace.sqliteQueryFilteredCandidates !== sqliteQueryFilteredCandidates || previousTrace.sqliteQueryInitialSearchK !== sqliteQueryInitialSearchK || previousTrace.sqliteQueryFinalSearchK !== sqliteQueryFinalSearchK || previousTrace.sqliteQuerySearchExpansionRatio !== sqliteQuerySearchExpansionRatio || previousTrace.sqliteQueryBackfillCount !== sqliteQueryBackfillCount || previousTrace.sqliteQueryBackfillLimitReached !== sqliteQueryBackfillLimitReached || previousTrace.sqliteQueryReturnedCount !== sqliteQueryReturnedCount || previousTrace.sqliteQueryCandidateYieldRatio !== sqliteQueryCandidateYieldRatio || previousTrace.sqliteQueryTopKFillRatio !== sqliteQueryTopKFillRatio || previousTrace.sqliteQueryUnderfilledTopK !== sqliteQueryUnderfilledTopK || previousTrace.sqliteQueryCandidateBudgetExhausted !== sqliteQueryCandidateBudgetExhausted || previousTrace.sqliteQueryCandidateCoverage !== sqliteQueryCandidateCoverage || previousTrace.postgresQueryMode !== postgresQueryMode || previousTrace.postgresQueryPushdownMode !== postgresQueryPushdownMode || previousTrace.postgresQueryPushdownApplied !== postgresQueryPushdownApplied || previousTrace.postgresQueryPushdownClauseCount !== postgresQueryPushdownClauseCount || previousTrace.postgresQueryTotalFilterClauseCount !== postgresQueryTotalFilterClauseCount || previousTrace.postgresQueryJsRemainderClauseCount !== postgresQueryJsRemainderClauseCount || previousTrace.postgresQueryMultiplierUsed !== postgresQueryMultiplierUsed || previousTrace.postgresQueryCandidateLimitUsed !== postgresQueryCandidateLimitUsed || previousTrace.postgresQueryMaxBackfillsUsed !== postgresQueryMaxBackfillsUsed || previousTrace.postgresQueryPushdownCoverageRatio !== postgresQueryPushdownCoverageRatio || previousTrace.postgresQueryJsRemainderRatio !== postgresQueryJsRemainderRatio || previousTrace.postgresQueryFilteredCandidates !== postgresQueryFilteredCandidates || previousTrace.postgresQueryInitialSearchK !== postgresQueryInitialSearchK || previousTrace.postgresQueryFinalSearchK !== postgresQueryFinalSearchK || previousTrace.postgresQuerySearchExpansionRatio !== postgresQuerySearchExpansionRatio || previousTrace.postgresQueryBackfillCount !== postgresQueryBackfillCount || previousTrace.postgresQueryBackfillLimitReached !== postgresQueryBackfillLimitReached || previousTrace.postgresQueryReturnedCount !== postgresQueryReturnedCount || previousTrace.postgresQueryCandidateYieldRatio !== postgresQueryCandidateYieldRatio || previousTrace.postgresQueryTopKFillRatio !== postgresQueryTopKFillRatio || previousTrace.postgresQueryUnderfilledTopK !== postgresQueryUnderfilledTopK || previousTrace.postgresQueryCandidateBudgetExhausted !== postgresQueryCandidateBudgetExhausted || previousTrace.postgresQueryCandidateCoverage !== postgresQueryCandidateCoverage || !areStageCountsEqual(previousStageCounts, stageCounts) ? "changed" : "unchanged";
5193
5205
  return {
5194
5206
  candidateTopK: currentTrace?.candidateTopK ?? 0,
5195
5207
  caseId: caseResult.caseId,
@@ -5212,6 +5224,7 @@ var buildEvaluationCaseTraceSnapshot = ({
5212
5224
  previousLeadSpeakerAttributionCue: previousTrace?.leadSpeakerAttributionCue,
5213
5225
  previousLeadSpeakerCue: previousTrace?.leadSpeakerCue,
5214
5226
  previousSqliteQueryBackfillCount: previousTrace?.sqliteQueryBackfillCount,
5227
+ previousSqliteQueryBackfillLimitReached: previousTrace?.sqliteQueryBackfillLimitReached,
5215
5228
  previousSqliteQueryCandidateBudgetExhausted: previousTrace?.sqliteQueryCandidateBudgetExhausted,
5216
5229
  previousSqliteQueryCandidateCoverage: previousTrace?.sqliteQueryCandidateCoverage,
5217
5230
  previousSqliteQueryFilteredCandidates: previousTrace?.sqliteQueryFilteredCandidates,
@@ -5226,6 +5239,7 @@ var buildEvaluationCaseTraceSnapshot = ({
5226
5239
  previousSqliteQueryJsRemainderClauseCount: previousTrace?.sqliteQueryJsRemainderClauseCount,
5227
5240
  previousSqliteQueryMultiplierUsed: previousTrace?.sqliteQueryMultiplierUsed,
5228
5241
  previousSqliteQueryCandidateLimitUsed: previousTrace?.sqliteQueryCandidateLimitUsed,
5242
+ previousSqliteQueryMaxBackfillsUsed: previousTrace?.sqliteQueryMaxBackfillsUsed,
5229
5243
  previousSqliteQueryPushdownCoverageRatio: previousTrace?.sqliteQueryPushdownCoverageRatio,
5230
5244
  previousSqliteQueryJsRemainderRatio: previousTrace?.sqliteQueryJsRemainderRatio,
5231
5245
  previousSqliteQueryReturnedCount: previousTrace?.sqliteQueryReturnedCount,
@@ -5233,6 +5247,7 @@ var buildEvaluationCaseTraceSnapshot = ({
5233
5247
  previousSqliteQueryTopKFillRatio: previousTrace?.sqliteQueryTopKFillRatio,
5234
5248
  previousSqliteQueryUnderfilledTopK: previousTrace?.sqliteQueryUnderfilledTopK,
5235
5249
  previousPostgresQueryBackfillCount: previousTrace?.postgresQueryBackfillCount,
5250
+ previousPostgresQueryBackfillLimitReached: previousTrace?.postgresQueryBackfillLimitReached,
5236
5251
  previousPostgresQueryCandidateBudgetExhausted: previousTrace?.postgresQueryCandidateBudgetExhausted,
5237
5252
  previousPostgresQueryCandidateCoverage: previousTrace?.postgresQueryCandidateCoverage,
5238
5253
  previousPostgresQueryFilteredCandidates: previousTrace?.postgresQueryFilteredCandidates,
@@ -5247,6 +5262,7 @@ var buildEvaluationCaseTraceSnapshot = ({
5247
5262
  previousPostgresQueryJsRemainderClauseCount: previousTrace?.postgresQueryJsRemainderClauseCount,
5248
5263
  previousPostgresQueryMultiplierUsed: previousTrace?.postgresQueryMultiplierUsed,
5249
5264
  previousPostgresQueryCandidateLimitUsed: previousTrace?.postgresQueryCandidateLimitUsed,
5265
+ previousPostgresQueryMaxBackfillsUsed: previousTrace?.postgresQueryMaxBackfillsUsed,
5250
5266
  previousPostgresQueryPushdownCoverageRatio: previousTrace?.postgresQueryPushdownCoverageRatio,
5251
5267
  previousPostgresQueryJsRemainderRatio: previousTrace?.postgresQueryJsRemainderRatio,
5252
5268
  previousPostgresQueryReturnedCount: previousTrace?.postgresQueryReturnedCount,
@@ -5270,6 +5286,7 @@ var buildEvaluationCaseTraceSnapshot = ({
5270
5286
  leadSpeakerAttributionCue,
5271
5287
  leadSpeakerCue,
5272
5288
  sqliteQueryBackfillCount,
5289
+ sqliteQueryBackfillLimitReached,
5273
5290
  sqliteQueryCandidateBudgetExhausted,
5274
5291
  sqliteQueryCandidateCoverage,
5275
5292
  sqliteQueryFilteredCandidates,
@@ -5284,6 +5301,7 @@ var buildEvaluationCaseTraceSnapshot = ({
5284
5301
  sqliteQueryJsRemainderClauseCount,
5285
5302
  sqliteQueryMultiplierUsed,
5286
5303
  sqliteQueryCandidateLimitUsed,
5304
+ sqliteQueryMaxBackfillsUsed,
5287
5305
  sqliteQueryPushdownCoverageRatio,
5288
5306
  sqliteQueryJsRemainderRatio,
5289
5307
  sqliteQueryReturnedCount,
@@ -5291,6 +5309,7 @@ var buildEvaluationCaseTraceSnapshot = ({
5291
5309
  sqliteQueryTopKFillRatio,
5292
5310
  sqliteQueryUnderfilledTopK,
5293
5311
  postgresQueryBackfillCount,
5312
+ postgresQueryBackfillLimitReached,
5294
5313
  postgresQueryCandidateBudgetExhausted,
5295
5314
  postgresQueryCandidateCoverage,
5296
5315
  postgresQueryFilteredCandidates,
@@ -5305,6 +5324,7 @@ var buildEvaluationCaseTraceSnapshot = ({
5305
5324
  postgresQueryJsRemainderClauseCount,
5306
5325
  postgresQueryMultiplierUsed,
5307
5326
  postgresQueryCandidateLimitUsed,
5327
+ postgresQueryMaxBackfillsUsed,
5308
5328
  postgresQueryPushdownCoverageRatio,
5309
5329
  postgresQueryJsRemainderRatio,
5310
5330
  postgresQueryReturnedCount,
@@ -12082,5 +12102,5 @@ export {
12082
12102
  createAIStream
12083
12103
  };
12084
12104
 
12085
- //# debugId=1FFB65F9D3A7FC8664756E2164756E21
12105
+ //# debugId=E6796EA56888AF8364756E2164756E21
12086
12106
  //# sourceMappingURL=index.js.map