Skip to content

Commit

Permalink
Change memory challenge expectations (Significant-Gravitas#4657)
Browse files Browse the repository at this point in the history
  • Loading branch information
waynehamadi authored Jun 11, 2023
1 parent fd04db1 commit 2ce6ae6
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 13 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/benchmarks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@ jobs:
fail-fast: false
matrix:
config:
- python-version: ["3.10"]
- python-version: "3.10"
task: "tests/challenges"
task-name: "Mandatory Tasks"
- python-version: ["3.10"]
- python-version: "3.10"
task: "--beat-challenges -ra tests/challenges"
task-name: "Challenging Tasks"

Expand Down
22 changes: 11 additions & 11 deletions tests/challenges/memory/test_memory_challenge_c.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
run_interaction_loop,
)

NOISE = 1000
NOISE = 1200
OUTPUT_LOCATION = "output.txt"


Expand All @@ -33,16 +33,16 @@ def test_memory_challenge_c(
level_to_run (int)
"""
silly_phrases = [
"The purple elephant danced on a rainbow while eating a taco.",
"The sneaky toaster stole my socks and ran away to Hawaii.",
"My pet rock sings better than Beyoncé on Tuesdays.",
"The giant hamster rode a unicycle through the crowded mall.",
"The talking tree gave me a high-five and then flew away.",
"I have a collection of invisible hats that I wear on special occasions.",
"The flying spaghetti monster stole my sandwich and left a note saying 'thanks for the snack!'",
"My imaginary friend is a dragon who loves to play video games.",
"I once saw a cloud shaped like a giant chicken eating a pizza.",
"The ninja unicorn disguised itself as a potted plant and infiltrated the office.",
"The purple elephant danced on a rainbow while eating a taco",
"The sneaky toaster stole my socks and ran away to Hawaii",
"My pet rock sings better than Beyoncé on Tuesdays",
"The giant hamster rode a unicycle through the crowded mall",
"The talking tree gave me a high-five and then flew away",
"I have a collection of invisible hats that I wear on special occasions",
"The flying spaghetti monster stole my sandwich and left a note saying 'thanks for the snack'",
"My imaginary friend is a dragon who loves to play video games",
"I once saw a cloud shaped like a giant chicken eating a pizza",
"The ninja unicorn disguised itself as a potted plant and infiltrated the office",
]

level_silly_phrases = silly_phrases[:level_to_run]
Expand Down

0 comments on commit 2ce6ae6

Please sign in to comment.