diff --git a/content/blog/2022-10-04-CLRG-cheating.md b/content/blog/2022-10-04-CLRG-cheating.md index c72b9a2..dfbfa32 100644 --- a/content/blog/2022-10-04-CLRG-cheating.md +++ b/content/blog/2022-10-04-CLRG-cheating.md @@ -1,6 +1,7 @@ --- title: CLRG's Cheating Scandal date: 2022-10-04 +tags: clrg --- $SPOUSE just stumbled across a PowerPoint file with a bunch of text messages, diff --git a/content/blog/2022-10-09-CLRG-Scoring/chart.png b/content/blog/2022-10-09-CLRG-Scoring/chart.png index c7e2714..df2e4ef 100644 Binary files a/content/blog/2022-10-09-CLRG-Scoring/chart.png and b/content/blog/2022-10-09-CLRG-Scoring/chart.png differ diff --git a/content/blog/2022-10-09-CLRG-Scoring/index.md b/content/blog/2022-10-09-CLRG-Scoring/index.md index 8a57818..4e3ebc8 100644 --- a/content/blog/2022-10-09-CLRG-Scoring/index.md +++ b/content/blog/2022-10-09-CLRG-Scoring/index.md @@ -1,10 +1,11 @@ --- title: CLRG Scoring Analyzed date: 2022-10-09 +tags: + - clrg stylesheets: - toys.css scripts: - - speculator.mjs - scorecard.mjs --- @@ -55,33 +56,6 @@ If there's a 2-way, 3-way, or n-way tie, all tied dancers get the average of the next 2, 3, or n award points, and the next 2, 3, or n rankings are skipped. -### Award Points artifacts - -One quirk of awards points is that for any given overall -score, there are only a handful of possible judge rankings that could have led -to it. That means you can make some guesses about how each judge ranked an -individual dancer, based on only their total award points. - -Here's a handy calculator! -It (currently) doesn't consider the possibility of a tie. - -
-
- CLRG Award Points Speculator -
- Points: - -
- - - - - - -
Possible Rankings
Computing: this could take a while!
-
-
- ## What's with these values? diff --git a/content/blog/2022-10-10-CLRG-Scoring-Artifacts/awardPoints.mjs b/content/blog/2022-10-10-CLRG-Scoring-Artifacts/awardPoints.mjs new file mode 100644 index 0000000..40a3372 --- /dev/null +++ b/content/blog/2022-10-10-CLRG-Scoring-Artifacts/awardPoints.mjs @@ -0,0 +1,122 @@ +let awardPoints = [ + 100, // 1 + 75, // 2 + 65, // 3 + 60, // 4 + 56, // 5 + 53, // 6 + 50, // 7 + 47, // 8 + 45, // 9 + 43, // 10 + 41, // 11 + 39, // 12 + 38, // 13 + 37, // 14 + 36, // 15 + 35, // 16 + 34, // 17 + 33, // 18 + 32, // 19 + 31, // 20 + 30, // 21 + 29, // 22 + 28, // 23 + 27, // 24 + 26, // 25 + 25, // 26 + 24, // 27 + 23, // 28 + 22, // 29 + 21, // 30 + 20, // 31 + 19, // 32 + 18, // 33 + 17, // 34 + 16, // 35 + 15, // 36 + 14, // 37 + 13, // 38 + 12, // 39 + 11, // 40 + 10, // 41 + 9, // 42 + 8, // 43 + 7, // 44 + 6, // 45 + 5, // 46 + 4, // 47 + 3, // 48 + 2, // 49 + 1, // 50 + 0.75, // 51 + 0.65, // 52 + 0.60, // 53 + 0.56, // 54 + 0.53, // 55 + 0.50, // 56 + 0.47, // 57 + 0.45, // 58 + 0.43, // 59 + 0.41, // 60 + 0.39, // 61 + 0.38, // 62 + 0.37, // 63 + 0.36, // 64 + 0.35, // 65 + 0.34, // 66 + 0.33, // 67 + 0.32, // 68 + 0.31, // 69 + 0.30, // 70 + 0.29, // 71 + 0.28, // 72 + 0.27, // 73 + 0.26, // 74 + 0.25, // 75 + 0.24, // 76 + 0.23, // 77 + 0.22, // 78 + 0.21, // 79 + 0.20, // 80 + 0.19, // 81 + 0.18, // 82 + 0.17, // 83 + 0.16, // 84 + 0.15, // 85 + 0.14, // 86 + 0.13, // 87 + 0.12, // 88 + 0.11, // 89 + 0.10, // 90 + 0.09, // 91 + 0.08, // 92 + 0.07, // 93 + 0.06, // 94 + 0.05, // 95 + 0.04, // 96 + 0.03, // 97 + 0.02, // 98 + 0.01, // 99 + 0.00, // 100 +] + +function init() { + for (let tbody of document.querySelectorAll(".awardPoints tbody")) { + for (let i = 0; i < awardPoints.length; i++) { + let tr = tbody.appendChild(document.createElement("tr")) + tr.appendChild(document.createElement("td")).textContent = i + 1 + tr.appendChild(document.createElement("td")).textContent = awardPoints[i].toFixed(2) + } + } +} + +if (document.readyState === "loading") { + document.addEventListener("DOMContentLoaded", init) +} else { + init() +} + +export { + awardPoints, +} diff --git a/content/blog/2022-10-10-CLRG-Scoring-Artifacts/index.md b/content/blog/2022-10-10-CLRG-Scoring-Artifacts/index.md new file mode 100644 index 0000000..a6c1354 --- /dev/null +++ b/content/blog/2022-10-10-CLRG-Scoring-Artifacts/index.md @@ -0,0 +1,35 @@ +--- +title: CLRG Award Points Artifacts +date: 2022-10-09 +tags: + - clrg +stylesheets: + - toys.css +scripts: + - speculator.mjs +--- + +One quirk of awards points is that for any given overall +score, there are only a handful of possible judge rankings that could have led +to it. That means you can make some guesses about how each judge ranked an +individual dancer, based on only their total award points. + +Here's a handy calculator! +It (currently) doesn't consider the possibility of a tie. + +
+
+ CLRG Award Points Speculator +
+ Points: + +
+ + + + + + +
Possible Rankings
Computing: this could take a while!
+
+
diff --git a/content/blog/2022-10-09-CLRG-Scoring/speculator.mjs b/content/blog/2022-10-10-CLRG-Scoring-Artifacts/speculator.mjs similarity index 100% rename from content/blog/2022-10-09-CLRG-Scoring/speculator.mjs rename to content/blog/2022-10-10-CLRG-Scoring-Artifacts/speculator.mjs diff --git a/content/blog/2022-10-10-CLRG-Scoring-Artifacts/toys.css b/content/blog/2022-10-10-CLRG-Scoring-Artifacts/toys.css new file mode 100644 index 0000000..7cf3861 --- /dev/null +++ b/content/blog/2022-10-10-CLRG-Scoring-Artifacts/toys.css @@ -0,0 +1,33 @@ +.warning { + color: #e64; + display: none; +} +.warning.visible { + display: initial; +} + +.scrolly { + max-width: 100%; + overflow-x: auto; +} + +.awardPoints { + display: inline-block; + max-height: 60vh; + overflow-y: auto; + margin: 1em; +} +.awardPoints table { + margin: initial; +} +.awardPoints thead { + position: sticky; + top: 0; +} +.awardPoints tbody { + max-height: 60vh; + overflow-y: auto; +} +.awardPoints td { + text-align: right; +} \ No newline at end of file