ConditionExplanation
Explains the logic and parameters of a condition definition
strategy object
The evaluation logic template for this condition. Note: TypeScript SDK enum spelling is z_score (not zscore).
Possible values: [threshold, percentile, change, z_score, equals, composite]
Parameters vary by strategy type. See strategy registry in memintel.guardrails.md for full parameter schemas. threshold: { direction: above|below, value: float } percentile: { direction: top|bottom, value: float (0-100) } change: { direction: increase|decrease|any, value: float, window: duration } z_score: { threshold: float, direction: above|below|any, window: duration } equals: { value: string, labels?: string[] } composite: { operator: AND|OR, operands: condition_id[] }
Human-readable description of what this condition evaluates
Why these parameter values were selected (from priors or user input)
{
"condition_id": "string",
"condition_version": "string",
"strategy": {
"type": "threshold",
"params": {}
},
"concept_id": "string",
"concept_version": "string",
"natural_language_summary": "string",
"parameter_rationale": "string"
}