Files
kwcode/QA_BASELINE.txt
Val-sss c6197d0316 v0.7.0: P1+P2+搜索重构+UI全面优化
P1: KWCODE.md规则注入、/plan风险评估、Checkpoint快照、DocReader
P2: 模型能力自适应、飞轮通知、价值量化仪表盘
搜索: 四级提取管道、并行搜索+BM25重排、意图感知、ChatExpert门控
UI: spinner动画、结果摘要、静默日志、重影大字Header
新增: kwcode setup-search 一键安装SearXNG
测试: 282/282 PASS (含17个E2E真实模型测试)

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-28 17:52:59 +08:00

50 lines
3.8 KiB
Plaintext

============================= test session starts =============================
platform win32 -- Python 3.12.9, pytest-9.0.2, pluggy-1.6.0 -- C:\Users\15488\AppData\Local\Programs\Python\Python312\python.exe
cachedir: .pytest_cache
rootdir: D:\program\codeagent2604\kaiwu
configfile: pyproject.toml
plugins: anyio-4.12.1, fixbug-1.0.0, asyncio-1.3.0, cov-7.0.0, timeout-2.4.0, wlbs-scan-0.6.7
asyncio: mode=Mode.STRICT, debug=False, asyncio_default_fixture_loop_scope=None, asyncio_default_test_loop_scope=function
collecting ... collected 38 items
kaiwu/tests/test_core.py::TestGate::test_classify_valid_json PASSED [ 2%]
kaiwu/tests/test_core.py::TestGate::test_classify_invalid_json_fallback PASSED [ 5%]
kaiwu/tests/test_core.py::TestGate::test_classify_invalid_expert_type_fallback PASSED [ 7%]
kaiwu/tests/test_core.py::TestGate::test_classify_json_wrapped_in_text PASSED [ 10%]
kaiwu/tests/test_core.py::TestToolExecutor::test_read_write_file PASSED [ 13%]
kaiwu/tests/test_core.py::TestToolExecutor::test_read_nonexistent PASSED [ 15%]
kaiwu/tests/test_core.py::TestToolExecutor::test_list_dir PASSED [ 18%]
kaiwu/tests/test_core.py::TestToolExecutor::test_run_bash PASSED [ 21%]
kaiwu/tests/test_core.py::TestToolExecutor::test_run_bash_timeout PASSED [ 23%]
kaiwu/tests/test_core.py::TestToolExecutor::test_apply_patch PASSED [ 26%]
kaiwu/tests/test_core.py::TestToolExecutor::test_get_file_tree PASSED [ 28%]
kaiwu/tests/test_core.py::TestKaiwuMemory::test_init_creates_file PASSED [ 31%]
kaiwu/tests/test_core.py::TestKaiwuMemory::test_init_no_overwrite PASSED [ 34%]
kaiwu/tests/test_core.py::TestKaiwuMemory::test_load_empty PASSED [ 36%]
kaiwu/tests/test_core.py::TestKaiwuMemory::test_load_after_init PASSED [ 39%]
kaiwu/tests/test_core.py::TestKaiwuMemory::test_save_on_success PASSED [ 42%]
kaiwu/tests/test_core.py::TestKaiwuMemory::test_no_save_on_failure PASSED [ 44%]
kaiwu/tests/test_core.py::TestOrchestrator::test_codegen_success PASSED [ 47%]
kaiwu/tests/test_core.py::TestOrchestrator::test_locator_repair_success PASSED [ 50%]
kaiwu/tests/test_core.py::TestOrchestrator::test_max_retries_exceeded PASSED [ 52%]
kaiwu/tests/test_core.py::TestOrchestrator::test_search_triggered_on_hard_task PASSED [ 55%]
kaiwu/tests/test_core.py::TestExpertSequences::test_sequence_mapping PASSED [ 57%]
kaiwu/tests/test_core.py::TestContext::test_default_values PASSED [ 60%]
kaiwu/tests/test_core.py::TestContext::test_independent_contexts PASSED [ 63%]
kaiwu/tests/test_core.py::TestExtractFilename::test_explicit_filename PASSED [ 65%]
kaiwu/tests/test_core.py::TestExtractFilename::test_explicit_filename_with_path PASSED [ 68%]
kaiwu/tests/test_core.py::TestExtractFilename::test_chinese_codegen_pattern PASSED [ 71%]
kaiwu/tests/test_core.py::TestExtractFilename::test_english_create_pattern PASSED [ 73%]
kaiwu/tests/test_core.py::TestExtractFilename::test_skip_generic_words PASSED [ 76%]
kaiwu/tests/test_core.py::TestExtractFilename::test_fallback_to_output PASSED [ 78%]
kaiwu/tests/test_core.py::TestExtractFilename::test_multiple_extensions PASSED [ 81%]
kaiwu/tests/test_core.py::TestExtractFilename::test_language_detection_html PASSED [ 84%]
kaiwu/tests/test_core.py::TestExtractFilename::test_language_detection_js PASSED [ 86%]
kaiwu/tests/test_core.py::TestExtractFilename::test_language_detection_shell PASSED [ 89%]
kaiwu/tests/test_core.py::TestCleanCodeOutput::test_strip_tool_call_lines PASSED [ 92%]
kaiwu/tests/test_core.py::TestCleanCodeOutput::test_strip_markdown_blocks PASSED [ 94%]
kaiwu/tests/test_core.py::TestCodegenOutput::test_codegen_uses_extracted_filename PASSED [ 97%]
kaiwu/tests/test_core.py::TestCodegenOutput::test_codegen_fallback_filename PASSED [100%]
============================= 38 passed in 10.85s =============================