Skip to content

Commit

Permalink
add the programs to the database
Browse files Browse the repository at this point in the history
  • Loading branch information
jpelay committed Dec 2, 2024
1 parent 94f7868 commit a277267
Showing 1 changed file with 205 additions and 11 deletions.
216 changes: 205 additions & 11 deletions data-for-testing.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,25 +10,25 @@
"teacher_request": null,
"third_party": null,
"verification_pending": "$2b$09$W/lHayOzZttUVDf6nW0OWuXErrXFV3WC.OXAMTHVJ5hZOahFxPzYW",
"last_login": 1733156219944,
"last_login": 1733164176272,
"country": "VE",
"birth_year": 1999,
"gender": "f",
"prog_experience": "no",
"epoch": 1,
"program_count": 1
"program_count": 2
},
{
"username": "user2",
"password": "$2b$09$BlvY7/i5T1/tyGABEFJOx.6W8LcQHz9HaPrwhxXVZ7gILs4GkYyFe",
"email": "[email protected]",
"language": "es",
"keyword_language": "es",
"language": "nl",
"keyword_language": "nl",
"created": 1667487426140,
"teacher_request": null,
"third_party": null,
"verification_pending": "$2b$09$8ce7rVDk8ZbMASMP1CRDBepWWXNGZLNuXlhz.2yhXkJUyXELuOdGO",
"last_login": 1733156278063,
"last_login": 1733164180631,
"country": "NL",
"birth_year": 2010,
"gender": "m",
Expand Down Expand Up @@ -119,7 +119,7 @@
"other_text"
],
"epoch": 1,
"program_count": 6,
"program_count": 7,
"is_super_teacher": 1
},
{
Expand Down Expand Up @@ -316,6 +316,86 @@
"id": "$2b$09$hOgREabUhtSYJqYcMOJHYe",
"username": "user2",
"ttl": 1734365878
},
{
"id": "$2b$09$JTGMQfOlo2EeirZKfINqm.",
"username": "user2",
"ttl": 1734367672
},
{
"id": "$2b$09$RduILnwU0OJpatkLKskhne",
"username": "user2",
"ttl": 1734367828
},
{
"id": "$2b$09$8CpzZGeM1UWMr2W/cJ8jY.",
"username": "user2",
"ttl": 1734367841
},
{
"id": "$2b$09$RV4PJ3FGJpsAeCwzfZJ0ru",
"username": "user2",
"ttl": 1734367865
},
{
"id": "$2b$09$PPYtDymTu1RGAUd.0dAjAO",
"username": "user2",
"ttl": 1734373078
},
{
"id": "$2b$09$gspQ9bUqdbiBopapdPrrVe",
"username": "user2",
"ttl": 1734373123
},
{
"id": "$2b$09$hSpDFQKER5Y8YRyIDPyPFO",
"username": "user1",
"ttl": 1734373216
},
{
"id": "$2b$09$sQrSrn4j3WlVS2wqt9qYwO",
"username": "user2",
"ttl": 1734373269
},
{
"id": "$2b$09$PDyCvZooze4.cadtQT6pme",
"username": "user2",
"ttl": 1734373727
},
{
"id": "$2b$09$heT8/OUFvvTIYvym.U44y.",
"username": "user1",
"ttl": 1734373730
},
{
"id": "$2b$09$Z/jyNesRibsyhnT55Z2Wn.",
"username": "user2",
"ttl": 1734373734
},
{
"id": "$2b$09$IEznXTGO83YguCP4s9HySe",
"username": "user2",
"ttl": 1734373740
},
{
"id": "$2b$09$IVKAK/k9rD.nrY6RZ1TaOe",
"username": "user2",
"ttl": 1734373765
},
{
"id": "$2b$09$krAdaOhtLvD0MrN/Kw1CMu",
"username": "user2",
"ttl": 1734373771
},
{
"id": "$2b$09$xrOnx9MiPAiNa0RTzojr8O",
"username": "user2",
"ttl": 1734373774
},
{
"id": "$2b$09$oycpoO97Gace4uMYrgFcRe",
"username": "user2",
"ttl": 1734373781
}
],
"program-stats": [
Expand Down Expand Up @@ -893,7 +973,7 @@
"week": "2024-49",
"id": "@all-logged",
"level": 9,
"number_of_lines": 2,
"number_of_lines": 12,
"NoIndentationException": 10,
"chart_history": [
0,
Expand All @@ -904,9 +984,88 @@
0,
0,
0,
0,
0,
0,
0,
1,
1,
1
],
"IndentationException": 2,
"successful_runs": 3
},
{
"id#level": "user2#9",
"week": "2024-49",
"id": "user2",
"level": 9,
"number_of_lines": 2,
"IndentationException": 2,
"chart_history": [
0,
0
]
},
{
"id#level": "teacher1#9",
"week": "2024-49",
"id": "teacher1",
"level": 9,
"number_of_lines": 12,
"successful_runs": 3,
"chart_history": [
1,
1,
1
]
},
{
"id#level": "user1#8",
"week": "2024-49",
"id": "user1",
"level": 8,
"number_of_lines": 3,
"successful_runs": 3,
"chart_history": [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
1
]
},
{
"id#level": "@all-logged#8",
"week": "2024-49",
"id": "@all-logged",
"level": 8,
"number_of_lines": 3,
"successful_runs": 3,
"chart_history": [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
1,
1,
1,
1
]
}
],
"achievements": [
Expand Down Expand Up @@ -1736,6 +1895,36 @@
"username_level": "user1-9",
"is_modified": true,
"public": 1
},
{
"session": "173c7cd2f263450dad41ee7ebd418c17",
"date": 1733159847416,
"lang": "en",
"version": "DEV",
"level": 9,
"code": "points = 0\nletters = a, b, c, d, e\nrepeat 10 times\n letter = letters at random\n print 'Press the letter ' letter\n if letter is pressed\n print 'great'\n points = points + 1\n else\n print 'oops wrong letter'\n points = points - 2\n\nprint points",
"name": "Introduction 9",
"username": "teacher1",
"adventure_name": "default",
"id": "859c72b5842e4fa1a2d95ed747707f4e",
"username_level": "teacher1-9",
"is_modified": true
},
{
"session": "3d86da3dabd1432fa99902a894139edc",
"date": 1733163649867,
"lang": "fr",
"version": "DEV",
"level": 8,
"code": "r\u00e9p\u00e8te 5 fois\n affiche \"Salut tout le monde\"\n affiche\"Tout ceci sera r\u00e9p\u00e9t\u00e9 5 fois\"\n",
"name": "repeat_command 8",
"username": "user1",
"error": false,
"adventure_name": "repeat_command",
"id": "4386f49502344c5cb915b37acb959a27",
"username_level": "user1-8",
"is_modified": true,
"public": 1
}
],
"public_profiles": [
Expand Down Expand Up @@ -1942,11 +2131,11 @@
"students": {
"$type": "set",
"elements": [
"student3",
"student4",
"student1",
"student2",
"student5"
"student1",
"student5",
"student4",
"student3"
]
},
"second_teachers": [
Expand Down Expand Up @@ -2856,6 +3045,11 @@
"id": "user1-default-9",
"ticked": false,
"program_id": "fb23d0fa90ce48b5bf87c0632969fc28"
},
{
"id": "user1-repeat_command-8",
"ticked": false,
"program_id": "4386f49502344c5cb915b37acb959a27"
}
]
}

0 comments on commit a277267

Please sign in to comment.