easyiec.core.Budget#

class easyiec.core.Budget(max_generations=None, max_queries=None, max_items=None, max_human=None, max_usd=None, max_seconds=None, target_utility=None)[source]#

Bases: object

Stopping rules of a session (any satisfied rule stops it).

Attributes:
max_generationsint, optional

Strategy iterations (one query each for most strategies).

max_queriesint, optional

Answered queries.

max_itemsint, optional

Individuals shown (the classical IEC effort measure).

max_humanint, optional

Queries answered by people (hybrid evaluators).

max_usdfloat, optional

Estimated LLM cost.

max_secondsfloat, optional

Wall-clock time.

target_utilityfloat, optional

Stop when the oracle utility of a shown individual reaches it.