docs: update results example to aggregator v4 format#675
Conversation
Co-Authored-By: elias <elias@rapidata.ai>
ReviewDocs-only change updating the COMPARE results example from aggregator v3.0.0 to v4.0.0. Overall this is accurate and well done — verified against the codebase: Strengths
Minor nits (non-blocking)
No code changes are involved, so the |
| "aurora-20-1-25_37_4.png": 0, | ||
| "dalle-3_37_2.jpg": 3 | ||
| "https://assets.rapidata.ai/midjourney-5.2_37_3.jpg": 0, | ||
| "https://assets.rapidata.ai/flux-1-pro_37_0.jpg": 3 |
There was a problem hiding this comment.
@RapidPoseidon could you leave out the CDN https route and just the file name, this increase better readibility
There was a problem hiding this comment.
Done in fa6f1be — options now use bare filenames throughout the example (keys, winner, votedFor). I kept the assetUrls values as full URLs since pointing to the Rapidata-hosted copy is that field's purpose.
Co-Authored-By: elias <elias@rapidata.ai>
Review: docs update to aggregator v4 formatNice, focused doc update — the JSON example and the breakdown both changed together and stay internally consistent. Verified correctness of the example data:
Minor observations / suggestions (non-blocking):
Other checklist items:
Overall this is a solid, low-risk documentation fix. Approving with only minor optional suggestions above. |
| "B_wins_total": 1 | ||
| "createdAt": "2026-07-13T11:07:53.577348+00:00", | ||
| "version": "4.0.0", | ||
| "orderType": "Compare", |
There was a problem hiding this comment.
@RapidPoseidon change from "orderType" to just "type"
There was a problem hiding this comment.
Done in 27ce69c — renamed to type in both the example JSON and the field breakdown.
Co-Authored-By: elias <elias@rapidata.ai>
Review: docs: update results example to aggregator v4 formatOverviewUpdates the "Interpreting the Results" doc from the v3.0.0 result shape to v4.0.0: adds Bug: field name mismatch (
|
| }, | ||
| "summary": { | ||
| "A_wins_total": 0, | ||
| "B_wins_total": 1 |
There was a problem hiding this comment.
this is not accurately reflecting the result file of the example order? there the question is "Which image matches the description better?" and the context: "A small blue book sitting on a large red book."
There was a problem hiding this comment.
Done in 00938d5 — the example now mirrors the quickstart order: instruction is "Which image matches the description better?" and the datapoint carries context: "A small blue book sitting on a large red book." (also re-added context to the field breakdown).
| - `winner_index`: Index of the winning option (0 for first option, 1 for second option) | ||
| - `winner`: Filename or identifier of the winning option | ||
|
|
||
| - `assetUrls`: Maps each option to the URL under which the asset is hosted by Rapidata — the exact file that was shown to the labelers. |
There was a problem hiding this comment.
please note that they are not encrypted, but assigned a random UUID so they can't be accessed randomly
There was a problem hiding this comment.
Done in 00938d5 — noted that hosted files aren't encrypted but get a random UUID name so they can't be accessed by guessing URLs.
Co-Authored-By: elias <elias@rapidata.ai>
Review: docs: update results example to aggregator v4 formatDocs-only change updating Correctness issue:
|
The "Interpreting the Results" page still showed the v3.0.0 results format. This updates it to the current v4.0.0 shape:
infonow carriesorderType,name, andinstruction(the per-resultcontextfield is gone)assetUrlsfield documented: maps each option to the Rapidata-hosted copy shown to labelersDocs build verified with
uv run --group docs mkdocs build.🔗 Session: https://session-820df9fa.poseidon.rapidata.internal/