DeepSeek V4.1 Flash 1017 review: text, code and SVG

DeepSeek V4.1 Flash 1017 updates DeepSeek's multimodal model, with improvements in coding, tool use and task efficiency.

Updated: 2026-11-02

What is DeepSeek V4.1 Flash 1017?

Released on October 17, 2026, this update retains the deepseek-flash API name. DeepSeek highlights gains in software development, tool tasks and visual understanding, with shorter task runtimes and outputs. Official source

deepseek official brand mark
DeepSeek

What did we test, and how did it perform?

This review covers 30 text and six code requests from October 18, plus later SVG drawing and cycling-animation tests.

Short text tasks are reliable, and code and drawings reach usable forms. The main issues are function edge cases, layout and animation joints. Some higher-thinking outputs are more complete, with retries and larger budgets also involved.

SVG drawings and animation

Four static drawing tasks and a four-second cycling animation, grouped by the requested thinking setting.

Pelican riding a bicycle

Thinking off · 1 request(s)
Pelican riding a bicycle · disabled

The bird, bicycle and two wheels are recognizable, but the bill is short, feet float above the pedals and the wings do not reach the handlebar. Rider-to-bike relationships are weak.

Thinking on · default · 1 request(s)
Pelican riding a bicycle · default

The long bill, pouch and riding pose are recognizable. The frame connects both wheels, the wing reaches the handlebar and the feet sit near the pedals.

Thinking on · low · 1 request(s)
Pelican riding a bicycle · low

The long bill and large pouch are recognizable, with a connected frame, fork and two wheels and feet near the crank. The body and wings look mechanical and the grip and riding posture are stiff.

Thinking on · max · 3 request(s)
Pelican riding a bicycle · max

The pouch, wings and green bicycle frame are clearly layered, with two wheels, fork and crank. The body is stretched horizontally, with a simplified tail and rear mudguard.

Prompts, parameters and attempt records

Thinking off

The bird, bicycle and two wheels are recognizable, but the bill is short, feet float above the pedals and the wings do not reach the handlebar. Rider-to-bike relationships are weak.

2026-10-20 · Recorded request time: 6.50s · This output 2167 token · Token limit 12288

Full request record · SVG

Exact prompt
Generate an SVG of a pelican riding a bicycle

Thinking on · default

The long bill, pouch and riding pose are recognizable. The frame connects both wheels, the wing reaches the handlebar and the feet sit near the pedals. Background detail is richer; this is a single-image observation, not a reliability estimate.

2026-10-20 · Recorded request time: 27.40s · This output 8035 token · Token limit 12288

Full request record · SVG

Exact prompt
Generate an SVG of a pelican riding a bicycle

Thinking on · low

The long bill and large pouch are recognizable, with a connected frame, fork and two wheels and feet near the crank. The body and wings look mechanical and the grip and riding posture are stiff.

2026-10-21 · Recorded request time: 24.45s · This output 7828 token · Token limit 12288

Full request record · SVG

Exact prompt
Generate an SVG of a pelican riding a bicycle

Thinking on · max

The pouch, wings and green bicycle frame are clearly layered, with two wheels, fork and crank. The body is stretched horizontally, with a simplified tail and rear mudguard. Completion required a larger budget after truncation, so this does not establish superiority to low at equal budget.

2026-10-21 · Recorded request time: ≥ 70.09s · This output 9402 token · Token limit 32768

Full request record · 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.
Exact prompt
Generate an SVG of a pelican riding a bicycle

An analog clock at 9:41

Thinking off · 2 request(s)
An analog clock at 9:41 · disabled

Retry produces valid XML. The hour hand is about 290.42° and minute hand about 246.00°, close to 9:41.

Thinking on · default · 1 request(s)
An analog clock at 9:41 · default

All twelve numerals are present in order. Source geometry confirms a shorter hour hand at 290.5° and a longer minute hand at 246°, matching 9:41.

Thinking on · low · 1 request(s)
An analog clock at 9:41 · low

Source uses exact 290.5° / 246° rotations with a shorter hour hand, all twelve numerals and the 09:41 label. Layout is clean; the minute-hand tip sits near the numeral 8.

Thinking on · max · 1 request(s)
An analog clock at 9:41 · max

The source uses 290.5° and 246° hand rotations with the correct length relationship. All twelve numerals, fine ticks and the time label are clearly arranged.

Prompts, parameters and attempt records

