From 9bf3553706c329b1ca4b4e67112fa06032fb9980 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Wed, 29 Apr 2026 15:57:17 +0000 Subject: [PATCH 1/2] Add Recommendation Letter Generator with unique per-student letter generation Agent-Logs-Url: https://github.com/aspiece/GCI/sessions/efc53472-1eb2-4022-8688-01454dfcbfe5 Co-authored-by: aspiece <1187774+aspiece@users.noreply.github.com> --- Recommendation_Letter_Generator.html | 1193 ++++++++++++++++++++++++++ projects.html | 4 + 2 files changed, 1197 insertions(+) create mode 100644 Recommendation_Letter_Generator.html diff --git a/Recommendation_Letter_Generator.html b/Recommendation_Letter_Generator.html new file mode 100644 index 0000000..6efe050 --- /dev/null +++ b/Recommendation_Letter_Generator.html @@ -0,0 +1,1193 @@ + + + + + + + Recommendation Letter Generator β€” Genesee Learning Lab + + + + + + + + + + + +
+
+
+
+

Recommendation Letter Generator

+

Generate a personalized, unique letter based on student information.

+
+
+ +
+
+ + +
+

Student Information

+ +
+
+ + +
+
+ + +
+
+ +
+
+ + +
+
+ + +
+
+ +
+

Student Traits

+

Select two to five traits that best describe this student.

+
+ +
+ +
+

Optional: Custom Detail

+
+ + +
+ +
+ + +
+ + +
+ + +
+
+
+
+

Generated Letter

+
+
+
+ + + +
+
+
+ +
+ +

+ ⚠️ Review this letter before use. Edit as needed to reflect the student's actual accomplishments and your authentic voice as their teacher. +

+
+
+
+ + + + + + + + diff --git a/projects.html b/projects.html index 5af0451..6e829a9 100644 --- a/projects.html +++ b/projects.html @@ -130,6 +130,10 @@

Job Application Builder Launch the interactive, student-facing job application assignment with embedded videos, quiz checks, and progress tracking.Active +
  • + Recommendation Letter Generator + Generate a personalized, unique recommendation letter based on student name, class, traits, and purpose.Active +
  • From da9a09b0a939ddd6b08c9d39e9984c51c3f7cac3 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Wed, 29 Apr 2026 15:58:03 +0000 Subject: [PATCH 2/2] Use Fisher-Yates shuffle in pickN for unbiased randomization Agent-Logs-Url: https://github.com/aspiece/GCI/sessions/efc53472-1eb2-4022-8688-01454dfcbfe5 Co-authored-by: aspiece <1187774+aspiece@users.noreply.github.com> --- Recommendation_Letter_Generator.html | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Recommendation_Letter_Generator.html b/Recommendation_Letter_Generator.html index 6efe050..a8ddf4f 100644 --- a/Recommendation_Letter_Generator.html +++ b/Recommendation_Letter_Generator.html @@ -927,7 +927,11 @@

    Site

    } function pickN(arr, n) { - const shuffled = [...arr].sort(() => Math.random() - 0.5); + const shuffled = [...arr]; + for (let i = shuffled.length - 1; i > 0; i--) { + const j = Math.floor(Math.random() * (i + 1)); + [shuffled[i], shuffled[j]] = [shuffled[j], shuffled[i]]; + } return shuffled.slice(0, Math.min(n, shuffled.length)); }