I’m taking a brief break from tech employment but things are changing fast enough in our industry that I’m keeping current with personal projects. One spreadsheet I update monthly really needed a Sankey diagram, but Google Sheets doesn’t offer one. I wrote a trivial python script to process the data into the text input format for the online Sankeymatic tool.
The script worked fine, but copy/pasting the data from a spreadsheet into the script and then copy/pasting the output of the script into Sankeymatic was a silly hassle. I wanted to add to my script so that it could generate the diagrams directly and pull the data in automatically too. I decided to use those simple changes to compare my own coding output with what Anthropic’s Claude (Claude Code v2.1.141, Sonnet 4.6) would do. I also wanted to test two different levels of instruction with Claude: one where I told it what changes to make with a high degree of specificity and one where I gave it only the general goals of the features I wanted added with no implementation details.