Thinking off

Retry produces valid XML. The hour hand is about 290.42° and minute hand about 246.00°, close to 9:41. Numerals such as 3 and 9 touch the dial edge, and tick spacing is uneven. The original duplicate-attribute failure remains below.

2026-10-21 · Recorded request time: 10.08s · This output 1792 token · Token limit 12288

Full request record · SVG

  1. #1 · 2026-10-20T07:06:52.415Z · done · 4.8s · ParseError: duplicate attribute: line 56, column 8
Exact prompt
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.

Thinking on · default

All twelve numerals are present in order. Source geometry confirms a shorter hour hand at 290.5° and a longer minute hand at 246°, matching 9:41. The time label is readable, but a decorative underline at y=600 is clipped at the canvas edge.

2026-10-20 · Recorded request time: 29.32s · This output 8715 token · Token limit 12288

Full request record · SVG

Exact prompt
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.

Thinking on · low

Source uses exact 290.5° / 246° rotations with a shorter hour hand, all twelve numerals and the 09:41 label. Layout is clean; the minute-hand tip sits near the numeral 8.

2026-10-21 · Recorded request time: 25.40s · This output 8331 token · Token limit 12288

Full request record · SVG

Exact prompt
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.

Thinking on · max

The source uses 290.5° and 246° hand rotations with the correct length relationship. All twelve numerals, fine ticks and the time label are clearly arranged.

2026-10-21 · Recorded request time: 30.95s · This output 9800 token · Token limit 12288

Full request record · SVG

Exact prompt
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.

Data chart and proportional bars

Thinking off · 1 request(s)
Data chart and proportional bars · disabled

All bars share baseline y=460, with heights 128, 256, 192 and 320 in the correct ratio. Q1–Q4, bar values, 0/10/20/30 ticks and both summaries are present without obvious overlap.

Thinking on · default · 1 request(s)
Data chart and proportional bars · default

All bars share baseline y=470, with heights 120, 240, 180 and 300 in the correct ratio. Ticks, quarters, values, Total: 84 and Best: Q4 are readable.

Thinking on · low · 1 request(s)
Data chart and proportional bars · low

All bars share y=480, with heights 128 / 256 / 192 / 320 in the correct ratio. Values, ticks, Total: 84 and Best: Q4 are present with no obvious overlaps.

Thinking on · max · 2 request(s)
Data chart and proportional bars · max

The first attempt was truncated; a larger-budget retry completed. Bars share y=480 with heights 120 / 240 / 180 / 300.

Prompts, parameters and attempt records

Thinking off

All bars share baseline y=460, with heights 128, 256, 192 and 320 in the correct ratio. Q1–Q4, bar values, 0/10/20/30 ticks and both summaries are present without obvious overlap.

2026-10-20 · Recorded request time: 6.34s · This output 2140 token · Token limit 12288

Full request record · SVG

Exact prompt
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.

Thinking on · default

All bars share baseline y=470, with heights 120, 240, 180 and 300 in the correct ratio. Ticks, quarters, values, Total: 84 and Best: Q4 are readable. The model adds an unspecified $k unit; its provenance would need checking in a real business chart.

2026-10-20 · Recorded request time: 28.67s · This output 7221 token · Token limit 12288

Full request record · SVG

Exact prompt
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.

Thinking on · low

All bars share y=480, with heights 128 / 256 / 192 / 320 in the correct ratio. Values, ticks, Total: 84 and Best: Q4 are present with no obvious overlaps.

2026-10-21 · Recorded request time: 25.50s · This output 8905 token · Token limit 12288

Full request record · SVG

Exact prompt
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.

Thinking on · max

The first attempt was truncated; a larger-budget retry completed. Bars share y=480 with heights 120 / 240 / 180 / 300. Values, ticks and summaries are correct, with clear card sections.

2026-10-21 · Recorded request time: 90.78s · This output 10202 token · Token limit 32768

Full request record · SVG

  1. #1 · 2026-10-21T11:37:52.911Z · truncated · 52.0s · No complete SVG in the original response
Exact prompt
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.

Chinese poster and layout constraints

Thinking off · 1 request(s)
Chinese poster and layout constraints · disabled

Each of the six exact Chinese strings appears once, but the bottom of the bicycle wheels overlaps the top of the heading. The note is also pale.

Thinking on · default · 1 request(s)
Chinese poster and layout constraints · default

