- Migrated custom HTTP server to aiohttp.web - Fixed math bugs in engine.py, temporal.py, layer.py, emissary.py, and llm_processor.py - Fixed race conditions by adding threading locks in ledger.py - Added standard python packaging (pyproject.toml) - Added continuous integration workflows (.github/workflows/ci.yml) - Removed XSS innerHTML vulnerability from app.py - Wrapped async calls properly in tests - Fixed emissaary typo
This commit is contained in:
1 parent
6061f5c4e5
commit
06ab1338e8
19 files changed
+1081
-451
No files matched your search
+4
-2
@@ -31,14 +31,16 @@ class TestKAIROSTemporalEngine(unittest.TestCase):
|
||||
|
||||
def test_temporalize(self):
|
||||
"""Test temporalize method works."""
|
||||
import asyncio
|
||||
engine = KAIROSTemporalEngine()
|
||||
result = engine.temporalize(0.1)
|
||||
result = asyncio.run(engine.temporalize("test phrase"))
|
||||
self.assertIsNotNone(result)
|
||||
|
||||
def test_reset(self):
|
||||
"""Test reset works."""
|
||||
import asyncio
|
||||
engine = KAIROSTemporalEngine()
|
||||
engine.temporalize(0.1)
|
||||
asyncio.run(engine.temporalize("test phrase"))
|
||||
engine.reset()
|
||||
self.assertEqual(engine.coherence, 1.0)
|
||||
self.assertEqual(engine.integration_count, 0)
|
||||
|
||||
Reference in new issue
Block a user