add generate instructor assignment data prompt
parent
7c30e4a723
commit
fb61af3308
@ -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".
|
||||||
Loading…
Reference in New Issue