Each of the six exact Chinese strings appears once, with clear heading, event-detail and note hierarchy. The bicycle is separated from the text.

Thinking on · low · 1 request(s)
Chinese poster and layout constraints · low

All six required Chinese strings appear once. The bicycle icon and text blocks are separated without obvious overlap.

Thinking on · max · 1 request(s)
Chinese poster and layout constraints · max

All six Chinese strings match exactly and appear once. The heading, details and button have clear hierarchy.

Prompts, parameters and attempt records

Thinking off

Each of the six exact Chinese strings appears once, but the bottom of the bicycle wheels overlaps the top of the heading. The note is also pale. Complete text does not mean every layout constraint is satisfied.

2026-10-20 · Recorded request time: 4.46s · This output 1348 token · Token limit 12288

Full request record · SVG

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

Thinking on · default

Each of the six exact Chinese strings appears once, with clear heading, event-detail and note hierarchy. The bicycle is separated from the text. The smallest note is pale, leaving room to improve small-screen contrast.

2026-10-20 · Recorded request time: 28.25s · This output 6417 token · Token limit 12288

Full request record · SVG

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

Thinking on · low

All six required Chinese strings appear once. The bicycle icon and text blocks are separated without obvious overlap. The small, pale explanatory line benefits from zooming on a phone.

2026-10-21 · Recorded request time: 38.55s · This output 9506 token · Token limit 12288

Full request record · SVG

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

Thinking on · max

All six Chinese strings match exactly and appear once. The heading, details and button have clear hierarchy. Card styling and shadows are detailed, though the explanatory line remains small and pale.

2026-10-21 · Recorded request time: 47.76s · This output 12208 token · Token limit 12288

Full request record · SVG

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

Cycling pelican · 4-second animation

Thinking off · 1 request(s)
Cycling pelican · 4-second animation · disabled

The spokes and crank visibly move, and the bird and two-wheel frame are recognizable. However, the legs rotate as one object around the crank, detached from the bird and sometimes approaching the ground.

Thinking on · default · 3 request(s)
Cycling pelican · 4-second animation · default

The first two supplemental attempts were truncated; the third completed. Spokes, crank and legs move together, with connected legs in four inspected frames, unlike the detached rigid rotation in this off sample.

Thinking on · low · 36 request(s)
Cycling pelican · 4-second animation · low

The successful request took about 87 seconds. Spokes, crank and legs move continuously; pedals stay connected to the legs in inspected frames, and the wing reaches the handlebar.

Thinking on · max · 2 request(s)
Cycling pelican · 4-second animation · max

Spokes, crank and legs remain coherent in four inspected frames, with a recognizable bill and pouch and a clear handlebar connection. Leg bending still looks mechanical.

Prompts, parameters and attempt records

Thinking off

The spokes and crank visibly move, and the bird and two-wheel frame are recognizable. However, the legs rotate as one object around the crank, detached from the bird and sometimes approaching the ground. Playable animation does not imply correct pedaling mechanics.

2026-10-21 · Recorded request time: 10.31s · This output 3551 token · Token limit 12288

Full request record · SVG · WebP

Exact prompt
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.

Thinking on · default

The first two supplemental attempts were truncated; the third completed. Spokes, crank and legs move together, with connected legs in four inspected frames, unlike the detached rigid rotation in this off sample. The bird is visually simple. This is qualitative observation, not a physics simulation validation.

2026-10-21 · Recorded request time: 274.82s · This output 26122 token · Token limit 32768

Full request record · 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
Exact prompt
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.

Thinking on · low

The successful request took about 87 seconds. Spokes, crank and legs move continuously; pedals stay connected to the legs in inspected frames, and the wing reaches the handlebar. The pouch is mostly an outline. Many prior failures were connection errors or timeouts, not repeated drawing mistakes by low effort.

2026-10-21 · Recorded request time: 3077.42s · This output 22933 token · Token limit 32768

Full request record · 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
Exact prompt
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.

Thinking on · max

Spokes, crank and legs remain coherent in four inspected frames, with a recognizable bill and pouch and a clear handlebar connection. Leg bending still looks mechanical. A higher-budget retry followed initial truncation; this more complete example does not establish that max is always better.

2026-10-21 · Recorded request time: 186.85s · This output 30297 token · Token limit 32768

Full request record · SVG · WebP

  1. #1 · 2026-10-21T15:04:08.452Z · truncated · 59.1s · No complete SVG in the original response
