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

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.
@@ -489,6 +489,7 @@ export type RAGQueryInput = {
489
489
  queryMultiplier?: number;
490
490
  candidateLimit?: number;
491
491
  maxBackfills?: number;
492
+ minResults?: number;
492
493
  };
493
494
  export type RAGLexicalQueryInput = {
494
495
  query: string;
@@ -769,6 +770,7 @@ export type RAGSQLiteNativeDiagnostics = {
769
770
  queryMultiplierUsed?: number;
770
771
  candidateLimitUsed?: number;
771
772
  maxBackfillsUsed?: number;
773
+ minResultsUsed?: number;
772
774
  pushdownCoverageRatio?: number;
773
775
  jsRemainderRatio?: number;
774
776
  filteredCandidateCount?: number;
@@ -777,6 +779,7 @@ export type RAGSQLiteNativeDiagnostics = {
777
779
  searchExpansionRatio?: number;
778
780
  backfillCount?: number;
779
781
  backfillLimitReached?: boolean;
782
+ minResultsSatisfied?: boolean;
780
783
  returnedCount?: number;
781
784
  candidateYieldRatio?: number;
782
785
  topKFillRatio?: number;
@@ -820,6 +823,7 @@ export type RAGPostgresNativeDiagnostics = {
820
823
  queryMultiplierUsed?: number;
821
824
  candidateLimitUsed?: number;
822
825
  maxBackfillsUsed?: number;
826
+ minResultsUsed?: number;
823
827
  pushdownCoverageRatio?: number;
824
828
  jsRemainderRatio?: number;
825
829
  filteredCandidateCount?: number;
@@ -828,6 +832,7 @@ export type RAGPostgresNativeDiagnostics = {
828
832
  searchExpansionRatio?: number;
829
833
  backfillCount?: number;
830
834
  backfillLimitReached?: boolean;
835
+ minResultsSatisfied?: boolean;
831
836
  returnedCount?: number;
832
837
  candidateYieldRatio?: number;
833
838
  topKFillRatio?: number;
@@ -866,6 +871,7 @@ export type RAGCollectionSearchParams = {
866
871
  nativeQueryMultiplier?: number;
867
872
  nativeCandidateLimit?: number;
868
873
  nativeMaxBackfills?: number;
874
+ nativeMinResults?: number;
869
875
  filter?: Record<string, unknown>;
870
876
  scoreThreshold?: number;
871
877
  queryTransform?: RAGQueryTransformProviderLike;
@@ -2238,6 +2244,8 @@ export type RAGEvaluationCaseTraceSnapshot = {
2238
2244
  previousSqliteQueryCandidateLimitUsed?: number;
2239
2245
  sqliteQueryMaxBackfillsUsed?: number;
2240
2246
  previousSqliteQueryMaxBackfillsUsed?: number;
2247
+ sqliteQueryMinResultsUsed?: number;
2248
+ previousSqliteQueryMinResultsUsed?: number;
2241
2249
  sqliteQueryPushdownCoverageRatio?: number;
2242
2250
  previousSqliteQueryPushdownCoverageRatio?: number;
2243
2251
  sqliteQueryJsRemainderRatio?: number;
@@ -2254,6 +2262,8 @@ export type RAGEvaluationCaseTraceSnapshot = {
2254
2262
  previousSqliteQueryBackfillCount?: number;
2255
2263
  sqliteQueryBackfillLimitReached?: boolean;
2256
2264
  previousSqliteQueryBackfillLimitReached?: boolean;
2265
+ sqliteQueryMinResultsSatisfied?: boolean;
2266
+ previousSqliteQueryMinResultsSatisfied?: boolean;
2257
2267
  sqliteQueryReturnedCount?: number;
2258
2268
  previousSqliteQueryReturnedCount?: number;
2259
2269
  sqliteQueryCandidateYieldRatio?: number;
@@ -2284,6 +2294,8 @@ export type RAGEvaluationCaseTraceSnapshot = {
2284
2294
  previousPostgresQueryCandidateLimitUsed?: number;
2285
2295
  postgresQueryMaxBackfillsUsed?: number;
2286
2296
  previousPostgresQueryMaxBackfillsUsed?: number;
2297
+ postgresQueryMinResultsUsed?: number;
2298
+ previousPostgresQueryMinResultsUsed?: number;
2287
2299
  postgresQueryPushdownCoverageRatio?: number;
2288
2300
  previousPostgresQueryPushdownCoverageRatio?: number;
2289
2301
  postgresQueryJsRemainderRatio?: number;
@@ -2300,6 +2312,8 @@ export type RAGEvaluationCaseTraceSnapshot = {
2300
2312
  previousPostgresQueryBackfillCount?: number;
2301
2313
  postgresQueryBackfillLimitReached?: boolean;
2302
2314
  previousPostgresQueryBackfillLimitReached?: boolean;
2315
+ postgresQueryMinResultsSatisfied?: boolean;
2316
+ previousPostgresQueryMinResultsSatisfied?: boolean;
2303
2317
  postgresQueryReturnedCount?: number;
2304
2318
  previousPostgresQueryReturnedCount?: number;
2305
2319
  postgresQueryCandidateYieldRatio?: number;
@@ -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 === "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,
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 === "sqliteQueryMinResultsUsed" ? "SQLite min results" : key === "postgresQueryJsRemainderClauseCount" ? "Postgres JS remainder clauses" : key === "postgresQueryMultiplierUsed" ? "Postgres query multiplier" : key === "postgresQueryCandidateLimitUsed" ? "Postgres candidate limit" : key === "postgresQueryMaxBackfillsUsed" ? "Postgres max backfills" : key === "postgresQueryMinResultsUsed" ? "Postgres min results" : 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 === "sqliteQueryMinResultsSatisfied" ? "SQLite min results satisfied" : key === "postgresQueryBackfillCount" ? "Postgres backfill count" : key === "postgresQueryBackfillLimitReached" ? "Postgres backfill limit reached" : key === "postgresQueryMinResultsSatisfied" ? "Postgres min results satisfied" : 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) => {
@@ -2524,6 +2524,7 @@ var formatSQLitePlannerCueSummary = (input) => {
2524
2524
  typeof input?.sqliteQueryMultiplierUsed === "number" ? `x${input.sqliteQueryMultiplierUsed}` : undefined,
2525
2525
  typeof input?.sqliteQueryCandidateLimitUsed === "number" ? `cap ${input.sqliteQueryCandidateLimitUsed}` : undefined,
2526
2526
  typeof input?.sqliteQueryMaxBackfillsUsed === "number" ? `backfills ${input.sqliteQueryMaxBackfillsUsed}` : undefined,
2527
+ typeof input?.sqliteQueryMinResultsUsed === "number" ? `min ${input.sqliteQueryMinResultsUsed}` : undefined,
2527
2528
  typeof input?.sqliteQueryJsRemainderRatio === "number" ? `js ${(input.sqliteQueryJsRemainderRatio * 100).toFixed(0)}%` : undefined,
2528
2529
  typeof input?.sqliteQueryTotalFilterClauseCount === "number" ? `total clauses ${input.sqliteQueryTotalFilterClauseCount}` : undefined,
2529
2530
  typeof input?.sqliteQueryFilteredCandidates === "number" ? `filtered ${input.sqliteQueryFilteredCandidates}` : undefined,
@@ -2531,6 +2532,7 @@ var formatSQLitePlannerCueSummary = (input) => {
2531
2532
  typeof input?.sqliteQuerySearchExpansionRatio === "number" ? `expand ${(input.sqliteQuerySearchExpansionRatio * 100).toFixed(0)}%` : undefined,
2532
2533
  typeof input?.sqliteQueryBackfillCount === "number" ? `backfill ${input.sqliteQueryBackfillCount}` : undefined,
2533
2534
  typeof input?.sqliteQueryBackfillLimitReached === "boolean" && input.sqliteQueryBackfillLimitReached ? "backfill limit reached" : undefined,
2535
+ typeof input?.sqliteQueryMinResultsSatisfied === "boolean" && input.sqliteQueryMinResultsSatisfied ? "min satisfied" : undefined,
2534
2536
  typeof input?.sqliteQueryReturnedCount === "number" ? `returned ${input.sqliteQueryReturnedCount}` : undefined,
2535
2537
  typeof input?.sqliteQueryCandidateYieldRatio === "number" ? `yield ${(input.sqliteQueryCandidateYieldRatio * 100).toFixed(0)}%` : undefined,
2536
2538
  typeof input?.sqliteQueryTopKFillRatio === "number" ? `fill ${(input.sqliteQueryTopKFillRatio * 100).toFixed(0)}%` : undefined,
@@ -2553,6 +2555,7 @@ var formatPostgresPlannerCueSummary = (input) => {
2553
2555
  typeof input?.postgresQueryMultiplierUsed === "number" ? `x${input.postgresQueryMultiplierUsed}` : undefined,
2554
2556
  typeof input?.postgresQueryCandidateLimitUsed === "number" ? `cap ${input.postgresQueryCandidateLimitUsed}` : undefined,
2555
2557
  typeof input?.postgresQueryMaxBackfillsUsed === "number" ? `backfills ${input.postgresQueryMaxBackfillsUsed}` : undefined,
2558
+ typeof input?.postgresQueryMinResultsUsed === "number" ? `min ${input.postgresQueryMinResultsUsed}` : undefined,
2556
2559
  typeof input?.postgresQueryJsRemainderRatio === "number" ? `js ${(input.postgresQueryJsRemainderRatio * 100).toFixed(0)}%` : undefined,
2557
2560
  typeof input?.postgresQueryTotalFilterClauseCount === "number" ? `total clauses ${input.postgresQueryTotalFilterClauseCount}` : undefined,
2558
2561
  typeof input?.postgresQueryFilteredCandidates === "number" ? `filtered ${input.postgresQueryFilteredCandidates}` : undefined,
@@ -2560,6 +2563,7 @@ var formatPostgresPlannerCueSummary = (input) => {
2560
2563
  typeof input?.postgresQuerySearchExpansionRatio === "number" ? `expand ${(input.postgresQuerySearchExpansionRatio * 100).toFixed(0)}%` : undefined,
2561
2564
  typeof input?.postgresQueryBackfillCount === "number" ? `backfill ${input.postgresQueryBackfillCount}` : undefined,
2562
2565
  typeof input?.postgresQueryBackfillLimitReached === "boolean" && input.postgresQueryBackfillLimitReached ? "backfill limit reached" : undefined,
2566
+ typeof input?.postgresQueryMinResultsSatisfied === "boolean" && input.postgresQueryMinResultsSatisfied ? "min satisfied" : undefined,
2563
2567
  typeof input?.postgresQueryReturnedCount === "number" ? `returned ${input.postgresQueryReturnedCount}` : undefined,
2564
2568
  typeof input?.postgresQueryCandidateYieldRatio === "number" ? `yield ${(input.postgresQueryCandidateYieldRatio * 100).toFixed(0)}%` : undefined,
2565
2569
  typeof input?.postgresQueryTopKFillRatio === "number" ? `fill ${(input.postgresQueryTopKFillRatio * 100).toFixed(0)}%` : undefined,
@@ -2581,6 +2585,8 @@ var formatComparisonSQLitePlannerCueSummary = (entry) => {
2581
2585
  sqliteQuerySearchExpansionRatio: snapshot.sqliteQuerySearchExpansionRatio,
2582
2586
  sqliteQueryJsRemainderClauseCount: snapshot.sqliteQueryJsRemainderClauseCount,
2583
2587
  sqliteQueryCandidateLimitUsed: snapshot.sqliteQueryCandidateLimitUsed,
2588
+ sqliteQueryMaxBackfillsUsed: snapshot.sqliteQueryMaxBackfillsUsed,
2589
+ sqliteQueryMinResultsUsed: snapshot.sqliteQueryMinResultsUsed,
2584
2590
  sqliteQueryMode: snapshot.sqliteQueryMode,
2585
2591
  sqliteQueryPushdownApplied: snapshot.sqliteQueryPushdownApplied,
2586
2592
  sqliteQueryPushdownClauseCount: snapshot.sqliteQueryPushdownClauseCount,
@@ -2588,6 +2594,8 @@ var formatComparisonSQLitePlannerCueSummary = (entry) => {
2588
2594
  sqliteQueryPushdownMode: snapshot.sqliteQueryPushdownMode,
2589
2595
  sqliteQueryTotalFilterClauseCount: snapshot.sqliteQueryTotalFilterClauseCount,
2590
2596
  sqliteQueryReturnedCount: snapshot.sqliteQueryReturnedCount,
2597
+ sqliteQueryBackfillLimitReached: snapshot.sqliteQueryBackfillLimitReached,
2598
+ sqliteQueryMinResultsSatisfied: snapshot.sqliteQueryMinResultsSatisfied,
2591
2599
  sqliteQueryCandidateYieldRatio: snapshot.sqliteQueryCandidateYieldRatio,
2592
2600
  sqliteQueryTopKFillRatio: snapshot.sqliteQueryTopKFillRatio,
2593
2601
  sqliteQueryJsRemainderRatio: snapshot.sqliteQueryJsRemainderRatio,
@@ -2606,6 +2614,8 @@ var formatComparisonPostgresPlannerCueSummary = (entry) => {
2606
2614
  postgresQuerySearchExpansionRatio: snapshot.postgresQuerySearchExpansionRatio,
2607
2615
  postgresQueryJsRemainderClauseCount: snapshot.postgresQueryJsRemainderClauseCount,
2608
2616
  postgresQueryCandidateLimitUsed: snapshot.postgresQueryCandidateLimitUsed,
2617
+ postgresQueryMaxBackfillsUsed: snapshot.postgresQueryMaxBackfillsUsed,
2618
+ postgresQueryMinResultsUsed: snapshot.postgresQueryMinResultsUsed,
2609
2619
  postgresQueryMultiplierUsed: snapshot.postgresQueryMultiplierUsed,
2610
2620
  postgresQueryMode: snapshot.postgresQueryMode,
2611
2621
  postgresQueryPushdownApplied: snapshot.postgresQueryPushdownApplied,
@@ -2614,6 +2624,8 @@ var formatComparisonPostgresPlannerCueSummary = (entry) => {
2614
2624
  postgresQueryPushdownMode: snapshot.postgresQueryPushdownMode,
2615
2625
  postgresQueryTotalFilterClauseCount: snapshot.postgresQueryTotalFilterClauseCount,
2616
2626
  postgresQueryReturnedCount: snapshot.postgresQueryReturnedCount,
2627
+ postgresQueryBackfillLimitReached: snapshot.postgresQueryBackfillLimitReached,
2628
+ postgresQueryMinResultsSatisfied: snapshot.postgresQueryMinResultsSatisfied,
2617
2629
  postgresQueryCandidateYieldRatio: snapshot.postgresQueryCandidateYieldRatio,
2618
2630
  postgresQueryTopKFillRatio: snapshot.postgresQueryTopKFillRatio,
2619
2631
  postgresQueryJsRemainderRatio: snapshot.postgresQueryJsRemainderRatio,
@@ -2772,6 +2784,8 @@ var formatHistorySQLitePlannerShift = (history) => {
2772
2784
  sqliteQuerySearchExpansionRatio: entry.previousSqliteQuerySearchExpansionRatio,
2773
2785
  sqliteQueryJsRemainderClauseCount: entry.previousSqliteQueryJsRemainderClauseCount,
2774
2786
  sqliteQueryCandidateLimitUsed: entry.previousSqliteQueryCandidateLimitUsed,
2787
+ sqliteQueryMaxBackfillsUsed: entry.previousSqliteQueryMaxBackfillsUsed,
2788
+ sqliteQueryMinResultsUsed: entry.previousSqliteQueryMinResultsUsed,
2775
2789
  sqliteQueryMode: entry.previousSqliteQueryMode,
2776
2790
  sqliteQueryPushdownApplied: entry.previousSqliteQueryPushdownApplied,
2777
2791
  sqliteQueryPushdownClauseCount: entry.previousSqliteQueryPushdownClauseCount,
@@ -2780,6 +2794,8 @@ var formatHistorySQLitePlannerShift = (history) => {
2780
2794
  sqliteQueryTotalFilterClauseCount: entry.previousSqliteQueryTotalFilterClauseCount,
2781
2795
  sqliteQueryJsRemainderRatio: entry.previousSqliteQueryJsRemainderRatio,
2782
2796
  sqliteQueryReturnedCount: entry.previousSqliteQueryReturnedCount,
2797
+ sqliteQueryBackfillLimitReached: entry.previousSqliteQueryBackfillLimitReached,
2798
+ sqliteQueryMinResultsSatisfied: entry.previousSqliteQueryMinResultsSatisfied,
2783
2799
  sqliteQueryCandidateYieldRatio: entry.previousSqliteQueryCandidateYieldRatio,
2784
2800
  sqliteQueryTopKFillRatio: entry.previousSqliteQueryTopKFillRatio,
2785
2801
  sqliteQueryUnderfilledTopK: entry.previousSqliteQueryUnderfilledTopK
@@ -2807,6 +2823,8 @@ var formatHistoryPostgresPlannerShift = (history) => {
2807
2823
  postgresQuerySearchExpansionRatio: entry.previousPostgresQuerySearchExpansionRatio,
2808
2824
  postgresQueryJsRemainderClauseCount: entry.previousPostgresQueryJsRemainderClauseCount,
2809
2825
  postgresQueryCandidateLimitUsed: entry.previousPostgresQueryCandidateLimitUsed,
2826
+ postgresQueryMaxBackfillsUsed: entry.previousPostgresQueryMaxBackfillsUsed,
2827
+ postgresQueryMinResultsUsed: entry.previousPostgresQueryMinResultsUsed,
2810
2828
  postgresQueryMultiplierUsed: entry.previousPostgresQueryMultiplierUsed,
2811
2829
  postgresQueryMode: entry.previousPostgresQueryMode,
2812
2830
  postgresQueryPushdownApplied: entry.previousPostgresQueryPushdownApplied,
@@ -2816,6 +2834,8 @@ var formatHistoryPostgresPlannerShift = (history) => {
2816
2834
  postgresQueryTotalFilterClauseCount: entry.previousPostgresQueryTotalFilterClauseCount,
2817
2835
  postgresQueryJsRemainderRatio: entry.previousPostgresQueryJsRemainderRatio,
2818
2836
  postgresQueryReturnedCount: entry.previousPostgresQueryReturnedCount,
2837
+ postgresQueryBackfillLimitReached: entry.previousPostgresQueryBackfillLimitReached,
2838
+ postgresQueryMinResultsSatisfied: entry.previousPostgresQueryMinResultsSatisfied,
2819
2839
  postgresQueryCandidateYieldRatio: entry.previousPostgresQueryCandidateYieldRatio,
2820
2840
  postgresQueryTopKFillRatio: entry.previousPostgresQueryTopKFillRatio,
2821
2841
  postgresQueryUnderfilledTopK: entry.previousPostgresQueryUnderfilledTopK
@@ -3873,11 +3893,13 @@ var buildEvaluationSQLiteQueryPlanSnapshot = (trace) => {
3873
3893
  sqliteQueryMultiplierUsed: typeof metadata.sqliteQueryMultiplierUsed === "number" ? metadata.sqliteQueryMultiplierUsed : undefined,
3874
3894
  sqliteQueryCandidateLimitUsed: typeof metadata.sqliteQueryCandidateLimitUsed === "number" ? metadata.sqliteQueryCandidateLimitUsed : undefined,
3875
3895
  sqliteQueryMaxBackfillsUsed: typeof metadata.sqliteQueryMaxBackfillsUsed === "number" ? metadata.sqliteQueryMaxBackfillsUsed : undefined,
3896
+ sqliteQueryMinResultsUsed: typeof metadata.sqliteQueryMinResultsUsed === "number" ? metadata.sqliteQueryMinResultsUsed : undefined,
3876
3897
  sqliteQueryPushdownCoverageRatio: typeof metadata.sqliteQueryPushdownCoverageRatio === "number" ? metadata.sqliteQueryPushdownCoverageRatio : undefined,
3877
3898
  sqliteQueryJsRemainderRatio: typeof metadata.sqliteQueryJsRemainderRatio === "number" ? metadata.sqliteQueryJsRemainderRatio : undefined,
3878
3899
  sqliteQueryReturnedCount: typeof metadata.sqliteQueryReturnedCount === "number" ? metadata.sqliteQueryReturnedCount : undefined,
3879
3900
  sqliteQueryCandidateYieldRatio: typeof metadata.sqliteQueryCandidateYieldRatio === "number" ? metadata.sqliteQueryCandidateYieldRatio : undefined,
3880
3901
  sqliteQueryBackfillLimitReached: typeof metadata.sqliteQueryBackfillLimitReached === "boolean" ? metadata.sqliteQueryBackfillLimitReached : undefined,
3902
+ sqliteQueryMinResultsSatisfied: typeof metadata.sqliteQueryMinResultsSatisfied === "boolean" ? metadata.sqliteQueryMinResultsSatisfied : undefined,
3881
3903
  sqliteQueryTopKFillRatio: typeof metadata.sqliteQueryTopKFillRatio === "number" ? metadata.sqliteQueryTopKFillRatio : undefined,
3882
3904
  sqliteQueryUnderfilledTopK: typeof metadata.sqliteQueryUnderfilledTopK === "boolean" ? metadata.sqliteQueryUnderfilledTopK : undefined
3883
3905
  };
@@ -3902,11 +3924,13 @@ var buildEvaluationPostgresQueryPlanSnapshot = (trace) => {
3902
3924
  postgresQueryMultiplierUsed: typeof metadata.postgresQueryMultiplierUsed === "number" ? metadata.postgresQueryMultiplierUsed : undefined,
3903
3925
  postgresQueryCandidateLimitUsed: typeof metadata.postgresQueryCandidateLimitUsed === "number" ? metadata.postgresQueryCandidateLimitUsed : undefined,
3904
3926
  postgresQueryMaxBackfillsUsed: typeof metadata.postgresQueryMaxBackfillsUsed === "number" ? metadata.postgresQueryMaxBackfillsUsed : undefined,
3927
+ postgresQueryMinResultsUsed: typeof metadata.postgresQueryMinResultsUsed === "number" ? metadata.postgresQueryMinResultsUsed : undefined,
3905
3928
  postgresQueryPushdownCoverageRatio: typeof metadata.postgresQueryPushdownCoverageRatio === "number" ? metadata.postgresQueryPushdownCoverageRatio : undefined,
3906
3929
  postgresQueryJsRemainderRatio: typeof metadata.postgresQueryJsRemainderRatio === "number" ? metadata.postgresQueryJsRemainderRatio : undefined,
3907
3930
  postgresQueryReturnedCount: typeof metadata.postgresQueryReturnedCount === "number" ? metadata.postgresQueryReturnedCount : undefined,
3908
3931
  postgresQueryCandidateYieldRatio: typeof metadata.postgresQueryCandidateYieldRatio === "number" ? metadata.postgresQueryCandidateYieldRatio : undefined,
3909
3932
  postgresQueryBackfillLimitReached: typeof metadata.postgresQueryBackfillLimitReached === "boolean" ? metadata.postgresQueryBackfillLimitReached : undefined,
3933
+ postgresQueryMinResultsSatisfied: typeof metadata.postgresQueryMinResultsSatisfied === "boolean" ? metadata.postgresQueryMinResultsSatisfied : undefined,
3910
3934
  postgresQueryTopKFillRatio: typeof metadata.postgresQueryTopKFillRatio === "number" ? metadata.postgresQueryTopKFillRatio : undefined,
3911
3935
  postgresQueryUnderfilledTopK: typeof metadata.postgresQueryUnderfilledTopK === "boolean" ? metadata.postgresQueryUnderfilledTopK : undefined
3912
3936
  };
@@ -5160,6 +5184,7 @@ var buildEvaluationCaseTraceSnapshot = ({
5160
5184
  const sqliteQueryMultiplierUsed = currentSQLiteQueryPlanSnapshot.sqliteQueryMultiplierUsed ?? currentSnapshot?.sqliteQueryMultiplierUsed;
5161
5185
  const sqliteQueryCandidateLimitUsed = currentSQLiteQueryPlanSnapshot.sqliteQueryCandidateLimitUsed ?? currentSnapshot?.sqliteQueryCandidateLimitUsed;
5162
5186
  const sqliteQueryMaxBackfillsUsed = currentSQLiteQueryPlanSnapshot.sqliteQueryMaxBackfillsUsed ?? currentSnapshot?.sqliteQueryMaxBackfillsUsed;
5187
+ const sqliteQueryMinResultsUsed = currentSQLiteQueryPlanSnapshot.sqliteQueryMinResultsUsed ?? currentSnapshot?.sqliteQueryMinResultsUsed;
5163
5188
  const sqliteQueryPushdownCoverageRatio = currentSQLiteQueryPlanSnapshot.sqliteQueryPushdownCoverageRatio ?? currentSnapshot?.sqliteQueryPushdownCoverageRatio;
5164
5189
  const sqliteQueryJsRemainderRatio = currentSQLiteQueryPlanSnapshot.sqliteQueryJsRemainderRatio ?? currentSnapshot?.sqliteQueryJsRemainderRatio;
5165
5190
  const sqliteQueryFilteredCandidates = currentSQLiteQueryPlanSnapshot.sqliteQueryFilteredCandidates ?? currentSnapshot?.sqliteQueryFilteredCandidates;
@@ -5168,6 +5193,7 @@ var buildEvaluationCaseTraceSnapshot = ({
5168
5193
  const sqliteQuerySearchExpansionRatio = currentSQLiteQueryPlanSnapshot.sqliteQuerySearchExpansionRatio ?? currentSnapshot?.sqliteQuerySearchExpansionRatio;
5169
5194
  const sqliteQueryBackfillCount = currentSQLiteQueryPlanSnapshot.sqliteQueryBackfillCount ?? currentSnapshot?.sqliteQueryBackfillCount;
5170
5195
  const sqliteQueryBackfillLimitReached = currentSQLiteQueryPlanSnapshot.sqliteQueryBackfillLimitReached ?? currentSnapshot?.sqliteQueryBackfillLimitReached;
5196
+ const sqliteQueryMinResultsSatisfied = currentSQLiteQueryPlanSnapshot.sqliteQueryMinResultsSatisfied ?? currentSnapshot?.sqliteQueryMinResultsSatisfied;
5171
5197
  const sqliteQueryReturnedCount = currentSQLiteQueryPlanSnapshot.sqliteQueryReturnedCount ?? currentSnapshot?.sqliteQueryReturnedCount;
5172
5198
  const sqliteQueryCandidateYieldRatio = currentSQLiteQueryPlanSnapshot.sqliteQueryCandidateYieldRatio ?? currentSnapshot?.sqliteQueryCandidateYieldRatio;
5173
5199
  const sqliteQueryTopKFillRatio = currentSQLiteQueryPlanSnapshot.sqliteQueryTopKFillRatio ?? currentSnapshot?.sqliteQueryTopKFillRatio;
@@ -5183,6 +5209,7 @@ var buildEvaluationCaseTraceSnapshot = ({
5183
5209
  const postgresQueryMultiplierUsed = currentPostgresQueryPlanSnapshot.postgresQueryMultiplierUsed ?? currentSnapshot?.postgresQueryMultiplierUsed;
5184
5210
  const postgresQueryCandidateLimitUsed = currentPostgresQueryPlanSnapshot.postgresQueryCandidateLimitUsed ?? currentSnapshot?.postgresQueryCandidateLimitUsed;
5185
5211
  const postgresQueryMaxBackfillsUsed = currentPostgresQueryPlanSnapshot.postgresQueryMaxBackfillsUsed ?? currentSnapshot?.postgresQueryMaxBackfillsUsed;
5212
+ const postgresQueryMinResultsUsed = currentPostgresQueryPlanSnapshot.postgresQueryMinResultsUsed ?? currentSnapshot?.postgresQueryMinResultsUsed;
5186
5213
  const postgresQueryPushdownCoverageRatio = currentPostgresQueryPlanSnapshot.postgresQueryPushdownCoverageRatio ?? currentSnapshot?.postgresQueryPushdownCoverageRatio;
5187
5214
  const postgresQueryJsRemainderRatio = currentPostgresQueryPlanSnapshot.postgresQueryJsRemainderRatio ?? currentSnapshot?.postgresQueryJsRemainderRatio;
5188
5215
  const postgresQueryFilteredCandidates = currentPostgresQueryPlanSnapshot.postgresQueryFilteredCandidates ?? currentSnapshot?.postgresQueryFilteredCandidates;
@@ -5191,6 +5218,7 @@ var buildEvaluationCaseTraceSnapshot = ({
5191
5218
  const postgresQuerySearchExpansionRatio = currentPostgresQueryPlanSnapshot.postgresQuerySearchExpansionRatio ?? currentSnapshot?.postgresQuerySearchExpansionRatio;
5192
5219
  const postgresQueryBackfillCount = currentPostgresQueryPlanSnapshot.postgresQueryBackfillCount ?? currentSnapshot?.postgresQueryBackfillCount;
5193
5220
  const postgresQueryBackfillLimitReached = currentPostgresQueryPlanSnapshot.postgresQueryBackfillLimitReached ?? currentSnapshot?.postgresQueryBackfillLimitReached;
5221
+ const postgresQueryMinResultsSatisfied = currentPostgresQueryPlanSnapshot.postgresQueryMinResultsSatisfied ?? currentSnapshot?.postgresQueryMinResultsSatisfied;
5194
5222
  const postgresQueryReturnedCount = currentPostgresQueryPlanSnapshot.postgresQueryReturnedCount ?? currentSnapshot?.postgresQueryReturnedCount;
5195
5223
  const postgresQueryCandidateYieldRatio = currentPostgresQueryPlanSnapshot.postgresQueryCandidateYieldRatio ?? currentSnapshot?.postgresQueryCandidateYieldRatio;
5196
5224
  const postgresQueryTopKFillRatio = currentPostgresQueryPlanSnapshot.postgresQueryTopKFillRatio ?? currentSnapshot?.postgresQueryTopKFillRatio;
@@ -5201,7 +5229,7 @@ var buildEvaluationCaseTraceSnapshot = ({
5201
5229
  const previousFilterSignature = JSON.stringify(previousTrace?.inputFilter ?? undefined);
5202
5230
  const currentRetrievalSignature = JSON.stringify(retrieval ?? undefined);
5203
5231
  const previousRetrievalSignature = JSON.stringify(previousTrace?.inputRetrieval ?? undefined);
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";
5232
+ 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.sqliteQueryMinResultsUsed !== sqliteQueryMinResultsUsed || 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.sqliteQueryMinResultsSatisfied !== sqliteQueryMinResultsSatisfied || 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.postgresQueryMinResultsUsed !== postgresQueryMinResultsUsed || 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.postgresQueryMinResultsSatisfied !== postgresQueryMinResultsSatisfied || previousTrace.postgresQueryReturnedCount !== postgresQueryReturnedCount || previousTrace.postgresQueryCandidateYieldRatio !== postgresQueryCandidateYieldRatio || previousTrace.postgresQueryTopKFillRatio !== postgresQueryTopKFillRatio || previousTrace.postgresQueryUnderfilledTopK !== postgresQueryUnderfilledTopK || previousTrace.postgresQueryCandidateBudgetExhausted !== postgresQueryCandidateBudgetExhausted || previousTrace.postgresQueryCandidateCoverage !== postgresQueryCandidateCoverage || !areStageCountsEqual(previousStageCounts, stageCounts) ? "changed" : "unchanged";
5205
5233
  return {
5206
5234
  candidateTopK: currentTrace?.candidateTopK ?? 0,
5207
5235
  caseId: caseResult.caseId,
@@ -5225,6 +5253,7 @@ var buildEvaluationCaseTraceSnapshot = ({
5225
5253
  previousLeadSpeakerCue: previousTrace?.leadSpeakerCue,
5226
5254
  previousSqliteQueryBackfillCount: previousTrace?.sqliteQueryBackfillCount,
5227
5255
  previousSqliteQueryBackfillLimitReached: previousTrace?.sqliteQueryBackfillLimitReached,
5256
+ previousSqliteQueryMinResultsSatisfied: previousTrace?.sqliteQueryMinResultsSatisfied,
5228
5257
  previousSqliteQueryCandidateBudgetExhausted: previousTrace?.sqliteQueryCandidateBudgetExhausted,
5229
5258
  previousSqliteQueryCandidateCoverage: previousTrace?.sqliteQueryCandidateCoverage,
5230
5259
  previousSqliteQueryFilteredCandidates: previousTrace?.sqliteQueryFilteredCandidates,
@@ -5240,6 +5269,7 @@ var buildEvaluationCaseTraceSnapshot = ({
5240
5269
  previousSqliteQueryMultiplierUsed: previousTrace?.sqliteQueryMultiplierUsed,
5241
5270
  previousSqliteQueryCandidateLimitUsed: previousTrace?.sqliteQueryCandidateLimitUsed,
5242
5271
  previousSqliteQueryMaxBackfillsUsed: previousTrace?.sqliteQueryMaxBackfillsUsed,
5272
+ previousSqliteQueryMinResultsUsed: previousTrace?.sqliteQueryMinResultsUsed,
5243
5273
  previousSqliteQueryPushdownCoverageRatio: previousTrace?.sqliteQueryPushdownCoverageRatio,
5244
5274
  previousSqliteQueryJsRemainderRatio: previousTrace?.sqliteQueryJsRemainderRatio,
5245
5275
  previousSqliteQueryReturnedCount: previousTrace?.sqliteQueryReturnedCount,
@@ -5248,6 +5278,7 @@ var buildEvaluationCaseTraceSnapshot = ({
5248
5278
  previousSqliteQueryUnderfilledTopK: previousTrace?.sqliteQueryUnderfilledTopK,
5249
5279
  previousPostgresQueryBackfillCount: previousTrace?.postgresQueryBackfillCount,
5250
5280
  previousPostgresQueryBackfillLimitReached: previousTrace?.postgresQueryBackfillLimitReached,
5281
+ previousPostgresQueryMinResultsSatisfied: previousTrace?.postgresQueryMinResultsSatisfied,
5251
5282
  previousPostgresQueryCandidateBudgetExhausted: previousTrace?.postgresQueryCandidateBudgetExhausted,
5252
5283
  previousPostgresQueryCandidateCoverage: previousTrace?.postgresQueryCandidateCoverage,
5253
5284
  previousPostgresQueryFilteredCandidates: previousTrace?.postgresQueryFilteredCandidates,
@@ -5263,6 +5294,7 @@ var buildEvaluationCaseTraceSnapshot = ({
5263
5294
  previousPostgresQueryMultiplierUsed: previousTrace?.postgresQueryMultiplierUsed,
5264
5295
  previousPostgresQueryCandidateLimitUsed: previousTrace?.postgresQueryCandidateLimitUsed,
5265
5296
  previousPostgresQueryMaxBackfillsUsed: previousTrace?.postgresQueryMaxBackfillsUsed,
5297
+ previousPostgresQueryMinResultsUsed: previousTrace?.postgresQueryMinResultsUsed,
5266
5298
  previousPostgresQueryPushdownCoverageRatio: previousTrace?.postgresQueryPushdownCoverageRatio,
5267
5299
  previousPostgresQueryJsRemainderRatio: previousTrace?.postgresQueryJsRemainderRatio,
5268
5300
  previousPostgresQueryReturnedCount: previousTrace?.postgresQueryReturnedCount,
@@ -5287,6 +5319,7 @@ var buildEvaluationCaseTraceSnapshot = ({
5287
5319
  leadSpeakerCue,
5288
5320
  sqliteQueryBackfillCount,
5289
5321
  sqliteQueryBackfillLimitReached,
5322
+ sqliteQueryMinResultsSatisfied,
5290
5323
  sqliteQueryCandidateBudgetExhausted,
5291
5324
  sqliteQueryCandidateCoverage,
5292
5325
  sqliteQueryFilteredCandidates,
@@ -5302,6 +5335,7 @@ var buildEvaluationCaseTraceSnapshot = ({
5302
5335
  sqliteQueryMultiplierUsed,
5303
5336
  sqliteQueryCandidateLimitUsed,
5304
5337
  sqliteQueryMaxBackfillsUsed,
5338
+ sqliteQueryMinResultsUsed,
5305
5339
  sqliteQueryPushdownCoverageRatio,
5306
5340
  sqliteQueryJsRemainderRatio,
5307
5341
  sqliteQueryReturnedCount,
@@ -5310,6 +5344,7 @@ var buildEvaluationCaseTraceSnapshot = ({
5310
5344
  sqliteQueryUnderfilledTopK,
5311
5345
  postgresQueryBackfillCount,
5312
5346
  postgresQueryBackfillLimitReached,
5347
+ postgresQueryMinResultsSatisfied,
5313
5348
  postgresQueryCandidateBudgetExhausted,
5314
5349
  postgresQueryCandidateCoverage,
5315
5350
  postgresQueryFilteredCandidates,
@@ -5325,6 +5360,7 @@ var buildEvaluationCaseTraceSnapshot = ({
5325
5360
  postgresQueryMultiplierUsed,
5326
5361
  postgresQueryCandidateLimitUsed,
5327
5362
  postgresQueryMaxBackfillsUsed,
5363
+ postgresQueryMinResultsUsed,
5328
5364
  postgresQueryPushdownCoverageRatio,
5329
5365
  postgresQueryJsRemainderRatio,
5330
5366
  postgresQueryReturnedCount,
@@ -12073,5 +12109,5 @@ export {
12073
12109
  AIStreamKey
12074
12110
  };
12075
12111
 
12076
- //# debugId=D713A76AB4D8C3F564756E2164756E21
12112
+ //# debugId=3E13F930D12B2BCC64756E2164756E21
12077
12113
  //# sourceMappingURL=index.js.map