Skip to content

Problem.ranked

Emitted each time a Problem is ranked.

Problem.rank emits Problem.ranked when it completes on a Problem.

PropertyValue
Emitted byProblem.rank
NounProblem
WakesNone.

Payload

Each delivery is an Event record. data holds what Problem.rank returns.

FieldTypeRequiredDescription
namestringrequiredProblem.ranked.
atdatetimerequiredWhen it happened.
seqintegerIts position in the namespace, one more than the Event before; any seq is a cursor into the history.
datajsonrequiredThe Thing as the Action left it.
data.problemslist of ProblemrequiredProblems, highest first, each with its score.

Example

JSON
{
  "$id": "https://api.sb/routewise.dev/events/event_1",
  "$type": "Event",
  "name": "Problem.ranked",
  "at": "2026-10-22T12:00:00Z",
  "data": {
    "problems": [
      {
        "$id": "https://api.sb/routewise.dev/problems/problem_1",
        "$type": "Problem",
        "statement": "Plans delivery routes for courier fleets through an API."
      }
    ]
  },
  "seq": 1
}