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

    • 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.

Filename, size & hash SHA256 hash help File type Python version Upload date
resultr_format- (4.9 kB) Copy SHA256 hash SHA256 Wheel py3
resultr_format- (4.6 kB) Copy SHA256 hash SHA256 Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page