Please follow the instructions below to successfully validate your assignments and do a pull request.
- Synchronize your fork with the source repository: Go to YOUR fork in GitHub, and click on "Sync fork" like we did in class.
- Pull the repository changes into your machine.
- Work on the exercises. You can work in the notebooks in Colaboratory, as we did in class. Mandatory exercises are
Task06.ipynbandTask07.ipynb. Tasks 08 and 09 are OPTIONAL. Each mandatory exercise has avalidate_taskfunction that you can run to see whehter the exercise is providing a correct solution or not. You must run these cells while doing the exercises, although they will be checked automatically in your pull request. - Once you complete your assignment, you need to export a python script from your notebook. Do so by clicking on
File->Download->Download .py. - IMPORTANT Comment the line
!pip install rdflibin your python script (or any additional line with python magic). - Create a NEW folder in
Assignment4. It should look likeAssignment4/YOURFOLDERNAME, whereYOURFOLDERNAMEshould be your name, last name and id. For example:Assignment4/Daniel_Garijo_1234 - Place your python scripts only in that folder. Your scripts must be named
task0{NUMBER}.py. For example,task06.py. If you don't follow this convention, your PR will fail. - COPY the validation script (
validation.py) in the same folder you put your assignments. You can find it inAssignment4/course_materials/python/validation.py. Therefore, if you submit the mandatory assignment, your PR should ONLY contain three files:task06.py,task07.pyandvalidation.py. - Create a pull request to the main branch. A professor will activate an automated workflow on your scripts. If the workflow fails, your PR will be closed and you will need to review it, fix it and reopen it.