Waheed/openended problems commands - #1946
Conversation
There was a problem hiding this comment.
Should this be if len(args) > 2, since you're using args[0], args[1], args[2]?
There was a problem hiding this comment.
is it ever possible that self.task_states is None or []?
There was a problem hiding this comment.
Yes, this is done wrong.
There was a problem hiding this comment.
How would we get this list of students?
There was a problem hiding this comment.
I guess I was wondering what the criteria is for this list. Any query run to get a list of affected students externally should probably just be run here in code instead.
There was a problem hiding this comment.
the problem is is that we have to join over queries from LMS and the ORA dbs, and I don't know how to do that with the django orm
There was a problem hiding this comment.
So that is what I was originally wondering about, what is an example query that would result in the list needed for this command? Is this query documented somewhere?
There was a problem hiding this comment.
Thanks for removing the hashbang, but why remove the module comment? A docstring at the top would be great.
|
I'm going to close this PR for now since we found another way to fix the bug this addresses. |
There was a problem hiding this comment.
This function isn't properly named: it returns a list of the first column in the csv. Will this be used with csv files with more than one column?
@symbolist @adampalay Send to grader django management command for effected students.