Extraction Failure Quantity
What a number attached to a failure counts, with its unit in the name.
A bare number on a failure record is a unit-mismatch bug waiting to happen: 30000 is half a minute or thirty seconds or thirty thousand tokens depending on who wrote it. Every value here names both the thing and the unit, so a reader and a dashboard agree without a convention to remember.
EXPERIMENTAL. The shape may still change while extraction runs (DICE #67) land.
Entries
Tokens the failure was about: a budget that was exceeded, or what a call asked for.
Characters of material the failure was about.
Bytes the failure was about.
How many things were involved — chunks, propositions, entity mentions.
Milliseconds that had passed when the work gave up.
The time limit in force, in milliseconds.
How many seconds the provider asked the caller to wait before trying again.
Properties
Functions
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
Returns an array containing the constants of this enum type, in the order they're declared.