Skip to content

Commit 94c762c

Browse files
committed
fix some metrics
1 parent e1167bd commit 94c762c

File tree

2 files changed

+11
-11
lines changed

2 files changed

+11
-11
lines changed

packages/zql-integration-tests/src/chinook/planner-exec.pg.test.ts

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -224,13 +224,13 @@ describe('Chinook planner execution cost validation', () => {
224224
.limit(15),
225225
validations: [
226226
['correlation', 0],
227-
['within-optimal', 1.7],
228-
['within-baseline', 1.7],
227+
['within-optimal', 1.75],
228+
['within-baseline', 1.75],
229229
],
230230
extraIndexValidations: [
231231
['correlation', 0],
232-
['within-optimal', 1.7],
233-
['within-baseline', 1.7],
232+
['within-optimal', 1.75],
233+
['within-baseline', 1.75],
234234
],
235235
},
236236

@@ -255,7 +255,7 @@ describe('Chinook planner execution cost validation', () => {
255255
extraIndexValidations: [
256256
['correlation', 0.8],
257257
['within-optimal', 1],
258-
['within-baseline', 0.025],
258+
['within-baseline', 0.04],
259259
],
260260
},
261261

@@ -425,12 +425,12 @@ describe('Chinook planner execution cost validation', () => {
425425
.where('name', 'LIKE', 'Music%')
426426
.whereExists('tracks', t => t.where('name', 'LIKE', 'A%')),
427427
validations: [
428-
['correlation', 0.8],
428+
['correlation', 0.4],
429429
['within-optimal', 1],
430430
['within-baseline', 1],
431431
],
432432
extraIndexValidations: [
433-
['correlation', 0.8],
433+
['correlation', 0.4],
434434
['within-optimal', 1],
435435
['within-baseline', 1],
436436
],

packages/zql-integration-tests/src/pagila/planner-exec.pg.test.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -71,9 +71,9 @@ describe('Pagila planner execution cost validation', () => {
7171
a.where('lastName', 'GUINESS'),
7272
),
7373
validations: [
74-
['correlation', 0.4],
74+
['correlation', 0.2],
7575
['within-optimal', 1],
76-
['within-baseline', 0.013],
76+
['within-baseline', 0.025],
7777
],
7878
},
7979

@@ -95,9 +95,9 @@ describe('Pagila planner execution cost validation', () => {
9595
.whereExists('actors', a => a.where('lastName', 'GUINESS'))
9696
.whereExists('categories', c => c.where('name', 'Action')),
9797
validations: [
98-
['correlation', -0.08],
98+
['correlation', -0.09],
9999
['within-optimal', 1],
100-
['within-baseline', 0.04],
100+
['within-baseline', 0.07],
101101
],
102102
},
103103

0 commit comments

Comments
 (0)