Autotester for Extreme Computing - coursework 1 and 2: Scala Collections and Spark
-
Updates: The tester updates itself through
git pull
. Make sure you run it from its directory and install withgit clone
rather than copying files. -
Autotests: These are autogenerated tests, they might be wrong. I check for equivalent results, but if you're failing and think you're right send me a screenshot and I'll check.
-
STAR THE REPO.
-
Anything else: just shoot me a text on messenger.
Just git clone where your coursework files are:
git clone https://github.com/lollobaldo/EXC--autotester.git
Just cd
into the repository, install the requirements and run the python file.
Select the root folder of the project. This is where your src
and build.stb
stay.
cd EXC--autotester
pip install promptlib
python runtest.py
None found yet
A benchmark is run on the tasks. The following are the average results for optimal implementations. It should be okay if you're within a 5x factor of these.
CW1: 20 runs CW2: 1 run
┌────────┬──────┬──────┬──────┐ ┌────────┬──────┬──────┬──────┐
│ Task │ Avg │ Min │ Max │ │ Task │ Avg │ Min │ Max │
├────────┼──────┼──────┼──────┤ ├────────┼──────┼──────┼──────┤
│ Task 1 │ 80 │ 75 │ 170 │ │ Task 1 │ 150 │ 150 │ 150 │
├────────┼──────┼──────┼──────┤ ├────────┼──────┼──────┼──────┤
│ Task 2 │ 30 │ 23 │ 88 │ │ Task 2 │ 150 │ 150 │ 150 │
├────────┼──────┼──────┼──────┤ ├────────┼──────┼──────┼──────┤
│ Task 3 │ 260 │ 248 │ 350 │ │ Task 3 │ 6000 │ 6000 │ 6000 │
├────────┼──────┼──────┼──────┤ ├────────┼──────┼──────┼──────┤
│ Task 4 │ 75 │ 70 │ 115 │ │ Task 4 │ 1000 │ 1000 │ 1000 │
└────────┴──────┴──────┴──────┘ └────────┴──────┴──────┴──────┘
Shoot me a text on Facebook if there's anything wrong.