xuod / FPT2019

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

IPT 2016 Models:


Participant
-----------
One of the numerous contestants
:param name : First Name of the participant
:param surname : Family Name of the participant
:param gender : Male or Female
:param email : email address
:param birthdate : date of birth
:param photo : identity profile picture
:param team : associated Team
:param role : is the participant a contestant, IOC, team-leader, etc...
:param passport_number : passport number
:param affiliation : university affiliation of the participant
:param veteran : has the participant already participated before in the IPT
:param diet : has the participant a specific diet
:param tourism : would the participant like to stay longer in the hotel after the tournament.
:param shirt_size : size of the shirt
:param remark : any additional remark
:param hotel_room : associated room in the hotel
:param check_in : is the participant registered on-site ?

:function fullname: return the full name of the participant
:function compute_average_grade: return the average grade per physics fight
:function points: return the total number of points, without the multiplicative factor
:function ranking: return a ranked list of participants according to their points


Problem
-------
One of the 17 Problems of IPT2016.
:param name : name of the problem
:param description : description of the problem


Team
----
A collection of participants with possibly an associated IOC
:param name : name of the team (country, I guess)
:param surname : funny name that teams like to use
:param IOC : associated IOC, if exists

:function bonuspoint: return the number of bonus points awarded in function of the Round results.
:function points: return the total number of points gathered by all the team participants.
:function ranking: return a ranked list of the teams according to their points.
:function problems: return all the problems that I was involved with (presenting, opposing, rejecting)

Room
----
One of the rooms where the physics fights happens
:param name : name of the Room

Jury
----
One of the Jury member
:param name : name of the Jury member
:param team : associated Team to which the Jury member is related, if any.

PhysicsFight
------------
One of the Physics Fight.
:param round_number : which round
:param fight_number : which fight in the current round
:param room : associated Room
:param reporter_1 : associated Participant, the Reporter
:param reporter_2 : associated Participant, the second Reporter, optional
:param opponent : associated Participant, the Opponent
:param reviewer : associated Participant, the Reviewer
:param problem_presented : associated Problem
:param submitted_date : date of submission

:function unavailable_problems: return all the problems that cannot be presented in this fight.

JuryGrade
---------
Summarise the grade of a jury member
:param physics_fight : associated Physics Fight
:param jury : associated Jury
:param grade_reporter : grade given to the reporter
:param grade_opponent : grade given to the opponent
:param grade_reviewer : grade given to the reviewer

:function info: display more information about the current grade

TacticalRejection
-----------------
One of the tactical rejection allowed 3x per round
:param physics_fight : associated Physics Fight (which includes the name of the Reporter, and his team)
:param problem : associated Problem

EternalRejection
----------------
The eternal rejection alloweed 1x per tournament
:param physics_fight : associated Physics Fight
:param problem : associated Problem





About


Languages

Language:Python 59.4%Language:HTML 26.8%Language:JavaScript 11.9%Language:CSS 1.9%