working TCC (Test response funciton)

This commit is contained in:
Josh Burman
2021-10-29 18:43:56 +00:00
parent 6b1bbda169
commit 258915b08f
7 changed files with 25 additions and 19 deletions

View File

@ -40,7 +40,7 @@ def solution_to_file(buffer, total_form_items, forms):
# add each form as row to processed csv
for form in forms:
# provide generated items and cut score
row = form.items + [form.cut_score]
row = [item.id for item in form.items] + [form.cut_score]
wr.writerow(row)
buff2 = io.BytesIO(buffer.getvalue().encode())