Skip to content

Commit

Permalink
Make questions from questionbank (#45)
Browse files Browse the repository at this point in the history
* Move questions to .json file

* Update 1_coastal_classification.ipynb

* comments and question bank example

* formatting

* suggestions from floris

* Moved all import and directory statements to main notebook. Initializer is now empty
* re-labelled questions from part 2 of notebook 1
* Removed unnecessary import and directory statements

* rename classification json file

---------

Co-authored-by: Kevin <k.h.debruijn@student.tudelft.nl>
Co-authored-by: floriscalkoen <floris_calkoen@hotmail.com>
  • Loading branch information
3 people authored Jan 25, 2024
1 parent 385543c commit 1e6f887
Show file tree
Hide file tree
Showing 5 changed files with 1,001 additions and 915 deletions.
6 changes: 3 additions & 3 deletions cookbook/question_types.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
"# with the questions as they are ATM to a JSON file, watch out for trailing comma's. Your code error will warn you. But if you\n",
"# cannot read the JSON file with the function, it's probably related to that.\n",
"QUESTION_DIR = pathlib.Path.cwd().parent / \"notebooks\" / \"questions\"\n",
"question_fp = QUESTION_DIR / \"01_coastal_classification.json\"\n",
"question_fp = QUESTION_DIR / \"1_coastal_classification.json\"\n",
"\n",
"# The coastal dynamics package now contains a small utilty function to load the questions from a JSON file\n",
"questions = load_questions(question_fp)\n",
Expand Down Expand Up @@ -307,9 +307,9 @@
],
"metadata": {
"kernelspec": {
"display_name": "Python [conda env:coastal]",
"display_name": "Python [conda env:jl-full] *",
"language": "python",
"name": "conda-env-coastal-py"
"name": "conda-env-jl-full-py"
},
"language_info": {
"codemirror_mode": {
Expand Down
Loading

0 comments on commit 1e6f887

Please sign in to comment.