record_edit_outcome
Record whether the user accepted, reverted, or retried an AI edit.
Instructions
Record whether the user accepted, reverted, or retried an AI edit.
STRONG signal: user behavior directly indicates whether the generated code was successful.
Args: request_id: the "request_id" field from the optimize_context response outcome: "accepted", "reverted", or "retried" files_modified: number of files touched by the edit
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| outcome | Yes | ||
| request_id | Yes | ||
| files_modified | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |