Sorting algorithms
Very little directly, but it demonstrates Claude Artifacts and ChatGPT repo-cloning building a working interactive tool from a phone, a signal of how quickly AI coding tools now ship small apps.
Simon Willison used Claude, an AI assistant, to build a webpage that animates seven sorting algorithms, the standard methods computers use to arrange data. He added Python's Timsort by asking Claude to clone Python's own code repository from GitHub and read its files. When he asked GPT-5.4 Thinking to review the result, it found the implementation was a simplified, Timsort-inspired mergesort rather than the real algorithm. A shared transcript shows the full sequence of prompts.
Willison built an animated sorting-algorithm comparison tool on his phone using Claude Artifacts, covering bubble, selection, insertion, merge, quick, heap, and Timsort sorts, plus a 'run all' race mode. The workflow shows current AI assistants can clone a GitHub repository, here python/cpython, and read source files on request. A GPT-5.4 Thinking review flagged the Timsort implementation as a simplified approximation, a concrete quality risk of vibe-coding.
Willison prompted Claude Artifacts to build animated demos of bubble, selection, insertion, merge, quick, and heap sort, then asked it to add Timsort by cloning python/cpython from GitHub and consulting Objects/listsort.txt and Objects/listobject.c. GPT-5.4 Thinking reviewed the output and judged it a simplified, Timsort-inspired adaptive mergesort, not faithful Timsort. The tool includes a race mode running all seven algorithms with comparison and swap counts; Timsort, quicksort, and merge sort finished first, second, and third.