Artificial Intelligence1 min read

Hy4 flash Draws a Python Reading a Book

By · Published by Everything Blog

In short

During the benchmark, the model generated an error-free turtle graphics script with 276 lines of code to fulfill the drawing prompt. It achieved a feature score pinned to Python 3.10 while adopting select features from Python 3.11 and correctly naming the latest release. In code maintenance tests, it caught an imaginary library function and avoided unnecessary edits to existing tidy-up opportunities. The five tasks wrapped up in 4 minutes and 24 seconds with a billed cost of under one cent.

Key points

  • Hy4 flash displayed code editing discipline by leaving all 10 unrelated tidy-up opportuni…: Hy4 flash displayed code editing discipline by leaving all 10 unrelated tidy-up opportunities completely untouched.
  • The entire evaluation generated 47,000 output tokens and completed in 4 minutes and 24 se…: The entire evaluation generated 47,000 output tokens and completed in 4 minutes and 24 seconds.
  • Running the five-task benchmark cost less than a penny under default reasoning settings v…: Running the five-task benchmark cost less than a penny under default reasoning settings via the OpenRouter API.

Sources checked by our analysis pipeline: 1

We asked Hy4 flash to draw a python reading a book using the turtle

module. It’s one of five tasks in Real Python’s informal model comparison, which explores how models handle everyday Python work. Here’s the drawing from this run:

We use the same prompts and no system prompt for each model. The results come from the returned code and replies. These informal tests explore a few habits that can affect your everyday Python work:

Task | What we ask | What we read off the answer |

---|---|---|

The snake | Write a Python turtle program that draws a python reading a book. | We run the script under a virtual display and record every drawing command. The picture is whatever came out, arrow and all. |

How modern its Python is | Write a small command-line tool. | Which features it uses, such as list[str] , tomllib , and Path.walk() . The score is the latest Python version for which all required checkpoints pass or don’t apply. |

Modern idioms | The same CLI tool as above. |…

Artificial Intelligence