An easy way to make tinkerable code is to use Jupyter notebooks. I will start posting some code snippets I find useful in my blog entries. More often than not, I only get true understanding from coding. Perhaps wrongly, I assume other people are the same. Here’s an example that I wrote for an undergrad student I’m currently working with. It involves calculating SDT measures for categorization data.
A static view of the code is shown below.