Report outcome
report_outcomeRecords the result of applying a fetched Spark asset: applied as is, changed, broke, or not applicable. For when the outcome is known and an application_id from get_asset_content is available, rather than a star rating. Mismatched user/session receipts are rejected; asset owners cannot report on their own assets. Submitting the same application_id updates the report. Authenticated reports count, but team reports do not affect rankings; anonymous reports are unverified. Returns a saved/updated confirmation, or a validation/receipt error.
Fields task, note, changed_what, failed_at, expected, got are published on the asset's public page on spark.entire.vc, visible to any visitor. Do not include client data, private paths, keys, emails or URLs with tokens. Your identity is never shown on that page.
Example: report_outcome(application_id='', result='applied_as_is', task='add a rate limiter').
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| got | No | Required for not_applicable: what the asset actually does (≤ 200 characters); ignored for other results. | |
| note | No | Optional extra context (≤ 300 characters); published on the asset page. | |
| task | Yes | Required nonempty task attempted, one phrase (≤ 200 characters); published on the asset page. | |
| model | No | Optional model name; trimmed to 100 characters. Shown, never ranked. | |
| result | Yes | applied_as_is: applied without edits, task solved. applied_with_changes: had to edit it, then solved (requires changed_what). broke: tried to apply and it failed (requires failed_at). not_applicable: read it and did not apply, it does something else (requires expected and got). | |
| expected | No | Required for not_applicable: what was sought (≤ 200 characters); ignored for other results. | |
| failed_at | No | Required for broke: failed step, tool or command and error class (≤ 200 characters); ignored for other results. | |
| changed_what | No | Required for applied_with_changes: what changed (≤ 200 characters); ignored for other results. | |
| application_id | Yes | The application_id at the end of the get_asset_content response. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |