QuizGenerator 0.1.3__py3-none-any.whl → 0.3.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- QuizGenerator/canvas/__init__.py +2 -2
- QuizGenerator/canvas/canvas_interface.py +6 -1
- QuizGenerator/contentast.py +425 -279
- QuizGenerator/generate.py +18 -1
- QuizGenerator/misc.py +122 -23
- QuizGenerator/mixins.py +10 -1
- QuizGenerator/premade_questions/cst334/memory_questions.py +6 -4
- QuizGenerator/premade_questions/cst334/process.py +1 -2
- QuizGenerator/premade_questions/cst463/models/__init__.py +0 -0
- QuizGenerator/premade_questions/cst463/models/attention.py +192 -0
- QuizGenerator/premade_questions/cst463/models/cnns.py +186 -0
- QuizGenerator/premade_questions/cst463/models/matrices.py +24 -0
- QuizGenerator/premade_questions/cst463/models/rnns.py +202 -0
- QuizGenerator/premade_questions/cst463/models/text.py +201 -0
- QuizGenerator/premade_questions/cst463/models/weight_counting.py +227 -0
- QuizGenerator/premade_questions/cst463/neural-network-basics/neural_network_questions.py +138 -94
- QuizGenerator/question.py +25 -11
- QuizGenerator/quiz.py +0 -1
- {quizgenerator-0.1.3.dist-info → quizgenerator-0.3.0.dist-info}/METADATA +3 -1
- {quizgenerator-0.1.3.dist-info → quizgenerator-0.3.0.dist-info}/RECORD +23 -16
- {quizgenerator-0.1.3.dist-info → quizgenerator-0.3.0.dist-info}/WHEEL +1 -1
- {quizgenerator-0.1.3.dist-info → quizgenerator-0.3.0.dist-info}/entry_points.txt +0 -0
- {quizgenerator-0.1.3.dist-info → quizgenerator-0.3.0.dist-info}/licenses/LICENSE +0 -0
QuizGenerator/canvas/__init__.py
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"""
|
|
2
2
|
Canvas LMS integration for QuizGenerator.
|
|
3
3
|
|
|
4
|
-
Vendored from LMSInterface v0.1.0 (2025-11-
|
|
4
|
+
Vendored from LMSInterface v0.1.0 (2025-11-24)
|
|
5
5
|
|
|
6
6
|
This module provides Canvas API integration for uploading quizzes
|
|
7
7
|
and managing course content.
|
|
@@ -9,5 +9,5 @@ and managing course content.
|
|
|
9
9
|
|
|
10
10
|
__version__ = "0.1.0"
|
|
11
11
|
__vendored_from__ = "LMSInterface"
|
|
12
|
-
__vendored_date__ = "2025-11-
|
|
12
|
+
__vendored_date__ = "2025-11-24"
|
|
13
13
|
|
|
@@ -159,7 +159,12 @@ class CanvasCourse(LMSWrapper):
|
|
|
159
159
|
|
|
160
160
|
question_fingerprint = question_for_canvas["question_text"]
|
|
161
161
|
try:
|
|
162
|
-
question_fingerprint += ''.join([
|
|
162
|
+
question_fingerprint += ''.join([
|
|
163
|
+
'|'.join([
|
|
164
|
+
f"{k}:{a[k]}" for k in sorted(a.keys())
|
|
165
|
+
])
|
|
166
|
+
for a in question_for_canvas["answers"]
|
|
167
|
+
])
|
|
163
168
|
except TypeError as e:
|
|
164
169
|
log.error(e)
|
|
165
170
|
log.warning("Continuing anyway")
|