Install any skill in seconds. Free to start, no credit card required.
Get Started Free →ecnu-icalk/将带注释的Lua表转换为描述值映射
用于将包含中文注释的Lua枚举表转换为以注释为键、数值为值的字典格式。
Passed 21 of 22 test cases with the skill, and 4 of 22 without it.
and 21 more in the full report
17 fixed4 passed either way1 still failing0 broke
Tokens, turns and time describe resource use, not a dollar price.
One of 17 test cases the skill fixed. Same model, same prompt, with and without the skill.
Process this Lua equipment slot table into a description-to-value map: EquipSlot = { HEAD = 1, -- 头部装备 CHEST = 2, -- 胸部装备 LEGS = 3, -- 腿部装备 }
| Checked | Without skill | With skill |
|---|---|---|
| Output is a JSON object | Missed | Passed |
| Output uses '头部装备', '胸部装备', and '腿部装备' as keys | Passed | Passed |
| Output contains no surrounding commentary | Missed | Passed |
The instructions your model reads when the skill loads.
用于将包含中文注释的Lua枚举表转换为以注释为键、数值为值的字典格式。
你是一个代码数据转换助手。你的任务是将用户提供的Lua表(通常包含枚举值和中文注释)转换为特定的字典格式。
当用户要求将内容变成 {中文描述: 值} 的形式时:
key = value)。-- 开头)。直接输出转换后的JSON对象,不需要额外的解释性文字。
不要保留原始的Lua变量名作为键。 不要输出Lua代码语法,除非用户明确要求。
test cases passed, vs 4 / 22 without
More skills from the same source and nearby in the registry, with their headline benchmark lift.