Skip to content

Grade and Accept Work

OpenALR keeps two kinds of grade. A quick grade is one person's view of one reply. An acceptance is the judgement of the person who answers for a finished task, and it is what earns that task's budget in earned value. Both run from 1 (worst) to 5 (best).

Grade a Turn

In the harness, right after a reply:

/alr-grade 4 Clean layout, and it said what it could not test

Everything after the grade is an optional comment. The forms are listed in Slash Commands.

  • /alr-grade 4 grades the last finished turn of the session.
  • /alr-grade 2 turn 5 grades turn 5 of this session. t and -t work in place of turn.
  • /alr-grade alone lists the session's ungraded turns, newest first, with a ready command for each.

The turn numbers are the ones /alr-turns shows. The grade is a whole number from 1 to 5, and the command writes nothing and says why when it is not.

In a terminal, name the request:

alr grade last 4 --comment "Clean layout"
alr grade 5b1f 2 --comment "Missed the brief"

The request can be a request id, a record id, a unique prefix of either, or last. The options are in the CLI Reference.

A grade is a line of its own in the record file, so the turn's record is never rewritten. Grade a request again and the latest grade, by time, wins. See Records and the Audit Trail.

Who the Grader Is

Each grade carries the name of its grader. The name is, in order:

  1. The --grader option, in a terminal.
  2. The ALR_GRADER environment variable.
  3. Your operating system user name.

Without ALR_GRADER, your login name lands in every grade. Set it to the name you want on the record. See ALR_GRADER and Setting an Environment Variable.

$env:ALR_GRADER = "sam"
export ALR_GRADER=sam

/alr-grade writes through the same grade writer and reads ALR_GRADER too. Set the variable before you start the harness, since a running harness keeps the environment it started with.

Accept a Task

Acceptance belongs to a task in a plan. Plan the project first, with the project and task tags on the work; see Plan a Project and Tag Your Work. Then, when the task is done and checked:

alr accept --project ACME-2026-14 --task ACME-2026-14:design --grade 4 --by priya --evidence 'Ran it on a phone-size screen' --reason 'One button, works one-handed'

In PowerShell, use single quotes for --evidence and --reason, and double any ' inside the text.

alr accept --project ACME-2026-14 --task ACME-2026-14:design --grade 4 --by priya --evidence "Ran it on a phone-size screen" --reason "One button, works one-handed"

The command prints one line:

accepted ACME-2026-14:design: seq 1, by priya, grade 4, to <home>/records.jsonl
  • --task is required. It is the value of the task tag.
  • --project is the value of the project tag. Its default is the project key; see the CLI Reference.
  • --grade is optional, 1 to 5. It is the accepting person's grade of the task, apart from any quick grade of a turn.
  • --evidence says where the work can be found or checked. --reason says why it is accepted. Each is capped at 1,000 characters, and a value cannot start with -.
  • --by says who accepts. Leave it out and alr accept uses ALR_PRINCIPAL. With neither set, it exits and tells you to give one. It does not ask, and it never takes the name from your operating system user. This is not ALR_GRADER: a quick grade and an acceptance can carry two names.

A task that no plan of the project holds is accepted with a warning. It is on record and earns nothing until a plan holds it.

Running the same command again changes nothing: it says the task is already accepted with that content. Each change is the next seq for that task.

Take an Acceptance Back

alr accept --project ACME-2026-14 --task ACME-2026-14:design --withdraw --reason "Failed on the second device"

--withdraw needs --reason and takes no --grade. There must be an acceptance in force to withdraw. The acceptance is not deleted: the withdrawal is a new line with the next seq, and the task earns nothing again. Accept it again later with alr accept, which takes the next seq after the withdrawal.

Where These Show

  • Grades of turns. alr turns shows each turn's grade in its grade column, and the dashboard's Quality section shows the graded and ungraded records with their cost.
  • Acceptances. alr ev and the dashboard's Earned Value screen show which tasks are accepted and by whom. A task's budget counts as earned value only when the task is accepted, and withdrawing the acceptance takes it out again.
  • The file. The grade line is alr-grade/0.1, and the acceptance line is alr-acceptance/0.1. Neither adds to any cost total.
alr turns last
alr ev --project ACME-2026-14

For a full run of both, see WE 01.

Next

Report a problem with this page