quesen.report
Post-decision outcome feedback. Accepts request_id + outcome (RUG/LOSS/OK/WIN/UNKNOWN) plus optional post-trade metadata. Aggregated deterministically for SKIP-rate vs realized-outcome correlation.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| notes | No | Optional free-text notes about the outcome (post-mortem, context, references). Stored verbatim for audit. | |
| venue | No | Venue or platform where the trade/signal was executed (e.g. 'raydium', 'jupiter', 'uniswap-v3'). Free-form label for downstream grouping. | |
| outcome | Yes | Real-world outcome once known. RUG = rug-pull / total loss; LOSS = negative PnL; OK = neutral / no material result; WIN = positive PnL; UNKNOWN = outcome not yet observable. | |
| request_id | Yes | The `request_id` returned by a prior quesen.validate call. Ties the reported outcome back to the exact decision that produced it. | |
| signal_hash | No | Optional hash/fingerprint of the original signal (URL, token address, message id) so outcomes can be joined across systems that don't share Quesen request_ids. | |
| realized_pnl | No | Realized profit/loss in the caller's chosen unit (e.g. USD, SOL, ETH). Sign convention: positive = profit, negative = loss. Fed into the aggregate `pnl_mean` counter. | |
| elapsed_seconds | No | Seconds elapsed between the original quesen.validate decision and the observation of this outcome. Non-negative. | |
| client_request_id | No | Optional caller-side trace id. Echoed verbatim in the response for cross-system correlation. |