I might be a fool of doing this.
I have vibe-coded a little functional script of pure python which performs a multi-headed transformer, and re-writing it into C.
I have used to writing a logic of allocation first, though right now, I cannot do it.
A tons of documentless utility functions just for a function is quite scary thing to do.
Someday I will need to write a lots of document. ...a lot.