DeepSeek V4.1 Flash 1017 评测:文本、代码与 SVG

DeepSeek V4.1 Flash 1017 是 DeepSeek 的多模态模型更新,重点加强编程、工具使用和任务执行效率。

更新日期:2026-11-02

DeepSeek V4.1 Flash 1017 是什么?

DeepSeek 于 2026 年 10 月 17 日推出这次更新,API 继续使用 deepseek-flash。官方介绍了代码开发、工具任务和视觉理解的提升,并优化任务耗时与输出长度。 官方来源

deepseek 官方标识
DeepSeek

我们测了什么,整体表现如何?

本页整理 10 月 18 日的 30 次文本、6 次代码请求,以及后续四类 SVG 绘图和骑车动画测试。

短文本处理可靠,代码和绘图也能形成完整结果。主要问题集中在函数边界、局部排版和动画连接;较高思考档位的部分作品更完整,但也用到了重试和更高预算。

SVG 绘图与动画

四类静态绘图和一段 4 秒骑车动画,按请求的思考档位并排展示。

鹈鹕骑自行车

关闭思考 · 1 次请求
鹈鹕骑自行车 · disabled

鸟、自行车和两轮可辨认,但喙较短,脚悬在脚踏上方,翅膀没有伸到车把,骑乘关系较弱。

开启思考 · 默认 · 1 次请求
鹈鹕骑自行车 · default

长喙、喉囊和骑车姿态清楚,车架与两轮连接完整,翅膀伸向车把,脚贴近脚踏。

开启思考 · low · 1 次请求
鹈鹕骑自行车 · low

长喙与大喉囊明显,车架、前叉和两轮连贯,脚部接近曲柄。但身体和翅膀较机械,握把与骑乘姿态较僵硬。

开启思考 · max · 3 次请求
鹈鹕骑自行车 · max

喉囊、鸟翼与绿色车架层次较清楚,两轮、前叉及脚踏可辨认。鸟身横向拉长,尾部和后挡泥板较简略。

题目、参数与重试记录

关闭 thinking

鸟、自行车和两轮可辨认,但喙较短,脚悬在脚踏上方,翅膀没有伸到车把,骑乘关系较弱。

2026-10-20 · 已记录请求耗时: 6.50s · 本次输出 2167 token · 输出预算 12288

完整请求记录 · SVG

完整提示词
Generate an SVG of a pelican riding a bicycle

开启思考 · 默认

长喙、喉囊和骑车姿态清楚,车架与两轮连接完整,翅膀伸向车把,脚贴近脚踏。背景与装饰更丰富;这只是单张图的定性观察,不代表稳定胜率。

2026-10-20 · 已记录请求耗时: 27.40s · 本次输出 8035 token · 输出预算 12288

完整请求记录 · SVG

完整提示词
Generate an SVG of a pelican riding a bicycle

开启思考 · low

长喙与大喉囊明显,车架、前叉和两轮连贯,脚部接近曲柄。但身体和翅膀较机械,握把与骑乘姿态较僵硬。

2026-10-21 · 已记录请求耗时: 24.45s · 本次输出 7828 token · 输出预算 12288

完整请求记录 · SVG

完整提示词
Generate an SVG of a pelican riding a bicycle

开启思考 · max

喉囊、鸟翼与绿色车架层次较清楚,两轮、前叉及脚踏可辨认。鸟身横向拉长,尾部和后挡泥板较简略。首轮截断后提高预算才完成,不能据此宣称同预算优于 low。

2026-10-21 · 已记录请求耗时: ≥ 70.09s · 本次输出 9402 token · 输出预算 32768

完整请求记录 · SVG

  1. #1 · 2026-10-21T11:35:51.761Z · truncated · 38.5s · No complete SVG in the original response
  2. #2 · 2026-10-21T11:36:30.426Z · interrupted · — · Evaluator restarted to apply retry/budget policy; request completion and usage remain unknown.
完整提示词
Generate an SVG of a pelican riding a bicycle

9:41 模拟钟表

关闭思考 · 2 次请求
9:41 模拟钟表 · disabled

重试后 XML 正常。时针约 290.42°、分针约 246.00°,接近 9:41;3、9 等数字压到表盘外缘,刻度间距也不够均匀。

开启思考 · 默认 · 1 次请求
9:41 模拟钟表 · default

12 个数字齐全且顺序正确。源码确认短时针旋转 290.5°、长分针 246°,符合 9:41。

开启思考 · low · 1 次请求
9:41 模拟钟表 · low

源码明确旋转 290.5° / 246°,时针短于分针,12 个数字与 09:41 标签完整。布局整洁,分钟针从视觉上较靠近数字 8。

开启思考 · max · 1 次请求
9:41 模拟钟表 · max

时针 290.5°、分针 246°,长短关系正确;12 个数字完整,表盘、细刻度和下方时间标签层次清楚。

题目、参数与重试记录

关闭 thinking

重试后 XML 正常。时针约 290.42°、分针约 246.00°,接近 9:41;3、9 等数字压到表盘外缘,刻度间距也不够均匀。首次重复属性错误保留在下方。

2026-10-21 · 已记录请求耗时: 10.08s · 本次输出 1792 token · 输出预算 12288

完整请求记录 · SVG

  1. #1 · 2026-10-20T07:06:52.415Z · done · 4.8s · ParseError: duplicate attribute: line 56, column 8
完整提示词
Return only a complete, self-contained static SVG with viewBox="0 0 800 600". Draw a clear analog clock showing exactly 9:41, with all twelve numbers 1 through 12. The hour hand must be correctly positioned between 9 and 10, not exactly on 9. The minute hand must indicate minute 41. Use a shorter hour hand and a longer minute hand, no second hand. Add a small label "09:41" below the dial. Do not use scripts, external assets or embedded images.

开启思考 · 默认

12 个数字齐全且顺序正确。源码确认短时针旋转 290.5°、长分针 246°,符合 9:41。下方时间标签可读,但装饰横线画在 y=600 的画布边缘,出现裁切。

2026-10-20 · 已记录请求耗时: 29.32s · 本次输出 8715 token · 输出预算 12288

完整请求记录 · SVG

完整提示词
Return only a complete, self-contained static SVG with viewBox="0 0 800 600". Draw a clear analog clock showing exactly 9:41, with all twelve numbers 1 through 12. The hour hand must be correctly positioned between 9 and 10, not exactly on 9. The minute hand must indicate minute 41. Use a shorter hour hand and a longer minute hand, no second hand. Add a small label "09:41" below the dial. Do not use scripts, external assets or embedded images.

开启思考 · low

源码明确旋转 290.5° / 246°,时针短于分针,12 个数字与 09:41 标签完整。布局整洁,分钟针从视觉上较靠近数字 8。

2026-10-21 · 已记录请求耗时: 25.40s · 本次输出 8331 token · 输出预算 12288

完整请求记录 · SVG

