Skip to content

Commit b2e7827

Browse files
committed
added ordering to the questions
1 parent 5f8d7a0 commit b2e7827

File tree

3 files changed

+8
-0
lines changed

3 files changed

+8
-0
lines changed

.metals/metals.lock.db

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
#FileLock
2+
#Mon Jul 28 16:21:32 BST 2025
3+
hostName=localhost
4+
id=1984368cdad49ef6310e31a8ad975c2da3ea6a244d8
5+
method=file
6+
server=localhost\:46117

in2lambda/json_convert/json_convert.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ def converter(
3636
for i in range(len(ListQuestions)):
3737
output = deepcopy(template)
3838

39+
output["orderNumber"] = i # order number starts at 0
3940
# add title to the question file
4041
if ListQuestions[i].title != "":
4142
output["title"] = ListQuestions[i].title

in2lambda/json_convert/minimal_template.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
{
2+
"orderNumber": 0,
23
"displayFinalAnswer": true,
34
"displayStructuredTutorial": true,
45
"displayWorkedSolution": true,

0 commit comments

Comments
 (0)