diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 3089ad5206c99ea7f58b327d786bf08a7baac511..d09a3703e262914a1fa1c468045221d889aec5ab 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -36,7 +36,7 @@ test: - env:docker script: #- python setup.py test - - pip install flake8 flake8-nb # you can also use tox + - pip install flake8==5.0.4 flake8-nb==0.5.2 # you can also use tox - pwd - ls -lh - flake8 --max-line-length 88 ./functions/*.py diff --git a/README.md b/README.md index 1056af8d37e38368082cb14b287ac87d2976bdc2..1d2b414165a21e5946fcb03f6247a186becd7480 100644 --- a/README.md +++ b/README.md @@ -1,10 +1,18 @@ # Lerneinheit FAIRe Qualitäts-KPIs ## Einführung +Siehe Aufgabenstellung in Moodle. ## Materialien +Die Aufgabenstellung im PDF-Format steht in Moodle bereit. + +In diesem GitLab Repo finden Sie: +- Package *functions* (`functions/`): Beinhaltet die Module *classes* und *calculation_rules* +- Modul classes (`functions/classes.py`): Werkzeuge zum Aufbau und zur Bearbeitung der LEGO Konstruktionen +- Modul calculation_rules (`functions/calculation_rules.py`): Funktionen zum Berechnen der FAIR Quality KPIs +- Datenblätter (`datasheets/`): Datenblätter ausgewählter LEGO Komponenten im JSON-Format +- Jupyter Notebook (`ausarbeitung.ipynb`): Zur Bearbeitung der Aufgaben und Abgabe. Beinhaltet ein Minimalbeispiel zur Verwendung der Werkzeuge. -## Anwendung ## Ausarbeitung Die Ausarbeitung erfolgt im Notebook `ausarbeitung.ipynb`. In diesem ist bereits eine Gliederung vorgegeben. diff --git a/datasheets/lego_item_list_FAIR-quality_kpis.xlsx b/datasheets/lego_item_list_FAIR-quality_kpis.xlsx index 9e8cb6266c57d69f1bf5321fdbd33989a048f0c3..7e1126d596016d4bd0ffd80936cc3711b2e92a63 100644 Binary files a/datasheets/lego_item_list_FAIR-quality_kpis.xlsx and b/datasheets/lego_item_list_FAIR-quality_kpis.xlsx differ diff --git a/datasheets/motors.json b/datasheets/motors.json index d4451b454fca07915d438d3da3b111637b2b8c0c..f5926027a2e5bca06369a258d50e223ac85769cc 100644 --- a/datasheets/motors.json +++ b/datasheets/motors.json @@ -8,7 +8,7 @@ "idle speed [rev per min]":220, "locking torque [Ncm]":40, "price [Euro]":30, - "mass [g]":"72,85", + "mass [g]":72.85, "delivery time [days]":3, "data source":"https:\/\/www.bricklink.com\/v2\/catalog\/catalogitem.page?S=8882-1&name=Power%20Functions%20XL-Motor&category=%5BPower%20Functions%5D#T=S&O={%22iconly%22:0}", "compatible battery":8881, @@ -24,7 +24,7 @@ "idle speed [rev per min]":405, "locking torque [Ncm]":11, "price [Euro]":20, - "mass [g]":35, + "mass [g]":35.0, "delivery time [days]":5, "data source":"https:\/\/www.bricklink.com\/v2\/catalog\/catalogitem.page?S=8883-1&name=Power%20Functions%20M-Motor&category=%5BPower%20Functions%5D#T=S&O={%22iconly%22:0}", "compatible battery":"8881, 8878, 45517, 88000", @@ -40,7 +40,7 @@ "idle speed [rev per min]":390, "locking torque [Ncm]":18, "price [Euro]":15, - "mass [g]":48, + "mass [g]":48.0, "delivery time [days]":3, "data source":"https:\/\/www.bricklink.com\/v2\/catalog\/catalogitem.page?S=88003-1&name=Power%20Functions%20L-Motor&category=%5BPower%20Functions%5D#T=S&O={%22iconly%22:0}", "compatible battery":"8881, 8878, 88000",