完整提示词
Return only a complete, self-contained static SVG with viewBox="0 0 800 600". Draw a clear analog clock showing exactly 9:41, with all twelve numbers 1 through 12. The hour hand must be correctly positioned between 9 and 10, not exactly on 9. The minute hand must indicate minute 41. Use a shorter hour hand and a longer minute hand, no second hand. Add a small label "09:41" below the dial. Do not use scripts, external assets or embedded images.

开启思考 · max

时针 290.5°、分针 246°,长短关系正确;12 个数字完整,表盘、细刻度和下方时间标签层次清楚。

2026-10-21 · 已记录请求耗时: 30.95s · 本次输出 9800 token · 输出预算 12288

完整请求记录 · SVG

完整提示词
Return only a complete, self-contained static SVG with viewBox="0 0 800 600". Draw a clear analog clock showing exactly 9:41, with all twelve numbers 1 through 12. The hour hand must be correctly positioned between 9 and 10, not exactly on 9. The minute hand must indicate minute 41. Use a shorter hour hand and a longer minute hand, no second hand. Add a small label "09:41" below the dial. Do not use scripts, external assets or embedded images.

数据图表与比例

关闭思考 · 1 次请求
数据图表与比例 · disabled

四柱共同基线 y=460,高度 128、256、192、320,比例正确。Q1–Q4、柱顶数值、0/10/20/30 刻度和两个摘要均完整,版面没有明显遮挡。

开启思考 · 默认 · 1 次请求
数据图表与比例 · default

四柱共同基线 y=470,高度 120、240、180、300,比例正确。刻度、季度、数值、总计 84 和 Best: Q4 清晰;模型额外添加了未指定的 $k 单位,真实业务图表中应确认单位来源。

开启思考 · low · 1 次请求
数据图表与比例 · low

共同基线 y=480,柱高 128 / 256 / 192 / 320,比例正确;数值、刻度、Total: 84 和 Best: Q4 完整,未见明显重叠。

开启思考 · max · 2 次请求
数据图表与比例 · max

四柱共同基线 y=480,高度 120 / 240 / 180 / 300,数值、刻度与摘要正确;卡片分区清晰。

题目、参数与重试记录

关闭 thinking

四柱共同基线 y=460,高度 128、256、192、320,比例正确。Q1–Q4、柱顶数值、0/10/20/30 刻度和两个摘要均完整,版面没有明显遮挡。

2026-10-20 · 已记录请求耗时: 6.34s · 本次输出 2140 token · 输出预算 12288

完整请求记录 · SVG

完整提示词
Return only a complete, self-contained static SVG with viewBox="0 0 800 600". Design a polished dashboard card titled "Quarterly Revenue". Draw a vertical bar chart for Q1=12, Q2=24, Q3=18, Q4=30, in that left-to-right order. All four bars must share a zero baseline, and bar heights must be exactly proportional to the values. Show a y-axis labeled 0, 10, 20, 30 and show the value above each bar. Add summary labels "Total: 84" and "Best: Q4". Use a light background and readable typography. Do not use scripts, external assets or embedded images.

开启思考 · 默认

四柱共同基线 y=470,高度 120、240、180、300,比例正确。刻度、季度、数值、总计 84 和 Best: Q4 清晰;模型额外添加了未指定的 $k 单位,真实业务图表中应确认单位来源。

2026-10-20 · 已记录请求耗时: 28.67s · 本次输出 7221 token · 输出预算 12288

完整请求记录 · SVG

完整提示词
Return only a complete, self-contained static SVG with viewBox="0 0 800 600". Design a polished dashboard card titled "Quarterly Revenue". Draw a vertical bar chart for Q1=12, Q2=24, Q3=18, Q4=30, in that left-to-right order. All four bars must share a zero baseline, and bar heights must be exactly proportional to the values. Show a y-axis labeled 0, 10, 20, 30 and show the value above each bar. Add summary labels "Total: 84" and "Best: Q4". Use a light background and readable typography. Do not use scripts, external assets or embedded images.

开启思考 · low

共同基线 y=480,柱高 128 / 256 / 192 / 320,比例正确;数值、刻度、Total: 84 和 Best: Q4 完整,未见明显重叠。

2026-10-21 · 已记录请求耗时: 25.50s · 本次输出 8905 token · 输出预算 12288

完整请求记录 · SVG

完整提示词
Return only a complete, self-contained static SVG with viewBox="0 0 800 600". Design a polished dashboard card titled "Quarterly Revenue". Draw a vertical bar chart for Q1=12, Q2=24, Q3=18, Q4=30, in that left-to-right order. All four bars must share a zero baseline, and bar heights must be exactly proportional to the values. Show a y-axis labeled 0, 10, 20, 30 and show the value above each bar. Add summary labels "Total: 84" and "Best: Q4". Use a light background and readable typography. Do not use scripts, external assets or embedded images.

开启思考 · max

首轮截断,提高预算后重试完成。四柱共同基线 y=480,高度 120 / 240 / 180 / 300,数值、刻度与摘要正确;卡片分区清晰。

2026-10-21 · 已记录请求耗时: 90.78s · 本次输出 10202 token · 输出预算 32768

完整请求记录 · SVG

  1. #1 · 2026-10-21T11:37:52.911Z · truncated · 52.0s · No complete SVG in the original response
完整提示词
Return only a complete, self-contained static SVG with viewBox="0 0 800 600". Design a polished dashboard card titled "Quarterly Revenue". Draw a vertical bar chart for Q1=12, Q2=24, Q3=18, Q4=30, in that left-to-right order. All four bars must share a zero baseline, and bar heights must be exactly proportional to the values. Show a y-axis labeled 0, 10, 20, 30 and show the value above each bar. Add summary labels "Total: 84" and "Best: Q4". Use a light background and readable typography. Do not use scripts, external assets or embedded images.

中文海报与排版约束

关闭思考 · 1 次请求
中文海报与排版约束 · disabled

六段指定中文各出现一次,但自行车图标的车轮底部碰到主标题上沿,出现图文重叠;说明文字也较浅。

开启思考 · 默认 · 1 次请求
中文海报与排版约束 · default

六段指定中文各出现一次,标题、时间地点和说明层级明确;自行车与文字留有间距。最小的说明文字颜色较浅,小屏阅读对比度仍有提升空间。

开启思考 · low · 1 次请求
中文海报与排版约束 · low

六段指定中文各一次,自行车图标和文字分区清晰,无明显遮挡;说明文字颜色偏浅、尺寸较小,手机上需放大查看。

开启思考 · max · 1 次请求
中文海报与排版约束 · max

六段中文逐字一致且各出现一次,标题、时间地点和按钮层级明确。卡片和阴影更细致,但说明文字仍偏小、偏浅。

题目、参数与重试记录

关闭 thinking

六段指定中文各出现一次,但自行车图标的车轮底部碰到主标题上沿,出现图文重叠;说明文字也较浅。文字完整不等于排版约束全部满足。

2026-10-20 · 已记录请求耗时: 4.46s · 本次输出 1348 token · 输出预算 12288

完整请求记录 · SVG

