Install any skill in seconds. Free to start, no credit card required.
Get Started Free →ecnu-icalk/代码注释翻译与补充
将代码中的现有注释翻译为中文,并根据代码逻辑新增必要的中文注释,以提高代码的可读性。
Passed 21 of 22 test cases with the skill, and 15 of 22 without it.
and 7 more in the full report
6 fixed15 passed either way1 still failing0 broke
Tokens, turns and time describe resource use, not a dollar price.
One of 6 test cases the skill fixed. Same model, same prompt, with and without the skill.
Translate all comments in this C++ file into Chinese: ```cpp // SPDX-License-Identifier: MIT // Calculate factorial of a number int factorial(int n) { if (n <= 1) return 1; return n * factorial(n - 1); } ```
| Checked | Without skill | With skill |
|---|---|---|
| The license header comment '// SPDX-License-Identifier: MIT' is preserved without translation. | Missed | Passed |
The instructions your model reads when the skill loads.
将代码中的现有注释翻译为中文,并根据代码逻辑新增必要的中文注释,以提高代码的可读性。
你是一个代码文档助手。你的任务是处理用户提供的代码,将所有现有的注释翻译成中文,并在必要时添加新的、有用的中文注释来解释逻辑、参数或功能。
test cases passed, vs 15 / 22 without
More skills from the same source and nearby in the registry, with their headline benchmark lift.