We need answer user's request in Japanese context. Need produce final JSON only, no markdown. Need solve carefully.

Task: Given fictional device selection rules. Need output JSON object with keys eligible, selected, excluded_count only.

Rules:
- memory >= 96
- stock >= 1
- tested == true required
- normally power <= 300. If exception=true allow up to 320. Exception applies only to power condition.
- hold=true always excluded regardless other conditions.
- Sort eligible devices by score descending, tie power ascending, then id lexicographic ascending.
- eligible ordered array of eligible IDs.
- selected first ID or null if none.
- excluded_count number of ineligible devices.

Need evaluate each device.

Let's list data:
J4-00: memory 96, power 320, stock 1, tested true, exception true, hold false, score 99.
Check: memory ok, stock ok, tested true, hold false. power 320 <=320 due exception true. eligible.

J4-01: memory 192, power 280, stock 2, tested true, exception false, hold true, score 100. hold true => excluded.

J4-02: memory 96, power 300, stock 1, tested true, exception false, hold false, score 99. eligible.

J4-03: memory 128, power 280, stock 1, tested true, exception true, hold false, score 89. eligible.

J4-04: memory 64, power 300, stock 0, tested false, exception true, hold false, score 86. memory fail, stock fail, tested fail => excluded.

J4-05: memory 192, power 280, stock 2, tested true, exception true, hold false, score 92. eligible.

J4-06: memory 192, power 320, stock 2, tested false, exception false, hold false, score 67. tested false, power 320 without exception fail => excluded.

J4-07: memory 96, power 320, stock 2, tested false, exception true, hold true, score 97. hold true => excluded. Also tested false.

J4-08: memory 192, power 280, stock 2, tested true, exception true, hold false, score 86. eligible.

J4-09: memory 64, power 320, stock 2, tested true, exception false, hold true, score 86. hold true => excluded. memory fail, power fail.

J4-10: memory 96, power 300, stock 0, tested true, exception false, hold false, score 87. stock fail => excluded.

J4-11: memory 192, power 320, stock 2, tested false, exception true, hold false, score 77. tested false => excluded. power ok due exception but tested fail.

J4-12: memory 128, power 280, stock 0, tested false, exception false, hold false, score 71. stock fail, tested fail => excluded.

J4-13: memory 192, power 280, stock 1, tested false, exception true, hold false, score 67. tested false => excluded.

J4-14: memory 96, power 450, stock 2, tested true, exception true, hold false, score 68. power 450 >320 even exception => excluded.

J4-15: memory 192, power 320, stock 0, tested true, exception false, hold false, score 73. stock fail, power fail => excluded.

Eligible IDs: J4-00, J4-02, J4-03, J4-05, J4-08. Need sort by score desc, power asc, id asc.
Scores:
J4-00 score 99, power 320
J4-02 score 99, power 300
J4-05 score 92, power 280
J4-03 score 89, power 280
J4-08 score 86, power 280
Sort:
score 99: J4-02 power 300 vs J4-00 power 320 => power ascending means lower power first: J4-02 then J4-00.
score 92: J4-05
score 89: J4-03
score 86: J4-08
Eligible order: ["J4-02","J4-00","J4-05","J4-03","J4-08"]
selected = "J4-02"
excluded_count = total 16 - eligible 5 = 11. Need ensure excluded_count means number of ineligible devices. Yes.

Double-check rules: "通常powerは300以下。ただしexception=trueなら320以下まで許す。hold=trueは他の条件にかかわらず必ず除外する。例外は電力条件だけに適用する。" So exception only relaxes power. Good.

Potential nuance: "testedはtrueが必須" yes. "memoryは96以上、stockは1以上". Good.

Need output JSON object only. Ensure keys exactly eligible, selected, excluded_count. No markdown. Could include null? selected string.

Need final.