完整提示词
只输出一个完整、自包含的静态 SVG,viewBox="0 0 800 600"。设计一张清晰、精致的中文活动海报。必须且仅包含以下六段文字,每段出现一次,不能增删字或改写:主标题“周末骑行计划”;副标题“慢一点,看见城市”;时间“10月24日 09:00”;地点“滨江公园东门”;说明“自备头盔 · 全程12公里”;按钮文字“立即报名”。画一个简洁的自行车图标。主标题最大,时间地点次之,说明最小。背景浅色,留足边距,所有文字保持在画布内,不重叠,不使用脚本、外部素材或嵌入图片。

开启思考 · 默认

六段指定中文各出现一次,标题、时间地点和说明层级明确;自行车与文字留有间距。最小的说明文字颜色较浅,小屏阅读对比度仍有提升空间。

2026-10-20 · 已记录请求耗时: 28.25s · 本次输出 6417 token · 输出预算 12288

完整请求记录 · SVG

完整提示词
只输出一个完整、自包含的静态 SVG,viewBox="0 0 800 600"。设计一张清晰、精致的中文活动海报。必须且仅包含以下六段文字,每段出现一次,不能增删字或改写:主标题“周末骑行计划”;副标题“慢一点,看见城市”;时间“10月24日 09:00”;地点“滨江公园东门”;说明“自备头盔 · 全程12公里”;按钮文字“立即报名”。画一个简洁的自行车图标。主标题最大,时间地点次之,说明最小。背景浅色,留足边距,所有文字保持在画布内,不重叠,不使用脚本、外部素材或嵌入图片。

开启思考 · low

六段指定中文各一次,自行车图标和文字分区清晰,无明显遮挡;说明文字颜色偏浅、尺寸较小,手机上需放大查看。

2026-10-21 · 已记录请求耗时: 38.55s · 本次输出 9506 token · 输出预算 12288

完整请求记录 · SVG

完整提示词
只输出一个完整、自包含的静态 SVG,viewBox="0 0 800 600"。设计一张清晰、精致的中文活动海报。必须且仅包含以下六段文字,每段出现一次,不能增删字或改写:主标题“周末骑行计划”;副标题“慢一点,看见城市”;时间“10月24日 09:00”;地点“滨江公园东门”;说明“自备头盔 · 全程12公里”;按钮文字“立即报名”。画一个简洁的自行车图标。主标题最大,时间地点次之,说明最小。背景浅色,留足边距,所有文字保持在画布内,不重叠,不使用脚本、外部素材或嵌入图片。

开启思考 · max

六段中文逐字一致且各出现一次,标题、时间地点和按钮层级明确。卡片和阴影更细致,但说明文字仍偏小、偏浅。

2026-10-21 · 已记录请求耗时: 47.76s · 本次输出 12208 token · 输出预算 12288

完整请求记录 · SVG

完整提示词
只输出一个完整、自包含的静态 SVG,viewBox="0 0 800 600"。设计一张清晰、精致的中文活动海报。必须且仅包含以下六段文字,每段出现一次,不能增删字或改写:主标题“周末骑行计划”;副标题“慢一点,看见城市”;时间“10月24日 09:00”;地点“滨江公园东门”;说明“自备头盔 · 全程12公里”;按钮文字“立即报名”。画一个简洁的自行车图标。主标题最大,时间地点次之,说明最小。背景浅色,留足边距,所有文字保持在画布内,不重叠,不使用脚本、外部素材或嵌入图片。

鹈鹕骑车 · 4 秒动画

关闭思考 · 1 次请求
鹈鹕骑车 · 4 秒动画 · disabled

动图确实有轮辐和曲柄运动,鸟与两轮车架可辨认;但腿部被作为整体绕曲柄旋转,明显脱离鸟身,部分姿态接近地面。

开启思考 · 默认 · 3 次请求
鹈鹕骑车 · 4 秒动画 · default

前两次因预算截断,第三次补测完成。轮辐、曲柄和两条腿有协调运动,四个代表帧中腿部保持连接,明显好于本次关闭思考的腿部整体旋转。

开启思考 · low · 36 次请求
鹈鹕骑车 · 4 秒动画 · low

最终成功请求约 87 秒。轮辐、曲柄和腿部持续运动,代表帧中脚踏与腿保持连接,鸟翼延伸到车把。

开启思考 · max · 2 次请求
鹈鹕骑车 · 4 秒动画 · max

轮辐、曲柄和腿部在四个代表帧中保持连贯,鹈鹕的长喙、喉囊与车把关系清楚;腿部弯曲仍较机械。

题目、参数与重试记录

关闭 thinking

动图确实有轮辐和曲柄运动,鸟与两轮车架可辨认;但腿部被作为整体绕曲柄旋转,明显脱离鸟身,部分姿态接近地面。可播放不代表骑行动作正确。

2026-10-21 · 已记录请求耗时: 10.31s · 本次输出 3551 token · 输出预算 12288

完整请求记录 · SVG · WebP

完整提示词
Return only a complete self-contained animated SVG with viewBox="0 0 800 600". Draw a recognizable pelican riding a bicycle: long bill and throat pouch, two wheels, connected frame, saddle and handlebar. Animate rotating wheel spokes and a rotating crank with pedaling legs that remain attached to the rider and pedals. Use SVG SMIL animateTransform/animate/animateMotion only (no CSS animation), with a seamless 4-second repeating loop. Keep the whole bicycle and bird on the canvas. Use a light background. No scripts, foreignObject, external assets, external fonts or embedded images. Use only local SVG shapes and text. The animation must visibly move, not just contain animation tags.

开启思考 · 默认

前两次因预算截断,第三次补测完成。轮辐、曲柄和两条腿有协调运动,四个代表帧中腿部保持连接,明显好于本次关闭思考的腿部整体旋转。鸟的造型较简洁;这是定性观察,不是物理仿真验证。

2026-10-21 · 已记录请求耗时: 274.82s · 本次输出 26122 token · 输出预算 32768

完整请求记录 · SVG · WebP

  1. #1 · 2026-10-21T11:40:24.730Z · truncated · 53.9s · No complete SVG in the original response
  2. #2 · 2026-10-21T11:41:20.741Z · truncated · 121.3s · No complete SVG in the original response
完整提示词
Return only a complete self-contained animated SVG with viewBox="0 0 800 600". Draw a recognizable pelican riding a bicycle: long bill and throat pouch, two wheels, connected frame, saddle and handlebar. Animate rotating wheel spokes and a rotating crank with pedaling legs that remain attached to the rider and pedals. Use SVG SMIL animateTransform/animate/animateMotion only (no CSS animation), with a seamless 4-second repeating loop. Keep the whole bicycle and bird on the canvas. Use a light background. No scripts, foreignObject, external assets, external fonts or embedded images. Use only local SVG shapes and text. The animation must visibly move, not just contain animation tags.

开启思考 · low

最终成功请求约 87 秒。轮辐、曲柄和腿部持续运动,代表帧中脚踏与腿保持连接,鸟翼延伸到车把。喉囊造型偏空心线框;此前大量失败来自连接与超时,不能解读为 low 档连续画错。

2026-10-21 · 已记录请求耗时: 3077.42s · 本次输出 22933 token · 输出预算 32768

