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.
@@ -1,7 +1,7 @@
1
1
  """
2
2
  Canvas LMS integration for QuizGenerator.
3
3
 
4
- Vendored from LMSInterface v0.1.0 (2025-11-18)
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-18"
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([str(a["answer_text"]) for a in question_for_canvas["answers"]])
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")