# gdb-hub / gdb__template-1-s22

- 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": "IMAGE",
      "src": "https://storage.googleapis.com/lica-video/4258f4f3-4a1c-4495-9540-876b5ac722a1.png",
      "id": "0-0-0",
      "left": "419.332px",
      "top": "-423.816px",
      "width": "1081.3400000000001px",
      "height": "1920.0px",
      "transform": "rotate(-90deg) rotate(0deg)",
      "opacity": 1,
      "overflow": "hidden"
    },
    {
      "type": "IMAGE",
      "src": "https://storage.googleapis.com/lica-video/c686158b-be71-4445-9c52-fb56c9ccdb12.svg",
      "id": "0-1",
      "left": "-696.699px",
      "top": "202.975px",
      "width": "3016.15px",
      "height": "1205.8px",
      "transform": "rotate(-4.44089e-16deg)",
      "opacity": 1,
      "overflow": "hidden"
    },
    {
      "type": "IMAGE",
      "src": "https://storage.googleapis.com/lica-video/e5b2c0bb-8ec4-482f-a819-2ceee52afb0e.png",
      "id": "0-2",
      "left": "-114.842px",
      "top": "390.27px",
      "width": "2267.36px",
      "height": "453.472px",
      "transform": "rotate(-6.9438deg) scale(1, -1)",
      "opacity": 1,
      "overflow": "hidden"
    },
    {
      "type": "IMAGE",
      "src": "https://storage.googleapis.com/lica-video/b8aac171-fe85-4b9e-b069-e5742d5b7dd8.svg",
      "id": "0-3",
      "left": "-540.326px",
      "top": "945.329px",
      "width": "3000.65px",
      "height": "1199.61px",
      "transform": "rotate(-11.2087deg)",
      "opacity": 1,
      "overflow": "hidden"
    },
    {
      "type": "GROUP",
      "id": "0-4-0",
      "left": "108.0px",
      "top": "262.013px",
      "width": "851.99927495px",
      "height": "709.98784px",
      "transform": "none",
      "background": "rgb(252, 252, 252)",
      "backgroundColor": "rgb(252, 252, 252)",
      "clipPath": "path(\"M18.389060844749977,0L288.8164263214646,0C293.6935085025147,0 298.3708380855818,1.9374133412780326 301.8194559643861,5.386031220082316C305.2680738249365,8.834649098886597 307.2054871844684,13.511978681953698 307.2054871844684,18.389060844749977L307.2054871844684,237.61093914115773C307.2054871844684,242.48802132220783 305.2680738249365,247.16535090527495 301.8194559643861,250.61396878407922C298.3708380855818,254.06258666288352 293.6935085025147,256.00000000416156 288.8164263214646,256.00000000416156L18.389060844749977,256.00000000416156C13.511978681953698,256.00000000416156 8.834649098886597,254.06258666288352 5.386031220082316,250.61396878407922C1.9374133412780326,247.16535090527495 0,242.48802132220783 0,237.61093914115773L0,18.389060844749977C0,13.511978681953698 1.9374133412780326,8.834649098886597 5.386031220082316,5.386031220082316C8.834649098886597,1.9374133412780326 13.511978681953698,0 18.389060844749977,0Z\")"
    },
    {
      "type": "GROUP",
      "id": "0-5-0",
      "left": "192.715px",
      "top": "108.0px",
      "width": "682.5686576999999px",
      "height": "308.02432px",
      "transform": "none",
      "background": "rgb(1, 1, 1)",
      "backgroundColor": "rgb(1, 1, 1)",
      "clipPath": "path(\"M42.38611992306149,0L524.8988195723372,0C536.1403175447383,0 546.9213930059228,4.4656676552024575 554.8703324440968,12.414607093376343C562.8192718822706,20.363546531550227 567.2849395374731,31.14462199273487 567.2849395374731,42.38611992306149L567.2849395374731,213.61388004372864C567.2849395374731,224.85537801612972 562.8192718822706,235.63645347731438 554.8703324440968,243.58539291548826C546.9213930059228,251.5343323536621 536.1403175447383,256.0000000088646 524.8988195723372,256.0000000088646L42.38611992306149,256.0000000088646C31.14462199273487,256.0000000088646 20.363546531550227,251.5343323536621 12.414607093376343,243.58539291548826C4.4656676552024575,235.63645347731438 0,224.85537801612972 0,213.61388004372864L0,42.38611992306149C0,31.14462199273487 4.4656676552024575,20.363546531550227 12.414607093376343,12.414607093376343C20.363546531550227,4.4656676552024575 31.14462199273487,0 42.38611992306149,0Z\")"
    },
    {
      "type": "IMAGE",
      "src": "https://storage.googleapis.com/lica-video/5bfcf6b7-c69f-4511-a645-bd262f596dde.png",
      "id": "0-6",
      "left": "1018.84px",
      "top": "366.041px",
      "width": "1032.3px",
      "height": "679.44px",
      "transform": "none",
      "opacity": 1,
      "overflow": "hidden"
    },
    {
      "type": "TEXT",
      "text": "Invertebrates vary broadly, with many groups. Their diverse traits make comparing an octopus to an ant difficult.",
      "id": "0-7",
      "left": "148.413px",
      "top": "461.38933px",
      "width": "771.174px",
      "height": "445.667px",
      "transform": "none",
      "color": "rgb(1, 1, 1)",
      "fontSize": "46px",
      "fontFamily": "Playpen Sans--400",
      "fontWeight": "400",
      "textAlign": "left",
      "lineHeight": "65.0px",
      "letterSpacing": "0em",
      "textTransform": "none",
      "fontStyle": "normal"
    },
    {
      "type": "TEXT",
      "text": "Invertebrate Groups",
      "id": "0-8",
      "left": "211.019px",
      "top": "122.013px",
      "width": "645.961px",
      "height": "260px",
      "transform": "none",
      "color": "rgb(252, 252, 252)",
      "fontSize": "100px",
      "fontFamily": "Playpen Sans--400",
      "fontWeight": "400",
      "textAlign": "center",
      "lineHeight": "140.0px",
      "letterSpacing": "0em",
      "textTransform": "none",
      "fontStyle": "normal"
    },
    {
      "type": "IMAGE",
      "src": "https://storage.googleapis.com/lica-video/65fb1e38-3db0-42cd-90bc-80dc3e15cdac.png",
      "id": "0-9",
      "left": "919.587px",
      "top": "860.852px",
      "width": "434.717px",
      "height": "432px",
      "transform": "scale(-1, 1)",
      "opacity": 1,
      "overflow": "hidden"
    },
    {
      "type": "IMAGE",
      "src": "https://storage.googleapis.com/lica-video/6292e525-6b99-4b20-a87d-23a8df2b997a.png",
      "id": "0-10",
      "left": "1247.21px",
      "top": "928.595px",
      "width": "434.717px",
      "height": "432px",
      "transform": "scale(-1, 1)",
      "opacity": 1,
      "overflow": "hidden"
    },
    {
      "type": "IMAGE",
      "src": "https://storage.googleapis.com/lica-video/e9388c6d-f7fd-401e-bcc5-6a8c88963cde.png",
      "id": "0-11",
      "left": "1702.64px",
      "top": "864.0px",
      "width": "434.717px",
      "height": "432px",
      "transform": "scale(-1, 1)",
      "opacity": 1,
      "overflow": "hidden"
    }
  ],
  "background": "rgb(252, 252, 252)",
  "width": "1920px",
  "height": "1080px",
  "duration": 3
}