完整请求记录 · SVG · WebP

  1. #1 · 2026-10-21T11:45:03.994Z · truncated · 38.7s · No complete SVG in the original response
  2. #2 · 2026-10-21T11:45:44.883Z · error · 1199.2s · No complete SVG in the original response
  3. #3 · 2026-10-21T12:05:46.215Z · error · 0.0s · No complete SVG in the original response
  4. #4 · 2026-10-21T12:21:58.017Z · error · 0.2s · No complete SVG in the original response
  5. #5 · 2026-10-21T12:22:00.838Z · error · 0.1s · No complete SVG in the original response
  6. #6 · 2026-10-21T12:39:25.547Z · error · 0.5s · No complete SVG in the original response
  7. #7 · 2026-10-21T12:39:28.385Z · error · 0.1s · No complete SVG in the original response
  8. #8 · 2026-10-21T12:54:45.177Z · error · 0.1s · No complete SVG in the original response
  9. #9 · 2026-10-21T12:54:47.451Z · error · 0.1s · No complete SVG in the original response
  10. #10 · 2026-10-21T13:11:29.151Z · error · 0.2s · No complete SVG in the original response
  11. #11 · 2026-10-21T13:11:31.574Z · error · 0.0s · No complete SVG in the original response
  12. #12 · 2026-10-21T13:26:31.594Z · error · 0.1s · No complete SVG in the original response
  13. #13 · 2026-10-21T13:26:33.915Z · error · 0.0s · No complete SVG in the original response
  14. #14 · 2026-10-21T13:43:08.152Z · error · 0.1s · No complete SVG in the original response
  15. #15 · 2026-10-21T13:43:10.564Z · error · 0.0s · No complete SVG in the original response
  16. #16 · 2026-10-21T13:47:32.026Z · error · 0.1s · No complete SVG in the original response
  17. #17 · 2026-10-21T13:47:34.472Z · error · 0.0s · No complete SVG in the original response
  18. #18 · 2026-10-21T13:47:36.631Z · error · 0.0s · No complete SVG in the original response
  19. #19 · 2026-10-21T13:47:38.882Z · error · 0.1s · No complete SVG in the original response
  20. #20 · 2026-10-21T13:47:41.418Z · error · 0.0s · No complete SVG in the original response
  21. #21 · 2026-10-21T13:47:43.567Z · error · 0.0s · No complete SVG in the original response
  22. #22 · 2026-10-21T13:47:45.779Z · error · 0.1s · No complete SVG in the original response
  23. #23 · 2026-10-21T13:47:48.185Z · error · 0.0s · No complete SVG in the original response
  24. #24 · 2026-10-21T13:47:50.421Z · error · 0.0s · No complete SVG in the original response
  25. #25 · 2026-10-21T13:47:52.602Z · error · 0.0s · No complete SVG in the original response
  26. #26 · 2026-10-21T13:47:54.814Z · error · 0.0s · No complete SVG in the original response
  27. #27 · 2026-10-21T14:03:43.969Z · error · 0.0s · No complete SVG in the original response
  28. #28 · 2026-10-21T14:03:46.224Z · error · 0.0s · No complete SVG in the original response
  29. #29 · 2026-10-21T14:19:22.061Z · error · 0.0s · No complete SVG in the original response
  30. #30 · 2026-10-21T14:19:24.216Z · error · 0.0s · No complete SVG in the original response
  31. #31 · 2026-10-21T14:19:26.364Z · error · 0.0s · No complete SVG in the original response
  32. #32 · 2026-10-21T14:33:20.749Z · error · 0.0s · No complete SVG in the original response
  33. #33 · 2026-10-21T14:33:22.909Z · error · 0.0s · No complete SVG in the original response
  34. #34 · 2026-10-21T14:33:25.349Z · error · 907.5s · No complete SVG in the original response
  35. #35 · 2026-10-21T14:48:35.527Z · error · 843.2s · No complete SVG in the original response
完整提示词
Return only a complete self-contained animated SVG with viewBox="0 0 800 600". Draw a recognizable pelican riding a bicycle: long bill and throat pouch, two wheels, connected frame, saddle and handlebar. Animate rotating wheel spokes and a rotating crank with pedaling legs that remain attached to the rider and pedals. Use SVG SMIL animateTransform/animate/animateMotion only (no CSS animation), with a seamless 4-second repeating loop. Keep the whole bicycle and bird on the canvas. Use a light background. No scripts, foreignObject, external assets, external fonts or embedded images. Use only local SVG shapes and text. The animation must visibly move, not just contain animation tags.

开启思考 · max

轮辐、曲柄和腿部在四个代表帧中保持连贯,鹈鹕的长喙、喉囊与车把关系清楚;腿部弯曲仍较机械。首轮截断后以更高预算完成;本例视觉更完整,但不能泛化为 max 总是更好。

2026-10-21 · 已记录请求耗时: 186.85s · 本次输出 30297 token · 输出预算 32768

完整请求记录 · SVG · WebP

  1. #1 · 2026-10-21T15:04:08.452Z · truncated · 59.1s · No complete SVG in the original response
完整提示词
Return only a complete self-contained animated SVG with viewBox="0 0 800 600". Draw a recognizable pelican riding a bicycle: long bill and throat pouch, two wheels, connected frame, saddle and handlebar. Animate rotating wheel spokes and a rotating crank with pedaling legs that remain attached to the rider and pedals. Use SVG SMIL animateTransform/animate/animateMotion only (no CSS animation), with a seamless 4-second repeating loop. Keep the whole bicycle and bird on the canvas. Use a light background. No scripts, foreignObject, external assets, external fonts or embedded images. Use only local SVG shapes and text. The animation must visibly move, not just contain animation tags.
测试设置与数据下载

DeepSeek 默认开启 thinking,默认档 high;本轮显式增加 low 和 max。温度 0 在思考模式下不生效。原始默认与关闭档来自 10 月 20 日,补测及重试来自 10 月 21 日。deepseek-flash 仍是可变别名,不能证明固定权重。

首轮输出预算 12,288 token、超时 600 秒;重试的具体预算见请求记录。

动画由模型生成的 SVG 以每秒 10 帧采样 4 秒。点击播放,再次点击暂停。

54 条请求记录 · 超时 / 中断 / 截断: 3 / 1 / 6

完整数据 · 官方 API 文档

原始首轮回答、题目与参数

官方跑分

1017 官方 benchmark 对比总表

1017 官方 benchmark 对比总表

官方报告 11 项基准的表现。注意 HLE 的纯文本子集标记、Terminal-Bench 4.0 的 Claude Code 框架、DeepSWE 的 mini-swe-v2 框架,以及 ZeroBench-main 使用 Pass@5;不同列和测试设置应结合脚注阅读。

DeepSeek · 发布原文 · 官方原图

更多官方图表 · 1

DeepSWE v1.1:表现与每任务成本

DeepSWE v1.1:表现与每任务成本

官方用 mini-swe-v2 框架展示 DeepSWE v1.1 Pass@1 与每任务成本的关系。它是指定框架和价格假设下的结果,不能直接当作本站 SVG 测试的成本或通用性价比排名。

