Table of Contents

Interface IQueryBudgetEvaluator

Namespace
QueryGuard
Assembly
QueryGuard.Core.dll

Decides whether what a session did is acceptable, given its policy.

public interface IQueryBudgetEvaluator

Remarks

Separate from grouping because they are different questions. Grouping asks "what happened?" and has one right answer. Budgets ask "is that acceptable?" and the answer is whatever the user configured, so the rules live behind a seam that a team with its own definition of acceptable can replace.

Every rule an implementation adds should produce a finding carrying the numbers that justify it. A verdict without its evidence is not something a reader can act on or disagree with.

Methods

Evaluate(CompletedQueryGuardSession, IReadOnlyList<QueryFingerprintGroup>)

Evaluates the session's policy against what it recorded.