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".