DeepSeek · 发布原文 · 官方原图

图表来源与评测条件

以下 2 张原图来自 DeepSeek 10 月 17 日的 1017 发布页,保留完整脚注、坐标和图例,版权归 DeepSeek。本站未独立复现这些 benchmark;官方的任务、框架、采样方式与成本口径,和本站 SVG 测试不同。

测试详情、原始回答与来源

TOKRACE 原创测试与分析 · 文本/代码实测:2026 年 10 月 18 日;首轮视觉实测:10 月 20 日;补测:10 月 21 日。

原题、原始回答与代码检查

下载全部 36 次请求记录(JSON)

联系信息抽取 1 · 默认思考 · 通过

2026-10-18T01:55:12.653Z · 总耗时:1.421s · 正文首响:1.293s · 输入 / 总输出 / 思考 token:105 / 136 / 117 · 结束原因:stop

题目

从以下资料提取联系信息。只输出一个 JSON 对象,恰好包含 name、age、city、email 四个字段;age 为数字,未提供的 email 为 null。不要 Markdown 或解释。
资料:林桐,28 岁,目前居住在杭州。未提供电子邮件。历史备注提到曾在北京出差,不是现居城市。

原始回答

{"name":"林桐","age":28,"city":"杭州","email":null}
联系信息抽取 1 · 关闭思考 · 通过

2026-10-18T01:55:14.076Z · 总耗时:0.764s · 正文首响:0.646s · 输入 / 总输出 / 思考 token:79 / 18 / — · 结束原因:stop

题目

从以下资料提取联系信息。只输出一个 JSON 对象,恰好包含 name、age、city、email 四个字段;age 为数字,未提供的 email 为 null。不要 Markdown 或解释。
资料:林桐,28 岁,目前居住在杭州。未提供电子邮件。历史备注提到曾在北京出差,不是现居城市。

原始回答

{"name":"林桐","age":28,"city":"杭州","email":null}
联系信息抽取 2 · 关闭思考 · 通过

2026-10-18T01:55:14.841Z · 总耗时:0.658s · 正文首响:0.513s · 输入 / 总输出 / 思考 token:81 / 20 / — · 结束原因:stop

题目

从以下资料提取联系信息。只输出一个 JSON 对象,恰好包含 name、age、city、email 四个字段;age 为数字,未提供的 email 为 null。不要 Markdown 或解释。
资料:李明,36 岁,目前居住在成都。电子邮件为 li@example.test。历史备注提到曾在北京出差,不是现居城市。

原始回答

{"name":"李明","age":36,"city":"成都","email":"li@example.test"}
联系信息抽取 2 · 默认思考 · 通过

2026-10-18T01:55:15.500Z · 总耗时:1.153s · 正文首响:1.106s · 输入 / 总输出 / 思考 token:107 / 68 / 47 · 结束原因:stop

题目

从以下资料提取联系信息。只输出一个 JSON 对象,恰好包含 name、age、city、email 四个字段;age 为数字,未提供的 email 为 null。不要 Markdown 或解释。
资料:李明,36 岁,目前居住在成都。电子邮件为 li@example.test。历史备注提到曾在北京出差,不是现居城市。

原始回答

{"name":"李明","age":36,"city":"成都","email":"li@example.test"}
联系信息抽取 3 · 默认思考 · 通过

2026-10-18T01:55:16.653Z · 总耗时:0.827s · 正文首响:0.777s · 输入 / 总输出 / 思考 token:105 / 66 / 47 · 结束原因:stop

题目

从以下资料提取联系信息。只输出一个 JSON 对象,恰好包含 name、age、city、email 四个字段;age 为数字,未提供的 email 为 null。不要 Markdown 或解释。
资料:陈夏,22 岁,目前居住在南京。未提供电子邮件。历史备注提到曾在北京出差,不是现居城市。

原始回答

{"name":"陈夏","age":22,"city":"南京","email":null}
联系信息抽取 3 · 关闭思考 · 通过

2026-10-18T01:55:17.481Z · 总耗时:0.675s · 正文首响:0.577s · 输入 / 总输出 / 思考 token:79 / 18 / — · 结束原因:stop

题目

从以下资料提取联系信息。只输出一个 JSON 对象,恰好包含 name、age、city、email 四个字段;age 为数字,未提供的 email 为 null。不要 Markdown 或解释。
资料:陈夏,22 岁,目前居住在南京。未提供电子邮件。历史备注提到曾在北京出差,不是现居城市。

原始回答

{"name":"陈夏","age":22,"city":"南京","email":null}
联系信息抽取 4 · 关闭思考 · 通过

2026-10-18T01:55:18.157Z · 总耗时:0.588s · 正文首响:0.487s · 输入 / 总输出 / 思考 token:83 / 21 / — · 结束原因:stop

题目

从以下资料提取联系信息。只输出一个 JSON 对象,恰好包含 name、age、city、email 四个字段;age 为数字,未提供的 email 为 null。不要 Markdown 或解释。
资料:周舟,41 岁,目前居住在苏州。电子邮件为 zhou@example.test。历史备注提到曾在北京出差,不是现居城市。

原始回答

{"name":"周舟","age":41,"city":"苏州","email":"zhou@example.test"}
联系信息抽取 4 · 默认思考 · 通过

2026-10-18T01:55:18.747Z · 总耗时:1.334s · 正文首响:1.255s · 输入 / 总输出 / 思考 token:109 / 103 / 81 · 结束原因:stop

题目

从以下资料提取联系信息。只输出一个 JSON 对象,恰好包含 name、age、city、email 四个字段;age 为数字,未提供的 email 为 null。不要 Markdown 或解释。
资料:周舟,41 岁,目前居住在苏州。电子邮件为 zhou@example.test。历史备注提到曾在北京出差,不是现居城市。

原始回答

{"name":"周舟","age":41,"city":"苏州","email":"zhou@example.test"}
联系信息抽取 5 · 默认思考 · 通过

2026-10-18T01:55:20.082Z · 总耗时:0.795s · 正文首响:0.734s · 输入 / 总输出 / 思考 token:105 / 63 / 44 · 结束原因:stop

题目

从以下资料提取联系信息。只输出一个 JSON 对象,恰好包含 name、age、city、email 四个字段;age 为数字,未提供的 email 为 null。不要 Markdown 或解释。
资料:吴雨,30 岁,目前居住在武汉。未提供电子邮件。历史备注提到曾在北京出差,不是现居城市。

原始回答

{"name":"吴雨","age":30,"city":"武汉","email":null}
联系信息抽取 5 · 关闭思考 · 通过

2026-10-18T01:55:20.879Z · 总耗时:0.766s · 正文首响:0.575s · 输入 / 总输出 / 思考 token:79 / 18 / — · 结束原因:stop

题目

从以下资料提取联系信息。只输出一个 JSON 对象,恰好包含 name、age、city、email 四个字段;age 为数字,未提供的 email 为 null。不要 Markdown 或解释。
资料:吴雨,30 岁,目前居住在武汉。未提供电子邮件。历史备注提到曾在北京出差,不是现居城市。

