       mods.unshift enchantment_label
       mods = mods.join " "
       test_item = "#{mods} #{base}".trim()
+      # console.log "built: #{test_item}"
       constructed.add test_item
 
   candidates.push.apply candidates, constructed.get name

base_data = ["longsword", "chainmail", "chain shirt", "wooden shield"]
base_items = FuzzySet base_data, false, 2, 3, 0.1
modifier_data = ["flaming", "flaming burst", "mithral"]
modifiers = FuzzySet modifier_data, false, 2, 3, 0.1

identify = (name) ->
  console.log "testing: #{name}"

identify "2 -1 flaming longsword"
identify "2 -1 flaming mithral longsword"
identify "flaming burst +1 longsword"
identify "flaming flaming burst +1 longsword"
identify "3 +2 chain mail"
identify "+2 chain shirt"
identify "headband of vast int +2"
