Skip to content

Commit ea703bd

Browse files
committed
revert: restore original test iterations
1 parent 5fe7919 commit ea703bd

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

nexum_ai/tests/test_expensive_ops.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -150,22 +150,22 @@ def test_cache_memory_limit(self):
150150
cache = SemanticCache()
151151
cache.model = None
152152

153-
# Add entries (reduced from 10000 to 100 for CI performance)
154-
for i in range(100):
153+
# Add many entries
154+
for i in range(10000):
155155
cache.put(f"query{i}", f"result{i}")
156156

157157
# In production, you might want to implement cache eviction
158158
# For now, just verify it doesn't crash
159-
assert len(cache.cache) == 100
159+
assert len(cache.cache) == 10000
160160

161161
def test_q_table_memory(self):
162162
"""Test Q-table memory usage"""
163163
from nexum_ai.rl_agent import QLearningAgent
164164

165165
agent = QLearningAgent()
166166

167-
# Create many unique states (reduced iterations for CI)
168-
for i in range(50):
167+
# Create many unique states
168+
for i in range(100):
169169
for j in range(10):
170170
agent.update(i, j % 2 == 0, j, "normal", 10.0)
171171

0 commit comments

Comments
 (0)