Skip to main content

Making UCL PHAS results better

Project description


back end for resultr

resultr-format lets resultr:

  • get your weighted average for a year
  • get your rank in your year
  • re-format the results by module (as below) and output to csv

output format:

Devcom PHAS0000 PHAS0001 PHAS0002 PHAS0003 PHAS0004 PHAS0005 PHAS0006 PHAS0007 Averages
100 99 98 97 96 95 94 93 92 95.5
24 3 55 34 93 43 15 25 40 39

Release History

    • Odd/Even indexing in myGrades
    • Odd/Even indexing for columns needed fixing for year3+ as no more devcom in first column (in myGrades)
    • Odd/Even indexing for columns needed fixing for year3+ as no more devcom in first column (in goodFormater)
    • Professional spelling error in goodFormater
    • Forgot to initialise goodFormater when i fixed devcom bug
  • 0.1.4
    • Fixed devcom bug for year 3+ people
    • convert 'DA' results to 0 in badFormater
  • 0.1.3
    • Convert 'DA' results to 0
    • Added .upper() to key in badformater incase 'cand'/'Cand'/'CAND'
    • Changed form doing .upper() in badformater to doing it in goodformater
    • Changed from doing .upper() to each row in badformater to key.upper():val.upper()
  • 0.1.2
    • Changed badformater to import everything uppercase
  • 0.1.1
    • goodFormatter would throw key error when popping '0' if '0' didn't exist
  • 0.1.0
    • The first proper release


Hayk Khachatryan –

Distributed under the MIT license. See LICENSE for more information.


  1. Fork it (
  2. Create your feature branch (git checkout -b feature/fooBar)
  3. Commit your changes (git commit -am 'Add some fooBar')
  4. Push to the branch (git push origin feature/fooBar)
  5. Create a new Pull Request

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for resultr-format, version
Filename, size File type Python version Upload date Hashes
Filename, size resultr_format- (5.2 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size resultr_format- (4.9 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page