# gdb-hub / gdb__template-1-s382

- 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": "TEXT",
      "text": "MOVE",
      "left": "118.626px",
      "top": "120.41829px",
      "width": "347.152px",
      "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": "IMAGE",
      "src": "https://storage.googleapis.com/lica-video/e74dbb13-a74b-4187-affe-cb5d2e6046aa.png",
      "left": "203.646px",
      "top": "258.567px",
      "width": "177.112px",
      "height": "382.945px",
      "transform": "none",
      "opacity": 1,
      "overflow": "hidden"
    },
    {
      "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": "A mouse moves screen items, clicking to open and close.",
      "left": "588.589px",
      "top": "229.672px",
      "width": "328.644px",
      "height": "299.213px",
      "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(128, 206, 252)",
  "width": "1024px",
  "height": "768px",
  "duration": 3
}

Layout B:
{
  "components": [
    {
      "type": "IMAGE",
      "src": "https://storage.googleapis.com/lica-video/fdbd6681-0946-427e-9950-4422ccbaf808.svg",
      "id": "0-0",
      "left": "139.565px",
      "top": "116.167px",
      "width": "566.935px",
      "height": "2px"
    },
    {
      "type": "IMAGE",
      "src": "https://storage.googleapis.com/lica-video/a0978b65-4039-468e-b28e-1fe2ec66d266.svg",
      "id": "0-1",
      "left": "139.565px",
      "top": "116.167px",
      "width": "566.935px",
      "height": "2px"
    },
    {
      "type": "GROUP",
      "id": "0-2-0",
      "left": "191.526px",
      "top": "195.979px",
      "width": "776.02048px",
      "height": "776.02048px",
      "transform": "none",
      "background": "rgb(217, 217, 217)",
      "backgroundColor": "rgb(217, 217, 217)",
      "clipPath": "path(\"M0,0L256,0L256,256L0,256Z\")"
    },
    {
      "type": "IMAGE",
      "src": "https://storage.googleapis.com/lica-video/598411e0-cb4a-4457-a717-ec67d4265598.svg",
      "id": "0-3",
      "left": "-139.76px",
      "top": "439.35px",
      "width": "452.718px",
      "height": "247.76px",
      "transform": "none",
      "opacity": 1,
      "overflow": "hidden"
    },
    {
      "type": "TEXT",
      "text": "ramadan guide",
      "id": "0-4",
      "left": "-183.84095px",
      "top": "371.87932px",
      "width": "553.766px",
      "height": "22.2736px",
      "transform": "rotate(-90deg)",
      "color": "rgb(74, 69, 76)",
      "fontSize": "18px",
      "fontFamily": "Playfair Display--700",
      "fontWeight": "700",
      "textAlign": "right",
      "lineHeight": "26.0px",
      "letterSpacing": "0.345em",
      "textTransform": "none",
      "fontStyle": "normal"
    },
    {
      "type": "IMAGE",
      "src": "https://storage.googleapis.com/lica-video/07e2b8c2-ffff-4087-be41-9bef0ef92fd7.jpg",
      "id": "0-5-0",
      "left": "139.565px",
      "top": "145.979px",
      "width": "418.329px",
      "height": "417.25px",
      "transform": "rotate(0deg)",
      "opacity": 1,
      "overflow": "hidden"
    },
    {
      "type": "IMAGE",
      "src": "https://storage.googleapis.com/lica-video/7c1f9c2d-4dc6-44b4-9d76-15da0a733804.svg",
      "id": "0-6",
      "left": "511.762px",
      "top": "621.5px",
      "width": "568.238px",
      "height": "2px"
    },
    {
      "type": "TEXT",
      "text": "4",
      "id": "0-7",
      "left": "339.314px",
      "top": "581.47px",
      "width": "218.58px",
      "height": "229.483px",
      "transform": "none",
      "color": "rgb(74, 69, 76)",
      "fontSize": "192px",
      "fontFamily": "League Spartan--400",
      "fontWeight": "400",
      "textAlign": "left",
      "lineHeight": "193.0px",
      "letterSpacing": "0em",
      "textTransform": "none",
      "fontStyle": "normal"
    },
    {
      "type": "TEXT",
      "text": "water glasses\nat dinner.",
      "id": "0-8",
      "left": "511.762px",
      "top": "647.11px",
      "width": "449.477px",
      "height": "102.07px",
      "transform": "none",
      "color": "rgb(74, 69, 76)",
      "fontSize": "32px",
      "fontFamily": "League Spartan--400",
      "fontWeight": "400",
      "textAlign": "left",
      "lineHeight": "32.0px",
      "letterSpacing": "0em",
      "textTransform": "none",
      "fontStyle": "normal"
    },
    {
      "type": "TEXT",
      "text": "Before bed, drink 4 glasses of water. It aids food processing and digestion.",
      "id": "0-9",
      "left": "238.324px",
      "top": "790.57667px",
      "width": "729.223px",
      "height": "111.706px",
      "transform": "none",
      "color": "rgb(74, 69, 76)",
      "fontSize": "21px",
      "fontFamily": "Playfair Display--700",
      "fontWeight": "700",
      "textAlign": "left",
      "lineHeight": "29.0px",
      "letterSpacing": "0em",
      "textTransform": "none",
      "fontStyle": "normal"
    },
    {
      "type": "TEXT",
      "text": "002",
      "id": "0-10",
      "left": "825.245px",
      "top": "1004.03334px",
      "width": "142.302px",
      "height": "22.2736px",
      "transform": "none",
      "color": "rgb(74, 69, 76)",
      "fontSize": "18px",
      "fontFamily": "Playfair Display--700",
      "fontWeight": "700",
      "textAlign": "right",
      "lineHeight": "26.0px",
      "letterSpacing": "0em",
      "textTransform": "none",
      "fontStyle": "normal"
    },
    {
      "type": "TEXT",
      "text": "@loremipsum",
      "id": "0-11",
      "left": "75.4651px",
      "top": "1004.03334px",
      "width": "347.567px",
      "height": "22.2736px",
      "transform": "none",
      "color": "rgb(74, 69, 76)",
      "fontSize": "18px",
      "fontFamily": "Playfair Display--700",
      "fontWeight": "700",
      "textAlign": "left",
      "lineHeight": "26.0px",
      "letterSpacing": "0em",
      "textTransform": "none",
      "fontStyle": "normal"
    }
  ],
  "background": "rgb(226, 226, 226)",
  "width": "1080px",
  "height": "1080px",
  "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