Exact prompt
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.
Test settings and data

DeepSeek defaults to thinking on at high effort; low and max are explicit supplemental settings. Temperature 0 is ignored in thinking mode. Default/off originals are from October 20; supplemental runs are from October 21. deepseek-flash remains a mutable alias, not a pinned checkpoint.

New requests use a 600-second timeout and 12,288 output tokens; up to 65,536 for repeated DeepSeek truncation.

Animations are captured without source edits at 10 fps for four seconds. Click to play; click again to pause.

54 request records · Timeouts / interruptions / truncations: 3 / 1 / 6

Complete data · Official API documentation

Original first responses, prompts and parameters

Official benchmark figures

Official 1017 benchmark comparison

Official 1017 benchmark comparison

Eleven vendor-reported benchmarks. Read the HLE text-only subset marker, Claude Code harness for Terminal-Bench 4.0, mini-swe-v2 for DeepSWE, and Pass@5 for ZeroBench-main alongside the table.

DeepSeek · Source · Original image

More official figures · 1

DeepSWE v1.1: performance versus cost per task

DeepSWE v1.1: performance versus cost per task

The vendor plots DeepSWE v1.1 Pass@1 against cost per task using mini-swe-v2. This depends on the harness and pricing assumptions, and is not the cost of our SVG tests or a general value ranking.

DeepSeek · Source · Original image

Chart sources and evaluation conditions

These two original figures come from DeepSeek’s October 17 release page for 1017, retaining footnotes, axes and labels. Copyright remains with DeepSeek. TOKRACE has not independently reproduced these benchmarks; the vendor’s tasks, harnesses, sampling and cost definitions differ from our SVG tests.

Test details, original answers and sources

Original testing and analysis by TOKRACE · Text/code: October 18, 2026; first visual tasks: October 20; supplemental tests: October 21, 2026.

Original prompts, answers and checks

Download all 36 attempts (JSON)

Contact extraction 1 · Default thinking · Passed

2026-10-18T01:55:12.653Z · Total time:1.421s · First content:1.293s · Input / total completion / reasoning tokens:105 / 136 / 117 · Finish reason:stop

Prompt

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

Original answer

{"name":"林桐","age":28,"city":"杭州","email":null}
Contact extraction 1 · Thinking disabled · Passed

2026-10-18T01:55:14.076Z · Total time:0.764s · First content:0.646s · Input / total completion / reasoning tokens:79 / 18 / — · Finish reason:stop

Prompt

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

Original answer

{"name":"林桐","age":28,"city":"杭州","email":null}
Contact extraction 2 · Thinking disabled · Passed

2026-10-18T01:55:14.841Z · Total time:0.658s · First content:0.513s · Input / total completion / reasoning tokens:81 / 20 / — · Finish reason:stop

Prompt

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

Original answer

{"name":"李明","age":36,"city":"成都","email":"li@example.test"}
Contact extraction 2 · Default thinking · Passed

2026-10-18T01:55:15.500Z · Total time:1.153s · First content:1.106s · Input / total completion / reasoning tokens:107 / 68 / 47 · Finish reason:stop

Prompt

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

Original answer

{"name":"李明","age":36,"city":"成都","email":"li@example.test"}
Contact extraction 3 · Default thinking · Passed

2026-10-18T01:55:16.653Z · Total time:0.827s · First content:0.777s · Input / total completion / reasoning tokens:105 / 66 / 47 · Finish reason:stop

Prompt

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

Original answer

{"name":"陈夏","age":22,"city":"南京","email":null}
Contact extraction 3 · Thinking disabled · Passed

2026-10-18T01:55:17.481Z · Total time:0.675s · First content:0.577s · Input / total completion / reasoning tokens:79 / 18 / — · Finish reason:stop

Prompt

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

Original answer

{"name":"陈夏","age":22,"city":"南京","email":null}
Contact extraction 4 · Thinking disabled · Passed

2026-10-18T01:55:18.157Z · Total time:0.588s · First content:0.487s · Input / total completion / reasoning tokens:83 / 21 / — · Finish reason:stop

Prompt

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

Original answer

{"name":"周舟","age":41,"city":"苏州","email":"zhou@example.test"}
Contact extraction 4 · Default thinking · Passed

