From e70a20ed920ef968b70380537ce925dc91902edd Mon Sep 17 00:00:00 2001 From: Birte Kristina Friesel Date: Wed, 20 Dec 2023 16:32:25 +0100 Subject: remove unsupported --show-quality choices --- bin/analyze-archive.py | 7 +++---- bin/analyze-kconfig.py | 7 ++----- bin/analyze-log.py | 6 ++---- 3 files changed, 7 insertions(+), 13 deletions(-) (limited to 'bin') diff --git a/bin/analyze-archive.py b/bin/analyze-archive.py index 64792fd..535979c 100755 --- a/bin/analyze-archive.py +++ b/bin/analyze-archive.py @@ -234,12 +234,11 @@ if __name__ == "__main__": ) parser.add_argument( "--show-quality", - choices=["table", "summary", "all", "tex"], + choices=["table", "summary"], action="append", default=list(), - help="table: show static/fitted/lut SMAPE and MAE for each name and attribute.\n" - "summary: show static/fitted/lut SMAPE and MAE for each attribute, averaged over all states/transitions.\n" - "all: all of the above.\n", + help="table: show LUT, model, and static prediction error for each state/transition and attribute.\n" + "summary: show static/fitted/lut SMAPE and MAE for each attribute, averaged over all states/transitions.", ) parser.add_argument( "--ignored-trace-indexes", diff --git a/bin/analyze-kconfig.py b/bin/analyze-kconfig.py index 7eb63c8..8fcb623 100755 --- a/bin/analyze-kconfig.py +++ b/bin/analyze-kconfig.py @@ -155,13 +155,10 @@ def main(): ) parser.add_argument( "--show-quality", - choices=["table", "summary", "all", "tex", "html"], + choices=["table"], action="append", default=list(), - help="table: show static/fitted/lut SMAPE and MAE for each name and attribute.\n" - "summary: show static/fitted/lut SMAPE and MAE for each attribute, averaged over all states/transitions.\n" - "all: all of the above.\n" - "tex: print tex/pgfplots-compatible model quality data on stdout.", + help="table: show LUT, model, and static prediction error for each key and attribute.", ) parser.add_argument( "--plot-param", diff --git a/bin/analyze-log.py b/bin/analyze-log.py index 4f5e420..7d6f5bc 100755 --- a/bin/analyze-log.py +++ b/bin/analyze-log.py @@ -64,12 +64,10 @@ def main(): ) parser.add_argument( "--show-quality", - choices=["table", "summary", "all"], + choices=["table"], action="append", default=list(), - help="table: show static/fitted/lut SMAPE and MAE for each name and attribute.\n" - "summary: show static/fitted/lut SMAPE and MAE for each attribute, averaged over all states/transitions.\n" - "all: all of the above.\n", + help="table: show LUT, model, and static prediction error for each key and attribute.", ) parser.add_argument( "--force-tree", -- cgit v1.2.3