Skip to content

Latest commit

 

History

History
46 lines (33 loc) · 2.67 KB

README.md

File metadata and controls

46 lines (33 loc) · 2.67 KB

MTRN4110 Phase B Marking Script

This is the marking script for Phase B.

Setup

Please note, this installation process is OS-independent, meaning it should work for Windows, OSX and Linux.

  1. Download Python from the Python website (yellow button that says "Download Python X"). Doing this will also install an application called IDLE.

    Mac users are recommended to download python through the HomeBrew package manager

  2. Clone repository. Go to GitHub and download this repository. Do this by clicking the green button labelled "Code", then "Download ZIP". Extract the download to wherever you want.

  3. Open file. Open IDLE, then go to "File -> Open". Navigate to the extracted ZIP file and open "main.py".

  4. Run file with your answer. Once the file is opened, you can run it with "Run -> Run Module". The script runs our solution with "Maps/Map.txt" and compares the answer to what is given in "Answers/answer.txt". Furthermore, "Answers/PathPlanFound.txt" should contain your path plan (see Section 3.4).

Using Git to keep up-to-date

I predict that more issues will be found over the next week. To avoid having to re-download this repository every time a bug is fixed, you can use Git.

  1. Download Git and GitHub Desktop.
  2. On this repository, go to "Code", then "Open in GitHub Desktop".
  3. Follow the instructions on GitHub Desktop to set up the folder for you.
  4. Now, you can update the copy of your script on your computer by clicking "Fetch Origin" and "Pull Origin".

Known Bugs

Bug Status
Final path wasn't added to the get_paths function, taking off marks for a correct answer. Fixed
Student's PathPlanFound.txt was in a different location to the automarker's repo, giving an error. Fixed
Linux is not supported - the ./sln is outdated. Fixed
Current solution file does not support paths of steps > 40. Fixed
Solution does not accept a Map.txt that ends with a newline Not fixed

Contribution

If you have found a bug, please message me on Teams. Come back for status updates on known bugs (see above). If you're familiar with GitHub, make a PR - it's a lot easier for me as well!