#๐ Can someone please run through this and help me make sure that it doesn't look like AI?
79 messages ยท Page 1 of 1 (latest)
@scenic hornet
Remember to:
- Ask your Python question, not if you can ask or if there's an expert who can help.
- Show a code sample as text (rather than a screenshot) and the error message, if you've got one.
- Explain what you expect to happen and what actually happens.
:warning: Do not pip install anything that isn't related to your question, especially if asked to over DMs.
me and my friend worked on it
I used AI here and there to help me when I got stuck
got banned off a server bc the server owner claimed that it was 100% AI even from just a screenshot
definitely not AI, AI would add type annotation
uh, what, of course ai would if you asked it to
I see
it would do so even without explicitly asking
are you sure about that?
i see zero typing
its one function, i mean i guess it depends
I'd ask why they thought it was AI. If it is because of the comments or the emojis, I can see why though it is still a stretch to ban based on that only.
of course it depends, it does what you tell it to
L153 the if statements arent AI
I copy pasted emojies from AI yes
im not saying it is, but how do you know it isnt?
bc idk how to make them in VS Code
AI would not do that shit
it would if you told it to, you don't know what they promted the ai
if choice == "1":
hangman.play_hangman()
elif choice == "2":
rockpaperscissors.play_rock_paper_scissors()
elif choice == "3":
tictactoe.play_game()
elif choice == "4":
print("Chatbot is currently a work in progress (Pre-Release Beta v0.1)")
ai.play_ai()
elif choice == "5":
change_password(user_key, users)
elif choice == "6":
print("Logging out...")
break
elif choice.lower()== "holiday29":
print ("\n โจ You discovered the secret 2025 Holiday 29ers' Easter Egg!!! โจ")
print ("โ๏ธ Your system wishes you Happy Holidays! โ๏ธ")
else:
print("Invalid option.")
``` this isnt ai
isnt not even formatted wth
there are a few extensions for it: I have "Insert Unicode" and "emojisense" for that.
major social platforms should hire you to as their chief of ai content detection because you sure know it when you see it miraculously.
unless someone makes deliberate attempts to hide it, its very clear
though im not super sure the emojis are kinda
no, this was 100% human, me and my friend made this
and they've clearly made deliberate attempts to hide it, you can't know by just looking at the code
gjdofhgfophgpofdhigodfhigof
why would anyone ever do shit like this
what even is this for
where are you trying to put it so it looks like dogshit
At least for me, it doesn't scream AI. It doesn't have the verbosity that I'd expect from it, it doesn't have the "handle every exception" thing I see LLMs do, I doubt an LLM would pick PBKDF2-HMAC-SHA256 (even though it is decent, but I'd assume it would pick something like Argon2, scrypt, or even bcrypt). I doubt it would have unused and seemingly redundant functions such as get_password. I doubt it would introduce a possible timing attack at lines 110 and 121. I doubt it would do control flow as shown in system_menu...
I could invest more time at looking at this and finding what's "AI" and what's not "AI", but what I'm seeing doesn't look like single-prompted LLM output.
Whether it was prompted once or it was prompted thrice isn't the point. At the end of the day, whether AI was involved is a matter of asking: what does this do? can you fix this thing? can you do this without X?
@scenic hornet if you are able to explain what you did and know yourself that you wrote what you've given us, I'd leave it as is.
trying to change the code to look less ai screams that you've indeed used ai though
and if the owner got that reaction out from you then you're trying to win a lost case
okay so this main.py files imports a hangman, rock paper scissors, tic-tac-toe, files, as well as offering a way to sign in and sign up (that's why a .txt file will be created to save your account). During the sign ins and sign ups you can enter a password, change it, and if you're using VS Code it will be able to hide you typing the password
it also has easter eggs
they mean explain the code, not the app
and not to us, the owner who got you banned
they blocked me
that's gonna take forever ๐
you don't have to explain everything, if someone asks or tells you "this looks ai generated" you ask "what looks ai generated" and they point you to a piece of code and you explain what it does and why you wrote it like that.
okay, gimme an example
I would learn about docstrings and replace some of these comments:
# Menu
def system_menu(user_key, users):
``` use instead:
```py
def system_menu(user_key: str, users: dict[str, dict[str, ...]]) -> None:
"""Opens the menu and does stuff"""
And annotations will save you more often than you think down the road. ๐
i just did.
alr, gotcha
I like comments tho, the formatting is easier
the thing is why would you change it to look less like AI? If this is homework, as I initially assumed, that would ring all of the alarm bells possible, sure, but we don't have that context from OP.
Comments may seem easier on the formatting initially.
But, docstrings appear in most other tooling automatically:
I see
wouldnt
not ai cuz the code is garbage (nsrs)
ai is not gonna write this
well first of all ai loves whitespace
but yeah ai is not gonna do this
its just not
i fully understand that ai was used
but its def nto fully ai
got it
I wrote that and I'm proud of it ๐ ^^^
you need better formatting thats hideous
please please get a linter
ruff autoformat is good
what
he told me to try it and i did
well
well?
you dont have his libraries
lma
This help channel has been closed. Feel free to create a new post in #1035199133436354600. To maximize your chances of getting a response, check out this guide on asking good questions.