Skip to content

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

deepcode-qrcode-benchmark

中文说明

A small, reproducible benchmark showing how Deep Code + DeepSeek + /plan mode produced better results than Claude Code + DeepSeek in this repository on a real and difficult Python requirement.

This task was not a demo example. It was a relatively complete engineering problem: implement a QR code recognition algorithm using only the Python standard library, Pillow (PIL), and numpy, and make it pass the image test cases in this repository.

Benchmark Summary

Agent setup Submitted solution Result on image fixtures
Deep Code + DeepSeek + /plan mode deepcode_solution/qrdecoder.py Passed all 4 images
Claude Code + DeepSeek claudecode_solution/qrcode_decoder.py Returned None for all 4 images

This is not a general leaderboard. It is a concrete record for a single difficult software-engineering requirement. The code, test images, and Deep Code session transcript are kept in the repository for review and reproduction.

Original Task

Write a QR code recognition algorithm in Python, depending only on the standard library + PIL + numpy, and make it pass the provided image test cases.

The implementation scope confirmed during the Deep Code run was:

  • support QR Code versions 1-6
  • output decoded text only
  • use Byte mode as the main target, while also supporting Numeric and Alphanumeric modes
  • limit dependencies to the Python standard library, Pillow, and numpy

Repository Layout

.
├── deepcode_solution/
│   ├── qrdecoder.py       # Deep Code solution
│   └── test_decode.py     # Original test script left from the Deep Code run
├── claudecode_solution/
│   └── qrcode_decoder.py  # Claude Code solution
├── test_data/
│   ├── 1.png
│   ├── 2.png
│   ├── 3.png
│   └── 4.jpg
├── 24e9cfa1-2bed-4bac-a53b-e5143b130c0d.jsonl  # Deep Code session transcript
├── LICENSE
├── README.md
└── README-zh_CN.md

Reproduce the Comparison

Observed result:

== Deep Code ==
1.png: 'https://www.douban.com'
2.png: 'https://binfer.net/share/how-to-use'
3.png: 'whosyourdad'
4.jpg: 'https://chat.deepseek.com/'

== Claude Code ==
1.png: None
2.png: None
3.png: None
4.jpg: None

License

See LICENSE.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages