Skip main navigation

Alternative way to collect and submit exercise

In this article, we provide an alternative way to collect and submit exercise without using VSCode.

For some reason, VSCode may not able to open or submit assignments. To deal with this, we provide here an alternative way. This can be done with the GitHub Desktop to fetch from and push directly to your repository created when you click on the assignment link. This also allows using IDEs other than VSCode.

You will need to install the GitHub Desktop application and log in. After you have accepted the assignment, you will see the following page. homework link The HTTPS link is where your assignment is deposited. Click this link brings you to github.com, as the following picture shows. github page Clicking the “Open with GitHub Desktop” under the tab “Code” opens the GitHub Desktop application and clones the repo to your local driver. Then you can work on the exercise with your favourite IDE or VSCode.

After you have finished your exercise, return to GitHub Desktop and commit your change (fill in the summary if necessary). GitHub screenshot commit

Then clicking “push origin” will push your change to GitHub for auto-grading. GitHub screenshot push origin

To see your mark, you will need to go to your repository on github.com (the same HTTP link). The green check in the following shows that you have successfully passed the test. GitHub screenshot marking If a red cross shows, click on the cross and then “detail” will show the error message such as the following two pictures. GitHub screenshot error GitHub screenshot error 2

This article is from the free online

An Introduction to Machine Learning in Quantitative Finance

Created by
FutureLearn - Learning For Life

Reach your personal and professional goals

Unlock access to hundreds of expert online courses and degrees from top universities and educators to gain accredited qualifications and professional CV-building certificates.

Join over 18 million learners to launch, switch or build upon your career, all at your own pace, across a wide range of topic areas.

Start Learning now