Select a revision without deleting its provenance
A fictional market-data export includes two versions of observation K7, a duplicate copy of the second version and one separate observation K8.
Read the situation
A fictional market-data export includes two versions of observation K7, a duplicate copy of the second version and one separate observation K8. The stated rule selects the greatest revision for each observation identifier and retains duplicate provenance separately. Distinguish three source rows from two economically distinct observations. K7 revision 2 supersedes revision 1 for the selected view, and R3 duplicates the selected revision rather than adding another observation. R4 represents K8. Preserve R1 and R3 in provenance instead of silently treating every raw row as an independent data point. Work from the exact fixture rather than a familiar-looking pattern. The editable answer is an analysis record: entering a value does not change a real service. Keep the original evidence and identify a legitimate alternative or boundary case before trusting the conclusion.
Supplied fictional evidence{
"rows": [
{
"rowId": "R1",
"observation": "K7",
"revision": 1,
"value": 100
},
{
"rowId": "R2",
"observation": "K7",
"revision": 2,
"value": 98
},
{
"rowId": "R3",
"observation": "K7",
"revision": 2,
"value": 98
},
{
"rowId": "R4",
"observation": "K8",
"revision": 1,
"value": 50
}
],
"tieRule": "For identical observation and revision retain earliest rowId as canonical; preserve other rowIds in audit note."
}- 1Revise your answerUse the supplied evidence
- 2Check every decisionRun the local checks
- 3Explain and save0 / 3 questions answered
Work through the evidence.
Return one JSON object containing canonicalRows, distinctObservations, duplicateRevisionRows. Derive the values from this artifact and keep data types intact. Define identity and revision rules before counting rows as distinct observations.
- Read the artifact and write a prediction for canonicalRows before changing the answer. Identify which supplied fields justify that prediction.
- Calculate or select each named answer field. Define identity and revision rules before counting rows as distinct observations. Keep excluded records and uncertainty visible in your working note.
- Run the local checks, inspect any failed requirement, then perform this counterexample review: Add a revision 3 for K7 with a changed value and verify it replaces revision 2 without increasing the observation count. Answer all three questions only after the scenario passes.
Edit the complete JSON answer
The fields above and this editor update the same answer. Editing either requires a fresh check.
Read the evidence above, then revise the answer fields. Your starting answer is intentionally incomplete.
This evaluator checks the supplied fictional evidence and exercise rules. It does not call a model, execute your code or place a trade.
Get a nudge, then verify it.
Manual method and guided solution
Do it manually
- Copy this fictional artifact into your own practice notebook and preserve its identifiers, units and stated boundary.
- Work out canonicalRows, distinctObservations, duplicateRevisionRows independently with a small table, calculator or a local script you can explain.
- Compare the local check output with your handwritten prediction. Add a revision 3 for K7 with a changed value and verify it replaces revision 2 without increasing the observation count. Record what this exercise cannot establish about a real service.
Passing means every named condition in this local fixture and every knowledge question was satisfied. K7 revision 2 supersedes revision 1 for the selected view, and R3 duplicates the selected revision rather than adding another observation. R4 represents K8. Preserve R1 and R3 in provenance instead of silently treating every raw row as an independent data point. It does not independently verify a real deployment, live model, trading result or professional qualification.
Score starts at 100: each hint costs 5, each failed question attempt costs 2, minimum 50. Opening the solution counts as three hints and assisted practice.
Explain the result.
You can review these questions now. Pass the current fixture checks above to unlock saving.
Local records are editable self-study data. They do not prove independent professional competence or constitute an accredited qualification. Resetting this attempt does not delete a previously saved completion.
Challenge your reasoning.
Try the manual steps first. If using a separate approved model, ask for a hint or alternative explanation, then verify it against the artifact.
Act as a tutor for the fictional AgentX lab Select a revision without deleting its provenance. I will supply the artifact and my proposed answer. Ask me to explain canonicalRows and then challenge my reasoning using this rule: Define identity and revision rules before counting rows as distinct observations. Suggest one counterexample, but do not fabricate a model run, external fact or permission. Help me compare the answer with original evidence and explain remaining uncertainty.