Is my code affected by slop? Aug. 27, 2026
To be or not to be, that is the question.
Intro ¶
tl;dr: I live in a environment that “AI tools” are inevitable. Some of my projects contains LLM generated code (a.k.a. “slop”).
Below is an analysis.
Those not affected by slop ¶
Some of these can be found in the projects page.
Note: First-party code only. Libraries may contain slop.
Those affected by slop ¶
fscrypt ¶
fscrypt is a cryptography library, which should be taken special care to make.
Sadly, I’m not security expert. But I shouldn’t ship security holes to users, in best efforts.
In v0.2.1, I’ve used certain AI tools to detect and fix holes, it’s more robust, but now it contains slop.
I’m not actively using it, and maintainance is up to you. To de-slop it:
- Start from commit tag v0.2.0
- Cherry-pick fixes in following commit, especially:
- Don’t use
realFileSizefor directories (it’s my manual fix)
- Don’t use
- Remove or rewrite the tests
whook depends on fscrypt at the moment. It’s yet to be determined to remove the dependency.
osudb ¶
osudb is a toy project to read osu!lazer database. Also the server osudb-native.
Overall it is human-made, nevertheless it contains a handful of slop.
It has nothing to do with official osu!, which explicitly states human contributions only.
voicevox-cli-demo ¶
voicevox-cli-demo is a command-line tts demo.
I was very busy in real life and this is quick test for an idea. Most of it is vibe coded.
If the idea is interesting and you reject slop, feel free to re-develop “vfox.”
The only important human code for you to take away:
// Returns first path exists on disk, otherwise returns empty string.
template<typename T, typename... Args>
const std::string first_exists(const T& first, const Args&... rest) {
if (std::filesystem::exists(first)) {
return first;
}
if constexpr(sizeof...(rest) > 0) {
return first_exists(rest...);
} else {
return "";
}
}
Ending ¶
I must have a life and LLM tools are still inevitable. If you feel it unacceptable, just take away my ideas.
Ideas are free of legal or ethical problems of any kind.
See also: