Skip to content

AutoGPT is the vision of accessible AI for everyone, to use and to build on. Our mission is to provide the tools, so that you can focus on what matters.

Change memory challenge expectations (#4657)

merwanehamadi2ce6ae670722
diff --git a/.github/workflows/benchmarks.yml b/.github/workflows/benchmarks.yml
index 685647b873..ed01127b99 100644
--- a/.github/workflows/benchmarks.yml
+++ b/.github/workflows/benchmarks.yml
@@ -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"
diff --git a/tests/challenges/memory/test_memory_challenge_c.py b/tests/challenges/memory/test_memory_challenge_c.py
index f8f4ad988f..2754d6b001 100644
--- a/tests/challenges/memory/test_memory_challenge_c.py
+++ b/tests/challenges/memory/test_memory_challenge_c.py
@@ -10,7 +10,7 @@ from tests.challenges.utils import (
run_interaction_loop,
)
-NOISE = 1000
+NOISE = 1200
OUTPUT_LOCATION = "output.txt"
@@ -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]