Settings reference¶
Every choice of the project and study editor in the admin console (Projects & Studies) that is
not self-explanatory has a ? button next to its name. This page lists the same texts, grouped
as in the editor, with the key each choice writes in project.yaml (under defaults:) or
study.yaml (under overrides:). How the settings work together is explained in
Project management and Study management. The
Tools section lists choices of the console's Tools page, kept under tools in env.json
(the settings folder, a project or a study).
Admins can read the same texts as JSON from GET /api/admin/help.
Project¶
| Setting | Key | Summary |
|---|---|---|
| Kind | kind |
What the project evaluates: Assistants (HI), opponents (HAN) or nothing (research) |
Kind¶
kind: What the project evaluates: Assistants (HI), opponents (HAN) or nothing (research)
| Kind | Ranks | Typical studies |
|---|---|---|
assistant |
the Assistants (Hybrid Intelligence track) | people with an Assistant against AI opponents or each other |
opponent |
the opponent agents (Human-Agent Negotiation track) | people without an Assistant against the entrant agents |
none |
nothing | research studies, demonstrations, the game |
The kind decides which pool a Paired mode needs: [human+assistant] in an HI project,
[human] with assistants: [none] in a HAN project.
More: Project management.
Study¶
| Setting | Key | Summary |
|---|---|---|
| Study type | type |
How participants arrive: Prolific, an online link or a lab session |
Study type¶
type: How participants arrive: Prolific, an online link or a lab session
| Type | Participants | Link |
|---|---|---|
prolific |
recruited on Prolific; their Prolific id is their name | the Prolific study URL, with Prolific's placeholders |
online |
anyone with the link, with or without an account | the play link, or a per-participant link |
lab |
in person, with a session code you hand out | the lab session link |
The type changes the links the study page offers and, for Prolific, the completion code and return URL.
More: Study management.
Defaults¶
| Setting | Key | Summary |
|---|---|---|
| Mode | study_mode |
Solo (one person against an AI), Paired (two people) or Mixed; unset, it is derived from the opponents |
| Scenario set | scenario_set |
The scenario types participants negotiate, and their order |
| Strict scenarios | strict_scenarios |
Serve saved scenarios only: a missing or broken pool is an error, never a generated scenario |
| Simple scenarios | simple_scenarios |
Generate scenarios with round numbers and linear or symmetric preferences |
| Normalized scenarios | normalized_scenarios |
Generate scenarios normalized as negmas does it: every deal worth 0 to 1, weights adding up to 1 |
| Assume normalized | assume_normalized |
Start every negotiation on the scenario as it is, without checking that it is normalized |
| Forced value on disagreement | force_reserved_value |
The participant's value on disagreement in every negotiation, whatever the scenario says |
| Questionnaires ask about | questionnaire_agent |
The party that {{agent}} names in questionnaires about both the Assistant and the opponent |
| Counted negotiations | n_required |
K: how many negotiations of each participant count (practice not included) |
| Practice round | practice |
A first negotiation that does not count |
| Participant's role | role_rule |
Which side of the scenario the participant takes |
| Preferred roles | human_roles |
For the roles rule: the role names the participant should take, in order |
| Assistant type | assistant_type |
Copilot (the full Assistant) or Advisor (an Assistant that only talks, on a fixed screen) |
| Assistant starts on | assistant_starts_on |
Whether a Prolific or online participant's Assistant starts switched on |
| Questionnaires | questionnaires |
No switches every questionnaire of the study off: pre, per-negotiation and post-session |
| Named form | pre_questionnaire, questionnaire, post_questionnaire (env.json) |
A bundled or named form that wins over every layer's file |
Mode¶
study_mode: Solo (one person against an AI), Paired (two people) or Mixed; unset, it is derived from the opponents
| Mode | HI project (kind: assistant) |
HAN project (kind: opponent) |
|---|---|---|
| Solo | the human has an Assistant; the opponent is an AI agent (built-in, :pan, or HAN entrants) |
a human without an Assistant against the entrant agents |
| Paired | two people, each with their own Assistant (opponents: [human+assistant]) |
two people without Assistants (opponents: [human]). It tests no HAN agent, so its results are not ranked |
| Mixed | a person when someone fits, otherwise an AI opponent (for example a game) | rarely useful |
The mode does not replace the opponent pool: the pool still decides who plays. The mode is your declared intent, and it is checked against the pool, the Assistant and the project's kind:
| Mode | The opponents must be | When the opponents are not set |
|---|---|---|
| Solo | no human / human+assistant entry |
the default pool |
| Paired (HI) | exactly [human+assistant] |
filled in |
| Paired (HAN) | exactly [human], with assistants: [none] |
both filled in |
| Mixed | at least one person and one AI | refused: name the pool |
A file that disagrees is refused when you save it, with a message that names both keys.
Derived. Leave the mode unset and it is derived from the opponents: no human entry is Solo, only human entries is Paired, both is Mixed. Existing projects keep working unchanged.
More: Project management.
Scenario set¶
scenario_set: The scenario types participants negotiate, and their order
A scenario set is a named, ordered list of scenario types (domains). The scenario method of the Scheduling group decides which type each negotiation takes from it; the participant then gets the next scenario of that type. Empty: the set of the layer above.
More: Scenarios.
Strict scenarios¶
strict_scenarios: Serve saved scenarios only: a missing or broken pool is an error, never a generated scenario
With Yes, every negotiation uses a scenario saved in the scenario pool. When a type has no usable saved scenario, the session reports an error instead of generating one, so every participant of the study sees exactly the scenarios you prepared. With No, a missing scenario is generated.
More: Scenarios.
Simple scenarios¶
simple_scenarios: Generate scenarios with round numbers and linear or symmetric preferences
With Yes (the default), generated scenarios use round numbers and plain shapes of preferences (linear or symmetric), which are easier for people to read, and only saved scenarios generated the same way are served. With No, any saved scenario may be served and generated ones may use any shape.
More: Scenarios.
Normalized scenarios¶
normalized_scenarios: Generate scenarios normalized as negmas does it: every deal worth 0 to 1, weights adding up to 1
With Yes (the default), every generated scenario is normalized the way negmas normalizes: for each side every deal is worth 0 to 1 and, for linear-additive preferences, the issue weights add up to 1 and every issue's value function ranges from 0 to 1; the value on disagreement goes through the same map. With No, generated scenarios are kept as their generators draw them without normalizing (any values, negative included; of the built-in generators only Grocery draws such preferences, its items' points). Simple scenarios are always normalized, so switch Simple scenarios off too for this to have an effect. Saved scenarios are served as they were saved.
More: Scenarios.
Assume normalized¶
assume_normalized: Start every negotiation on the scenario as it is, without checking that it is normalized
Every negotiation is played on a normalized scenario (every deal worth 0 to 1, as negmas normalizes), so the offer buttons, gauges, history and scores read as percentages. A scenario that is not normalized is normalized when the negotiation starts; one that is normalized already (every built-in generator makes those) is used as it is. With Yes, the check is skipped too and every scenario is taken as normalized: use it when the scenarios are known to be normalized and the check takes too long. The Preferences tools in raw numbers show a scenario's original numbers either way.
More: Scenarios.
Forced value on disagreement¶
force_reserved_value: The participant's value on disagreement in every negotiation, whatever the scenario says
Empty (the default): every scenario keeps its own values. A number gives the participant that value on disagreement in every negotiation; the opponent keeps the scenario's. When two participants negotiate with each other, each gets their own study's value.
The number is on the scenario's utility scale: 0 to 1 for normalised scenarios, so 0 means that
any agreement is at least as good as none (and 0 is a value, not "unset"). Saved scenarios are
never changed: the value is applied when a scenario loads, and each recorded negotiation carries the
value that was played.
More: Project management.
Questionnaires ask about¶
questionnaire_agent: The party that {{agent}} names in questionnaires about both the Assistant and the opponent
Every predefined questionnaire is tagged with the party its questions are about: the Assistant,
the opponent, both, or neither (questions about the participant, the task or the system). A
questionnaire tagged with both (UEQ, UEQ-S, trust in automation) says {{agent}} (or {{Agent}}
at the start of a sentence) where the party goes, and requires: agent on its questions. When a
participant sees the form, the placeholders become the party this setting names:
| Value | {{agent}} |
requires: agent |
|---|---|---|
| empty (the default) | opponent in a HAN project (kind: opponent), else assistant |
as below |
assistant |
assistant |
the question is skipped when no Assistant took part |
opponent |
opponent |
the question is always asked |
Question ids do not change, so the answers of an Assistant study and of an opponent study are in the same columns; tell them apart by project or study. A study asks about one party: to ask the same questionnaire about both, copy the set and give the copy other question ids.
More: Study forms.
Counted negotiations¶
n_required: K: how many negotiations of each participant count (practice not included)
The number of counted negotiations per participant, called \(K\) in the assignment rules. A practice round comes on top. With a method that gives each participant a new Assistant each negotiation, \(K\) must not exceed the number of Assistants \(N\) if each Assistant is to be used at most once per person: the Assistant row of the Scheduling group warns when \(K > N\).
More: Study management.
Practice round¶
practice: A first negotiation that does not count
With Yes, each participant first plays a practice negotiation (with its own time limit). It is
recorded with practice: true and is left out of the counted negotiations, of the scores and of
the assignment balance.
Participant's role¶
role_rule: Which side of the scenario the participant takes
| Rule | Role |
|---|---|
auto |
a role named human, else the scenario's suggested role, else the participant's index |
index |
the participant's index (the admin setting human_index) |
roles |
the first of Preferred roles that the scenario has, else auto |
alternate |
alternates between the roles from one negotiation to the next |
random |
a random role |
In Paired studies the host's side is chosen this way and the joiner takes the other one.
Preferred roles¶
human_roles: For the roles rule: the role names the participant should take, in order
Used only with the roles rule: the first of these names that the scenario has is the
participant's role (for example Buyer). Scenarios with none of them fall back to auto.
Assistant type¶
assistant_type: Copilot (the full Assistant) or Advisor (an Assistant that only talks, on a fixed screen)
copilot (the default): the Assistant chats and, as far as its abilities are granted, acts in the negotiation, shapes the screen and uses tools; the participant has every view and tool the study offers. advisor: the Assistant only talks (messages with text, pictures and charts, questions, notifications); the screen is fixed (the history and the offer area on one side, Preferences, Scenario Info and My Results above the chat on the other) and no other tool is offered. A study runs only Assistants of its type: Advisor subclasses in an Advisor study, any other Assistant in a Copilot study; one of the other type fails with an error. The environment variable HANI2_ASSISTANT_TYPE (hani2 --assistant-type) wins over the study and the project.
More: Assistant types.
Assistant starts on¶
assistant_starts_on: Whether a Prolific or online participant's Assistant starts switched on
Off (the default): the participant switches their Assistant on when they want it. On: it is on from the first negotiation. The environment variable PROLIFIC_ASSISTANT_ON wins over the study and the project.
More: Study management.
Questionnaires¶
questionnaires: No switches every questionnaire of the study off: pre, per-negotiation and post-session
questionnaires: false in study.yaml or project.yaml (or in a layer's env.json) means no questionnaire at all, whatever the form files say and whatever form the environment variables name. Empty or Yes: the forms decide (Study forms page).
More: Study forms.
Named form¶
pre_questionnaire, questionnaire, post_questionnaire (env.json): A bundled or named form that wins over every layer's file
pre_questionnaire, questionnaire (after each negotiation) and post_questionnaire in env.json name a form instead of a layer's file: a bundled one (expertise, evaluation, ...) or the stem of a file in a questionnaires/ folder. While a name is set, editing the layers' files changes nothing. The environment variables (HANI2_PRE_YAML, HANI2_PER_NEG_YAML, HANI2_POST_YAML) win over this name.
More: Study forms.
Information¶
| Setting | Key | Summary |
|---|---|---|
| Participant knows | information.preferences.human |
Which part of their own preferences the participant sees |
| Assistant knows | information.preferences.assistant |
Which part of the participant's preferences the Assistant knows |
| Value on disagreement | information.preferences.reserved_value |
Who knows what the participant gets when there is no deal |
| Past negotiations | information.past_negotiations.count |
How many records of earlier negotiations in the same scenario are shown (0: none) |
| Participant's share | information.past_negotiations.human_share |
The fraction of the past negotiations the participant gets; the Assistant gets the rest |
| Past preferences | information.past_negotiations.preferences |
How the past parties' preferences relate to this negotiation's |
| Market research | information.market_research.audience |
Who gets statistics about how preferences in the scenario are usually distributed |
| Briefings | information.briefing |
Private instructions for one side, added to the scenario's own |
| Use the scenario's briefing | information.use_scenario_briefing |
Add the briefing of the scenario's _info.yaml |
| Scenario briefings go to | information.briefing_audience |
Give every scenario briefing to this side instead of the one it names |
| Deal values with partial preferences | information.preferences.show_totals_to_partial |
Show utilities to a party that knows only part of the preferences |
| Only the participant may set | information.control.human_only_issues |
Issues the Assistant may only suggest values for |
| Only the participant may | information.control.human_only_actions |
Actions the Assistant may only suggest |
| Simulated past negotiations | information.past_negotiations.enabled |
The on/off switch of past negotiations, in general, for a project or for a study |
| Your side's past preferences | information.past_negotiations.self_preferences |
How the past party in the participant's role relates to the participant |
| Your side's past value on disagreement | information.past_negotiations.self_reserved |
The past party's value on disagreement in the participant's role |
| Opponent's past value on disagreement | information.past_negotiations.opponent_reserved |
The past opponent's value on disagreement |
| Your side's past agent | information.past_negotiations.self_agent |
Who negotiated for the participant's side in the past negotiations |
| Opponent's past agent | information.past_negotiations.opponent_agent |
Who negotiated for the opponent in the past negotiations |
| Keep in a record | information.past_negotiations.keep |
The whole negotiation with its text, or only the offers |
| Related Negotiations tool | information.past_negotiations.tool |
Who gets the tool that explores the past negotiations |
| Opponent in the tool | information.past_negotiations.tool_opponent |
Show participants the opponent's side in Related Negotiations |
| Opponent's past preferences | information.past_negotiations.opponent_preferences |
Past preferences for the opponent's side only |
| How different is similar | information.past_negotiations.noise |
How far similar preferences move |
| Give every record to both | information.past_negotiations.shared |
Both get every past negotiation |
| Who gets which records | information.past_negotiations.assignment |
Random per participant and round, or the participant gets the first ones |
| Utilities in a record | information.past_negotiations.utilities |
Whose utilities a past negotiation shows |
| Rounds of a simulated negotiation | information.past_negotiations.n_steps |
Rounds of each simulated past negotiation |
| Simulated negotiators | information.past_negotiations.negotiators |
The negmas negotiators that play the simulated negotiations |
| Use the scenario's own records | information.past_negotiations.use_scenario_file |
Use _past_negotiations.yaml of the scenario folder when it has one |
| Simulation seed | information.past_negotiations.seed |
An extra seed for the simulated negotiations |
| Market research describes | information.market_research.sides |
Whose preferences it describes |
| Market research profiles | information.market_research.samples |
How many plausible preference profiles it is computed from |
| Market research spread | information.market_research.noise |
How spread out the profiles are |
Participant knows¶
information.preferences.human: Which part of their own preferences the participant sees
| Value | The participant sees |
|---|---|
full |
the weights of the issues and the value of every option |
weights |
only how much each issue matters |
values |
only the value of the options of each issue |
none |
nothing: they must discover their preferences (for example from the Assistant) |
More: Information.
Assistant knows¶
information.preferences.assistant: Which part of the participant's preferences the Assistant knows
The same choices as Participant knows (full, weights, values, none), for the
Assistant. Giving the two different parts makes them depend on each other: for example the
participant knows the weights and the Assistant knows the values.
More: Information.
Value on disagreement¶
information.preferences.reserved_value: Who knows what the participant gets when there is no deal
both, human (only the participant), assistant (only the Assistant) or none. This is the
reserved value: no deal worth less than it should be accepted.
More: Information.
Past negotiations¶
information.past_negotiations.count: How many records of earlier negotiations in the same scenario are shown (0: none)
Each record shows how an earlier negotiation in the same scenario went. They are shared between the participant and the Assistant by Participant's share.
More: Information.
Participant's share¶
information.past_negotiations.human_share: The fraction of the past negotiations the participant gets; the Assistant gets the rest
A number between 0 and 1. With 0.5 and 4 past negotiations, each side sees 2 different records.
More: Information.
Past preferences¶
information.past_negotiations.preferences: How the past parties' preferences relate to this negotiation's
| Value | The past negotiations were played with |
|---|---|
same |
the same preferences as this one |
similar |
preferences close to these (the default) |
any |
unrelated preferences (different is an old name) |
Your side and the opponent can differ: see Your side's past preferences and Opponent's past preferences.
More: Information.
Market research¶
information.market_research.audience: Who gets statistics about how preferences in the scenario are usually distributed
none, assistant, human or both.
More: Information.
Briefings¶
information.briefing: Private instructions for one side, added to the scenario's own
Each briefing is a text for the participant (the default), the Assistant or both, optionally for one role only. Constraints that are checked against the agreement and pinned briefings are written in the file (see the docs).
More: Information.
Use the scenario's briefing¶
information.use_scenario_briefing: Add the briefing of the scenario's _info.yaml
Yes (the default): the scenario's own briefing is given too. No: only the briefings set here.
More: Information.
Scenario briefings go to¶
information.briefing_audience: Give every scenario briefing to this side instead of the one it names
human, assistant or both; empty: as each briefing says.
More: Information.
Deal values with partial preferences¶
information.preferences.show_totals_to_partial: Show utilities to a party that knows only part of the preferences
No (the default): a party that knows only the weights or only the values does not see what deals are worth, and tools that show it are not offered. Yes: it sees them anyway.
More: Information.
Only the participant may set¶
information.control.human_only_issues: Issues the Assistant may only suggest values for
The Assistant can suggest a value for these issues but cannot set it in an offer it sends.
More: Information.
Only the participant may¶
information.control.human_only_actions: Actions the Assistant may only suggest
Any of send, accept and end: the Assistant points at the button instead of acting.
More: Information.
Simulated past negotiations¶
information.past_negotiations.enabled: The on/off switch of past negotiations, in general, for a project or for a study
Yes: every scenario comes with past negotiations — its own _past_negotiations.yaml when it has one,
else simulated ones (10, unless Past negotiations says how many) — and all of them go to the
Assistant unless Participant's share is set. No: none at all, whatever the count. Empty: the count
decides (0, the default, is none). The past-negotiation settings merge key by key from the general
settings to the project and the study, so a study that only flips this switch keeps the project's
other choices. The Assistant reads its records through its functions; admins explore them with the
Related Negotiations tool.
More: Information.
Your side's past preferences¶
information.past_negotiations.self_preferences: How the past party in the participant's role relates to the participant
same, similar or any; empty: as Past preferences.
More: Information.
Your side's past value on disagreement¶
information.past_negotiations.self_reserved: The past party's value on disagreement in the participant's role
same, similar or any (anywhere in the lower 60% of its range); empty: same with the same preferences, else similar.
More: Information.
Opponent's past value on disagreement¶
information.past_negotiations.opponent_reserved: The past opponent's value on disagreement
same, similar or any; empty: same with the same preferences, else similar.
More: Information.
Your side's past agent¶
information.past_negotiations.self_agent: Who negotiated for the participant's side in the past negotiations
same: one agent for every record (agent, else one chosen at random from agents); variable:
one of agents per record (empty: the standard negotiators); runtime: the participant's Assistant
on autopilot (or the autopilot's negotiator), played when the negotiation starts.
More: Information.
Opponent's past agent¶
information.past_negotiations.opponent_agent: Who negotiated for the opponent in the past negotiations
same, variable (see Your side's past agent) or runtime: the opponent the participant faces,
played when the negotiation starts (a person or a self-hosted opponent cannot: the agent then varies).
More: Information.
Keep in a record¶
information.past_negotiations.keep: The whole negotiation with its text, or only the offers
full (the default): every message with its text; offers: only the offers exchanged.
More: Information.
Related Negotiations tool¶
information.past_negotiations.tool: Who gets the tool that explores the past negotiations
admins (the default) or everyone. Admins see every record with both sides; a participant sees the records they hold, without the opponent's utilities and values on disagreement unless Opponent in the tool is on.
More: Information.
Opponent in the tool¶
information.past_negotiations.tool_opponent: Show participants the opponent's side in Related Negotiations
No (the default): participants see what offers were worth to their side, the options offered and how alike their side's preferences were. Yes: also the opponent's utilities, values on disagreement and the 2D plot. The Assistant never sees them.
More: Information.
Opponent's past preferences¶
information.past_negotiations.opponent_preferences: Past preferences for the opponent's side only
similar, same or any; empty: as Past preferences.
More: Information.
How different is similar¶
information.past_negotiations.noise: How far similar preferences move
0: the same preferences, 1: very different. Default 0.25.
More: Information.
Give every record to both¶
information.past_negotiations.shared: Both get every past negotiation
Yes: the participant and the Assistant get every record, and the participant's share is ignored.
More: Information.
Who gets which records¶
information.past_negotiations.assignment: Random per participant and round, or the participant gets the first ones
random (the default) or first.
More: Information.
Utilities in a record¶
information.past_negotiations.utilities: Whose utilities a past negotiation shows
own (the party in the participant's role, the default), both or none.
More: Information.
Rounds of a simulated negotiation¶
information.past_negotiations.n_steps: Rounds of each simulated past negotiation
Default 20.
More: Information.
Simulated negotiators¶
information.past_negotiations.negotiators: The negmas negotiators that play the simulated negotiations
Class names, e.g. BoulwareTBNegotiator; empty: four standard time-based and tit-for-tat negotiators.
More: Information.
Use the scenario's own records¶
information.past_negotiations.use_scenario_file: Use _past_negotiations.yaml of the scenario folder when it has one
Yes (the default): a scenario that ships its own records uses them instead of a simulation.
More: Information.
Simulation seed¶
information.past_negotiations.seed: An extra seed for the simulated negotiations
The scenario's name is always part of the seed, so every participant of a strict study meets the same records.
More: Information.
Market research describes¶
information.market_research.sides: Whose preferences it describes
opponent (the default), own or both.
More: Information.
Market research profiles¶
information.market_research.samples: How many plausible preference profiles it is computed from
Default 40.
More: Information.
Market research spread¶
information.market_research.noise: How spread out the profiles are
0 to 1; default 0.3.
More: Information.
Opponents¶
| Setting | Key | Summary |
|---|---|---|
| Self-hosted agents | hosted |
The Assistants and/or opponents are the teams' own hosts, registered for the project |
| HAN agents | opponents |
Add the entrant agents of a HAN league by year and set; the year is always written out |
| Opponent pool | opponents |
Who participants face at this layer; the study's mode decides which human entries are offered |
Self-hosted agents¶
hosted: The Assistants and/or opponents are the teams' own hosts, registered for the project
{assistants: true, opponents: false, timeout: 30, max_failures: 3}: when a side is true, its pool is
every hosted agent of that kind registered for the project and switched on (Library → Hosted agents,
hani2 hosted add), unless assistants / opponents lists its own. timeout is the seconds HANI2 waits
for a host per call; max_failures the failed calls in a row before a hosted opponent walks away (the game
still counts).
More: Self hosting.
HAN agents¶
opponents: Add the entrant agents of a HAN league by year and set; the year is always written out
Writes an entry :han<year>-<set> into the opponent pool:
| Set | Agents |
|---|---|
all |
every entrant of that year |
qualified |
the qualified entrants |
finalists |
the finalists |
winners |
the winners |
The year is always stored. "This year" and "last year" are only labels, computed from the
project's Year (not from the clock): in a project of year 2027, "last year" writes
:han2026-….
Where the agents come from. The current year (han.current_year in env.json) comes from that
year's submitted zips; every other year from the installed han-agents package. A year that
neither covers is greyed out ("no agents for 2025"), and a file naming one is refused when saved.
An HI study may name several years (:han2026-finalists, :han2027-finalists): every game records
the year, the source and the version of the agent it played.
More: Project management.
Opponent pool¶
opponents: Who participants face at this layer; the study's mode decides which human entries are offered
The pool lists AI agents, groups (:pan, :han2027-finalists, …) and other people:
| Entry | Means |
|---|---|
human |
another participant without an Assistant |
human+assistant |
another participant with their own Assistant |
The declared Mode (study_mode) limits the human entries:
| Mode | HI project (kind: assistant) |
HAN project (kind: opponent) |
Research (kind: none) |
|---|---|---|---|
| Solo | no human entry | no human entry | no human entry |
| Paired | human+assistant only |
human only |
human, human+assistant |
| Mixed, or not declared | both | both | both |
A Paired pool lists people only, so its AI agents are not offered either (the AI fallback has its own pool, Fallback opponents). An entry already in the pool that the mode does not allow stays shown, in red, so that it can be removed; the server refuses to save the contradiction. Without a declared mode, the mode is derived from the pool, so every entry is offered.
More: Project management.
Assignment¶
| Setting | Key | Summary |
|---|---|---|
| Opponent assignment | scheduling.opponents |
How each participant's opponents are chosen from the pool |
| Assistant assignment | scheduling.assistants |
How each participant's Assistants are chosen: one for all negotiations, or a new one each time |
| Repeats | scheduling.assistant_repeats |
May a person get the same Assistant twice? Off, K > N is refused for the at-most-once methods |
| Crossing | scheduling.cross |
shift: cross the Assistant with the opponent so every pair meets equally often; none: no crossing |
| Scenario assignment | scheduling.scenarios |
How each negotiation's scenario type is chosen from the scenario set |
| K of N | n_required |
K counted negotiations per person over N Assistants: with K > N an Assistant repeats |
Opponent assignment¶
scheduling.opponents: How each participant's opponents are chosen from the pool
The method that assigns an opponent from the pool to each negotiation of each participant. Empty keeps the value of the layer above (the project's, then the server default). The methods are listed below; the Scheduling methods reference has their formulas and examples.
| Method | Summary |
|---|---|
latin_square |
Every participant meets the pool in an order from a balanced (Williams) Latin square. |
random |
Each negotiation draws an opponent uniformly from the pool. |
cyclic |
Participant i starts with opponent i and goes round the pool in order. |
fixed_order |
Everyone meets the pool in the same order, the order of the pool. |
external |
Only an outside system decides: the participant's schedule.json names each opponent. |
More: Scheduling.
Assistant assignment¶
scheduling.assistants: How each participant's Assistants are chosen: one for all negotiations, or a new one each time
| You want | Method | Each person gets |
|---|---|---|
| One Assistant per person (between-subjects designs, the game) | balanced (default), random_fixed, round_robin |
one Assistant for all \(K\) negotiations |
| Every Assistant once (a final evaluation: \(K = N\)) | latin_square (or cyclic) |
every Assistant once, in a counterbalanced order |
| \(K\) of \(N\) Assistants (screening: \(K < N\)) | balanced_subset (or random_subset) |
\(K\) different Assistants, with totals, positions and pairs balanced |
\(K\) is Counted negotiations and \(N\) the Assistants in the pool. The methods that promise each
Assistant at most once refuse \(K > N\) unless Repeats is on. random_each draws each
negotiation independently.
In a Paired study the method gives each person a set of Assistants, and the order is only a preference. The methods are listed below.
| Method | Summary |
|---|---|
balanced |
Each human keeps one Assistant; a new human gets the one with the fewest humans so far. |
random_fixed |
Each human keeps one Assistant drawn at random when they first arrive. |
random_each |
Every negotiation draws a new Assistant at random (within-subjects). |
latin_square |
Every human works with every Assistant, in an order from a balanced (Williams) Latin square (within-subjects). |
cyclic |
Human i starts with Assistant i and goes round the pool, one Assistant per negotiation (within-subjects). |
balanced_subset |
Each human gets K different Assistants of the N, chosen on arrival to balance totals, pairs and positions. |
random_subset |
Each human gets the first K of a random order of the N Assistants. |
round_robin |
Human i keeps Assistant i modulo the pool size. |
external |
Only an outside system decides: the participant's schedule.json names the Assistant. |
More: Scheduling.
Repeats¶
scheduling.assistant_repeats: May a person get the same Assistant twice? Off, K > N is refused for the at-most-once methods
latin_square, cyclic, balanced_subset, random_subset and external promise that a person
gets each Assistant at most once, which is possible only when \(K \le N\) (counted negotiations at
most the Assistants of the pool).
| Repeats | Effect |
|---|---|
| unset or No | a file with \(K > N\) is refused on save ("n_required = 6 negotiations but only 5 Assistants"), and so is a project change that would give one of its studies \(K > N\); random_each is allowed unless No is set explicitly |
| Yes | the Assistants wrap around on purpose, so a person meets some of them twice |
A study already running with \(K > N\) only gets a warning, and the Assistants wrap around.
When an Assistant leaves the pool during a study, each person keeps the Assistants they already
played and gets only Assistants they have not used for the rest. If too few are left, Yes wraps
around; otherwise the person finishes early (a finished_early event).
More: Scheduling.
Crossing¶
scheduling.cross: shift: cross the Assistant with the opponent so every pair meets equally often; none: no crossing
When the Assistants change every negotiation and the opponents use latin_square or cyclic, the
two rules would line up: with 5 Assistants and 5 opponents, Assistant \(j\) would always meet
opponent \(j\), and an Assistant's effect could not be told apart from its opponent's. With
shift (the default) participant \(i\)'s opponent sequence is shifted by a block offset
(\(R\): the rows of the opponents' square, \(n_o\): the opponents), so over \(R \cdot n_o\) participants every (Assistant, opponent) pair occurs equally often: 50 participants for 5 × 5.
- It applies only to that combination of methods; otherwise it changes nothing.
- Each person keeps the rule they started with, so changing it in a running study changes nothing for people already in it.
- none turns it off; HANI2 then warns when the Assistant and the opponent are confounded.
More: Scheduling.
Scenario assignment¶
scheduling.scenarios: How each negotiation's scenario type is chosen from the scenario set
The method that picks the scenario type (the domain) of each negotiation from the scenario set.
by_participant gives each person one type for all their negotiations. In a Paired study the
joiner takes the host's scenario. The methods are listed below.
| Method | Summary |
|---|---|
by_participant |
Each participant keeps one scenario type: type = participant index mod number of types. |
set_order |
Negotiations follow the order of the scenario set, with a counter per participant. |
random |
Each negotiation draws a scenario type uniformly from the set. |
latin_square |
Types are counter-balanced across negotiation slots with a balanced Latin square. |
external |
Only an outside system decides: the participant's schedule.json names each type. |
More: Scheduling.
K of N¶
n_required: K counted negotiations per person over N Assistants: with K > N an Assistant repeats
\(K\) is Counted negotiations (n_required) and \(N\) the number of Assistants in the pool after
the groups are expanded. The pool is the one a session would use: assistants of the study, else
of the project, else the one Assistant of assistant_settings.json (\(N = 1\)). hani2 --assistants
on a server only gives a warning in hani2 study show.
- With a method that keeps one Assistant per person, \(K\) and \(N\) are independent.
- With a method that promises each Assistant at most once per person (
latin_square,cyclic,balanced_subset,random_subset), \(K \le N\) is required: with \(K > N\) the row turns orange, and saving is refused unless Repeats is on (then the Assistants wrap around and a person meets some of them twice). - \(K = N\) is "every Assistant once"; \(K < N\) is a \(K\)-of-\(N\) design, best with
balanced_subset. random_eachdraws each negotiation independently, so repeats can happen for any \(K\).
More: Study management.
Pairing¶
| Setting | Key | Summary |
|---|---|---|
| Where people meet | pairing.scope |
study: only people of this study meet; project: people of every study of the project; code: only through a ?match= link |
| How a match is formed | pairing.assign |
cells: balance who meets whom; order: follow each person's planned order; random: anyone who fits |
| Slack | pairing.slack |
Cells within this count of the emptiest are treated as tied (0: strictest balance) |
| Scenario in a cell | pairing.cell_scenario |
type: balance scenario types (domains); name: balance single scenarios too |
| Same-Assistant matches | pairing.allow_same_assistant |
May both sides of a match use the same Assistant? |
| When nobody fits | pairing.fallback |
ai: play an AI opponent; wait: keep waiting; end: skip the slot |
| Fallback opponents | pairing.fallback_opponents |
The AI pool of the fallback (default: the study's AI opponents, else :pan) |
Where people meet¶
pairing.scope: study: only people of this study meet; project: people of every study of the project; code: only through a ?match= link
| Scope | Who can be paired |
|---|---|
study |
people of the same study (the default of a declared Paired study) |
project |
people of every study of the project (the default otherwise; the game uses it) |
code |
only people who share a ?match=<code> link; without a code nobody is met and the fallback applies |
A ?match=<code> link pairs those who share it in every scope, unless human_opponent_codes is
switched off.
More: Project management.
How a match is formed¶
pairing.assign: cells: balance who meets whom; order: follow each person's planned order; random: anyone who fits
| Value | Rule | Use |
|---|---|---|
cells |
a match goes to the least-filled cell (scenario, Assistant at side 0, Assistant at side 1) among the people waiting | evaluation studies, the HI game (the default of a declared Paired study) |
order |
each person follows their planned order of Assistants strictly; two people fit only when their next planned Assistants form an allowed pair | small scripted lab sessions (it thins the pool a lot) |
random |
any waiting person who fits | the game; the default of a Mixed study |
Only completed matches fill a cell; an abandoned match or an AI fallback fills none.
By mode. A declared Paired study defaults to cells and pairs within the study. A Mixed
study (the game) defaults to random and the project-wide lobby; cells or order set here makes
its matches balanced too. A Solo study has no pairing, and the editor hides this block.
The study's Assistant method gives each person a set of Assistants rather than a slot:
one-per-person methods give that one Assistant for every match, the at-most-once methods the first
K of the person's sequence minus the used ones, random_each the whole pool, external the
Assistants of the person's schedule.json slots.
More: Project management.
Slack¶
pairing.slack: Cells within this count of the emptiest are treated as tied (0: strictest balance)
With cells, a joiner could always be sent to the emptiest cell, but then who meets whom becomes
predictable. Every candidate whose cell count is within slack of the minimum counts as tied, and
the tie is broken by the other balance terms and finally at random.
0: the strictest balance, the most predictable pairing;1(default): nearly as balanced, and nobody can aim at a particular person.
More: Project management.
Scenario in a cell¶
pairing.cell_scenario: type: balance scenario types (domains); name: balance single scenarios too
A match cell is (scenario, Assistant at side 0, Assistant at side 1). With type (the default) the
scenario is the domain, and the single scenario (which preferences were used) is recorded but not
balanced. With name, single scenarios are balanced too, which multiplies the number of cells by
the scenarios per type: with 5 Assistants, 3 domains and 5 scenarios each, 60 cells become 300.
More: Project management.
Same-Assistant matches¶
pairing.allow_same_assistant: May both sides of a match use the same Assistant?
No (the default) in evaluation studies: a match of an Assistant against itself says nothing about it compared with the others. Yes in the game, where an invited guest plays with the inviter's Assistant, so the two necessarily share one.
More: Project management.
When nobody fits¶
pairing.fallback: ai: play an AI opponent; wait: keep waiting; end: skip the slot
What happens when nobody fits within human_opponent_wait seconds:
| Value | The person |
|---|---|
ai (default) |
plays their committed Assistant against an AI opponent from the fallback pool. The Assistant then counts as used for them; the game fills no cell and is ranked with the Solo games |
wait |
keeps waiting (the same as human_opponent_fallback: false; for supervised lab sessions) |
end |
skips the slot: they move on to their next Assistant, or finish early with the completion code |
When human_opponent_fallback is also set in an env.json and disagrees, the file is refused. To
keep a supervised session waiting today, set human_opponent_fallback: false in the study's
env.json.
More: Project management.
Fallback opponents¶
pairing.fallback_opponents: The AI pool of the fallback (default: the study's AI opponents, else :pan)
AI entries only (agents and groups such as :pan); human entries are refused.
More: Project management.
Scores¶
| Setting | Key | Summary |
|---|---|---|
| Reference games | normalisation.reference |
The games whose medians scale the unbounded criteria of the project's scores |
| Scores | scores |
The scores of this project or study: the built-ins (read-only) and your own |
| Criteria | scores.criteria |
Every number a score can use: metric columns, questionnaire answers and other scores |
| Preview | scores.preview |
The score on the current games, before saving: weights in effect, dropped parts, its distribution, the top entrants |
| Track | scores.track |
hi ranks Assistants, han ranks opponent agents, any fits both |
| Weights | scores.weights |
Each component's share in %, which must sum to 100 %; Normalise rescales them |
| Direction | scores.direction |
higher or lower is better; required when the criterion has none |
| Normaliser | scores.normaliser |
How a value is mapped to [0, 1] before it is weighted; preset from the criterion |
| Missing values | scores.missing |
renormalise: rescale the parts present; zero: a missing value is 0; skip_game: the game does not count |
| Minimum coverage | scores.min_coverage |
A part present in fewer than this share of some entrant's games is dropped for everyone |
| Zero if | scores.<key>.zero_if |
Criteria that, when 1, make the score 0 for the game (for example opponent_failed) |
| Needs an Assistant | scores.<key>.needs_assistant |
true: the score is empty for sessions without an Assistant |
| Scores enabled | scores_enabled |
Which scores this project's (or study's) boards, results and exports compute and show |
| Same-Assistant games | scores.<key>.same_assistant |
How boards count a game where both people used the same Assistant: once, or not at all |
Reference games¶
normalisation.reference: The games whose medians scale the unbounded criteria of the project's scores
normalisation.reference in project.yaml (never in a study): studies (none: every study of the project) and end (only games started on or before that date). hani2 scores freeze <project> records the medians of these games in results/normalisation.json; until then the scales of unbounded criteria are provisional.
More: Project management.
Scores¶
scores: The scores of this project or study: the built-ins (read-only) and your own
A score is a weighted mean of criteria, each first mapped to \([0, 1]\) with 1 as the best value, so every score is in \([0, 1]\).
- Built-in scores are read-only. Duplicate copies one into this file, where you can change it.
- A study can add scores and redefine the project's by key.
- A score with a problem (an unknown criterion, a missing direction, a cycle) is left out and named in the warnings.
More: Project management.
Criteria¶
scores.criteria: Every number a score can use: metric columns, questionnaire answers and other scores
Criteria are grouped by source:
| Source | Cost | What |
|---|---|---|
hard |
live | measured when the game ends (outcomes, behaviour) |
soft |
judge | rated by the offline language-model judge |
subjective |
questionnaire | the bundled questionnaire's scales |
questionnaire |
questionnaire | items (q_<id>) and scales (scale_<name>) of the forms this project uses |
score |
— | other scores (a score may contain a score) |
Each shows its direction, its default normaliser, its cost and, when asked, its coverage (the share of the current games that have a value). A post-session answer is credited to the Assistant only when each participant used one Assistant throughout; otherwise it is greyed out for HI scores, with the reason.
More: Criteria.
Preview¶
scores.preview: The score on the current games, before saving: weights in effect, dropped parts, its distribution, the top entrants
The preview computes the score being built on the games the board of this project (or study) reads, as the board would rank them, and updates a moment after each change. Nothing is saved.
| Part | Shows |
|---|---|
| Weights in effect | each component's share after the coverage rule, summing to 100 % |
| Dropped | components present in fewer than Minimum coverage of some entrant's games, left out for everyone |
| Distribution | how the score's values over the counted games fall into ten bins of [0, 1], with the mean and median |
| Top entrants | the first five by the score's mean, with the 95 % interval and the games counted |
Weights that do not yet sum to 100 % are previewed rescaled. A score with the track hi or han
is previewed on that track's games. The preview needs games: a new project shows "no games yet".
Admins only (POST /api/admin/scores/preview).
More: Project management.
Track¶
scores.track: hi ranks Assistants, han ranks opponent agents, any fits both
| Track | The score ranks |
|---|---|
hi |
the Assistants |
han |
the opponent agents |
any |
either (the default) |
An HI score may not use post-session answers of participants who used several Assistants.
More: Project management.
Weights¶
scores.weights: Each component's share in %, which must sum to 100 %; Normalise rescales them
Weights are \(\ge 0\) and must sum to 100 % (1, to within \(10^{-6}\)). Save works only then; Normalise rescales the weights so that they sum to 100 % while keeping their proportions. A weight of 0 keeps a component in the definition without using it.
The score of a game is
where \(n_i\) is the component's normaliser, oriented by its direction.
More: Project management.
Direction¶
scores.direction: higher or lower is better; required when the criterion has none
Most criteria know whether higher values are better. Descriptive ones (n_offers,
negotiation_seconds, the shares of move types, …) do not, and a score that uses one must say
which way is better. With lower, every normaliser is turned around (\(1 - \cdot\)).
More: Project management.
Normaliser¶
scores.normaliser: How a value is mapped to [0, 1] before it is weighted; preset from the criterion
| Normaliser | Rule | Default for |
|---|---|---|
bounded |
\(\frac{x - lo}{hi - lo}\ \text{clipped to } [0, 1]\) | Columns with known bounds: [0, 1], 0 or 1, 1–7, [−1, 1], utilities, every questionnaire item and scale with its own bounds. |
advantage |
\(\min(1, \max(0, x))\) | The *_advantage columns: no better than no deal (or worse) is 0, the best outcome is 1. |
reciprocal |
\(\frac{s}{s + x}\) | Unbounded values where lower is better (counts, seconds, tokens, distances, US dollars). |
saturating |
\(\frac{x}{x + s}\) | Unbounded values where higher is better, and unbounded values without a direction. |
percentile |
\(\frac{\#\{r < x\} + \tfrac12 \#\{r = x\}}{n}\) | Any criterion, on request: the share of the reference games with a lower value (ties count half). |
clip |
\(\frac{x - lo}{hi - lo}\ \text{clipped to } [0, 1]\) | Any criterion, on request, with your own bounds. |
With direction lower, every rule is turned around (\(1 - \cdot\)). The scale \(s\) of reciprocal
and saturating is the median of the project's frozen reference (hani2 scores freeze), so the
median game scores 0.5 and adding games never changes past scores.
More: Project management.
Missing values¶
scores.missing: renormalise: rescale the parts present; zero: a missing value is 0; skip_game: the game does not count
| Value | A missing value | Example: human_advantage 0.6 (weight 50 %), ja_overall missing (50 %) |
|---|---|---|
renormalise (default) |
is left out; the weights present are rescaled to sum to 1 | 0.6 |
zero |
counts as 0 | 0.3 |
skip_game |
the game gets no value for this score | none |
Whatever the policy, <score>_coverage is the share of the weight whose values were present.
More: Project management.
Minimum coverage¶
scores.min_coverage: A part present in fewer than this share of some entrant's games is dropped for everyone
A component that is present in fewer than min_coverage (default 0.5) of some entrant's games
is dropped for every entrant, and the remaining weights are rescaled to sum to 1, so everyone is
scored on the same parts. For example, if one Assistant's participants skipped the questionnaire,
its items are left out for all Assistants rather than counting only for some.
More: Project management.
Zero if¶
scores.<key>.zero_if: Criteria that, when 1, make the score 0 for the game (for example opponent_failed)
A list of criteria; when one of them is 1 in a game, the score of that game is 0 (with
coverage 1), whatever its components say. The built-in han_outcome has
zero_if: [opponent_failed]: an opponent agent that ended the session by failing gets 0.
Default: none. Every entry must be a known criterion.
More: Project management.
Needs an Assistant¶
scores.<key>.needs_assistant: true: the score is empty for sessions without an Assistant
With needs_assistant: true, a game whose human played without an Assistant has no value for
this score (and no coverage), so it neither helps nor hurts anyone. The built-in hi_assistant,
hi_team and hi_interaction have it. Default: false.
More: Project management.
Scores enabled¶
scores_enabled: Which scores this project's (or study's) boards, results and exports compute and show
Unset, every built-in score and every score defined in the project and the study is enabled. The project sets the default and a study can override it. An enabled score is computed together with the scores inside it.
More: Project management.
Same-Assistant games¶
scores.<key>.same_assistant: How boards count a game where both people used the same Assistant: once, or not at all
In a game where both sides used the same Assistant (for example a participant against the guest they invited, who plays with their Assistant), the two utilities split one deal between copies of one Assistant, so the game says little about it compared with the others.
| Value | Boards |
|---|---|
once (default) |
the game counts once, as the mean of its two rows |
skip |
the game is left out of this score |
The built-in utility has skip (and a copy of it keeps that).
More: Project management.
Leaderboard¶
| Setting | Key | Summary |
|---|---|---|
| Leaderboard | leaderboard |
The board of this project (all its chosen studies) or of this study |
| Track | leaderboard.track |
Who is ranked: Assistants (hi) or opponent agents (han) |
| Source | leaderboard.source |
game: the games people played (default); tournament: the simulated table |
| Update | leaderboard.update |
pooled (default), latest tournament, or continuous (all games, recent ones weigh more) |
| Studies | leaderboard.studies |
Which studies of this project feed the project board (default: all) |
| Rows from other projects | leaderboard.include |
Studies of other projects whose games of one stratum join this board |
| Sort options | leaderboard.sort_options |
What end users may rank by: enabled scores or criteria with a direction |
| Default sort | leaderboard.default_sort |
The key a board is ranked by when the viewer does not choose; one of the sort options |
| Columns | leaderboard.columns |
The values each entry shows: scores, criteria, and counts (games, participants, …) |
| Switches for end users | leaderboard.user_options |
The switches end users get, each with its allowed values |
| Switch defaults | leaderboard.defaults |
The value of each switch when the viewer does not choose |
| Visibility | leaderboard.visibility |
Who may see the board: public, participants (signed-in users) or admins |
| Minimum games | leaderboard.rules.min_games |
Counted games an entrant needs before it is ranked (below: "not ranked yet") |
| Minimum players | leaderboard.rules.min_participants |
Distinct players, not counting the Assistant's own team, an entrant needs to be ranked |
| Cap per pair | leaderboard.rules.max_games_per_pair |
At most this many games of one entrant between the same two people (empty: no cap) |
| Cap per player | leaderboard.rules.max_games_per_participant |
At most this many games of one entrant by the same person (empty: no cap) |
| Leave out own-team games | leaderboard.rules.exclude_own |
Leave out games where a team plays its own Assistant (default: count them) |
| Adjustment | leaderboard.rules.adjust |
relative: cell-adjusted means (default); balanced: the mean of the cell means |
| Confidence level | leaderboard.rules.ci |
The level of the bootstrap confidence intervals (default 0.95) |
Leaderboard¶
leaderboard: The board of this project (all its chosen studies) or of this study
A project board pools the studies it names (and rows taken in from other projects); a study
board shows one study. The project sets the leaderboard block, and a study overrides it key by
key for its own board. One set of rules serves every view: the pages, the admin console and the
leaderboard API that a trusted website reads.
More: Project management.
Track¶
leaderboard.track: Who is ranked: Assistants (hi) or opponent agents (han)
| Value | Entrants | Strata |
|---|---|---|
hi |
the Assistants (their entrant id from the group file, else their spec) | combined, solo, paired |
han |
the opponent agents | alone (no Assistant), vs_team (people with an Assistant), both (pooled) |
Unset: han for a project of kind opponent, else hi.
More: Project management.
Source¶
leaderboard.source: game: the games people played (default); tournament: the simulated table
game(default): every counted game of the board's studies, ranked with the rules below.tournament: the table of simulated participants (the goal rate of each Assistant, per persona), ranked by goal rate only; it has no switches, and a request for another sort or a switch gets a 400.
More: Project management.
Update¶
leaderboard.update: pooled (default), latest tournament, or continuous (all games, recent ones weigh more)
pooled(default): every counted game weighs the same.latest: each study is a tournament; the newest one (by its latest game) replaces the board.continuous: every counted game, recent games weigh more, and a probable change of an entrant is flagged (for self-hosted agents, whose code may change unseen). The default method is a Kalman filter over time ranked by its lower bound;{mode: continuous, method: decayed, half_life_days: 30}is a time-decayed mean. A version an entrant declares is a hint only.
More: Project management.
Studies¶
leaderboard.studies: Which studies of this project feed the project board (default: all)
A list of study names, for example [play, prolific-03]. Add new studies as they start. A study board
always shows its own study only.
More: Project management.
Rows from other projects¶
leaderboard.include: Studies of other projects whose games of one stratum join this board
Each entry names a study of another project and the stratum its games join, for example
{study: HI2027/play, stratum: vs_team} on a HAN board: the HI games played against this year's HAN
agents count for those agents in the vs_team stratum, apart from the official alone stratum.
More: Project management.
Sort options¶
leaderboard.sort_options: What end users may rank by: enabled scores or criteria with a direction
End users may sort only by these keys; admins may sort by any enabled score or criterion. Each key
must be enabled (scores_enabled) in every study the board reads; a criterion needs a direction
(higher or lower is better). A score is ranked by its entrant-level mean (cell-adjusted or
cell-balanced, see Adjustment); a criterion by its mean in its own direction.
More: Project management.
Default sort¶
leaderboard.default_sort: The key a board is ranked by when the viewer does not choose; one of the sort options
Must be one of sort_options. Unset: the first sort option.
More: Project management.
Columns¶
leaderboard.columns: The values each entry shows: scores, criteria, and counts (games, participants, …)
Scores and criteria (each with its mean and confidence interval), and the counts games,
participants, guests, abandon_rate and cost_usd. Unset: the sort options, then games and
participants.
More: Project management.
Switches for end users¶
leaderboard.user_options: The switches end users get, each with its allowed values
| Switch | Values |
|---|---|
games |
all, people (games against a person), ai (games against an AI opponent) |
stratum |
HI: combined, solo, paired; HAN: alone, vs_team, both |
window |
all, last_<n>_days (for example last_30_days) |
A switch that is not listed is not shown, and its default applies. A request for a value that is not allowed is refused (HTTP 400), so a website can only show the views the project allows.
More: Project management.
Switch defaults¶
leaderboard.defaults: The value of each switch when the viewer does not choose
Unset: games: all, the track's first stratum (combined or alone) and window: all. A default must be one of the switch's allowed values.
More: Project management.
Visibility¶
leaderboard.visibility: Who may see the board: public, participants (signed-in users) or admins
| Value | Who |
|---|---|
public |
anyone, no sign-in or token needed |
participants (default) |
signed-in users, and a website with an API token |
admins |
admins, and a website with an API token |
No board ever shows a user name or a participant index.
More: Project management.
Minimum games¶
leaderboard.rules.min_games: Counted games an entrant needs before it is ranked (below: "not ranked yet")
Counted over every counted game of the board, whatever the switches show, so an entrant does not move in and out of the ranking when a viewer changes a switch. Default 10.
More: Project management.
Minimum players¶
leaderboard.rules.min_participants: Distinct players, not counting the Assistant's own team, an entrant needs to be ranked
Players marked as the Assistant's own team (own in their group file) do not count towards this minimum. Default 3.
More: Project management.
Cap per pair¶
leaderboard.rules.max_games_per_pair: At most this many games of one entrant between the same two people (empty: no cap)
Games over the cap are left out, the latest first, and counted under excluded: cap.
More: Project management.
Cap per player¶
leaderboard.rules.max_games_per_participant: At most this many games of one entrant by the same person (empty: no cap)
Games over the cap are left out, the latest first, and counted under excluded: cap.
More: Project management.
Leave out own-team games¶
leaderboard.rules.exclude_own: Leave out games where a team plays its own Assistant (default: count them)
Own-team games count by default; the Minimum players rule keeps a team from ranking its Assistant alone. With this on, they are left out and counted under excluded: own team.
More: Project management.
Adjustment¶
leaderboard.rules.adjust: relative: cell-adjusted means (default); balanced: the mean of the cell means
A cell is a scenario with an opponent (Solo), or a scenario, a side and an opposing Assistant (Paired).
relative(default): each game's value minus its cell's mean over all entrants, plus the overall mean, so the numbers stay on the values' scale. Best when entrants played different, uneven cells (a game).balanced: the mean of the entrant's cell means. Best for planned studies where every entrant plays every cell.
More: Project management.
Confidence level¶
leaderboard.rules.ci: The level of the bootstrap confidence intervals (default 0.95)
A percentile bootstrap that resamples participants. Two entrants whose intervals overlap the leader's are shown as tied with it ("=2").
More: Project management.
Tools¶
| Setting | Key | Summary |
|---|---|---|
| Participants may switch the weights chart | tools.weights_chart_switch |
On: a small Bar / Donut toggle on the issue weights lets the human pick the chart (off by default) |
Participants may switch the weights chart¶
tools.weights_chart_switch: On: a small Bar / Donut toggle on the issue weights lets the human pick the chart (off by default)
When on, every issue weights chart of the Preferences tools has a small Bar / Donut toggle
above it. It starts at the chart the settings give (Issue weights shown as, and Issue weights in an
enlarged or popped-out tool in the tool's window). Once the human picks a chart, it is used in the pane
and in the tool's window alike, and kept for the rest of the session. Each switch is recorded in the
session's events (tool_interaction, action input:weights_chart, the chosen chart as its value).
Signed weights (negative weights) are always drawn as signed bars, without the toggle.
Off (the default): the weights are drawn as the settings say, with no toggle. Like the other tools
settings, it can be set globally (env.json), per project or per study.
More: Preferences.