Layout B:
{
  "components": [
    {
      "type": "IMAGE",
      "src": "https://storage.googleapis.com/lica-video/a468d00d-5c83-4776-8283-2d1b312c7142.png",
      "id": "0-0-0",
      "left": "419.332px",
      "top": "-423.816px",
      "width": "1081.3400000000001px",
      "height": "1920.0px",
      "transform": "rotate(-90deg) rotate(0deg)",
      "opacity": 1,
      "overflow": "hidden"
    },
    {
      "type": "IMAGE",
      "src": "https://storage.googleapis.com/lica-video/cc931637-dead-4f23-ba07-05be955a193c.svg",
      "id": "0-1",
      "left": "-140.641px",
      "top": "200.834px",
      "width": "2372.3px",
      "height": "948.405px",
      "transform": "rotate(2.75491deg) scale(-1, 1)",
      "opacity": 1,
      "overflow": "hidden"
    },
    {
      "type": "IMAGE",
      "src": "https://storage.googleapis.com/lica-video/aac12b5d-44cf-4274-96dd-2e9dd877a70f.svg",
      "id": "0-2",
      "left": "-162.063px",
      "top": "488.331px",
      "width": "2372.3px",
      "height": "948.405px",
      "transform": "none",
      "opacity": 1,
      "overflow": "hidden"
    },
    {
      "type": "GROUP",
      "id": "0-3-0",
      "left": "427.25px",
      "top": "287.704px",
      "width": "1065.4974615px",
      "height": "554.368px",
      "transform": "none",
      "background": "rgb(252, 252, 252)",
      "backgroundColor": "rgb(252, 252, 252)",
      "clipPath": "path(\"M23.551099140465478,0L468.48200342609545,0C474.72814326444416,0 480.7184574873097,2.481269384103764 485.1351453348834,6.89795723167751C489.5518331824572,11.314645079251257 492.0331025665609,17.30495930211678 492.0331025665609,23.551099140465478L492.0331025665609,232.44890085032202C492.0331025665609,238.69504068867073 489.5518331824572,244.68535491153625 485.1351453348834,249.10204275910996C480.7184574873097,253.5187306066837 474.72814326444416,256.00000001416544 468.48200342609545,255.9999999907875L23.551099140465478,255.9999999907875C17.30495930211678,256.00000001416544 11.314645079251257,253.5187306066837 6.89795723167751,249.10204275910996C2.481269384103764,244.68535491153625 0,238.69504068867073 0,232.44890085032202L0,23.551099140465478C0,17.30495930211678 2.481269384103764,11.314645079251257 6.89795723167751,6.89795723167751C11.314645079251257,2.481269384103764 17.30495930211678,0 23.551099140465478,0Z\")"
    },
    {
      "type": "GROUP",
      "id": "0-4-0",
      "left": "546.573px",
      "top": "230.296px",
      "width": "826.8556457699999px",
      "height": "114.816768px",
      "transform": "none",
      "background": "rgb(1, 1, 1)",
      "backgroundColor": "rgb(1, 1, 1)",
      "clipPath": "path(\"M113.71165360345769,0L1729.8749522197857,0C1760.0331579187732,0 1788.9561619715212,11.980300495499314 1810.2812337060705,33.30537223004854C1831.606305327744,54.63044396459777 1843.586605936119,83.55344801734566 1843.586605936119,113.71165360345769L1843.586605936119,142.28834636101837C1843.586605936119,172.44655194713042 1831.606305327744,201.3695559998783 1810.2812337060705,222.6946277344275C1788.9561619715212,244.01969946897677 1760.0331579187732,255.99999996447607 1729.8749522197857,255.99999996447607L113.71165360345769,255.99999996447607C83.55344801734566,255.99999996447607 54.63044396459777,244.01969946897677 33.30537223004854,222.6946277344275C11.980300495499314,201.3695559998783 0,172.44655194713042 0,142.28834636101837L0,113.71165360345769C0,83.55344801734566 11.980300495499314,54.63044396459777 33.30537223004854,33.30537223004854C54.63044396459777,11.980300495499314 83.55344801734566,0 113.71165360345769,0Z\")"
    },
    {
      "type": "IMAGE",
      "src": "https://storage.googleapis.com/lica-video/9f8dcbe4-053f-4104-a001-a5d96b975ed3.png",
      "id": "0-5",
      "left": "1601.77px",
      "top": "-97.1693px",
      "width": "420.467px",
      "height": "525.584px",
      "transform": "rotate(-55.1421deg)",
      "opacity": 1,
      "overflow": "hidden"
    },
    {
      "type": "IMAGE",
      "src": "https://storage.googleapis.com/lica-video/17d1d91a-2615-4a0b-b10d-1d10b51fb339.svg",
      "id": "0-6",
      "left": "-52.7765px",
      "top": "910.357px",
      "width": "3000.65px",
      "height": "1199.61px",
      "transform": "rotate(-11.2087deg)",
      "opacity": 1,
      "overflow": "hidden"
    },
    {
      "type": "IMAGE",
      "src": "https://storage.googleapis.com/lica-video/38eac3c4-01dc-4674-aad7-4a625ea4b05e.png",
      "id": "0-7",
      "left": "-118.355px",
      "top": "630.159px",
      "width": "854.244px",
      "height": "495.461px",
      "transform": "scale(-1, 1)",
      "opacity": 1,
      "overflow": "hidden"
    },
    {
      "type": "TEXT",
      "text": "Thanks for listening!",
      "id": "0-8",
      "left": "517.144px",
      "top": "403.5007px",
      "width": "885.712px",
      "height": "345.326px",
      "transform": "none",
      "color": "rgb(1, 1, 1)",
      "fontSize": "133px",
      "fontFamily": "Playpen Sans--400",
      "fontWeight": "400",
      "textAlign": "center",
      "lineHeight": "186.0px",
      "letterSpacing": "0em",
      "textTransform": "none",
      "fontStyle": "normal"
    },
    {
      "type": "TEXT",
      "text": "Living World",
      "id": "0-9",
      "left": "606.458px",
      "top": "231.708px",
      "width": "734.103px",
      "height": "95.9922px",
      "transform": "none",
      "color": "rgb(251, 248, 233)",
      "fontSize": "80px",
      "fontFamily": "Playpen Sans--400",
      "fontWeight": "400",
      "textAlign": "center",
      "lineHeight": "112.0px",
      "letterSpacing": "0em",
      "textTransform": "none",
      "fontStyle": "normal"
    }
  ],
  "background": "rgb(252, 252, 252)",
  "width": "1920px",
  "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
