record_exists | collection, where | A record in the collection matches where at the end. |
record_absent | collection, where | No record matches. |
field_equals | collection, field, value | A matching record has field exactly equal to value. |
field_contains | collection, field, value | A matching record has value in field, case-insensitive. |
write_count | collection, min, max (all optional) | The number of records created, updated and removed is within the range. |
no_writes | collection (optional) | That number is zero. |
action_called | action | A call in the trace has that operation. |
action_not_called | action | No call has that operation. |
output_contains | value | The output sent to finish contains value, case-insensitive. |
output_equals | value | The output equals value. |
rubric | text | A language model answers yes or no to text, given the task, the trace, the state diff and the output. |