You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jun 30, 2024. It is now read-only.
# Second, find all students who answered a question in this course or receive a grade on a question in the course. Students can later remove themselves from a course, but their answers will still be in the course, hence this part of the query. Likewise, students who aren't logged in but did answer questions aren't enrolled in the course, but should also be included.
303
+
# Second, find all students who answered a question in this course. Students can later remove themselves from a course, but their answers will still be in the course, hence this part of the query. Likewise, students who aren't logged in but did answer questions aren't enrolled in the course, but should also be included.
295
304
forrowindb(
296
-
# Choose selected questions.
297
-
query_questions
298
-
& (
299
-
(
300
-
# Look for all students that answered any of these questions.
301
-
#
302
-
# Join these questions to ``useinfo``.
303
-
(db.questions.name==db.useinfo.div_id)
304
-
# Select only questions in the provided course.
305
-
& (db.useinfo.course_id==course_name)
306
-
)
307
-
| (
308
-
# Look for all students that received a grade on any of these questions.
309
-
(db.questions.name==db.question_grades.div_id)
310
-
& (db.question_grades.course_name==course_name)
311
-
)
312
-
)
305
+
query
313
306
# Remove any students produced by the previous query.
# Note: on test failure, pytest will report as incorrect all the ``AlmostNow()`` and ``RegexEquals`` items, even though they may have actually compared as equal.
1075
+
# Note: on test failure, pytest will report as incorrect all the ``AlmostNow()`` and ``RegexEquals`` items, even though they make have actually compared as equal.
0 commit comments