ExtractionFailureQuantity

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

Link copied to clipboard

Tokens the failure was about: a budget that was exceeded, or what a call asked for.

Link copied to clipboard

Characters of material the failure was about.

Link copied to clipboard

Bytes the failure was about.

Link copied to clipboard

How many things were involved — chunks, propositions, entity mentions.

Link copied to clipboard

Milliseconds that had passed when the work gave up.

Link copied to clipboard

The time limit in force, in milliseconds.

Link copied to clipboard

How many seconds the provider asked the caller to wait before trying again.

Properties

Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard

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.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared.