@@ -10,17 +10,23 @@ Therefore, _when you follow the installation guide, please unpack the code in a
...
@@ -10,17 +10,23 @@ Therefore, _when you follow the installation guide, please unpack the code in a
/home/tuhe/Documents/øh_my --..-- eyæs/
/home/tuhe/Documents/øh_my --..-- eyæs/
```
```
But please get creative!
But please get creative! We basically want to find a folder that (1) vscode accepts (2) unitgrade fails on.
This is specifically what you should do:
This is specifically what you should do next:
- Follow the installation guide here: https://cp.pages.compute.dtu.dk/02002public/installation/installation.html
- Follow the installation guide here: https://cp.pages.compute.dtu.dk/02002public/installation/installation.html
- If you don't use VS Code for moral reasons, please make sure you run the pip command in the last step: https://cp.pages.compute.dtu.dk/02002public/installation/installation.html#step-5-install-the-course-toolbox-and-software-packages
- If you don't use VS Code for moral reasons, please make sure you run the pip command in the last step: https://cp.pages.compute.dtu.dk/02002public/installation/installation.html#step-5-install-the-course-toolbox-and-software-packages
- Go to tests in the activity panel. Check that all tests are there. Do you need to press refesh? Can you run the tests?
- Go to tests in the activity panel. Check that all tests are there. Do you need to press refesh? Can you run the tests?
* the expected behavior is that all tests fail, i.e. they are red, but there should be tests for week 3+4
* the expected behavior is that all tests fail, i.e. they are red, but there should be tests for week 3+4
-Right click and run the program cp/project2/project2\_grade.py . It should generate a .token file. Check the name is ...
-Find and run the file cp/project2/project2_grade.py . It should generate a .token file. Check that you get 0 points (it will say so in the name of the token file. The token file will be in the same folder as the script.
-Right click and run the program cp/project0/project0\_grade.py. It should generate a .token file with full points (in the file name).
-Now you complete a project assignment. Open the file `cp/ex03/bisect.py`. Then replace the first function with:
If you break unitgrade, i.e. you cannot run the tests or you cannot generate .token files, you win a beer (offer valid to the first 2 who gets to my office).
```python
deff(x):
y=math.sin(3*math.cos(0.5*x**2))
returny
```
- Rerun the cp/project2/project2_grade.py -script. Check that you get more than 0 points.
Join discord (link on the front page) if you have any questions, or send them to tuhe@dtu.dk
Join discord (link here https://cp.compute.dtu.dk/) if you have any questions or see something funny.