#๐Ÿ”’ 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
sonic tartanBOT
#

@scenic hornet

Python help channel opened

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.

tranquil oriole
#

it doesnt

#

whered you get it from

scenic hornet
#

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

tidal sigil
somber mauve
scenic hornet
tidal sigil
somber mauve
#

i see zero typing

tidal sigil
nocturne sundial
somber mauve
#

of course it depends, it does what you tell it to

tidal sigil
scenic hornet
somber mauve
scenic hornet
#

bc idk how to make them in VS Code

tidal sigil
somber mauve
tidal sigil
#

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

nocturne sundial
somber mauve
tidal sigil
#

though im not super sure the emojis are kinda

scenic hornet
somber mauve
tidal sigil
#

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

nocturne sundial
# nocturne sundial I'd ask why they thought it was AI. If it is because of the comments or the emoj...

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.

somber mauve
#

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

scenic hornet
#

it also has easter eggs

somber mauve
#

and not to us, the owner who got you banned

scenic hornet
scenic hornet
somber mauve
# scenic hornet 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.

native glade
#

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. ๐Ÿ™‚

somber mauve
scenic hornet
#

I like comments tho, the formatting is easier

scenic hornet
#

or module?

nocturne sundial
native glade
scenic hornet
#

I see

tranquil oriole
#

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

scenic hornet
#

got it

scenic hornet
tranquil oriole
#

please please get a linter

#

ruff autoformat is good

#

what

fast cargo
#

he told me to try it and i did

tranquil oriole
#

well

fast cargo
#

well?

tranquil oriole
#

you dont have his libraries

fast cargo
#

bruh im stupif

#

stupid

tidal sigil
#

lma

sonic tartanBOT
#
Python help channel closed for inactivity

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.