2026-10-18T01:55:18.747Z · Total time:1.334s · First content:1.255s · Input / total completion / reasoning tokens:109 / 103 / 81 · Finish reason:stop

Prompt

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

Original answer

{"name":"周舟","age":41,"city":"苏州","email":"zhou@example.test"}
Contact extraction 5 · Default thinking · Passed

2026-10-18T01:55:20.082Z · Total time:0.795s · First content:0.734s · Input / total completion / reasoning tokens:105 / 63 / 44 · Finish reason:stop

Prompt

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

Original answer

{"name":"吴雨","age":30,"city":"武汉","email":null}
Contact extraction 5 · Thinking disabled · Passed

2026-10-18T01:55:20.879Z · Total time:0.766s · First content:0.575s · Input / total completion / reasoning tokens:79 / 18 / — · Finish reason:stop

Prompt

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

Original answer

{"name":"吴雨","age":30,"city":"武汉","email":null}
Stable deduplication · Thinking disabled · Passed

2026-10-18T01:55:21.645Z · Total time:0.701s · First content:0.655s · Input / total completion / reasoning tokens:44 / 8 / — · Finish reason:stop

Prompt

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

Original answer

B2,A1,C3,D4
Stable deduplication · Default thinking · Passed

2026-10-18T01:55:22.347Z · Total time:1.199s · First content:1.169s · Input / total completion / reasoning tokens:70 / 49 / 40 · Finish reason:stop

Prompt

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

Original answer

B2,A1,C3,D4
Exact fields · Default thinking · Passed

2026-10-18T01:55:23.547Z · Total time:1.046s · First content:1.019s · Input / total completion / reasoning tokens:73 / 39 / 29 · Finish reason:stop

Prompt

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

Original answer

{"status":"ready","count":3}
Exact fields · Thinking disabled · Passed

2026-10-18T01:55:24.595Z · Total time:0.841s · First content:0.816s · Input / total completion / reasoning tokens:47 / 9 / — · Finish reason:stop

Prompt

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

Original answer

{"status":"ready","count":3}
Ordered output · Thinking disabled · Passed

2026-10-18T01:55:25.437Z · Total time:0.780s · First content:0.674s · Input / total completion / reasoning tokens:36 / 9 / — · Finish reason:stop

Prompt

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

Original answer

[3,8,12,25]
Ordered output · Default thinking · Passed

2026-10-18T01:55:26.217Z · Total time:1.106s · First content:1.053s · Input / total completion / reasoning tokens:62 / 47 / 37 · Finish reason:stop

Prompt

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

Original answer

[3,8,12,25]
Case and line breaks · Default thinking · Passed

2026-10-18T01:55:27.325Z · Total time:1.058s · First content:1.053s · Input / total completion / reasoning tokens:66 / 37 / 28 · Finish reason:stop

Prompt

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

Original answer

APPLE
PEAR
PLUM
Case and line breaks · Thinking disabled · Passed

2026-10-18T01:55:28.383Z · Total time:0.838s · First content:0.716s · Input / total completion / reasoning tokens:40 / 8 / — · Finish reason:stop

Prompt

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

Original answer

APPLE
PEAR
PLUM
Required delimiter · Thinking disabled · Passed

2026-10-18T01:55:29.221Z · Total time:0.628s · First content:0.515s · Input / total completion / reasoning tokens:54 / 11 / — · Finish reason:stop

Prompt

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

Original answer

TX-103|TX-207|TX-309
Required delimiter · Default thinking · Passed

2026-10-18T01:55:29.850Z · Total time:1.476s · First content:1.471s · Input / total completion / reasoning tokens:80 / 84 / 72 · Finish reason:stop

Prompt

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

Original answer

TX-103|TX-207|TX-309
Grounded question answering 1 · Default thinking · Passed

2026-10-18T01:55:31.328Z · Total time:1.336s · First content:1.334s · Input / total completion / reasoning tokens:130 / 95 / 80 · Finish reason:stop

Prompt

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

Original answer

{"usable":9,"nextDelivery":"周二","manager":null}
Grounded question answering 1 · Thinking disabled · Passed

2026-10-18T01:55:32.665Z · Total time:0.870s · First content:0.866s · Input / total completion / reasoning tokens:104 / 14 / — · Finish reason:stop

Prompt

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

Original answer

{"usable":9,"nextDelivery":"周二","manager":null}
Grounded question answering 2 · Thinking disabled · Passed

