Skip to content

Scripts for dumping traces of Algorithmic practicals at EPITA

Notifications You must be signed in to change notification settings

matiboux/algodump

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Algodump scripts

Scripts for dumping traces of Algorithmic practicals at EPITA

Prerequisites

The first step is to download traces of Algorithmic practicals from Algo-TD.

Locate where the traces you want to download are hosted, then use this command:

wget -r -np -nd -P algodump/ <folder_url_to_traces>

The downloaded traces files should be named <login>.html and are saved in a new folder in your current directory: algodump/

The overall directory structure should look like this:

./
  algodump/
           login.html
           another.html
           ...
  s.sh

Deal with the weird script file names yourself.

Scripts!

s.sh

The Stats Gatherer

Now that the algodump/ folder exists and contains valid files, the s.sh script should be able to generate a new file on its own: s.grades.

This new file will contain all grades associated with logins from traces stored in algodump/.

The s.grades output format is:

login\t20.00
another\t17.42
...

With \t as a TAB character.

Then, copy & paste the file content into a spreadsheet document to make stats!

i.sh

The Information Gatherer

This script will download pages containing additionnal information on each login. Files will be saved in a new folder: infos/.

Downloaded files depends on the algodump/ folder content, as it is using it as a list of student logins.

si_homework.sh

The Overall Stats Gatherer

You need to have ran the i.sh script first, as this depends on files in the infos/ folder. The si_homework.sh script should generate a new file: si_homework.grades.

This new file will contain all overall average grades associated with logins from infos stored in infos/.

si_huff.sh

The Huffman Stats Gatherer

This script is similar to si_homework.sh and is used the same way. This was specifically used the overall grades for the Huffman homework.

The si_huff.sh script should generate a new file: si_huff.grades.

Author

Made by Matiboux.

About

Scripts for dumping traces of Algorithmic practicals at EPITA

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages