This repository was archived by the owner on Mar 30, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathfunction.txt
More file actions
37 lines (37 loc) · 2.25 KB
/
Copy pathfunction.txt
File metadata and controls
37 lines (37 loc) · 2.25 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
f"Given the major curriculum:\n{json.dumps(data, indent=2)}\n"
f"Major: {major}\n"
f"Interests: {', '.join(interests) if interests else 'None'}\n"
f"Years to Graduate: {years_to_graduate}\n"
f"Max Credits per Semester: {max_credits}\n"
f"Completed Courses: {', '.join(completed_courses) if completed_courses else 'None'}\n"
"Please generate an optimized course schedule that maximizes efficiency by prioritizing prerequisites earlier. "
"The student has already completed the listed courses, so they should NOT be included in the schedule. The interests represent the chosen minors"
f"Given the minors curriculum:\n{json.dumps(minors_json, indent=2)}\n"
f"Use this cirrciulum to add all the necessary course work based on the chosen interests. If a course in the selected interest already exist then DO NOT duplicate"
f"Ensure the schedule is completed within {semesters} semesters if possible, and no semester exceeds the max credits allowed. "
"Optimize the difficulty distribution, placing harder courses earlier while ensuring prerequisites are met first. "
f"If it's not possible to meet the requirements within {semesters} semesters, provide the best possible alternative. ALWAYS start at semester 1"
"Generate the course plan strictly in a JSON format with the following structure:\n"
"""
{
"AcademicPlan": [
{
"semester": "X Semester",
"credits": X,
"courses": [
{"CID": "Course Code", "credits": X},
{"CID": "Course Code", "credits": X}
]
},
{
"semester": "X Semester",
"credits": X,
"courses": [
{"CID": "Course Code", "credits": X},
{"CID": "Course Code", "credits": X}
]
}
]
}
"""
"Do NOT add any additional text or explanation—only return the JSON response."