Global

Type Definitions


Adjudicator

Represents an adjudicator.

Properties:
Name Type Description
id Number

id of the Adjudicator

preev Number

pre evaluation(judge test) of the Adjudicator

name String

name of the Adjudicator

available Boolean

available

user_defined_data Object

user defined data

Source:

Institution

Represents an institution.

Properties:
Name Type Description
id Number

id of the Institution

name String

name of the Institution

available Boolean

available

user_defined_data Object

user defined data

Source:

RawAdjudicatorResult

Represents raw adjudicator result.

Properties:
Name Type Description
id Number

id of the adjudicator to evaluate

from_id Number

id of the sender

r Number

round number at which the result is sent

score Number

the score of the adjudicator the sender writes

watched_teams Array.<Number>

teams the adjudicator watched

comment String

the comment for the adjudicator from the sender

user_defined_data Object

user defined data

Source:

RawDebaterResult

Represents raw debater result.

Properties:
Name Type Description
id Number

id of the debater to evaluate

from_id Number

id of the sender

r Number

round number at which the result is sent

scores Array.<Number>

scores the sender writes

user_defined_data Object

user defined data

Source:
Example
{
  id: 1,
  from_id: 2,
  r: 1,
  scores: [75, 0, 36.5]
}

RawTeamResult

Represents raw team result.

Properties:
Name Type Description
id Number

id of the team to evaluate

from_id Number

id of the sender

r Number

round number at which the result is sent

win Number

in NA it's either 1(win) or 0(lose), in BP it's the win-points

opponents Array.<Number>

opponents of the team

side String

side of the team

user_defined_data Object

user defined data

Source:
Example
{
  id: 1,
  from_id: 2,
  r: 1,
  win: 1,
  opponents: [2],
  side: "gov"
}

Square

Represents a pair/set of teams in a venue. A minimum unit to be an allocation.

Properties:
Name Type Description
id Number

id of the Square

teams Array.<Number>

teams in the Square

chairs Array.<Number>

chairs in the Square

panels Array.<Number>

adjudicators(panels) in the Square

trainees Array.<Number>

adjudicators(trainees) in the Square

warnings Array.<String>

warnings

venue Number
Source:

Style

Represents debate style.

Properties:
Name Type Description
name String

style name

debater_num_per_team Number

number of debaters per team

team_num Number

number of team in a Square

score_weights Array.<Number>

weights of the scores

replies Number

candidates of replies (Necessary only for testing)

reply_num Number

number of replies in a Square (Necessary only for testing)

Source:
Example
{
name: "ASIAN",
 debater_num_per_team: 3,
 team_num: 2,
 score_weights: [1, 1, 1, 0.5],
 replies: [0, 1],
 reply_num: 1
}

Team

Represents a team.

Properties:
Name Type Description
id Number

id of the Team

name String

name of the Team

available Boolean

available

user_defined_data Object

user defined data

Source:

TournamentInformation

Represents a tournament.

Properties:
Name Type Description
id Number

id of the tournament

name String

name of the tournament

current_round_num Number

current round

total_round_num Number

total round

style Style

style of the tournament

user_defined_data Object

user defined data

Source:

Venue

Represents a venue.

Properties:
Name Type Description
id Number

id of the Venue

priority Number

priority of the Venue

name String

name of the Venue

available Boolean

available

user_defined_data Object

user defined data

Source: