slo indexing
This commit is contained in:
parent
5ccf69b740
commit
e53ee2b698
|
|
@ -837,9 +837,10 @@ def all_outcome_results_in_term_sub(termid=''):
|
|||
|
||||
|
||||
def all_linked_outcomes_in_term(termid=''):
|
||||
terms = [172,174,176,178]
|
||||
for t in terms:
|
||||
all_linked_outcomes_in_term_sub(str(t))
|
||||
#terms = [172,174,176,178]
|
||||
#for t in terms:
|
||||
# all_linked_outcomes_in_term_sub(str(t))
|
||||
all_linked_outcomes_in_term_sub('180')
|
||||
|
||||
|
||||
def all_linked_outcomes_in_term_sub(termid=''):
|
||||
|
|
|
|||
|
|
@ -28,7 +28,9 @@ from path_dict import PathDict
|
|||
|
||||
NUM_THREADS = 20
|
||||
get_fresh = 0
|
||||
sem_courses = getCoursesInTerm(178,get_fresh)
|
||||
|
||||
TERM = 180 # fa23
|
||||
sem_courses = getCoursesInTerm(TERM,get_fresh)
|
||||
|
||||
def escape_commas(s):
|
||||
if ',' in s:
|
||||
|
|
@ -41,7 +43,7 @@ def escape_commas(s):
|
|||
|
||||
print("Got %i courses in current semester." % len(sem_courses))
|
||||
|
||||
outputfile = codecs.open('cache/slo/outcomes2022.output.txt','w','utf-8')
|
||||
outputfile = codecs.open(f'cache/slo/outcomes_bycourse_{TERM}.output.txt','w','utf-8')
|
||||
outputfile.write( "coursename,assessed,courseid,outcome_id,points,title,displayname,description,guid\n")
|
||||
|
||||
def course_slo_getter(q):
|
||||
|
|
@ -148,7 +150,7 @@ def ilearn_shell_slo_to_csv(shell_slos):
|
|||
|
||||
|
||||
|
||||
#ilearn_shell_slo_to_csv(output)
|
||||
ilearn_shell_slo_to_csv(output)
|
||||
|
||||
|
||||
|
||||
Loading…
Reference in New Issue