r/C_Programming • u/Spinning_Rings • Aug 07 '26
Code review request -- any criticisms or advice?
Would anyone mind reviewing some code? I wrote a CLI to help me generate character sheets for a TTRPG I'm running. The main thing I want to know is: should this be considered safe enough for me to share with other GMs? Is there anything else I should do for safety, security or efficiency? I worked hard on it, and Gemini Pro told me it's safe, but while I understand it can be useful I don't trust the automatic misinformation generator, since I don't have the requisite knowledge base to tell when it's "hallucinating" (or else I wouldn't need it for this purpose)
The github repo is here: https://github.com/SpinningRings/DigidiceCharacterSheetGenerator
âĸ
u/github-guard Aug 07 '26
đ GitHub Guard: Trust Report
â ī¸ This project scored 2/6 â below this subreddit's threshold of 3.
Audit Breakdown:
1
u/AutoModerator Aug 07 '26
Hi /u/Spinning_Rings,
Your submission in r/C_Programming was filtered because it links to a git project.
You must edit the submission or respond to this comment with an explanation about how AI was involved in the creation of your project.
While AI-generated code is not disallowed, low-effort "slop" projects may be removed and it's likely that other users push back strongly on substantially AI-generated projects.
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.
3
u/type_111 Aug 09 '26
Your program simply outputs a text file based on some standard input. Unless you rig it up to an open internet port there are no security or safety concerns. If it works, it's good.
0
u/mattewong Aug 08 '26
I am not familiar with what "safety" or "security" means specifically in the context of TTRPG but as a fundamental start for any C project, your repo is missing critical elements related to not just safety/security but C dev in general such as CI tests, memory tests, fuzz testing etc. Since you mention that you asked AI to review your code, then, assuming the response did not mention any of those things, my guess is that you asked it something far too specific, and you would be much better off asking it a to perform more general task such as "as an expert in the latest best practices for safety and security of C code bases, what would you do to make this project comply with such practices?"