kindgi judge-classes
Manage judge classes, the weighted kinds of judge (list / add / set / remove).
kindgi judge-classes list
Section titled “kindgi judge-classes list”List judge classes, newest first.
kindgi judge-classes list [--tenant | --project=<id> | --agent=<id> --project=<id>] [--limit=<n>] [--cursor=<c>]Flags:
--agent <value>: One agent, by id. Needs--project.--cursor <value>: Resume after this cursor, from the previous page'snextCursor.--limit <value>: The most classes to return (default 25, at most 100).--project <value>: A project, by id. With--agent, the project the agent is in.--tenant: The whole tenant.
kindgi judge-classes add
Section titled “kindgi judge-classes add”Add a judge class: a named kind of judge with a weight, for the tenant, a project, or an agent. The restriction flags limit who may assert it; without them, anyone who may judge the run may.
kindgi judge-classes add --name=<name> --weight=<w> (--tenant | --project=<id> | --agent=<id> --project=<id>) [--description=<text>] [--min-reviewer-role=standard|senior|admin] [--principal-kind=user|service ...] [--principal-id=<id> ...]Flags:
--agent <value>: One agent, by id. Needs--project.--description <value>: What the class is for.--min-reviewer-role <value>: Only reviewers of this role or above may assert the class: standard, senior, admin.--name <value>: The class name, e.g.expert. Required.--principal-id <value>: Only this user or token id may assert the class. Repeat the flag for several. (repeatable)--principal-kind <value>: Only people (user) or service tokens (service) may assert the class. Repeat the flag for both. (repeatable)--project <value>: A project, by id. With--agent, the project the agent is in.--tenant: The whole tenant.--weight <value>: How much a judgment of this class counts, a number of 0 or more. Required.
kindgi judge-classes set
Section titled “kindgi judge-classes set”Change a judge class's weight, description, or who may assert it. The restriction flags replace the class's whole restriction; --unrestricted lifts it.
kindgi judge-classes set <judge-class-id> [--weight=<w>] [--description=<text>] [[--min-reviewer-role=standard|senior|admin] [--principal-kind=user|service ...] [--principal-id=<id> ...] | --unrestricted]Flags:
--description <value>: The new description.--min-reviewer-role <value>: Only reviewers of this role or above may assert the class: standard, senior, admin.--principal-id <value>: Only this user or token id may assert the class. Repeat the flag for several. (repeatable)--principal-kind <value>: Only people (user) or service tokens (service) may assert the class. Repeat the flag for both. (repeatable)--unrestricted: Lift the restriction: anyone who may judge the run may assert the class.--weight <value>: The new weight, a number of 0 or more.
kindgi judge-classes remove
Section titled “kindgi judge-classes remove”Retire a judge class: no new judgments may name it; existing ones keep it.
kindgi judge-classes remove <judge-class-id>Every command also takes the global flags.