{
  "pass": {
    "crash": false,
    "screenshot": {
      "max_diff": 0.2
    },
    "frametime_p99_ms": {
      "max_delta_pct": 15
    },
    "log_forbidden_hits": {
      "max": 0
    },
    "log_expected_missing": {
      "max": 0
    }
  },
  "probe": [
    {
      "kind": "crash"
    },
    {
      "kind": "frametime"
    },
    {
      "kind": "log_match",
      "expected": [
        "vk: draw_overhead_lean check: [1-9][0-9]* checks, .* 0 mismatches"
      ],
      "forbidden": [
        "vk: draw_overhead_lean check: .* [1-9][0-9]* mismatches"
      ]
    },
    {
      "kind": "log_value",
      "value": [
        {
          "name": "lean_checks",
          "take": "max",
          "pattern": "vk: draw_overhead_lean check: ([0-9]+) checks"
        }
      ]
    }
  ],
  "matrix": {},
  "schema": 7,
  "target": [
    {
      "name": "steamdeck",
      "tags": [
        "steamdeck"
      ],
      "max_reports": 2,
      "min_reports": 1
    }
  ],
  "summary": "Steam Deck Market: check descriptor bookkeeping, picture, and frame times against main",
  "baseline": {
    "ref": "main"
  },
  "scenario": [
    {
      "env": {
        "HOS_OUTPUT_RES": "1280x720",
        "RX_VK_AUTO_TUNE": "0",
        "RX_VK_DRAW_OVERHEAD_LEAN": "check"
      },
      "name": "market-check",
      "runs": 3,
      "step": [
        {
          "do": "teleport",
          "to": "Market_Child"
        },
        {
          "do": "wait",
          "map": "Market_Child",
          "event": "map",
          "timeout_s": 60
        },
        {
          "do": "wait_s",
          "seconds": 3
        },
        {
          "do": "shot",
          "name": "market",
          "upload": false,
          "compare": "baseline"
        },
        {
          "x": 0.0,
          "y": 1.0,
          "do": "stick",
          "stick": "L",
          "frames": 300
        },
        {
          "do": "measure",
          "name": "market-play",
          "warmup_s": 10,
          "duration_s": 60
        }
      ],
      "start": "save:market-entrance",
      "matrix": true,
      "settings": {
        "vsync": 2,
        "resolution": 1,
        "frame_rate_cap": 6,
        "quality_preset": 0
      }
    }
  ]
}
