quesen.simulate
Counterfactual scoring. Compare the baseline decision against a simulated decision under caller-supplied weights_override / thresholds_override. Free sales asset — not charged against key.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| domain_age_days | No | Age of the target domain in days. Same feature as quesen.validate; combined with the (possibly overridden) weights to produce a counterfactual risk score. | |
| engagement_ratio | No | Engagement ratio in [0, 1]. Same feature as quesen.validate; used with the (possibly overridden) weights during simulation. | |
| weights_override | No | Optional per-feature weight override used ONLY for this simulation. When null (or omitted) the engine uses its production weights. Does NOT mutate global state. | |
| client_request_id | No | Optional caller-side trace id. Echoed verbatim in the response for cross-system correlation. | |
| scam_keyword_count | No | Count of known scam keywords detected. Same feature as quesen.validate; used with the (possibly overridden) weights. | |
| thresholds_override | No | Optional decision-threshold override used ONLY for this simulation. When null the engine uses its production thresholds. Does NOT mutate global state. |