QuizGenerator 0.1.1__py3-none-any.whl → 0.1.2__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/generate.py CHANGED
@@ -205,35 +205,6 @@ def generate_quiz(
205
205
 
206
206
  quiz.describe()
207
207
 
208
- # Generate performance report if Canvas questions were generated
209
- if num_canvas > 0:
210
- print("\n" + "="*80)
211
- print("PERFORMANCE ANALYSIS REPORT")
212
- print("="*80)
213
- PerformanceTracker.report_summary(min_duration=0.01) # Show operations taking >10ms
214
-
215
- # Show detailed breakdown for slowest operations
216
- print("\n" + "="*60)
217
- print("DETAILED TIMING BREAKDOWN")
218
- print("="*60)
219
-
220
- slow_operations = ["canvas_prepare_question", "canvas_api_upload", "ast_render_body", "question_body"]
221
- for op in slow_operations:
222
- metrics = PerformanceTracker.get_metrics_by_operation(op)
223
- if metrics:
224
- print(f"\n{op.upper()}:")
225
- # Show stats by question type
226
- by_type = {}
227
- for m in metrics:
228
- qtype = m.question_type or "unknown"
229
- if qtype not in by_type:
230
- by_type[qtype] = []
231
- by_type[qtype].append(m.duration)
232
-
233
- for qtype, durations in by_type.items():
234
- avg = sum(durations) / len(durations)
235
- print(f" {qtype}: {len(durations)} calls, avg {avg:.3f}s (range: {min(durations):.3f}s - {max(durations):.3f}s)")
236
-
237
208
  def main():
238
209
 
239
210
  args = parse_args()
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: QuizGenerator
3
- Version: 0.1.1
3
+ Version: 0.1.2
4
4
  Summary: Generate randomized quiz questions for Canvas LMS and PDF exams
5
5
  Project-URL: Homepage, https://github.com/OtterDen-Lab/QuizGenerator
6
6
  Project-URL: Documentation, https://github.com/OtterDen-Lab/QuizGenerator/tree/main/documentation
@@ -3,7 +3,7 @@ QuizGenerator/__init__.py,sha256=8EV-k90A3PNC8Cm2-ZquwNyVyvnwW1gs6u-nGictyhs,840
3
3
  QuizGenerator/__main__.py,sha256=Dd9w4R0Unm3RiXztvR4Y_g9-lkWp6FHg-4VN50JbKxU,151
4
4
  QuizGenerator/constants.py,sha256=AO-UWwsWPLb1k2JW6KP8rl9fxTcdT0rW-6XC6zfnDOs,4386
5
5
  QuizGenerator/contentast.py,sha256=bHC1D_OBrDCnTuXcTiI37Muk20mBxD1gjDArUBrGv9c,63657
6
- QuizGenerator/generate.py,sha256=69VFl3f3zw1AZSVEVM6T0mGp-PRh-eUEnJo_Zbm9VHk,7732
6
+ QuizGenerator/generate.py,sha256=HK8TtfQwkj59n0_BVSrej_CuQUnDwoIGlqDikI4YwK4,6613
7
7
  QuizGenerator/logging.yaml,sha256=VJCdh26D8e_PNUs4McvvP1ojz9EVjQNifJzfhEk1Mbo,1114
8
8
  QuizGenerator/misc.py,sha256=uIc1revyGZK8LL-1sJfhsoJ_MlYn75LPap6FRAiJWRQ,15635
9
9
  QuizGenerator/mixins.py,sha256=RjV76C1tkTLSvhSoMys67W7UmR6y6wAAcBM2Msxdpd0,18186
@@ -37,8 +37,8 @@ QuizGenerator/premade_questions/cst463/neural-network-basics/__init__.py,sha256=
37
37
  QuizGenerator/premade_questions/cst463/neural-network-basics/neural_network_questions.py,sha256=7ZtCQ2fXhIPSd99TstQfOKCN13GJE_56UfBQKdmzmMI,42398
38
38
  QuizGenerator/premade_questions/cst463/tensorflow-intro/__init__.py,sha256=G1gEHtG4KakYgi8ZXSYYhX6bQRtnm2tZVGx36d63Nmo,173
39
39
  QuizGenerator/premade_questions/cst463/tensorflow-intro/tensorflow_questions.py,sha256=dPn8Sj0yk4m02np62esMKZ7CvcljhYq3Tq51nY9aJnA,29781
40
- quizgenerator-0.1.1.dist-info/METADATA,sha256=2dg0Oauxavs-bVXgGmZsLPEfC-iHuWATkKCHMDNES2E,7149
41
- quizgenerator-0.1.1.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
42
- quizgenerator-0.1.1.dist-info/entry_points.txt,sha256=iViWMzswXGe88WKoue_Ib-ODUSiT_j_6f1us28w9pkc,56
43
- quizgenerator-0.1.1.dist-info/licenses/LICENSE,sha256=OXLcl0T2SZ8Pmy2_dmlvKuetivmyPd5m1q-Gyd-zaYY,35149
44
- quizgenerator-0.1.1.dist-info/RECORD,,
40
+ quizgenerator-0.1.2.dist-info/METADATA,sha256=GpIkM0qosTZY2p0NFI7K1Zg3g33mUOTuHtlz82awGvI,7149
41
+ quizgenerator-0.1.2.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
42
+ quizgenerator-0.1.2.dist-info/entry_points.txt,sha256=iViWMzswXGe88WKoue_Ib-ODUSiT_j_6f1us28w9pkc,56
43
+ quizgenerator-0.1.2.dist-info/licenses/LICENSE,sha256=OXLcl0T2SZ8Pmy2_dmlvKuetivmyPd5m1q-Gyd-zaYY,35149
44
+ quizgenerator-0.1.2.dist-info/RECORD,,