From 1ab3c852df8841dc1741136ddffe6d7c1b1c8808 Mon Sep 17 00:00:00 2001 From: chaos Date: Sat, 9 Nov 2024 13:20:04 +0000 Subject: [PATCH] update --- tool/lib/journalLib.jq | 2 +- tool/main.jq | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/tool/lib/journalLib.jq b/tool/lib/journalLib.jq index 562f8af..f1bf1d8 100644 --- a/tool/lib/journalLib.jq +++ b/tool/lib/journalLib.jq @@ -13,10 +13,10 @@ def ingestionDose($customUnits): .dose end; +# this probably isnt right def addStandardDeviations($expectationX; $standardDeviationX; $expectationY; $standardDeviationY): (pow($standardDeviationX; 2) + pow($expectationX; 2)) as $sumX | (pow($standardDeviationY; 2) + pow($expectationY; 2)) as $sumY | - (pow($expectationX; 2) * pow($expectationY; 2)) as $expectations | ($sumX * $sumY - $expectations) as $productVariance | if $productVariance > 0.0000001 then diff --git a/tool/main.jq b/tool/main.jq index b2e3169..bc2999a 100644 --- a/tool/main.jq +++ b/tool/main.jq @@ -63,8 +63,6 @@ def printExperienceStats($stats; $substanceFilter; $consumerFilter; $withTitle): if $ingestionInfo.isUnknown then "+ Unknown" else "" end + " \($ingestionInfo.unit)" - - end; $experienceStatsText |