2026-10-18T01:55:33.537Z · Total time:0.826s · First content:0.697s · Input / total completion / reasoning tokens:103 / 18 / — · Finish reason:stop

Prompt

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

Original answer

{"usable": 16, "nextDelivery": "周三", "manager": null}
Grounded question answering 2 · Default thinking · Passed

2026-10-18T01:55:34.364Z · Total time:1.315s · First content:1.260s · Input / total completion / reasoning tokens:129 / 130 / 115 · Finish reason:stop

Prompt

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

Original answer

{"usable":16,"nextDelivery":"周三","manager":null}
Grounded question answering 3 · Default thinking · Passed

2026-10-18T01:55:35.680Z · Total time:1.044s · First content:1.020s · Input / total completion / reasoning tokens:130 / 58 / 43 · Finish reason:stop

Prompt

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

Original answer

{"usable":12,"nextDelivery":"周四","manager":null}
Grounded question answering 3 · Thinking disabled · Passed

2026-10-18T01:55:36.726Z · Total time:0.819s · First content:0.661s · Input / total completion / reasoning tokens:104 / 14 / — · Finish reason:stop

Prompt

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

Original answer

{"usable":12,"nextDelivery":"周四","manager":null}
Grounded question answering 4 · Thinking disabled · Passed

2026-10-18T01:55:37.546Z · Total time:1.166s · First content:1.022s · Input / total completion / reasoning tokens:104 / 14 / — · Finish reason:stop

Prompt

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

Original answer

{"usable":20,"nextDelivery":"周五","manager":null}
Grounded question answering 4 · Default thinking · Passed

2026-10-18T01:55:38.713Z · Total time:1.136s · First content:1.113s · Input / total completion / reasoning tokens:130 / 67 / 52 · Finish reason:stop

Prompt

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

Original answer

{"usable":20,"nextDelivery":"周五","manager":null}
Grounded question answering 5 · Default thinking · Passed

2026-10-18T01:55:39.850Z · Total time:2.686s · First content:2.672s · Input / total completion / reasoning tokens:130 / 103 / 88 · Finish reason:stop

Prompt

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

Original answer

{"usable":14,"nextDelivery":"周一","manager":null}
Grounded question answering 5 · Thinking disabled · Passed

2026-10-18T01:55:42.538Z · Total time:0.887s · First content:0.772s · Input / total completion / reasoning tokens:104 / 14 / — · Finish reason:stop

Prompt

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

Original answer

{"usable":14,"nextDelivery":"周一","manager":null}
Money parsing without rounding invalid inputs · Thinking disabled · Not passed · 18 planned checks

2026-10-18T01:55:43.425Z · Total time:1.034s · First content:0.938s · Finish reason:stop

Input / total completion / reasoning tokens:106 / 141 / —

Prompt

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

Original code

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;
}

Executable checks

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"

Money parsing without rounding invalid inputs · Default thinking · Truncated; checks not run · 18 planned checks

2026-10-18T01:55:44.464Z · Total time:18.646s · First content:— · Finish reason:length

Input / total completion / reasoning tokens:132 / 4096 / 4096

Prompt

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

Original code

Executable checks

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

Stable deduplication with special property names · Default thinking · Passed · 3 planned checks

2026-10-18T01:56:03.112Z · Total time:1.421s · First content:1.263s · Finish reason:stop

Input / total completion / reasoning tokens:102 / 228 / 164

Prompt

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

Original code

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;
}

Executable checks

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');
Stable deduplication with special property names · Thinking disabled · Passed · 3 planned checks

2026-10-18T01:56:04.536Z · Total time:0.633s · First content:0.528s · Finish reason:stop

Input / total completion / reasoning tokens:76 / 61 / —

Prompt

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

Original code

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;
}

Executable checks

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');
Interval merging, touching intervals and immutability · Thinking disabled · Passed · 5 planned checks

2026-10-18T01:56:05.173Z · Total time:1.370s · First content:0.826s · Finish reason:stop

Input / total completion / reasoning tokens:81 / 178 / —

Prompt

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

Original code

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;
}

Executable checks

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');}
Interval merging, touching intervals and immutability · Default thinking · Passed · 5 planned checks

2026-10-18T01:56:06.547Z · Total time:3.999s · First content:3.507s · Finish reason:stop

Input / total completion / reasoning tokens:107 / 777 / 605

Prompt

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

Original code

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;
}

Executable checks

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');}