From f0fc181be956f691fd7c27621a275014a3e4efca Mon Sep 17 00:00:00 2001 From: Artem Pelenitsyn Date: Fri, 8 Sep 2023 15:48:44 -0400 Subject: [PATCH] reports: roll back so just absolute numbers --- src/report.jl | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git a/src/report.jl b/src/report.jl index 3a1d276a8..c09200bcb 100644 --- a/src/report.jl +++ b/src/report.jl @@ -111,10 +111,27 @@ showAgStatsDB(pkg::String, agsNoDb::AgStats, agsDb::AgStats) :: String = begin noFuelDb = agsDb.vaCnt + agsDb.nofCnt + agsDb.anyCnt # $(agsNoDb.methCnt), # should this be in? makes the table noisier... + "$pkg,$(methGood)," * "$(agsNoDb.stbCnt),$(agsNoDb.unsCnt),$(noFuel)," * - "$(agsDb.stbCnt - agsNoDb.stbCnt),$(agsDb.unsCnt - agsNoDb.unsCnt),$(noFuelDb - noFuel)" * + "$(agsDb.stbCnt),$(agsDb.unsCnt),$(noFuelDb)" * "\n" + + # idea: diffs + # "$pkg,$(methGood)," * + # "$(agsNoDb.stbCnt),$(agsNoDb.unsCnt),$(noFuel)," * + # "$(agsDb.stbCnt - agsNoDb.stbCnt),$(agsDb.unsCnt - agsNoDb.unsCnt),$(noFuelDb - noFuel)" * + # "\n" + + # idea: percents: + + # p(e, d) = round(Int, (e / d) * 100) + + # # $(agsNoDb.methCnt), # should this be in? makes the table noisier... + # "$pkg,$(meth)," * + # "$(p(agsNoDb.stbCnt,meth)),$(p(agsNoDb.unsCnt,meth)),$(p(noFuel,meth))," * + # "$(p(agsDb.stbCnt - agsNoDb.stbCnt, meth)),$(p(agsDb.unsCnt - agsNoDb.unsCnt,meth)),$(p(noFuelDb - noFuel,meth))" * + # "\n" end showAgStats(pkg::String, ags::AgStats) :: String = begin