原始回答

{"name":"吴雨","age":30,"city":"武汉","email":null}
保序去重 · 关闭思考 · 通过

2026-10-18T01:55:21.645Z · 总耗时:0.701s · 正文首响:0.655s · 输入 / 总输出 / 思考 token:44 / 8 / — · 结束原因:stop

题目

把以下编号去重并保持首次出现的顺序:B2,A1,B2,C3,A1,D4。只输出用英文逗号连接的编号,不要空格、标题或解释。

原始回答

B2,A1,C3,D4
保序去重 · 默认思考 · 通过

2026-10-18T01:55:22.347Z · 总耗时:1.199s · 正文首响:1.169s · 输入 / 总输出 / 思考 token:70 / 49 / 40 · 结束原因:stop

题目

把以下编号去重并保持首次出现的顺序:B2,A1,B2,C3,A1,D4。只输出用英文逗号连接的编号,不要空格、标题或解释。

原始回答

B2,A1,C3,D4
限定字段 · 默认思考 · 通过

2026-10-18T01:55:23.547Z · 总耗时:1.046s · 正文首响:1.019s · 输入 / 总输出 / 思考 token:73 / 39 / 29 · 结束原因:stop

题目

仅输出 JSON 对象,且恰好包含 status 和 count 两个字段。status 的值必须为字符串 "ready",count 必须为数字 3。不要 Markdown、解释或额外字段。

原始回答

{"status":"ready","count":3}
限定字段 · 关闭思考 · 通过

2026-10-18T01:55:24.595Z · 总耗时:0.841s · 正文首响:0.816s · 输入 / 总输出 / 思考 token:47 / 9 / — · 结束原因:stop

题目

仅输出 JSON 对象,且恰好包含 status 和 count 两个字段。status 的值必须为字符串 "ready",count 必须为数字 3。不要 Markdown、解释或额外字段。

原始回答

{"status":"ready","count":3}
严格排序 · 关闭思考 · 通过

2026-10-18T01:55:25.437Z · 总耗时:0.780s · 正文首响:0.674s · 输入 / 总输出 / 思考 token:36 / 9 / — · 结束原因:stop

题目

将数值 12、3、25、8 按从小到大排序。只输出 JSON 数组,元素为数字。不要解释或代码围栏。

原始回答

[3,8,12,25]
严格排序 · 默认思考 · 通过

2026-10-18T01:55:26.217Z · 总耗时:1.106s · 正文首响:1.053s · 输入 / 总输出 / 思考 token:62 / 47 / 37 · 结束原因:stop

题目

将数值 12、3、25、8 按从小到大排序。只输出 JSON 数组,元素为数字。不要解释或代码围栏。

原始回答

[3,8,12,25]
大小写与换行 · 默认思考 · 通过

2026-10-18T01:55:27.325Z · 总耗时:1.058s · 正文首响:1.053s · 输入 / 总输出 / 思考 token:66 / 37 / 28 · 结束原因:stop

题目

按原顺序将 apple、pear、plum 转为英文大写,每行一个单词。总共三行,不要编号、标点、空行或解释。

原始回答

APPLE
PEAR
PLUM
大小写与换行 · 关闭思考 · 通过

2026-10-18T01:55:28.383Z · 总耗时:0.838s · 正文首响:0.716s · 输入 / 总输出 / 思考 token:40 / 8 / — · 结束原因:stop

题目

按原顺序将 apple、pear、plum 转为英文大写,每行一个单词。总共三行,不要编号、标点、空行或解释。

原始回答

APPLE
PEAR
PLUM
指定分隔符 · 关闭思考 · 通过

2026-10-18T01:55:29.221Z · 总耗时:0.628s · 正文首响:0.515s · 输入 / 总输出 / 思考 token:54 / 11 / — · 结束原因:stop

题目

提取下面三个工单号,保持顺序:工单 TX-103 已关闭;工单 TX-207 正在处理;工单 TX-309 待分配。只用英文竖线连接三个编号,不要空格或解释。

原始回答

TX-103|TX-207|TX-309
指定分隔符 · 默认思考 · 通过

2026-10-18T01:55:29.850Z · 总耗时:1.476s · 正文首响:1.471s · 输入 / 总输出 / 思考 token:80 / 84 / 72 · 结束原因:stop

题目

提取下面三个工单号,保持顺序:工单 TX-103 已关闭;工单 TX-207 正在处理;工单 TX-309 待分配。只用英文竖线连接三个编号,不要空格或解释。

原始回答

TX-103|TX-207|TX-309
材料问答 1 · 默认思考 · 通过

2026-10-18T01:55:31.328Z · 总耗时:1.336s · 正文首响:1.334s · 输入 / 总输出 / 思考 token:130 / 95 / 80 · 结束原因:stop

题目

只根据以下材料回答。输出恰好包含 usable、nextDelivery、manager 三个字段的 JSON 对象,不要额外文字。usable 是可用件数(数字),nextDelivery 是下一次送货时间(字符串),材料未说明的信息用 null,不能猜测。
材料:北区仓库今天收到 12 件货物,其中 3 件损坏,不可使用。下一次送货安排在周二。仓库负责人姓名没有记载。旧计划曾写周日,已作废。

原始回答

{"usable":9,"nextDelivery":"周二","manager":null}
材料问答 1 · 关闭思考 · 通过

2026-10-18T01:55:32.665Z · 总耗时:0.870s · 正文首响:0.866s · 输入 / 总输出 / 思考 token:104 / 14 / — · 结束原因:stop

题目

只根据以下材料回答。输出恰好包含 usable、nextDelivery、manager 三个字段的 JSON 对象,不要额外文字。usable 是可用件数(数字),nextDelivery 是下一次送货时间(字符串),材料未说明的信息用 null,不能猜测。
材料:北区仓库今天收到 12 件货物,其中 3 件损坏,不可使用。下一次送货安排在周二。仓库负责人姓名没有记载。旧计划曾写周日,已作废。

原始回答

{"usable":9,"nextDelivery":"周二","manager":null}
材料问答 2 · 关闭思考 · 通过

2026-10-18T01:55:33.537Z · 总耗时:0.826s · 正文首响:0.697s · 输入 / 总输出 / 思考 token:103 / 18 / — · 结束原因:stop

题目

只根据以下材料回答。输出恰好包含 usable、nextDelivery、manager 三个字段的 JSON 对象,不要额外文字。usable 是可用件数(数字),nextDelivery 是下一次送货时间(字符串),材料未说明的信息用 null,不能猜测。
材料:南区仓库今天收到 20 件货物,其中 4 件损坏,不可使用。下一次送货安排在周三。仓库负责人姓名没有记载。旧计划曾写周日,已作废。

原始回答

{"usable": 16, "nextDelivery": "周三", "manager": null}
材料问答 2 · 默认思考 · 通过

2026-10-18T01:55:34.364Z · 总耗时:1.315s · 正文首响:1.260s · 输入 / 总输出 / 思考 token:129 / 130 / 115 · 结束原因:stop

题目

