Skip to content

Commit

Permalink
Merge branch 'master' of github.com:raphodn/know-your-planet
Browse files Browse the repository at this point in the history
  • Loading branch information
raphodn committed Oct 7, 2021
2 parents 8131e4d + 8788f80 commit e6e44dc
Show file tree
Hide file tree
Showing 5 changed files with 44 additions and 41 deletions.
7 changes: 5 additions & 2 deletions backend/Pipfile
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ django-solo = "*"
freezegun = "*"
gunicorn = "*"
ipython = "*"
notion = {git = "https://github.com/raphodn/notion-py.git"}
notion = {git = "https://github.com/raphodn/notion-py.git", ref = "511b93ed621625600795b7c4baa7e745d8ecfc2f"}
pandas = "*"
psycopg2-binary = "*"
PyGithub = "*"
Expand All @@ -29,10 +29,13 @@ sqlparse = "*"
whitenoise = "*"

[dev-packages]
black = "21.9b0"
black = "*"
coverage = "*"
factory-boy = "*"
flake8 = "*"

[requires]
python_version = "3.9"

[pipenv]
allow_prereleases = true
12 changes: 6 additions & 6 deletions backend/Pipfile.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

56 changes: 28 additions & 28 deletions data/quiz-stats.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +51,9 @@
- answer_success_count: 9
count: 14
- quiz_id: 3
answer_count: 284
answer_count_last_30_days: 1
answer_count_last_7_days: 0
answer_count: 285
answer_count_last_30_days: 2
answer_count_last_7_days: 1
like_count: 27
dislike_count: 0
answer_success_count_split:
Expand All @@ -72,7 +72,7 @@
- answer_success_count: 6
count: 48
- answer_success_count: 7
count: 51
count: 52
- answer_success_count: 8
count: 25
- answer_success_count: 9
Expand Down Expand Up @@ -469,9 +469,9 @@
- answer_success_count: 8
count: 3
- quiz_id: 52
answer_count: 723
answer_count_last_30_days: 4
answer_count_last_7_days: 1
answer_count: 724
answer_count_last_30_days: 5
answer_count_last_7_days: 2
like_count: 34
dislike_count: 1
answer_success_count_split:
Expand All @@ -482,7 +482,7 @@
- answer_success_count: 2
count: 64
- answer_success_count: 3
count: 156
count: 157
- answer_success_count: 4
count: 191
- answer_success_count: 5
Expand Down Expand Up @@ -633,9 +633,9 @@
- answer_success_count: 12
count: 6
- quiz_id: 59
answer_count: 412
answer_count_last_30_days: 9
answer_count_last_7_days: 3
answer_count: 413
answer_count_last_30_days: 10
answer_count_last_7_days: 4
like_count: 21
dislike_count: 0
answer_success_count_split:
Expand All @@ -650,7 +650,7 @@
- answer_success_count: 4
count: 95
- answer_success_count: 5
count: 72
count: 73
- answer_success_count: 6
count: 24
- quiz_id: 60
Expand Down Expand Up @@ -679,9 +679,9 @@
- answer_success_count: 8
count: 20
- quiz_id: 61
answer_count: 309
answer_count_last_30_days: 12
answer_count_last_7_days: 5
answer_count: 311
answer_count_last_30_days: 14
answer_count_last_7_days: 7
like_count: 9
dislike_count: 1
answer_success_count_split:
Expand All @@ -700,7 +700,7 @@
- answer_success_count: 6
count: 64
- answer_success_count: 7
count: 34
count: 36
- answer_success_count: 8
count: 18
- answer_success_count: 9
Expand Down Expand Up @@ -851,9 +851,9 @@
- answer_success_count: 9
count: 1
- quiz_id: 67
answer_count: 197
answer_count_last_30_days: 10
answer_count_last_7_days: 3
answer_count: 198
answer_count_last_30_days: 11
answer_count_last_7_days: 4
like_count: 3
dislike_count: 1
answer_success_count_split:
Expand All @@ -862,7 +862,7 @@
- answer_success_count: 1
count: 23
- answer_success_count: 2
count: 55
count: 56
- answer_success_count: 3
count: 54
- answer_success_count: 4
Expand Down Expand Up @@ -928,9 +928,9 @@
- answer_success_count: 7
count: 4
- quiz_id: 70
answer_count: 186
answer_count_last_30_days: 25
answer_count_last_7_days: 7
answer_count: 188
answer_count_last_30_days: 27
answer_count_last_7_days: 9
like_count: 4
dislike_count: 0
answer_success_count_split:
Expand All @@ -943,7 +943,7 @@
- answer_success_count: 3
count: 27
- answer_success_count: 4
count: 48
count: 50
- answer_success_count: 5
count: 31
- answer_success_count: 6
Expand Down Expand Up @@ -997,9 +997,9 @@
- answer_success_count: 8
count: 0
- quiz_id: 74
answer_count: 253
answer_count_last_30_days: 56
answer_count_last_7_days: 13
answer_count: 254
answer_count_last_30_days: 57
answer_count_last_7_days: 14
like_count: 8
dislike_count: 1
answer_success_count_split:
Expand All @@ -1012,7 +1012,7 @@
- answer_success_count: 3
count: 39
- answer_success_count: 4
count: 52
count: 53
- answer_success_count: 5
count: 47
- answer_success_count: 6
Expand Down
8 changes: 4 additions & 4 deletions data/stats.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,10 @@ quiz_per_publish_count:
total: 30
- publish: false
total: 10
question_answer_count: 165454
quiz_answer_count: 11592
question_answer_count_last_30_days: 4046
quiz_answer_count_last_30_days: 286
question_answer_count: 165575
quiz_answer_count: 11601
question_answer_count_last_30_days: 4167
quiz_answer_count_last_30_days: 295
category_count: 8
tag_count: 238
question_feedback_count: 2716
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/constants.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
export default {
DATA_LAST_UPDATED_DATETIME: '2021-10-07 08:45',
DATA_LAST_UPDATED_DATETIME: '2021-10-07 20:41',
QUESTION_VALIDATION_STATUS_OK: 'Validée',
QUESTION_VALIDATION_STATUS_IN_PROGRESS: 'A valider',
QUESTION_SUCCESS_MESSAGES_FR: [
Expand Down

0 comments on commit e6e44dc

Please sign in to comment.