by avinassh · 4y ago · 0 comments
Since we are on the topic of code generation, I had a question. I built this joke script called Rockstar [0] which generates fake git commits resulting in fully green GitHub commit graph. In each commit it adds gibberish, in the last commit adds a valid code. I wanted to know if there’s an easy way to generate realistic looking code which I can use in each commit? I can’t expect users of the script to use OpenAI or any such API service. Something which can be used to generate code locally would be sweet!
Fake code generators have been around since forever: https://hackertyper.net/
Combining them seems like the logical next step.
We have broken, emergent incentive structures in our system. Tweaking those can be good or bad. It's not like a cheating on a test.
If I were to modify it, I'd make it draw a picture :)
I for one am able to think of numerous ethical ways it might be of use.
Example of such research, which is common, ethical, and completely legal to do:
https://www.shrm.org/resourcesandtools/hr-topics/talent-acqu...