只根据以下材料回答。输出恰好包含 usable、nextDelivery、manager 三个字段的 JSON 对象,不要额外文字。usable 是可用件数(数字),nextDelivery 是下一次送货时间(字符串),材料未说明的信息用 null,不能猜测。
材料:南区仓库今天收到 20 件货物,其中 4 件损坏,不可使用。下一次送货安排在周三。仓库负责人姓名没有记载。旧计划曾写周日,已作废。

原始回答

{"usable":16,"nextDelivery":"周三","manager":null}
材料问答 3 · 默认思考 · 通过

2026-10-18T01:55:35.680Z · 总耗时:1.044s · 正文首响:1.020s · 输入 / 总输出 / 思考 token:130 / 58 / 43 · 结束原因:stop

题目

只根据以下材料回答。输出恰好包含 usable、nextDelivery、manager 三个字段的 JSON 对象,不要额外文字。usable 是可用件数(数字),nextDelivery 是下一次送货时间(字符串),材料未说明的信息用 null,不能猜测。
材料:东区仓库今天收到 18 件货物,其中 6 件损坏,不可使用。下一次送货安排在周四。仓库负责人姓名没有记载。旧计划曾写周日,已作废。

原始回答

{"usable":12,"nextDelivery":"周四","manager":null}
材料问答 3 · 关闭思考 · 通过

2026-10-18T01:55:36.726Z · 总耗时:0.819s · 正文首响:0.661s · 输入 / 总输出 / 思考 token:104 / 14 / — · 结束原因:stop

题目

只根据以下材料回答。输出恰好包含 usable、nextDelivery、manager 三个字段的 JSON 对象,不要额外文字。usable 是可用件数(数字),nextDelivery 是下一次送货时间(字符串),材料未说明的信息用 null,不能猜测。
材料:东区仓库今天收到 18 件货物,其中 6 件损坏,不可使用。下一次送货安排在周四。仓库负责人姓名没有记载。旧计划曾写周日,已作废。

原始回答

{"usable":12,"nextDelivery":"周四","manager":null}
材料问答 4 · 关闭思考 · 通过

2026-10-18T01:55:37.546Z · 总耗时:1.166s · 正文首响:1.022s · 输入 / 总输出 / 思考 token:104 / 14 / — · 结束原因:stop

题目

只根据以下材料回答。输出恰好包含 usable、nextDelivery、manager 三个字段的 JSON 对象,不要额外文字。usable 是可用件数(数字),nextDelivery 是下一次送货时间(字符串),材料未说明的信息用 null,不能猜测。
材料:西区仓库今天收到 25 件货物,其中 5 件损坏,不可使用。下一次送货安排在周五。仓库负责人姓名没有记载。旧计划曾写周日,已作废。

原始回答

{"usable":20,"nextDelivery":"周五","manager":null}
材料问答 4 · 默认思考 · 通过

2026-10-18T01:55:38.713Z · 总耗时:1.136s · 正文首响:1.113s · 输入 / 总输出 / 思考 token:130 / 67 / 52 · 结束原因:stop

题目

只根据以下材料回答。输出恰好包含 usable、nextDelivery、manager 三个字段的 JSON 对象,不要额外文字。usable 是可用件数(数字),nextDelivery 是下一次送货时间(字符串),材料未说明的信息用 null,不能猜测。
材料:西区仓库今天收到 25 件货物,其中 5 件损坏,不可使用。下一次送货安排在周五。仓库负责人姓名没有记载。旧计划曾写周日,已作废。

原始回答

{"usable":20,"nextDelivery":"周五","manager":null}
材料问答 5 · 默认思考 · 通过

2026-10-18T01:55:39.850Z · 总耗时:2.686s · 正文首响:2.672s · 输入 / 总输出 / 思考 token:130 / 103 / 88 · 结束原因:stop

题目

只根据以下材料回答。输出恰好包含 usable、nextDelivery、manager 三个字段的 JSON 对象,不要额外文字。usable 是可用件数(数字),nextDelivery 是下一次送货时间(字符串),材料未说明的信息用 null,不能猜测。
材料:中区仓库今天收到 16 件货物,其中 2 件损坏,不可使用。下一次送货安排在周一。仓库负责人姓名没有记载。旧计划曾写周日,已作废。

原始回答

{"usable":14,"nextDelivery":"周一","manager":null}
材料问答 5 · 关闭思考 · 通过

2026-10-18T01:55:42.538Z · 总耗时:0.887s · 正文首响:0.772s · 输入 / 总输出 / 思考 token:104 / 14 / — · 结束原因:stop

题目

只根据以下材料回答。输出恰好包含 usable、nextDelivery、manager 三个字段的 JSON 对象,不要额外文字。usable 是可用件数(数字),nextDelivery 是下一次送货时间(字符串),材料未说明的信息用 null,不能猜测。
材料:中区仓库今天收到 16 件货物,其中 2 件损坏,不可使用。下一次送货安排在周一。仓库负责人姓名没有记载。旧计划曾写周日,已作废。

原始回答

{"usable":14,"nextDelivery":"周一","manager":null}
金额转换:拒绝非法输入,避免浮点误差 · 关闭思考 · 未通过 · 18 项预定检查

2026-10-18T01:55:43.425Z · 总耗时:1.034s · 正文首响:0.938s · 结束原因:stop

输入 / 总输出 / 思考 token:106 / 141 / —

题目

写 JavaScript 函数 parseCents(value)。value 必须是字符串:允许两端空白;只接受非负十进制金额,整数部分至少一位,小数最多两位;拒绝指数写法、符号、千分位、Infinity、空串、超过两位小数。返回整数分数,超过 Number.MAX_SAFE_INTEGER 则返回 null。非法类型或格式返回 null。不能把非法值四舍五入成合法值。只输出函数代码,不要 Markdown 或解释。

原始代码

function parseCents(value) {
  if (typeof value !== "string") return null;
  const s = value.trim();
  if (s === "") return null;
  if (!/^(?:0|[1-9]\d*)(?:\.\d{1,2})?$/.test(s)) return null;
  const parts = s.split(".");
  const whole = parts[0];
  const frac = parts[1] || "";
  const centsStr = whole + (frac + "00").slice(0, 2);
  const cents = Number(centsStr);
  if (!Number.isSafeInteger(cents)) return null;
  return cents;
}

可执行检查

const cases=[['0',0],[' 12.30 ',1230],['0.29',29],['1.2',120],['0001.02',102],['1.234',null],['-1',null],['+1',null],['1e3',null],['',null],['.5',null],['1.',null],['Infinity',null],['1,000',null],[null,null],[1,null],['90071992547409.91',9007199254740991],['90071992547409.92',null]]; for (const [input,want] of cases) if(parseCents(input)!==want) throw Error('Failed '+JSON.stringify(input));

Failed "0001.02"

金额转换:拒绝非法输入,避免浮点误差 · 默认思考 · 输出截断,未执行检查 · 18 项预定检查

2026-10-18T01:55:44.464Z · 总耗时:18.646s · 正文首响:— · 结束原因:length

输入 / 总输出 / 思考 token:132 / 4096 / 4096

题目

