summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPhilip Sargent <philip.sargent@klebos.com>2020-02-24 21:49:01 +0000
committerPhilip Sargent <philip.sargent@klebos.com>2020-02-24 21:49:01 +0000
commitd170a3c36e7056e2d969d92793b45bb664b408ba (patch)
tree8607e0c5d237f34093aa8a27f894f7a52c69b4a7
parent429c21a8e956dfcb2928088aabe0ed85215cca90 (diff)
downloadtroggle-d170a3c36e7056e2d969d92793b45bb664b408ba.tar.gz
troggle-d170a3c36e7056e2d969d92793b45bb664b408ba.tar.bz2
troggle-d170a3c36e7056e2d969d92793b45bb664b408ba.zip
add shortcut for logbooks & note explaining notability metric
-rw-r--r--databaseReset.py6
-rw-r--r--templates/personindex.html1
2 files changed, 6 insertions, 1 deletions
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 @@
</tr>
{% endfor %}
</table>
+<p>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.).
<h2>All expoers</h2>