3 ms·
This is actually quite impressive. Try reading the comments in the code. The comments often make perfect sense in the local context even if it’s GPT-2 gibberish
by thewarrior 6y ago
This is actually quite impressive. Try reading the comments in the code. The comments often make perfect sense in the local context even if it’s GPT-2 gibberish.
The real examples have worse comments at times.
The only flaw is that it shows fake code most of the time so you can game it that way.
- jackson1442 6y agoSome of the "real" ones have absolutely atrocious comments. Two variables labelled with literally just the name of the variable like so: bool hasdied // has died and then a `// done` for seemingly no reason after initializing variables... where did this code come from?!
- moyix 6y agoThe “real” code came from these packages: https://moyix.net/~moyix/sample_pkgnames.txt https://moyix.net/~moyix/sample_pkgnames.txt