Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions bot/exts/smart_eval/_smart_eval_rules.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@
r"(?i:^print\((?:\"|\')Hello World[.!]?(?:\"|\')\)$)": [ # Detect just printing hello world
"You don't want to know how many times I've seen hello world in my training dataset, try something new."
],
r"(?P<content>__import__|__code__|ctypes)": [ # Detect use of esoteric stuff
"Using `{}`?? Try asking someone in #esoteric-python"
r"(?P<content>__import__|__code__|ctypes|inspect)": [ # Detect use of esoteric stuff
"Using `{}`?? Try asking someone in <#470884583684964352>" # Eso-py channel ID so it actually links
],
r"(?m:(?:import |from )(?P<content>requests|httpx|aiohttp))": [ # Detect use of networking libraries
(
Expand Down