{
  "slug": "ref-magicui-docs-components-code-comparison",
  "status": "example-tested",
  "run": "reference-current-2026-11-17",
  "reviewed_at": "2026-11-17T14:25:54.618155+00:00",
  "method": "Fresh independent implementation from the exact copied default prompt, with reference evidence and iterative browser/visual verification. Previous implementations are excluded from authorship.",
  "acceptance": "Fresh output of the exact copied default prompt, refined through the prompt\u2019s comparison workflow, with actual screenshot review and the recorded browser checks.",
  "test_brief": "The project brief is already contained in each exact copied prompt. No extra design or implementation brief is appended.",
  "tested_prompt_sha256": "78246d93100a4c41341595e764b9df52a3eaeef3d7719e5d4f04b2e5d8cc2df8",
  "current_prompt_sha256": "78246d93100a4c41341595e764b9df52a3eaeef3d7719e5d4f04b2e5d8cc2df8",
  "current_prompt_url": "/design-references/ref-magicui-docs-components-code-comparison.txt",
  "prompt_revised_since_test": false,
  "implementation_sha256": "409b49d847714ad5d99b56c34bdd84c1c148b87fa8921ba70afb787335276f7e",
  "reference_image_sha256": "68000e8e7cb4f167770c73c9e9034352cff69e0897f4a57ad4a9dabac1511a04",
  "tested_prompt_url": "/design-studies/ref-magicui-docs-components-code-comparison/tested-prompt.txt",
  "demo_url": "/design-studies/ref-magicui-docs-components-code-comparison/",
  "source_url": "/design-studies/ref-magicui-docs-components-code-comparison/source.html",
  "report_url": "/design-studies/ref-magicui-docs-components-code-comparison/report.json",
  "browser_checks_url": "/design-studies/ref-magicui-docs-components-code-comparison/browser-checks.json",
  "reference_image": "/reference-previews/ref-magicui-docs-components-code-comparison-full.webp",
  "reference_dimensions": {
    "width": 680,
    "height": 889
  },
  "visual_review": "The two labeled code panes, gray line emphasis and central VS chip preserve the source hierarchy. Mobile stacks the panes. Original executable notes.js snippets replace source code; the unexplained source blur is intentionally not copied, and live source access failed as separately recorded. Viewed both independent scroll endpoints: the final words of the long comment are reachable in each pane without widening the page. Exact copy payload and local execution outcomes passed separately.",
  "visual_reviewer": "root",
  "comparison_scope": "Viewed reference/native comparison,390/320 full captures and both native right-edge supplemental captures.",
  "viewports": [
    680,
    1440,
    390,
    320
  ],
  "checks": [
    "22 recorded browser actions passed, including their declared UI outcomes.",
    "The default layout fit at 1440px, 390px and 320px. The phone checks also covered clipped controls and image loading.",
    "No new console warnings or errors during the recorded checks.",
    "Exact copied input, implementation and reference screenshot are bound to this result by SHA-256.",
    "3 clipboard reads matched the expected text bytes."
  ],
  "limitations": [
    "One fresh coding-agent build using the prompt\u2019s comparison and refinement steps. Results vary with the agent, stack and brief.",
    "This example uses original demo content and artwork. The record names the tested states, widths and interactions, including local simulations where applicable.",
    "Source blur is not reproduced as unreadable content; stable live-state evidence is required before fidelity approval. Syntax colors and selected gray emphasis bands are estimates from the saved image.",
    "Copy buttons, local JSON runner, long-comment and highlight switches are proposed integrations. Exact copied payloads contain only the intended current snippet. Clipboard failures produce an accurate error instead of a success claim.",
    "The original displayed code is also compiled statically into the local example runner, with function names separated. There is no eval, network, account or external dependency. No animation is required.",
    "At authorship: Only the supplied still frame was inspected for this component. Live desktop/mobile state evidence has been requested from the reviewer; added interactions are proposed local behavior.",
    "No timing or easing is observable in the saved frame. Motion is minimal and removed under prefers-reduced-motion."
  ],
  "evidence": {
    "desktop": {
      "original_capture": "data/reference-current-2026-11-17/evidence/ref-magicui-docs-components-code-comparison/desktop.jpg",
      "sha256": "80a207bc7b62ce34cfffbbbd92960656bfbc36d873cc4406a00a17fb6ad5ed9d",
      "image": "/design-studies/ref-magicui-docs-components-code-comparison/desktop.webp"
    },
    "mobile390": {
      "original_capture": "data/reference-current-2026-11-17/evidence/ref-magicui-docs-components-code-comparison/mobile390.jpg",
      "sha256": "d0c48c854883c77a87445524d66c7b0a4c49f395841214629b1d5b1a59fe021d",
      "image": "/design-studies/ref-magicui-docs-components-code-comparison/mobile390.webp"
    },
    "mobile320": {
      "original_capture": "data/reference-current-2026-11-17/evidence/ref-magicui-docs-components-code-comparison/mobile320.jpg",
      "sha256": "762bb1d5bfc918d77726b5d46c001025eaddf218f4e0b8c7df16a5aeb2f30e74",
      "image": "/design-studies/ref-magicui-docs-components-code-comparison/mobile320.webp"
    },
    "comparison_desktop": {
      "original_capture": "data/reference-current-2026-11-17/evidence/ref-magicui-docs-components-code-comparison/reference-width.jpg",
      "sha256": "afd270dea19e49a07ea8fa721119503830599403431af26184b5d0a8ca4063e4",
      "image": "/design-studies/ref-magicui-docs-components-code-comparison/comparison_desktop.webp"
    }
  },
  "scope": "The exact current copied prompt includes the local-study brief. Native subagents authored fresh implementations without reusing the earlier generated examples. Browser and visual feedback were used during the prompt\u2019s compare-and-refine step.",
  "author_evidence": {
    "observed_evidence": [
      "680\u00d7889 white rounded frame contains a two-column code card beginning around x41/y109, width598 and height739. Each pane has a 37px pale header with file icon/name and before/after label. A central VS chip overlays the vertical divider.",
      "Left code is about 34 lines with 12px monospace text at 20px leading and several gray changed-line bands. Right code is shorter and visibly blurred in the saved frame; the cause/state of that blur is unknown and fresh live inspection has been requested."
    ],
    "reference_capture": {
      "method": "browser-screenshot",
      "captured_at": "2026-11-16T05:35:00.925Z",
      "clip": {
        "height": 889,
        "width": 680,
        "x": 260,
        "y": 338
      },
      "capture_url": "https://magicui.design/docs/components/code-comparison"
    },
    "design_relationships": [
      "Preserved two independent panes, header hierarchy, long-line clipping/scrolling, central comparison chip and uneven line counts. Original notes.js examples replace source middleware code.",
      "Both panes remain readable and independently selectable. Mobile stacks the two labelled versions and confines code scrolling inside each region. No screenshot or source code is used."
    ],
    "source_limitations_at_authorship": [
      "Source blur is not reproduced as unreadable content; stable live-state evidence is required before fidelity approval. Syntax colors and selected gray emphasis bands are estimates from the saved image.",
      "Copy buttons, local JSON runner, long-comment and highlight switches are proposed integrations. Exact copied payloads contain only the intended current snippet. Clipboard failures produce an accurate error instead of a success claim.",
      "The original displayed code is also compiled statically into the local example runner, with function names separated. There is no eval, network, account or external dependency. No animation is required.",
      "Only the supplied still frame was inspected for this component. Live desktop/mobile state evidence has been requested from root; added interactions are proposed local behavior.",
      "No timing or easing is observable in the saved frame. Motion is minimal and removed under prefers-reduced-motion."
    ]
  },
  "additional_views": [
    {
      "name": "before-code-right-edge",
      "phase": "mobile-390-interactions",
      "width": 390,
      "height": 844,
      "image": "/design-studies/ref-magicui-docs-components-code-comparison/mobile-390-interactions-before-code-right-edge.jpg",
      "sha256": "135ac952d6c1888c33950a079774842d03b93622e64ac66604b87631e14ecbac"
    },
    {
      "name": "after-code-right-edge",
      "phase": "mobile-390-interactions",
      "width": 390,
      "height": 844,
      "image": "/design-studies/ref-magicui-docs-components-code-comparison/mobile-390-interactions-after-code-right-edge.jpg",
      "sha256": "043758a91bd019bc0247a7a8b6271e2a3fcdf297db8a3999271232909e58609b"
    }
  ],
  "native_media_checks": 0,
  "previous_test": {
    "report_url": "/design-study-history/2026-11-17-v2/ref-magicui-docs-components-code-comparison/report.json",
    "catalog_url": "/design-study-history/2026-11-17-v2/catalog.json"
  }
}
