# gdb-hub / gdb__template-1-s189

- taskset: [gdb-hub](https://harnessreport.com/tasks/gdb-hub.md)
- difficulty: medium
- category: design
- language: 
- runnable from the site: no
- agent timeout: 3600s

## Results by harness

_none yet_

## Instruction

```
# GDB: template-1

## Input Files

- `/workspace/inputs/input_0.png`
- `/workspace/inputs/input_1.png`

## Task

You are given two layouts (A and B). Determine whether they originate from the same template. Answer with a single digit: 1 if same template, 0 if different.

Layout A:
{
  "components": [
    {
      "type": "GROUP",
      "left": "72.404px",
      "top": "92.9411px",
      "width": "439.596234px",
      "height": "580.67449776px",
      "transform": "none",
      "background": "rgb(227, 136, 252)",
      "backgroundColor": "rgb(227, 136, 252)",
      "clipPath": "path(\"M5.703508987685951,5.703508987685951L1116.2964910123142,5.703508987685951L1116.2964910123142,1476.3789124133355L5.703508987685951,1476.3789124133355L5.703508987685951,5.703508987685951Z\")"
    },
    {
      "type": "GROUP",
      "left": "72.404px",
      "top": "92.9411px",
      "width": "439.596234px",
      "height": "580.67449776px",
      "transform": "none",
      "background": "rgb(1, 1, 1)",
      "backgroundColor": "rgb(1, 1, 1)",
      "clipPath": "path(\"M1110.5929820246283,1470.6754034256496L1122,1470.6754034256496L1122,1482.0824214010215L1110.5929820246283,1482.0824214010215L1110.5929820246283,1470.6754034256496ZM0,11.407017975371902L11.407017975371902,11.407017975371902L11.407017975371902,1470.6754034256496L0,1470.6754034256496L0,11.407017975371902ZM0,1470.6754034256496L11.407017975371902,1470.6754034256496L11.407017975371902,1482.0824214010215L0,1482.0824214010215L0,1470.6754034256496ZM1110.5929820246283,11.407017975371902L1122,11.407017975371902L1122,1470.6754034256496L1110.5929820246283,1470.6754034256496L1110.5929820246283,11.407017975371902ZM11.407017975371902,1470.6754034256496L1110.5929820246283,1470.6754034256496L1110.5929820246283,1482.0824214010215L11.407017975371902,1482.0824214010215L11.407017975371902,1470.6754034256496ZM1110.5929820246283,0L1122,0L1122,11.407017975371902L1110.5929820246283,11.407017975371902L1110.5929820246283,0ZM0,0L11.407017975371902,0L11.407017975371902,11.407017975371902L0,11.407017975371902L0,0ZM11.407017975371902,0L1110.5929820246283,0L1110.5929820246283,11.407017975371902L11.407017975371902,11.407017975371902L11.407017975371902,0Z\")"
    },
    {
      "type": "GROUP",
      "left": "90.7586px",
      "top": "112.03px",
      "width": "402.8879008px",
      "height": "102.21804px",
      "transform": "none",
      "background": "rgb(252, 252, 252)",
      "backgroundColor": "rgb(252, 252, 252)",
      "clipPath": "path(\"M5.705793235293106,5.705793235293106L1023.0118314055446,5.705793235293106L1023.0118314055446,255.29420676470687L5.705793235293106,255.29420676470687L5.705793235293106,5.705793235293106Z\")"
    },
    {
      "type": "GROUP",
      "left": "90.7586px",
      "top": "112.03px",
      "width": "402.8879008px",
      "height": "102.21804px",
      "transform": "none",
      "background": "rgb(1, 1, 1)",
      "backgroundColor": "rgb(1, 1, 1)",
      "clipPath": "path(\"M1017.3060381702514,249.5884135294138L1028.7176246408376,249.5884135294138L1028.7176246408376,261L1017.3060381702514,261L1017.3060381702514,249.5884135294138ZM0,11.411586470586212L11.411586470586212,11.411586470586212L11.411586470586212,249.58841352941374L0,249.58841352941374L0,11.411586470586212ZM0,249.58841352941374L11.411586470586212,249.58841352941374L11.411586470586212,261L0,261L0,249.5884135294138ZM1017.3060381702514,11.411586470586212L1028.7176246408376,11.411586470586212L1028.7176246408376,249.58841352941374L1017.3060381702514,249.58841352941374L1017.3060381702514,11.411586470586212ZM11.411586470586212,249.5884135294138L1017.3060381702514,249.5884135294138L1017.3060381702514,261L11.411586470586212,261L11.411586470586212,249.5884135294138ZM1017.3060381702514,0L1028.7176246408376,0L1028.7176246408376,11.411586470586212L1017.3060381702514,11.411586470586212L1017.3060381702514,0ZM0,0L11.411586470586212,0L11.411586470586212,11.411586470586212L0,11.411586470586212L0,0ZM11.411586470586212,0L1017.3060381702514,0L1017.3060381702514,11.411586470586212L11.411586470586212,11.411586470586212L11.411586470586212,0Z\")"
    },
    {
      "type": "IMAGE",
      "src": "https://storage.googleapis.com/lica-video/eab8fef7-507b-4c93-af66-dc1b26910418.png",
      "left": "164.187px",
      "top": "245.049px",
      "width": "256.031px",
      "height": "390.142px",
      "transform": "none",
      "opacity": 1,
      "overflow": "hidden"
    },
    {
      "type": "TEXT",
      "text": "MEM CARD",
      "left": "90.7586px",
      "top": "120.41829px",
      "width": "402.887px",
      "height": "71.1073px",
      "transform": "none",
      "color": "rgb(1, 1, 1)",
      "fontSize": "59px",
      "fontFamily": "Francois One--400",
      "fontWeight": "400",
      "textAlign": "center",
      "lineHeight": "83.01320299999999px",
      "letterSpacing": "0em",
      "textTransform": "uppercase",
      "fontStyle": "normal"
    },
    {
      "type": "GROUP",
      "left": "554.226px",
      "top": "94.3838px",
      "width": "397.37107523px",
      "height": "580.675758px",
      "transform": "none",
      "background": "rgb(252, 252, 252)",
      "backgroundColor": "rgb(252, 252, 252)",
      "clipPath": "path(\"M5.703191804785247,5.703191804785247L1008.4655595233413,5.703191804785247L1008.4655595233413,1476.296808195215L5.703191804785247,1476.296808195215L5.703191804785247,5.703191804785247Z\")"
    },
    {
      "type": "GROUP",
      "left": "554.226px",
      "top": "94.3838px",
      "width": "397.37107523px",
      "height": "580.675758px",
      "transform": "none",
      "background": "rgb(1, 1, 1)",
      "backgroundColor": "rgb(1, 1, 1)",
      "clipPath": "path(\"M1002.762367718556,1470.5936163904296L1014.1687513281264,1470.5936163904296L1014.1687513281264,1482L1002.762367718556,1482L1002.762367718556,1470.5936163904296ZM0,11.406383609570494L11.406383609570494,11.406383609570494L11.406383609570494,1470.5936163904296L0,1470.5936163904296L0,11.406383609570494ZM0,1470.5936163904296L11.406383609570494,1470.5936163904296L11.406383609570494,1482L0,1482L0,1470.5936163904296ZM1002.762367718556,11.406383609570494L1014.1687513281264,11.406383609570494L1014.1687513281264,1470.5936163904296L1002.762367718556,1470.5936163904296L1002.762367718556,11.406383609570494ZM11.406383609570494,1470.5936163904296L1002.762367718556,1470.5936163904296L1002.762367718556,1482L11.406383609570494,1482L11.406383609570494,1470.5936163904296ZM1002.762367718556,0L1014.1687513281264,0L1014.1687513281264,11.406383609570494L1002.762367718556,11.406383609570494L1002.762367718556,0ZM0,0L11.406383609570494,0L11.406383609570494,11.406383609570494L0,11.406383609570494L0,0ZM11.406383609570494,0L1002.762367718556,0L1002.762367718556,11.406383609570494L11.406383609570494,11.406383609570494L11.406383609570494,0Z\")"
    },
    {
      "type": "TEXT",
      "text": "Memory card stores photos, videos & games.",
      "left": "588.589px",
      "top": "306.3px",
      "width": "328.644px",
      "height": "145.957px",
      "transform": "none",
      "color": "rgb(1, 1, 1)",
      "fontSize": "36px",
      "fontFamily": "Francois One--400",
      "fontWeight": "400",
      "textAlign": "center",
      "lineHeight": "51.085048px",
      "letterSpacing": "0em",
      "textTransform": "none",
      "fontStyle": "normal"
    }
  ],
  "background": "rgb(250, 216, 128)",
  "width": "1024px",
  "height": "768px",
  "duration": 3
}

Layout B:
{
  "components": [
    {
      "type": "IMAGE",
      "src": "https://storage.googleapis.com/lica-video/79eb03b6-2644-4e02-82a9-54477043d45a.png",
      "id": "0-0",
      "left": "0px",
      "top": "0px",
      "width": "1080px",
      "height": "944.183px",
      "transform": "rotate(0deg)",
      "opacity": 1,
      "overflow": "hidden"
    },
    {
      "type": "IMAGE",
      "src": "https://storage.googleapis.com/lica-video/5e535833-75f5-4dbd-8bf9-f08577eda515.png",
      "id": "0-1",
      "left": "0px",
      "top": "0px",
      "width": "1080px",
      "height": "944.183px",
      "transform": "none",
      "opacity": 1,
      "overflow": "hidden"
    },
    {
      "type": "IMAGE",
      "src": "https://storage.googleapis.com/lica-video/1bc85ec3-9196-453c-a0bb-052cf2b0bc8c.png",
      "id": "0-2",
      "left": "0px",
      "top": "0px",
      "width": "1080px",
      "height": "854.182px",
      "transform": "rotate(0deg) scale(-1, -1)",
      "opacity": 1,
      "overflow": "hidden"
    },
    {
      "type": "IMAGE",
      "src": "https://storage.googleapis.com/lica-video/77f3fbe3-9a48-47ac-9097-1cf3085ca1a7.png",
      "id": "0-3",
      "left": "363.965px",
      "top": "619.607px",
      "width": "667.664px",
      "height": "793.122px",
      "transform": "rotate(90deg)",
      "opacity": 1,
      "overflow": "hidden"
    },
    {
      "type": "IMAGE",
      "src": "https://storage.googleapis.com/lica-video/d2c16a20-4394-4fd3-90f1-654b23e15dcb.jpg",
      "id": "0-4",
      "left": "0.0px",
      "top": "108.0px",
      "width": "697.797px",
      "height": "810.215px",
      "transform": "none",
      "opacity": 1,
      "overflow": "hidden"
    },
    {
      "type": "IMAGE",
      "src": "https://storage.googleapis.com/lica-video/f97d1f71-514f-47a2-8f96-9d782559c6bb.png",
      "id": "0-5",
      "left": "47.6817px",
      "top": "890.934px",
      "width": "632.683px",
      "height": "431.806px",
      "transform": "none",
      "opacity": 1,
      "overflow": "hidden"
    },
    {
      "type": "IMAGE",
      "src": "https://storage.googleapis.com/lica-video/1417e84c-3cac-4799-98dd-396aa1b8078d.png",
      "id": "0-6-0",
      "left": "88.0716px",
      "top": "925.169px",
      "width": "396.64px",
      "height": "350.6049999999999px",
      "transform": "rotate(-10.8633deg) rotate(0deg)",
      "opacity": 1,
      "overflow": "hidden"
    },
    {
      "type": "TEXT",
      "text": "= 3.14",
      "id": "0-7",
      "left": "339.317px",
      "top": "953.8443px",
      "width": "682.096px",
      "height": "205.936px",
      "transform": "none",
      "color": "rgb(252, 251, 228)",
      "fontSize": "172px",
      "fontFamily": "Playpen Sans--700",
      "fontWeight": "700",
      "textAlign": "right",
      "lineHeight": "240.43740000000003px",
      "letterSpacing": "0em",
      "textTransform": "none",
      "fontStyle": "normal"
    },
    {
      "type": "IMAGE",
      "src": "https://storage.googleapis.com/lica-video/941784a6-c2e3-4f7c-a91f-ba6df3b0119b.jpg",
      "id": "0-8-0",
      "left": "168.033px",
      "top": "-168.033px",
      "width": "743.934px",
      "height": "1080.0px",
      "transform": "rotate(-90deg) rotate(0deg) scale(-1, 1)",
      "opacity": 1,
      "overflow": "hidden"
    },
    {
      "type": "IMAGE",
      "src": "https://storage.googleapis.com/lica-video/10c0a172-6a02-42ca-9d78-e5adfcfcaa9b.jpg",
      "id": "0-9-0",
      "left": "236.967px",
      "top": "506.967px",
      "width": "606.066px",
      "height": "1080.0px",
      "transform": "rotate(-90deg) rotate(0deg) scale(-1, 1)",
      "opacity": 1,
      "overflow": "hidden"
    },
    {
      "type": "TEXT",
      "text": "Pi",
      "id": "0-10",
      "left": "515.552px",
      "top": "86.43090000000001px",
      "width": "445.927px",
      "height": "257.862px",
      "transform": "none",
      "color": "rgb(252, 251, 228)",
      "fontSize": "215px",
      "fontFamily": "Playpen Sans--700",
      "fontWeight": "700",
      "textAlign": "left",
      "lineHeight": "301.0px",
      "letterSpacing": "0em",
      "textTransform": "none",
      "fontStyle": "normal"
    },
    {
      "type": "TEXT",
      "text": "Day",
      "id": "0-11",
      "left": "515.552px",
      "top": "221.86430000000001px",
      "width": "564.448px",
      "height": "179.867px",
      "transform": "none",
      "color": "rgb(252, 251, 228)",
      "fontSize": "150px",
      "fontFamily": "Playpen Sans--700",
      "fontWeight": "700",
      "textAlign": "right",
      "lineHeight": "210.0px",
      "letterSpacing": "0em",
      "textTransform": "none",
      "fontStyle": "normal"
    },
    {
      "type": "TEXT",
      "text": "Day",
      "id": "0-12",
      "left": "515.552px",
      "top": "549.0003px",
      "width": "564.448px",
      "height": "179.867px",
      "transform": "none",
      "color": "rgb(252, 251, 228)",
      "fontSize": "150px",
      "fontFamily": "Playpen Sans--700",
      "fontWeight": "700",
      "textAlign": "right",
      "lineHeight": "210.0px",
      "letterSpacing": "0em",
      "textTransform": "none",
      "fontStyle": "normal"
    },
    {
      "type": "TEXT",
      "text": "Fri",
      "id": "0-13",
      "left": "591.518px",
      "top": "399.6072px",
      "width": "488.482px",
      "height": "194.502px",
      "transform": "none",
      "color": "rgb(252, 251, 228)",
      "fontSize": "162px",
      "fontFamily": "Playpen Sans--700",
      "fontWeight": "700",
      "textAlign": "justify",
      "lineHeight": "227.0px",
      "letterSpacing": "0em",
      "textTransform": "none",
      "fontStyle": "normal"
    }
  ],
  "background": "rgb(113, 78, 64)",
  "width": "1080px",
  "height": "1350px",
  "duration": 3
}

## Output

Write your answer to `/workspace/answer.txt`.
Write ONLY the answer — no explanation, no markdown fences, no extra text.
```
---
Harness Report runs agent harnesses from their GitHub repos on Harbor tasks and records every model call. Every page is also `.md` and `.json`; index: https://harnessreport.com/llms.txt · MCP: https://harnessreport.com/mcp
