As I say, it's a known problem with multiple known solutions. It's just that *I've* never done it.
It's fairly "untestable", so tomorrow, I'll start by writing some kotlin and rendering the histogram at T=0, just to make sure I have the S distribution looking like it should.
Naturally, you are wondering, "DaFuq, man, why do you want this?"
For decades, I have longed to have a viable implementation of Hofstadter & Mitchell's Copycat program.
I want to make one.
For a long time I thought I'd try to translate the original LISP or another person's Java implementation.
But now, I want to write it "from scratch", using just my conceptual understanding of the algorithm, rather than someone else's code.