写 JavaScript 函数 parseCents(value)。value 必须是字符串:允许两端空白;只接受非负十进制金额,整数部分至少一位,小数最多两位;拒绝指数写法、符号、千分位、Infinity、空串、超过两位小数。返回整数分数,超过 Number.MAX_SAFE_INTEGER 则返回 null。非法类型或格式返回 null。不能把非法值四舍五入成合法值。只输出函数代码,不要 Markdown 或解释。

原始代码

可执行检查

const cases=[['0',0],[' 12.30 ',1230],['0.29',29],['1.2',120],['0001.02',102],['1.234',null],['-1',null],['+1',null],['1e3',null],['',null],['.5',null],['1.',null],['Infinity',null],['1,000',null],[null,null],[1,null],['90071992547409.91',9007199254740991],['90071992547409.92',null]]; for (const [input,want] of cases) if(parseCents(input)!==want) throw Error('Failed '+JSON.stringify(input));

Incomplete response; checks not run

保序去重:安全处理特殊键且不修改输入 · 默认思考 · 通过 · 3 项预定检查

2026-10-18T01:56:03.112Z · 总耗时:1.421s · 正文首响:1.263s · 结束原因:stop

输入 / 总输出 / 思考 token:102 / 228 / 164

题目

写 JavaScript 函数 uniqueById(items)。items 是对象数组,每个对象有字符串 id 字段。保留每个 id 首次出现的原对象和原顺序,不修改输入或任何对象;空数组返回空数组。id 可为 __proto__、constructor 或空字符串。只输出函数代码,不要 Markdown 或解释。

原始代码

function uniqueById(items) {
  const seen = new Map();
  const result = [];
  for (const item of items) {
    const id = item.id;
    if (!seen.has(id)) {
      seen.set(id, true);
      result.push(item);
    }
  }
  return result;
}

可执行检查

const a={id:'__proto__',value:1},b={id:'constructor'},c={id:''},d={id:'x'};const input=Object.freeze([a,b,{id:'__proto__'},c,{id:''},d,{id:'constructor'}]);const got=uniqueById(input);if(got.length!==4||got[0]!==a||got[1]!==b||got[2]!==c||got[3]!==d)throw Error('Wrong identity or order');if(uniqueById([]).length!==0)throw Error('Empty');if(input.length!==7||a.value!==1)throw Error('Mutation');
保序去重:安全处理特殊键且不修改输入 · 关闭思考 · 通过 · 3 项预定检查

2026-10-18T01:56:04.536Z · 总耗时:0.633s · 正文首响:0.528s · 结束原因:stop

输入 / 总输出 / 思考 token:76 / 61 / —

题目

写 JavaScript 函数 uniqueById(items)。items 是对象数组,每个对象有字符串 id 字段。保留每个 id 首次出现的原对象和原顺序,不修改输入或任何对象;空数组返回空数组。id 可为 __proto__、constructor 或空字符串。只输出函数代码,不要 Markdown 或解释。

原始代码

function uniqueById(items) {
  const seen = new Set();
  const result = [];
  for (const item of items) {
    const id = item.id;
    if (!seen.has(id)) {
      seen.add(id);
      result.push(item);
    }
  }
  return result;
}

可执行检查

const a={id:'__proto__',value:1},b={id:'constructor'},c={id:''},d={id:'x'};const input=Object.freeze([a,b,{id:'__proto__'},c,{id:''},d,{id:'constructor'}]);const got=uniqueById(input);if(got.length!==4||got[0]!==a||got[1]!==b||got[2]!==c||got[3]!==d)throw Error('Wrong identity or order');if(uniqueById([]).length!==0)throw Error('Empty');if(input.length!==7||a.value!==1)throw Error('Mutation');
区间合并:乱序、相邻区间与输入不可变 · 关闭思考 · 通过 · 5 项预定检查

2026-10-18T01:56:05.173Z · 总耗时:1.370s · 正文首响:0.826s · 结束原因:stop

输入 / 总输出 / 思考 token:81 / 178 / —

题目

写 JavaScript 函数 mergeIntervals(intervals)。输入为有限数字组成的闭区间 [start,end] 数组,保证 start<=end,输入可能乱序。返回按 start 排序的合并闭区间,相接区间也合并;不要修改输入或任何内层数组,空数组返回空数组。只输出函数代码,不要 Markdown 或解释。

原始代码

function mergeIntervals(intervals) {
  if (!Array.isArray(intervals) || intervals.length === 0) return [];
  const sorted = intervals
    .map(([start, end]) => [start, end])
    .sort((a, b) => a[0] - b[0] || a[1] - b[1]);
  const result = [];
  for (const [start, end] of sorted) {
    if (result.length === 0) {
      result.push([start, end]);
    } else {
      const last = result[result.length - 1];
      if (start <= last[1]) {
        if (end > last[1]) last[1] = end;
      } else {
        result.push([start, end]);
      }
    }
  }
  return result;
}

可执行检查

const cases=[[[[5,7],[1,3],[3,5]],[[1,7]]],[[[1,4],[2,3]],[[1,4]]],[[[0,0],[2,2]],[[0,0],[2,2]]],[[[-3,-1],[-2,0],[3,4]],[[-3,0],[3,4]]],[[],[]]];for(const [input,want] of cases){input.forEach(Object.freeze);Object.freeze(input);if(JSON.stringify(mergeIntervals(input))!==JSON.stringify(want))throw Error('Wrong merge');}
区间合并:乱序、相邻区间与输入不可变 · 默认思考 · 通过 · 5 项预定检查

2026-10-18T01:56:06.547Z · 总耗时:3.999s · 正文首响:3.507s · 结束原因:stop

输入 / 总输出 / 思考 token:107 / 777 / 605

题目

写 JavaScript 函数 mergeIntervals(intervals)。输入为有限数字组成的闭区间 [start,end] 数组,保证 start<=end,输入可能乱序。返回按 start 排序的合并闭区间,相接区间也合并;不要修改输入或任何内层数组,空数组返回空数组。只输出函数代码,不要 Markdown 或解释。

原始代码

function mergeIntervals(intervals) {
  if (intervals.length === 0) return [];

  const sorted = intervals
    .map(([start, end]) => [start, end])
    .sort((a, b) => a[0] - b[0] || a[1] - b[1]);

  const merged = [];

  for (const [start, end] of sorted) {
    if (merged.length === 0) {
      merged.push([start, end]);
    } else {
      const last = merged[merged.length - 1];
      if (start <= last[1]) {
        if (end > last[1]) last[1] = end;
      } else {
        merged.push([start, end]);
      }
    }
  }

  return merged;
}

可执行检查

const cases=[[[[5,7],[1,3],[3,5]],[[1,7]]],[[[1,4],[2,3]],[[1,4]]],[[[0,0],[2,2]],[[0,0],[2,2]]],[[[-3,-1],[-2,0],[3,4]],[[-3,0],[3,4]]],[[],[]]];for(const [input,want] of cases){input.forEach(Object.freeze);Object.freeze(input);if(JSON.stringify(mergeIntervals(input))!==JSON.stringify(want))throw Error('Wrong merge');}