Skip to content

Commit

Permalink
fixes issue with noise not finding some comments because of special c…
Browse files Browse the repository at this point in the history
…hararcters
  • Loading branch information
moaath committed Jun 8, 2024
1 parent 6985872 commit bfe2cef
Showing 1 changed file with 22 additions and 23 deletions.
45 changes: 22 additions & 23 deletions checker/src/checker.py
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,6 @@ async def request_match(username, punchline, custom_filename, logger, client):

async def upload_image(logger, client):
image_path = f"{IMAGES_DIR}/{secrets.choice(images)}"
print(image_path)
f = open(image_path, "rb")
file = {"image": ("profile.jpg", f)}
upload_res = await client.post("/upload.php", files=file, follow_redirects=True)
Expand Down Expand Up @@ -161,7 +160,7 @@ async def upload_image(logger, client):

life_facts = [
"I love coding at night",
"My cat's name is Pixel",
"My cats name is Pixel",
"I learned Python in school",
"Coffee fuels my mornings",
"I collect vintage computers",
Expand All @@ -176,7 +175,7 @@ async def upload_image(logger, client):
"I am a fan of Linux",
"I dislike social media",
"I meditate every morning",
"My dog’s name is Binary",
"My dogs name is Binary",
"I teach coding to kids",
"I bike to work daily",
"I practice yoga every evening",
Expand Down Expand Up @@ -211,53 +210,53 @@ async def upload_image(logger, client):

private_facts = [
"I have a secret tattoo",
"I'm afraid of heights",
"Im afraid of heights",
"I struggle with anxiety",
"I once cheated on a test",
"I secretly love reality TV",
"I’m estranged from my sibling",
"Im estranged from my sibling",
"I have a phobia of spiders",
"I lied on my resume",
"I still sleep with a teddy bear",
"I’ve never been kissed",
"Ive never been kissed",
"I have a hidden bank account",
"I’m insecure about my looks",
"Im insecure about my looks",
"I was bullied in school",
"I secretly dislike my job",
"I’ve been in therapy for years",
"Ive been in therapy for years",
"I feel lonely often",
"I’m afraid of public speaking",
"Im afraid of public speaking",
"I had a secret relationship",
"I regret not finishing college",
"I once stole something small",
"I have trust issues",
"I fake confidence at work",
"I suffer from imposter syndrome",
"I’ve never told anyone my dreams",
"Ive never told anyone my dreams",
"I cry easily",
"I have a chronic illness",
"I’ve been ghosted before",
"I’m scared of being alone",
"I don’t like my best friend",
"Ive been ghosted before",
"Im scared of being alone",
"I dont like my best friend",
"I have a secret talent",
"I fear disappointing my parents",
"I’ve lied about my age",
"Ive lied about my age",
"I have nightmares frequently",
"I hide my true feelings",
"I’ve broken someone’s heart",
"I’m embarrassed by my past",
"Ive broken someones heart",
"Im embarrassed by my past",
"I feel inadequate often",
"I dislike my partner’s family",
"I’m scared of getting old",
"I envy my friends lives",
"I dislike my partners family",
"Im scared of getting old",
"I envy my friends lives",
"I worry about money constantly",
"I’ve struggled with addiction",
"Ive struggled with addiction",
"I feel trapped in my life",
"I have body image issues",
"I wish I were someone else",
"I’ve kept secrets from my partner",
"I worry I’ll never be happy",
"I fear people don’t like me",
"Ive kept secrets from my partner",
"I worry Ill never be happy",
"I fear people dont like me",
"I struggle with depression"
]

Expand Down

0 comments on commit bfe2cef

Please sign in to comment.