From 2ab04d8cbbbb0811bbd82808c9f921826ff80585 Mon Sep 17 00:00:00 2001 From: NunoSempere Date: Sun, 19 Jun 2022 21:28:13 -0400 Subject: [PATCH] fix: make aggregation smoother --- packages/utility-tools/package.json | 3 +-- packages/webpage-refactor/components/resultsTable.js | 11 ++++++----- packages/webpage-refactor/package.json | 2 +- packages/webpage-refactor/yarn.lock | 8 ++++---- 4 files changed, 12 insertions(+), 12 deletions(-) diff --git a/packages/utility-tools/package.json b/packages/utility-tools/package.json index 8a65f76..9015cdb 100644 --- a/packages/utility-tools/package.json +++ b/packages/utility-tools/package.json @@ -11,7 +11,6 @@ "author": "Nuño Sempere", "license": "MIT", "dependencies": { - "@quri/squiggle-lang": "^0.2.11", - "utility-tools": "^0.2.2" + "@quri/squiggle-lang": "^0.2.11" } } diff --git a/packages/webpage-refactor/components/resultsTable.js b/packages/webpage-refactor/components/resultsTable.js index f76ec62..b7bafec 100644 --- a/packages/webpage-refactor/components/resultsTable.js +++ b/packages/webpage-refactor/components/resultsTable.js @@ -117,17 +117,18 @@ export function ResultsTable({ isListOrdered, listAfterMergeSort, links }) {

- *This is the geometric mean if all elements are either all positive or - all negative, and the arithmetic mean otherwise. For a principled - aggregation which is able to produce meaningfull 90% confidence - intervals, see the{" "} + *This is the geometric mean of all means of paths if all elements are + either all positive or all negative, and the arithmetic mean + otherwise. Paths with a non-numeric mean (e.g., resulting from + dividing by a mean of 0) are ignored. For a principled aggregation + which is able to produce meaningfull 90% confidence intervals, see the{" "} utility-tools package {" "} - in npm or github + in npm or Github

diff --git a/packages/webpage-refactor/package.json b/packages/webpage-refactor/package.json index 136e99f..f3b670c 100644 --- a/packages/webpage-refactor/package.json +++ b/packages/webpage-refactor/package.json @@ -27,7 +27,7 @@ "react-markdown": "^6.0.2", "remark-gfm": "^1.0.0", "simple-react-cytoscape": "^1.0.4", - "utility-tools": "^0.2.5" + "utility-tools": "^1.0.4" }, "devDependencies": { "@netlify/plugin-nextjs": "^4.2.1", diff --git a/packages/webpage-refactor/yarn.lock b/packages/webpage-refactor/yarn.lock index e356162..9574f82 100644 --- a/packages/webpage-refactor/yarn.lock +++ b/packages/webpage-refactor/yarn.lock @@ -4048,10 +4048,10 @@ utility-tools@^0.2.2: dependencies: "@quri/squiggle-lang" "^0.2.11" -utility-tools@^0.2.5: - version "0.2.5" - resolved "https://registry.yarnpkg.com/utility-tools/-/utility-tools-0.2.5.tgz#73ee06c88d74fc5a7bf87882caf93abed28600c2" - integrity sha512-sXT3RiOdjgO0DeYr5G3CPYrrXR2+8+d+GBGN6VELYXSFWfzBNUN1DA/alyYyuDaXRI+iBQequpuPy9rsHvsXGA== +utility-tools@^1.0.4: + version "1.0.4" + resolved "https://registry.yarnpkg.com/utility-tools/-/utility-tools-1.0.4.tgz#3d565d82445b1825708eb8ecfdd4cd479b08b3dd" + integrity sha512-m7wLilx3hn6UrKf1RznpaJ86SPNx7z72g+NVdEwwka+tOwzTQS4bCplN60/lApur/Xp16fOCpXIpdZFURH1L+g== dependencies: "@quri/squiggle-lang" "^0.2.11" utility-tools "^0.2.2"