c1
修复 JS 函数 compactKeepFalsy:当前代码 function compactKeepFalsy(xs){ return xs.filter(Boolean); };失败断言 assert.deepEqual(compactKeepFalsy([0, false, "", null, undefined, "ok"]), [0, false, "", "ok"]); 只提交修复后的函数。
原始输出
保留 0、false、空字符串,仅移除 null 和 undefined。
RESULT DETAIL
TASK RESULTS
c1
保留 0、false、空字符串,仅移除 null 和 undefined。
c2
正确解析 ¥1,299.50、38元,并对免费返回 null。
c3
合并相交和首尾相接区间。
c4
支持中英文分隔符、空白、去重和小写化。
c5
支持 {{ name }} 空格写法,并保留未知占位符。c6
只跳过周末,未跳过 2026-07-13 节假日。
SHOWCASE
c1 compactKeepFalsy passed
c2 parseRmb passed
CLAIM
{
"vendor": "DeepSeek",
"demo_seed": true,
"timeout_ms": 150,
"memory_limit_mb": 16
}DeepSeek R2 的 demo seed 成绩,来自 code-er 的 sample-result.json 结构化样例,无真实模型调用。
用量:{"tokens":25060}
REPRODUCE
node evals/code-er/run.mjs evals/code-er/tasks/example-answers.json --out code-er-result.json && evalhub submit code-er-result.json
PROVENANCE
2026-07-06 00:00
2026-07-15 11:12
REPORT
发现虚假申报、无法复现或其他问题?可以匿名提交线索供管理员核查。
举报暂不可用:站点验证尚未配置。