{
  "id": "bundle-component-stock-reconciliation",
  "synthetic": true,
  "function": "bundle",
  "scope": [
    "Tracked finite stock only; no nested bundles, overselling, concurrency, mixed apps, exchange/refund allocation or live inventory guarantee.",
    "仅限有限且跟踪的库存；不覆盖嵌套组合、超卖、并发、多应用、换退分摊或真实库存保证。"
  ],
  "cases": [
    {
      "args": [
        [
          11,
          4
        ],
        [
          2,
          1
        ]
      ],
      "expected": 4
    },
    {
      "args": [
        [
          11,
          1
        ],
        [
          2,
          1
        ]
      ],
      "expected": 1
    },
    {
      "args": [
        [
          0,
          4
        ],
        [
          2,
          1
        ]
      ],
      "expected": 0
    }
  ]
}
