From fb61af3308a22ba905b6fb2e3772d1d92cdeea69 Mon Sep 17 00:00:00 2001 From: Joshua Herring Date: Sun, 12 Apr 2026 14:51:33 -0400 Subject: [PATCH] add generate instructor assignment data prompt --- prompts/generate_instructor_assignment_data.md | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 prompts/generate_instructor_assignment_data.md diff --git a/prompts/generate_instructor_assignment_data.md b/prompts/generate_instructor_assignment_data.md new file mode 100644 index 0000000..6a5b775 --- /dev/null +++ b/prompts/generate_instructor_assignment_data.md @@ -0,0 +1,10 @@ +Modify GenerateSectionData in the following ways: + +1. it should take a second argument which is a list of Users +1. replace the section where Instructors are generated according to config.NumberOfInstructors with a section that makes a list of users with Status "Instructor" from the Users argument + +Remove NumberOfInstructors from the Config type and correct all instances of it in the code + +Write a function GenerateInstructorAssignmentData that takes a list of Users and a list of Sections and returns an []InstructorsSections. This should pair instructors with sections, trying its best to distribute Sections evenly between instructors + +Write a function SaveInstructorsSections that simply writes this list to a file called "instructors_sections.csv".