============================= test session starts ============================= platform win32 -- Python 3.14.3, pytest-9.1.1, pluggy-1.6.0 rootdir: D:\00_project\Genesis configfile: pyproject.toml testpaths: tests plugins: anyio-4.14.2, cov-7.1.0 collected 431 items tests\test_api_design_consistency.py .... [ 0%] tests\test_code_parser.py .................. [ 5%] tests\test_config.py ............. [ 8%] tests\test_data_models.py ............. [ 11%] tests\test_datagate.py ........ [ 12%] tests\test_docx_injector.py ........... [ 15%] tests\test_eval_scorer.py ......... [ 17%] tests\test_excel_parser.py ........... [ 20%] tests\test_excel_reader.py ... [ 20%] tests\test_existing_system_explorer.py .. [ 21%] tests\test_formatting_detector.py .......... [ 23%] tests\test_free_text_extractor.py ... [ 24%] tests\test_impact_agent.py ................ [ 28%] tests\test_inference_client.py .......... [ 30%] tests\test_inference_engine.py ................................ [ 37%] tests\test_inference_errors.py .... [ 38%] tests\test_inference_factory.py ....... [ 40%] tests\test_inference_prompt_registry.py ...... [ 41%] tests\test_inference_token.py ........... [ 44%] tests\test_inference_types.py ........ [ 46%] tests\test_language_coverage.py .... [ 47%] tests\test_language_plumbing.py ...... [ 48%] tests\test_orchestrator_retry.py .. [ 48%] tests\test_paragraph_splitter.py ..... [ 50%] tests\test_phase5_context_builder.py .... [ 51%] tests\test_phase5_e2e.py . [ 51%] tests\test_phase5_exceptions.py . [ 51%] tests\test_phase5_models.py .................. [ 55%] tests\test_phase5_qa_loop.py .. [ 56%] tests\test_phase5_rag.py .. [ 56%] tests\test_phase5_renderer.py . [ 56%] tests\test_phase5_report.py . [ 57%] tests\test_phase5_scorer.py .... [ 58%] tests\test_phase5_template_mapper.py ...... [ 59%] tests\test_phase5_validator.py ... [ 60%] tests\test_phase5_writer_agent.py ............. [ 63%] tests\test_phase5_writer_orchestrator.py ........ [ 64%] tests\test_phase5_writer_state.py ... [ 65%] tests\test_qa_guardrails.py ......... [ 67%] tests\test_rag_design_consistency.py ...... [ 69%] tests\test_real_samples.py ........ [ 70%] tests\test_resolver.py ............. [ 74%] tests\test_rule_doc_parser.py ...... [ 75%] tests\test_run_trial.py .. [ 75%] tests\test_scorer_language.py ..... [ 77%] tests\test_sheet_detector.py ... [ 77%] tests\test_sheet_nature.py ......... [ 79%] tests\test_smoke.py . [ 80%] tests\test_source_aggregator.py ................... [ 84%] tests\test_state_machine.py ............ [ 87%] tests\test_table_extractor.py ........ [ 89%] tests\test_task_queue.py ............ [ 91%] tests\test_word_template_parser.py .......... [ 94%] tests\test_writer_language.py ..................... [ 99%] tests\test_zh_template.py .... [100%] =============================== tests coverage ================================ _______________ coverage: platform win32, python 3.14.3-final-0 _______________ Name Stmts Miss Branch BrPart Cover Missing -------------------------------------------------------------------------------------------- src\genesis\__init__.py 1 0 0 0 100% src\genesis\config.py 132 0 24 0 100% src\genesis\data_models.py 213 0 0 0 100% src\genesis\eval\__init__.py 3 0 0 0 100% src\genesis\eval\golden_set.py 18 0 0 0 100% src\genesis\eval\scorer.py 108 0 18 0 100% src\genesis\impact\code_parser.py 128 0 32 1 99% 172->174 src\genesis\impact\existing_system_explorer.py 5 0 0 0 100% src\genesis\impact\impact_agent.py 122 0 60 1 99% 214->217 src\genesis\inference\__init__.py 5 0 0 0 100% src\genesis\inference\client.py 58 0 14 0 100% src\genesis\inference\engine.py 103 0 30 0 100% src\genesis\inference\exceptions.py 11 0 0 0 100% src\genesis\inference\factory.py 35 0 12 1 98% 35->37 src\genesis\inference\prompt_registry.py 27 0 8 0 100% src\genesis\inference\token.py 26 0 2 0 100% src\genesis\inference\types.py 38 0 0 0 100% src\genesis\orchestrator\__init__.py 3 0 0 0 100% src\genesis\orchestrator\datagate.py 43 0 10 0 100% src\genesis\orchestrator\task_queue.py 98 0 16 0 100% src\genesis\parsers\_word_common.py 6 0 0 0 100% src\genesis\parsers\excel_parser.py 73 0 28 0 100% src\genesis\parsers\excel_reader.py 12 0 2 0 100% src\genesis\parsers\formatting_detector.py 40 0 20 0 100% src\genesis\parsers\free_text_extractor.py 22 0 10 0 100% src\genesis\parsers\merge_fill.py 15 0 10 0 100% src\genesis\parsers\paragraph_splitter.py 17 0 10 0 100% src\genesis\parsers\provenance.py 2 0 0 0 100% src\genesis\parsers\resolver.py 51 0 20 0 100% src\genesis\parsers\rule_doc_parser.py 45 0 18 0 100% src\genesis\parsers\sheet_detector.py 20 0 14 0 100% src\genesis\parsers\sheet_nature.py 29 0 12 0 100% src\genesis\parsers\source_aggregator.py 44 0 12 0 100% src\genesis\parsers\table_extractor.py 24 0 10 0 100% src\genesis\parsers\word_template_parser.py 32 0 12 0 100% src\genesis\qa\guardrails.py 27 0 6 0 100% src\genesis\qa\report.py 10 0 0 0 100% src\genesis\qa\validator.py 27 0 2 0 100% src\genesis\state_machine.py 40 0 10 0 100% src\genesis\writer\__init__.py 3 0 0 0 100% src\genesis\writer\context_builder.py 15 0 2 0 100% src\genesis\writer\exceptions.py 2 0 0 0 100% src\genesis\writer\language.py 51 0 32 0 100% src\genesis\writer\models.py 117 0 34 0 100% src\genesis\writer\orchestrator.py 65 0 20 1 99% 104->110 src\genesis\writer\renderer.py 16 0 10 0 100% src\genesis\writer\template_mapper.py 27 0 12 2 95% 40->25, 43->25 src\genesis\writer\writer_state.py 21 0 6 0 100% src\genesis\qa\qa_loop.py 53 1 10 2 95% 40->32, 44 src\genesis\services\rag_service.py 26 2 6 1 91% 30->22, 32-33 src\genesis\writer\docx_injector.py 132 4 66 2 97% 71-72, 108-109, 112->105 src\genesis\writer\writer_agent.py 75 4 22 3 93% 106, 129->131, 131->133, 161-163 -------------------------------------------------------------------------------------------- TOTAL 2316 11 642 14 99% 2 empty files skipped. Coverage HTML written to dir tests/coverage Required test coverage of 99.0% reached. Total coverage: 99.15% ============================ 431 passed in 24.14s =============================