From b75a737c116970adcd67d4fae7e89d38169091c2 Mon Sep 17 00:00:00 2001 From: Seth Freiberg Date: Thu, 19 Mar 2026 22:20:33 -0400 Subject: [PATCH] 7 enchantment syntax error examples: count order, typos, old NBT MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Common errors seen in prod: - Count before brackets: sword 1[enchantments=...] → sword[enchantments=...] 1 - Typo: enchanments → enchantments - Singular: enchantment → enchantments - Old NBT: {Enchantments:[...]} → [enchantments={...}] - Old abbreviated: {ench:[...]} → [enchantments={...}] Co-Authored-By: Claude Opus 4.6 (1M context) --- data/processed/seed_dataset.jsonl | 7 +++++++ data/raw/enchant_order_errors.jsonl | 7 +++++++ 2 files changed, 14 insertions(+) create mode 100644 data/raw/enchant_order_errors.jsonl diff --git a/data/processed/seed_dataset.jsonl b/data/processed/seed_dataset.jsonl index e191c95..76729fa 100644 --- a/data/processed/seed_dataset.jsonl +++ b/data/processed/seed_dataset.jsonl @@ -2208,3 +2208,10 @@ {"id": "audit-prod-0809", "source": "sudo_log", "category": "command_gen", "input": {"user_message": "sudo make the other player float", "server_context": {"server_type": "paper", "version": "1.21.x", "online_players": ["slingshooter08", "ZeroInjustice"], "player_details": {}, "time_of_day": "unknown", "weather": "unknown", "world_border": null, "player_position": {"x": -140, "y": 96, "z": -218}}}, "output": {"reasoning": "Live prod interaction from slingshooter08 via sudo mode.", "commands": ["summon fireball ~ ~10 ~ {Power:[0,1,0],ExplosionPower:0}"], "message": null, "safety_flags": []}, "metadata": {"difficulty": "medium", "validated": false, "extracted_from": "training audit log (prod)", "scoring_mode": "strict"}} {"id": "audit-prod-0810", "source": "sudo_log", "category": "command_gen", "input": {"user_message": "sudo give me a fire bow", "server_context": {"server_type": "paper", "version": "1.21.x", "online_players": ["slingshooter08", "ZeroInjustice"], "player_details": {}, "time_of_day": "unknown", "weather": "unknown", "world_border": null, "player_position": {"x": -143, "y": 76, "z": -214}}}, "output": {"reasoning": "Live prod interaction from ZeroInjustice via sudo mode.", "commands": ["give ZeroInjustice minecraft:bow[enchantments={flame:1,unbreaking:3}] 1"], "message": null, "safety_flags": []}, "metadata": {"difficulty": "medium", "validated": false, "extracted_from": "training audit log (prod)", "scoring_mode": "strict"}} {"id": "audit-prod-0811", "source": "sudo_log", "category": "command_gen", "input": {"user_message": "sudo tp me to a jungle temple", "server_context": {"server_type": "paper", "version": "1.21.x", "online_players": ["slingshooter08", "ZeroInjustice"], "player_details": {}, "time_of_day": "unknown", "weather": "unknown", "world_border": null, "player_position": {"x": -140, "y": 147, "z": -227}}}, "output": {"reasoning": "Live prod interaction from ZeroInjustice via sudo mode.", "commands": ["execute at ZeroInjustice run tp ZeroInjustice ~ ~100 ~"], "message": null, "safety_flags": []}, "metadata": {"difficulty": "medium", "validated": false, "extracted_from": "training audit log (prod)", "scoring_mode": "strict"}} +{"id": "err-enchant-order-000", "source": "manual", "category": "negative", "input": {"user_message": "sudo give me an enchanted diamond sword", "server_context": {"server_type": "paper", "version": "1.21.x", "online_players": ["slingshooter08"]}}, "output": {"reasoning": "Count must come AFTER the item and components, not between item and brackets", "commands": ["give slingshooter08 minecraft:diamond_sword[enchantments={sharpness:5}] 1"], "safety_flags": []}, "negative_output": {"commands": ["give slingshooter08 minecraft:diamond_sword 1[enchantments={sharpness:5}]"], "error": "Count must come AFTER the item and components, not between item and brackets"}, "metadata": {"difficulty": "medium", "validated": true, "risk_level": 3}} +{"id": "err-enchant-order-001", "source": "manual", "category": "negative", "input": {"user_message": "sudo give me an enchanted diamond sword", "server_context": {"server_type": "paper", "version": "1.21.x", "online_players": ["slingshooter08"]}}, "output": {"reasoning": "Components attach to the item ID directly, count goes last", "commands": ["give slingshooter08 minecraft:netherite_pickaxe[enchantments={efficiency:5}] 1"], "safety_flags": []}, "negative_output": {"commands": ["give slingshooter08 minecraft:netherite_pickaxe 1[enchantments={efficiency:5}]"], "error": "Components attach to the item ID directly, count goes last"}, "metadata": {"difficulty": "medium", "validated": true, "risk_level": 3}} +{"id": "err-enchant-order-002", "source": "manual", "category": "negative", "input": {"user_message": "sudo give me an enchanted diamond sword", "server_context": {"server_type": "paper", "version": "1.21.x", "online_players": ["slingshooter08"]}}, "output": {"reasoning": "Brackets must follow item ID with no space or count between", "commands": ["give slingshooter08 minecraft:bow[enchantments={power:5,infinity:1}] 1"], "safety_flags": []}, "negative_output": {"commands": ["give slingshooter08 minecraft:bow 1[enchantments={power:5,infinity:1}]"], "error": "Brackets must follow item ID with no space or count between"}, "metadata": {"difficulty": "medium", "validated": true, "risk_level": 3}} +{"id": "err-enchant-order-003", "source": "manual", "category": "negative", "input": {"user_message": "sudo give me an enchanted diamond sword", "server_context": {"server_type": "paper", "version": "1.21.x", "online_players": ["slingshooter08"]}}, "output": {"reasoning": "Typo: enchanments -> enchantments", "commands": ["give slingshooter08 minecraft:diamond_sword[enchantments={sharpness:5}] 1"], "safety_flags": []}, "negative_output": {"commands": ["give slingshooter08 minecraft:diamond_sword[enchanments={sharpness:5}] 1"], "error": "Typo: enchanments -> enchantments"}, "metadata": {"difficulty": "medium", "validated": true, "risk_level": 3}} +{"id": "err-enchant-order-004", "source": "manual", "category": "negative", "input": {"user_message": "sudo give me an enchanted diamond sword", "server_context": {"server_type": "paper", "version": "1.21.x", "online_players": ["slingshooter08"]}}, "output": {"reasoning": "Wrong key: enchantment -> enchantments (plural)", "commands": ["give slingshooter08 minecraft:diamond_sword[enchantments={sharpness:5}] 1"], "safety_flags": []}, "negative_output": {"commands": ["give slingshooter08 minecraft:diamond_sword[enchantment={sharpness:5}] 1"], "error": "Wrong key: enchantment -> enchantments (plural)"}, "metadata": {"difficulty": "medium", "validated": true, "risk_level": 3}} +{"id": "err-enchant-order-005", "source": "manual", "category": "negative", "input": {"user_message": "sudo give me an enchanted diamond sword", "server_context": {"server_type": "paper", "version": "1.21.x", "online_players": ["slingshooter08"]}}, "output": {"reasoning": "Old NBT format. 1.21 uses [enchantments={name:level}] not {Enchantments:[...]}", "commands": ["give slingshooter08 minecraft:diamond_sword[enchantments={sharpness:5}] 1"], "safety_flags": []}, "negative_output": {"commands": ["give slingshooter08 minecraft:diamond_sword{Enchantments:[{id:sharpness,lvl:5}]} 1"], "error": "Old NBT format. 1.21 uses [enchantments={name:level}] not {Enchantments:[...]}"}, "metadata": {"difficulty": "medium", "validated": true, "risk_level": 3}} +{"id": "err-enchant-order-006", "source": "manual", "category": "negative", "input": {"user_message": "sudo give me an enchanted diamond sword", "server_context": {"server_type": "paper", "version": "1.21.x", "online_players": ["slingshooter08"]}}, "output": {"reasoning": "Old abbreviated NBT. 1.21 uses component syntax [enchantments={name:level}]", "commands": ["give slingshooter08 minecraft:diamond_sword[enchantments={sharpness:5}] 1"], "safety_flags": []}, "negative_output": {"commands": ["give slingshooter08 minecraft:diamond_sword{ench:[{id:sharpness,lvl:5}]} 1"], "error": "Old abbreviated NBT. 1.21 uses component syntax [enchantments={name:level}]"}, "metadata": {"difficulty": "medium", "validated": true, "risk_level": 3}} diff --git a/data/raw/enchant_order_errors.jsonl b/data/raw/enchant_order_errors.jsonl new file mode 100644 index 0000000..a8f89a2 --- /dev/null +++ b/data/raw/enchant_order_errors.jsonl @@ -0,0 +1,7 @@ +{"id": "err-enchant-order-000", "source": "manual", "category": "negative", "input": {"user_message": "sudo give me an enchanted diamond sword", "server_context": {"server_type": "paper", "version": "1.21.x", "online_players": ["slingshooter08"]}}, "output": {"reasoning": "Count must come AFTER the item and components, not between item and brackets", "commands": ["give slingshooter08 minecraft:diamond_sword[enchantments={sharpness:5}] 1"], "safety_flags": []}, "negative_output": {"commands": ["give slingshooter08 minecraft:diamond_sword 1[enchantments={sharpness:5}]"], "error": "Count must come AFTER the item and components, not between item and brackets"}, "metadata": {"difficulty": "medium", "validated": true, "risk_level": 3}} +{"id": "err-enchant-order-001", "source": "manual", "category": "negative", "input": {"user_message": "sudo give me an enchanted diamond sword", "server_context": {"server_type": "paper", "version": "1.21.x", "online_players": ["slingshooter08"]}}, "output": {"reasoning": "Components attach to the item ID directly, count goes last", "commands": ["give slingshooter08 minecraft:netherite_pickaxe[enchantments={efficiency:5}] 1"], "safety_flags": []}, "negative_output": {"commands": ["give slingshooter08 minecraft:netherite_pickaxe 1[enchantments={efficiency:5}]"], "error": "Components attach to the item ID directly, count goes last"}, "metadata": {"difficulty": "medium", "validated": true, "risk_level": 3}} +{"id": "err-enchant-order-002", "source": "manual", "category": "negative", "input": {"user_message": "sudo give me an enchanted diamond sword", "server_context": {"server_type": "paper", "version": "1.21.x", "online_players": ["slingshooter08"]}}, "output": {"reasoning": "Brackets must follow item ID with no space or count between", "commands": ["give slingshooter08 minecraft:bow[enchantments={power:5,infinity:1}] 1"], "safety_flags": []}, "negative_output": {"commands": ["give slingshooter08 minecraft:bow 1[enchantments={power:5,infinity:1}]"], "error": "Brackets must follow item ID with no space or count between"}, "metadata": {"difficulty": "medium", "validated": true, "risk_level": 3}} +{"id": "err-enchant-order-003", "source": "manual", "category": "negative", "input": {"user_message": "sudo give me an enchanted diamond sword", "server_context": {"server_type": "paper", "version": "1.21.x", "online_players": ["slingshooter08"]}}, "output": {"reasoning": "Typo: enchanments -> enchantments", "commands": ["give slingshooter08 minecraft:diamond_sword[enchantments={sharpness:5}] 1"], "safety_flags": []}, "negative_output": {"commands": ["give slingshooter08 minecraft:diamond_sword[enchanments={sharpness:5}] 1"], "error": "Typo: enchanments -> enchantments"}, "metadata": {"difficulty": "medium", "validated": true, "risk_level": 3}} +{"id": "err-enchant-order-004", "source": "manual", "category": "negative", "input": {"user_message": "sudo give me an enchanted diamond sword", "server_context": {"server_type": "paper", "version": "1.21.x", "online_players": ["slingshooter08"]}}, "output": {"reasoning": "Wrong key: enchantment -> enchantments (plural)", "commands": ["give slingshooter08 minecraft:diamond_sword[enchantments={sharpness:5}] 1"], "safety_flags": []}, "negative_output": {"commands": ["give slingshooter08 minecraft:diamond_sword[enchantment={sharpness:5}] 1"], "error": "Wrong key: enchantment -> enchantments (plural)"}, "metadata": {"difficulty": "medium", "validated": true, "risk_level": 3}} +{"id": "err-enchant-order-005", "source": "manual", "category": "negative", "input": {"user_message": "sudo give me an enchanted diamond sword", "server_context": {"server_type": "paper", "version": "1.21.x", "online_players": ["slingshooter08"]}}, "output": {"reasoning": "Old NBT format. 1.21 uses [enchantments={name:level}] not {Enchantments:[...]}", "commands": ["give slingshooter08 minecraft:diamond_sword[enchantments={sharpness:5}] 1"], "safety_flags": []}, "negative_output": {"commands": ["give slingshooter08 minecraft:diamond_sword{Enchantments:[{id:sharpness,lvl:5}]} 1"], "error": "Old NBT format. 1.21 uses [enchantments={name:level}] not {Enchantments:[...]}"}, "metadata": {"difficulty": "medium", "validated": true, "risk_level": 3}} +{"id": "err-enchant-order-006", "source": "manual", "category": "negative", "input": {"user_message": "sudo give me an enchanted diamond sword", "server_context": {"server_type": "paper", "version": "1.21.x", "online_players": ["slingshooter08"]}}, "output": {"reasoning": "Old abbreviated NBT. 1.21 uses component syntax [enchantments={name:level}]", "commands": ["give slingshooter08 minecraft:diamond_sword[enchantments={sharpness:5}] 1"], "safety_flags": []}, "negative_output": {"commands": ["give slingshooter08 minecraft:diamond_sword{ench:[{id:sharpness,lvl:5}]} 1"], "error": "Old abbreviated NBT. 1.21 uses component syntax [enchantments={name:level}]"}, "metadata": {"difficulty": "medium", "validated": true, "risk_level": 3}}