From 5c2bc24294cd111e37fec1b80449e319e930b412 Mon Sep 17 00:00:00 2001 From: Semen Zhydenko Date: Tue, 27 Dec 2022 14:13:58 +0100 Subject: [PATCH 1/3] Fixed typo: existance -> existence --- scripts/postprocessing/rankings.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/postprocessing/rankings.py b/scripts/postprocessing/rankings.py index 38686f67..5fd2fcf6 100644 --- a/scripts/postprocessing/rankings.py +++ b/scripts/postprocessing/rankings.py @@ -68,7 +68,7 @@ def get_winner(pairs): def get_ranking(pairs): """ Abuses concordance property to get a (not necessarily unqiue) ranking. - The lack of uniqueness is due to the potential existance of multiple + The lack of uniqueness is due to the potential existence of multiple equally ranked winners. We have to pick one, which is where the non-uniqueness comes from """ From 7dc4fba5cdde096493308d2cddbe88aa35e393e6 Mon Sep 17 00:00:00 2001 From: Semen Zhydenko Date: Tue, 27 Dec 2022 14:14:29 +0100 Subject: [PATCH 2/3] Fixed typo: publically -> publicly --- website/.env | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/.env b/website/.env index a95df390..e4f3a202 100644 --- a/website/.env +++ b/website/.env @@ -5,7 +5,7 @@ DATABASE_URL=postgres://postgres:postgres@localhost:5433/ocgpt_website FASTAPI_URL=http://localhost:8080 FASTAPI_KEY=1234 -# A dev Auth Secret. Can be exposed if we never use this publically. +# A dev Auth Secret. Can be exposed if we never use this publicly. NEXTAUTH_SECRET=O/M2uIbGj+lDD2oyNa8ax4jEOJqCPJzO53UbWShmq98= # The SMTP host and port found by running the jobs in /scripts/frontend-development/docker-compose.yaml From ebdbc0e3c005d8b57eb368dcc60ce27d4dde9e32 Mon Sep 17 00:00:00 2001 From: Semen Zhydenko Date: Tue, 27 Dec 2022 14:14:48 +0100 Subject: [PATCH 3/3] Fixed typo: strenght -> strength --- scripts/postprocessing/rankings.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/postprocessing/rankings.py b/scripts/postprocessing/rankings.py index 5fd2fcf6..7b28399c 100644 --- a/scripts/postprocessing/rankings.py +++ b/scripts/postprocessing/rankings.py @@ -99,7 +99,7 @@ def ranked_pairs(ranks: List[List[int]]): tallies = tallies - tallies.T # print(tallies) # note: the resulting tally matrix should be skew-symmetric - # order by strenght of victory (using tideman's original method, don't think it would make a difference for us) + # order by strength of victory (using tideman's original method, don't think it would make a difference for us) sorted_majorities = [] for i in range(len(ranks[0])): for j in range(len(ranks[i])):