# gdb-hub / gdb__template-1-s401

- 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/e449db21-0aab-4a47-bcda-8f213b080f0e.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/cd8fd7e7-b186-44d3-afd7-67a8105a2ba7.png",
      "id": "0-1",
      "left": "-753.718px",
      "top": "361.193px",
      "width": "2949.25px",
      "height": "740.998px",
      "transform": "none",
      "opacity": 1,
      "overflow": "hidden"
    },
    {
      "type": "IMAGE",
      "src": "https://storage.googleapis.com/lica-video/368d18cd-a827-4014-a594-27050a1850ac.svg",
      "id": "0-2",
      "left": "-929.574px",
      "top": "928.945px",
      "width": "3016.15px",
      "height": "1205.8px",
      "transform": "rotate(3.65748deg)",
      "opacity": 1,
      "overflow": "hidden"
    },
    {
      "type": "GROUP",
      "id": "0-3-0",
      "left": "960.0px",
      "top": "192.013px",
      "width": "852.00030705px",
      "height": "779.98848px",
      "transform": "none",
      "background": "rgb(252, 252, 252)",
      "backgroundColor": "rgb(252, 252, 252)",
      "clipPath": "path(\"M16.738733680479037,0L262.8965820254439,0C267.33597022779,0 271.59353263882196,1.7635400862746426 274.73265413754297,4.902661584995655C277.8717756196483,8.041783083716666 279.63531572253856,12.299345494748577 279.63531572253856,16.738733680479037L279.63531572253856,239.2612663169499C279.63531572253856,243.70065450268038 277.8717756196483,247.95821691371228 274.73265413754297,251.0973384124333C271.59353263882196,254.2364599111543 267.33597022779,255.99999999742897 262.8965820254439,255.99999999742897L16.738733680479037,255.99999999742897C12.299345494748577,255.99999999742897 8.041783083716666,254.2364599111543 4.902661584995655,251.0973384124333C1.7635400862746426,247.95821691371228 0,243.70065450268038 0,239.2612663169499L0,16.738733680479037C0,12.299345494748577 1.7635400862746426,8.041783083716666 4.902661584995655,4.902661584995655C8.041783083716666,1.7635400862746426 12.299345494748577,0 16.738733680479037,0Z\")"
    },
    {
      "type": "GROUP",
      "id": "0-4-0",
      "left": "1044.71px",
      "top": "108.0px",
      "width": "682.5712145460001px",
      "height": "180.480768px",
      "transform": "none",
      "background": "rgb(1, 1, 1)",
      "backgroundColor": "rgb(1, 1, 1)",
      "clipPath": "path(\"M72.3401341260273,0L895.8416358794103,0C915.0274323754586,0 933.4274285605443,7.621527937117069 946.9938353503364,21.187934726909248C960.5602421401286,34.75434151670142 968.1817700772457,53.15433770178717 968.1817700772457,72.3401341260273L968.1817700772457,183.6598658350816C968.1817700772457,202.84566233112997 960.5602421401286,221.2456585162157 946.9938353503364,234.81206523419965C933.4274285605443,248.37847202399183 915.0274323754586,256.0000000329171 895.8416358794103,256.0000000329171L72.3401341260273,256.0000000329171C53.15433770178717,256.0000000329171 34.75434151670142,248.37847202399183 21.187934726909248,234.81206523419965C7.621527937117069,221.2456585162157 0,202.84566233112997 0,183.6598658350816L0,72.3401341260273C0,53.15433770178717 7.621527937117069,34.75434151670142 21.187934726909248,21.187934726909248C34.75434151670142,7.621527937117069 53.15433770178717,0 72.3401341260273,0Z\")"
    },
    {
      "type": "IMAGE",
      "src": "https://storage.googleapis.com/lica-video/7d60125b-6530-44c3-b81a-53392cefab11.png",
      "id": "0-5",
      "left": "92.9215px",
      "top": "282.627px",
      "width": "718.553px",
      "height": "514.745px",
      "transform": "rotate(10.4512deg) scale(-1, 1)",
      "opacity": 1,
      "overflow": "hidden"
    },
    {
      "type": "TEXT",
      "text": "Amphibians are cold-blooded vertebrates with moist, scaleless skin. They live on land and water; eggs fertilized externally.",
      "id": "0-6",
      "left": "1020.98px",
      "top": "326.817px",
      "width": "730.031px",
      "height": "576.027px",
      "transform": "none",
      "color": "rgb(1, 1, 1)",
      "fontSize": "60px",
      "fontFamily": "Playpen Sans--400",
      "fontWeight": "400",
      "textAlign": "left",
      "lineHeight": "84.0px",
      "letterSpacing": "0em",
      "textTransform": "none",
      "fontStyle": "normal"
    },
    {
      "type": "TEXT",
      "text": "Amphibian",
      "id": "0-7",
      "left": "1060.97px",
      "top": "128.24px",
      "width": "650.061px",
      "height": "120px",
      "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"
    }
  ],
  "background": "rgb(252, 252, 252)",
  "width": "1920px",
  "height": "1080px",
  "duration": 3
}

Layout B:
{
  "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
}

## 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
