PyKubeGrader 0.2.39__py3-none-any.whl → 0.2.41__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,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: PyKubeGrader
3
- Version: 0.2.39
3
+ Version: 0.2.41
4
4
  Summary: Add a short description here!
5
5
  Home-page: https://github.com/pyscaffold/pyscaffold/
6
6
  Author: jagar2
@@ -18,7 +18,7 @@ pykubegrader/tokens/tokens.py,sha256=X9f3SzrGCrAJp_BXhr6VJn5f0LxtgQ7HLPBw7zEF2BY
18
18
  pykubegrader/tokens/validate_token.py,sha256=MQtgz_USvSZ9JahJ48ybjp74F5aYz64lhtvuwVc4kQw,2712
19
19
  pykubegrader/widgets/__init__.py,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
20
20
  pykubegrader/widgets/multiple_choice.py,sha256=oH1NjL2cuQDhn-9Ds8yBNAWDHr2anGS__F8uel7IsiI,2657
21
- pykubegrader/widgets/question_processor.py,sha256=9mqyZVAhR65vYgGHVQZ4BVk7ksGBhNX-P3yf2Su43gI,1064
21
+ pykubegrader/widgets/question_processor.py,sha256=iWlurO1IRHY94NXI8ToZcBolGkP9lj9C9qZdE8nuH_Q,1233
22
22
  pykubegrader/widgets/reading_question.py,sha256=y30_swHwzH8LrT8deWTnxctAAmR8BSxTlXAqMgUrAT4,3031
23
23
  pykubegrader/widgets/select_many.py,sha256=l7YQ8QT5k71j36KC1f5LmKIAX2bXpvMDGc6nqIJ1PeQ,4116
24
24
  pykubegrader/widgets/student_info.py,sha256=xhQgKehk1r5e6N_hnjAIovLdPvQju6ZqQTOiPG0aevg,3568
@@ -26,12 +26,12 @@ pykubegrader/widgets/style.py,sha256=fVBMYy_a6Yoz21avNpiORWC3f5FD-OrVpaZ3npmunvs
26
26
  pykubegrader/widgets/true_false.py,sha256=QllIhHuJstJft_RuShkxI_fFFTaDAlzNZOFNs00HLIM,2842
27
27
  pykubegrader/widgets/types_question.py,sha256=kZdRRXyFzOtYTmGdC7XWb_2oaxqg1WSuLcQn_sTj6Qc,2300
28
28
  pykubegrader/widgets_base/__init__.py,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
29
- pykubegrader/widgets_base/multi_select.py,sha256=nSK_2hDCG67Nbf00nJfabcahNnNWt8W_4Pec8tg4xAM,4182
29
+ pykubegrader/widgets_base/multi_select.py,sha256=_rvpW-oSeNRE9_RtOh1hA9l_-GHDIE3_7K129_k1N4I,4186
30
30
  pykubegrader/widgets_base/reading.py,sha256=xmvN1UIXwk32v9S-JhsXwDc7axPlgpvoxSeM3II8sxY,5393
31
- pykubegrader/widgets_base/select.py,sha256=PJhBRDpAYkFnmDzvm7jxiGW1E5VcEtZBe_wEtDKs-ZQ,2662
32
- PyKubeGrader-0.2.39.dist-info/LICENSE.txt,sha256=YTp-Ewc8Kems8PJEE27KnBPFnZSxoWvSg7nnknzPyYw,1546
33
- PyKubeGrader-0.2.39.dist-info/METADATA,sha256=F69tjll_smvwuljrJ9dK4_0CFP6ECHjGORZygayRiYw,2779
34
- PyKubeGrader-0.2.39.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
35
- PyKubeGrader-0.2.39.dist-info/entry_points.txt,sha256=BbLXpFZObpOXA8e3p3GcFkL-sHdUnDLUcnYmc6zx3NI,201
36
- PyKubeGrader-0.2.39.dist-info/top_level.txt,sha256=e550Klfze6higFxER1V62fnGOcIgiKRbsrl9CC4UdtQ,13
37
- PyKubeGrader-0.2.39.dist-info/RECORD,,
31
+ pykubegrader/widgets_base/select.py,sha256=mCwCEYz5wlBL8AZniqnSr_P_jnov349qMBUruaIbQ9o,2666
32
+ PyKubeGrader-0.2.41.dist-info/LICENSE.txt,sha256=YTp-Ewc8Kems8PJEE27KnBPFnZSxoWvSg7nnknzPyYw,1546
33
+ PyKubeGrader-0.2.41.dist-info/METADATA,sha256=lQpVYU6uJvtccUNg_T6MaB1mD7WkgCVFNGO-7J3BeIg,2779
34
+ PyKubeGrader-0.2.41.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
35
+ PyKubeGrader-0.2.41.dist-info/entry_points.txt,sha256=BbLXpFZObpOXA8e3p3GcFkL-sHdUnDLUcnYmc6zx3NI,201
36
+ PyKubeGrader-0.2.41.dist-info/top_level.txt,sha256=e550Klfze6higFxER1V62fnGOcIgiKRbsrl9CC4UdtQ,13
37
+ PyKubeGrader-0.2.41.dist-info/RECORD,,
@@ -17,8 +17,11 @@ def process_questions_and_codes(titles):
17
17
  # First part is the title, stripped of leading/trailing whitespace
18
18
  title_without_code = parts[0].strip()
19
19
 
20
- # remove aberrant ** from title
21
- title_without_code = title_without_code.replace("**", "")
20
+ # Remove aberrant ** from the beginning or end of the title
21
+ if title_without_code.startswith("**"):
22
+ title_without_code = title_without_code[2:]
23
+ if title_without_code.endswith("**"):
24
+ title_without_code = title_without_code[:-2]
22
25
 
23
26
  # Second part (if exists) contains the code block; split at closing ```
24
27
  code = parts[1].split("```", maxsplit=1)[0].strip() if len(parts) > 1 else ""
@@ -56,8 +56,8 @@ class MultiSelectQuestion:
56
56
 
57
57
  self.initial_vals = [getattr(self, key) for key in self.keys]
58
58
 
59
- # add shuffle options to multi_select.py
60
- options = shuffle_options(options, seed)
59
+ # # add shuffle options to multi_select.py
60
+ # options = shuffle_options(options, seed)
61
61
 
62
62
  description_widgets, self.widgets = style(
63
63
  descriptions, options, self.initial_vals
@@ -46,8 +46,8 @@ class SelectQuestion:
46
46
 
47
47
  self.initial_vals: list = [getattr(self, key) for key in self.keys]
48
48
 
49
- if shuffle_answers:
50
- options = shuffle_options(options, seed)
49
+ # if shuffle_answers:
50
+ # options = shuffle_options(options, seed)
51
51
 
52
52
  desc_widgets, self.widgets = style(descriptions, options, self.initial_vals)
53
53