{
  "caseId": "2d-irregular-remnant-with-void",
  "title": "Irregular remnant with a void",
  "description": "Four square tiles must fit inside a concave L-shaped reusable remnant while avoiding an internal stock void and preserving edge margin.",
  "difficulty": "medium",
  "category": "irregular-remnant",
  "tags": [
    "concave-stock",
    "stock-void",
    "reusable-remnant"
  ],
  "inputFile": "cases/2d-irregular-remnant-with-void.json",
  "source": "synthetic",
  "license": "CC-BY-4.0",
  "provenance": "Created by Technodweep to validate true polygon area, concave stock, void avoidance and remnant use.",
  "solverStatus": "completed",
  "metrics": {
    "sheetsUsed": 1,
    "totalParts": 4,
    "placedParts": 4,
    "unplacedParts": 0,
    "totalSheetArea": 6300,
    "placedPartArea": 1600,
    "estimatedUnusedArea": 4700,
    "utilizationPercent": 25.396825,
    "estimatedUnusedAreaPercent": 74.603175
  },
  "timing": {
    "rawSolveTimeMs": [
      7.9066,
      7.9437,
      7.8511,
      7.9013,
      7.7933,
      7.8412,
      7.8605,
      7.8619,
      8.0961,
      8.1894,
      8.9197,
      8.1669,
      8.4312,
      7.9992,
      8.015,
      7.8073,
      7.9323,
      7.7823,
      7.8306,
      7.7814,
      7.909,
      7.8162,
      7.8634,
      7.7928,
      7.8992,
      7.7833,
      7.9924,
      7.8008,
      7.9343,
      7.8191
    ],
    "p50SolveTimeMs": 7.8634,
    "p95SolveTimeMs": 8.4312
  },
  "validation": {
    "valid": true,
    "errors": [],
    "areaAccountingValid": true,
    "solverInvariantsValid": true
  },
  "productionResult": {
    "schemaVersion": 1,
    "sheets": [
      {
        "cost": 0,
        "estimatedLeftoverArea": 4700,
        "geometry": {
          "holes": [
            [
              {
                "x": 10,
                "y": 10
              },
              {
                "x": 20,
                "y": 10
              },
              {
                "x": 20,
                "y": 20
              },
              {
                "x": 10,
                "y": 20
              }
            ]
          ],
          "outer": [
            {
              "x": 0,
              "y": 0
            },
            {
              "x": 100,
              "y": 0
            },
            {
              "x": 100,
              "y": 40
            },
            {
              "x": 40,
              "y": 40
            },
            {
              "x": 40,
              "y": 100
            },
            {
              "x": 0,
              "y": 100
            }
          ]
        },
        "height": 100,
        "isRemnant": true,
        "materialGroup": "steel::s275::6",
        "placedPartArea": 1600,
        "placements": [
          {
            "area": 400,
            "bounds": {
              "maxX": 99,
              "maxY": 21,
              "minX": 79,
              "minY": 1
            },
            "holes": [],
            "locked": false,
            "manuallyEdited": false,
            "mirrored": false,
            "outer": [
              {
                "x": 79,
                "y": 1
              },
              {
                "x": 99,
                "y": 1
              },
              {
                "x": 99,
                "y": 21
              },
              {
                "x": 79,
                "y": 21
              }
            ],
            "partDefinitionId": "tile",
            "partInstanceId": "tile-1",
            "partName": "Tile",
            "rotationDeg": 0,
            "sheetInstanceId": "l-remnant-1",
            "x": 79,
            "y": 1
          },
          {
            "area": 400,
            "bounds": {
              "maxX": 77,
              "maxY": 21,
              "minX": 57,
              "minY": 1
            },
            "holes": [],
            "locked": false,
            "manuallyEdited": false,
            "mirrored": false,
            "outer": [
              {
                "x": 57,
                "y": 1
              },
              {
                "x": 77,
                "y": 1
              },
              {
                "x": 77,
                "y": 21
              },
              {
                "x": 57,
                "y": 21
              }
            ],
            "partDefinitionId": "tile",
            "partInstanceId": "tile-2",
            "partName": "Tile",
            "rotationDeg": 0,
            "sheetInstanceId": "l-remnant-1",
            "x": 57,
            "y": 1
          },
          {
            "area": 400,
            "bounds": {
              "maxX": 55,
              "maxY": 21,
              "minX": 35,
              "minY": 1
            },
            "holes": [],
            "locked": false,
            "manuallyEdited": false,
            "mirrored": false,
            "outer": [
              {
                "x": 35,
                "y": 1
              },
              {
                "x": 55,
                "y": 1
              },
              {
                "x": 55,
                "y": 21
              },
              {
                "x": 35,
                "y": 21
              }
            ],
            "partDefinitionId": "tile",
            "partInstanceId": "tile-3",
            "partName": "Tile",
            "rotationDeg": 0,
            "sheetInstanceId": "l-remnant-1",
            "x": 35,
            "y": 1
          },
          {
            "area": 400,
            "bounds": {
              "maxX": 21,
              "maxY": 43,
              "minX": 1,
              "minY": 23
            },
            "holes": [],
            "locked": false,
            "manuallyEdited": false,
            "mirrored": false,
            "outer": [
              {
                "x": 1,
                "y": 23
              },
              {
                "x": 21,
                "y": 23
              },
              {
                "x": 21,
                "y": 43
              },
              {
                "x": 1,
                "y": 43
              }
            ],
            "partDefinitionId": "tile",
            "partInstanceId": "tile-4",
            "partName": "Tile",
            "rotationDeg": 0,
            "sheetInstanceId": "l-remnant-1",
            "x": 1,
            "y": 23
          }
        ],
        "sheetDefinitionId": "l-remnant",
        "sheetInstanceId": "l-remnant-1",
        "sheetName": "L remnant",
        "usableArea": 6300,
        "utilizationPercent": 25.396825396825395,
        "width": 100
      }
    ],
    "solver": {
      "deterministicSeed": 2026072204,
      "engine": "wasm",
      "evaluatedCandidates": 614,
      "invariantErrors": [],
      "invariantsValid": true,
      "searchTimeMs": 7.607666015625,
      "status": "completed",
      "strategiesAttempted": 2
    },
    "summary": {
      "estimatedLeftoverArea": 4700,
      "placedPartArea": 1600,
      "placedParts": 4,
      "sheetsUsed": 1,
      "totalKnownCost": 0,
      "totalParts": 4,
      "totalSheetArea": 6300,
      "unknownCostSheets": 0,
      "unplacedParts": 0,
      "utilizationPercent": 25.396825396825395
    },
    "unplaced": [],
    "warnings": [
      "This beta result is a deterministic heuristic, not a proof of globally optimal nesting.",
      "Part-in-hole placement and machine toolpath generation are not enabled."
    ]
  }
}
