0
代码介绍
代码
Issues
Pull Requests
流水线
Actions
讨论
Wiki
项目成员
分析
项目设置
0
  1. oG-Memory
  2. /
  3. tests
  4. /
  5. integration
  6. /
  7. extraction
Ccoconutnutxtest(provenance): rewrite integration tests with real pipeline components
19bc1143创建于 15 天前历史提交
文件最后提交记录最后更新时间
__init__.py
test: add unit and integration tests for ExtractionReActLoop Unit tests (13) cover core loop logic: iteration control, tool disable mechanism, safety refetch, and error handling. Integration tests (3) use real SchemaRegistry and URIResolver to verify end-to-end extraction flows with trace data validation. Co-Authored-By: Claude glm-5.1 <noreply@anthropic.com> 22 天前
test_react_loop_integration.py
test(provenance): rewrite integration tests with real pipeline components Replace TestArchiveIdPreGeneration which mocked MemoryWriteAPI, get_session_manager, get_write_api, _async_drain with a real MemoryWriteAPI → CandidatePipeline → ContextWriter pipeline using InMemoryContextFS. Only LLM remains mocked. Move InMemoryContextFS from tests/integration/core/ to tests/integration/conftest.py for sharing across subdirectories. Fix _preference_input to use routing_key field name matching real schema. Replace _make_fs mock in react_loop tests with shared InMemoryContextFS fixture. Co-Authored-By: Claude glm-5.1 <noreply@anthropic.com> 15 天前