From d170a3c36e7056e2d969d92793b45bb664b408ba Mon Sep 17 00:00:00 2001 From: Philip Sargent Date: Mon, 24 Feb 2020 21:49:01 +0000 Subject: [PATCH] add shortcut for logbooks & note explaining notability metric --- databaseReset.py | 6 +++++- templates/personindex.html | 1 + 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/databaseReset.py b/databaseReset.py index 1a014b7..3fba913 100644 --- a/databaseReset.py +++ b/databaseReset.py @@ -175,7 +175,8 @@ def usage(): reset - this is normal usage, clear database and reread everything from files - time-consuming desc - NOT WORKING: function resetdesc() missing caves - read in the caves - logbooks - read in the logbooks, but read in people first + folklog - read in the people (folk) and then the logbooks + logbooks - read in just the logbooks autologbooks - read in autologbooks dumplogbooks - write out autologbooks (not working?) people - read in the people from folk.csv @@ -201,6 +202,9 @@ if __name__ == "__main__": import_caves() elif "people" in sys.argv: import_people() + elif "folklogs" in sys.argv: + import_people() + import_logbooks() elif "QMs" in sys.argv: import_QMs() elif "tunnel" in sys.argv: diff --git a/templates/personindex.html b/templates/personindex.html index 56e97d9..210fe4a 100644 --- a/templates/personindex.html +++ b/templates/personindex.html @@ -17,6 +17,7 @@ {% endfor %} +

This is based purely on attendance, not on activities, surveying or usefulness of any kind. But as Woody Allen said: "90% of success is just turning up". It should really be called "Notably recent expoers" as the metric is just a geometric "recency" (1/2 for attending last year, 1/3 for the year before, etc., added up. Display cuttoff is 1/3.).

All expoers