Last active
July 11, 2025 15:27
-
-
Save fankaidev/81c715f380400c90a135191ce62b735d to your computer and use it in GitHub Desktop.
tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 代码规范 | |
[] 修复所有的 C901 错误 | |
[] 为主要流程添加 e2e test | |
[] 优化 e2e test 框架,可以使用声明式来定义 test | |
# 架构设计 | |
[] 检查 project_data 和 project_content 的设计 | |
[] import linter 的检查扩充到 domain 之外 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## C901 修复进度 (31个函数) | |
### moxt/util - 3个函数 | |
- [x] `parse_img_tag` in html_processor.py (complexity 12) - MR#4498 已完成 | |
- [ ] `extract_json_from_markdown` in json_utils.py (complexity 17) | |
- [ ] `call_llm_stream` in llm.py (complexity 13) | |
### moxt/domain/synergy - 8个函数 (最多) | |
- [ ] `_sort_create_ops_by_parent_child` in operation_utils.py (complexity 20) | |
- [ ] `build_partial_html_by_node` in project_models.py (complexity 21) | |
- [ ] `to_htmls` in project_models.py (complexity 15) | |
- [ ] `node_from_proto` in node_from_to_proto.py (complexity 13) | |
- [ ] `between` in order_index.py (complexity 11) | |
- [ ] `export_project_files` in project_exporter.py (complexity 11) | |
- [ ] `sync_operations_to_project` in project_sync.py (complexity 15) | |
- [ ] `apply_operations_to_project` in project_sync.py (complexity 11) | |
### moxt/domain/tool/design - 3个函数 | |
- [ ] `build_moxt_system_and_user_prompts` in gen_design_v2.py (complexity 13) | |
- [ ] `gen_echart_content` in html_process.py (complexity 11) | |
- [ ] `recommend_templates` in recommend_style.py (complexity 12) | |
### moxt/domain/agent - 3个函数 | |
- [ ] `get_concatenated_segments_and_selections` in core.py (complexity 20) | |
- [ ] `format_pipeline_step` in memory/moxt_memory.py (complexity 16) | |
- [ ] `format_pipeline_step` in memory/simple_memory.py (complexity 14) | |
### moxt/domain/benchmark - 2个函数 | |
- [ ] `do_run_case` in benchmark_runner.py (complexity 19) | |
- [ ] `run_next_benchmark_case` in benchmark_runner.py (complexity 11) | |
### moxt/api/paraflow - 2个函数 | |
- [ ] `do_execute` in paraflow_pipeline_api.py (complexity 17) | |
- [ ] `get_project_patches` in synergy.py (complexity 11) | |
- [ ] `get_project_versions` in synergy.py (complexity 11) | |
### 其他单个文件 | |
- [ ] `generate_design_stream` in moxt/api/design/design_api.py (complexity 21) | |
- [ ] `_extract_batch_operation_ids` in moxt/api/paraflow_test/client_sync_simulator.py (complexity 14) | |
- [ ] `inject_project_context` in moxt/domain/moxt_agent/moxt_agent.py (complexity 13) | |
- [ ] `export_project_files` in moxt/domain/project/project_exporter.py (complexity 11) | |
- [ ] `create_sandbox_agent` in moxt/domain/sandbox_agent/sandbox_agent.py (complexity 14) | |
- [ ] `create_style` in moxt/domain/style/style_creator.py (complexity 12) | |
- [ ] `_map_model` in moxt/domain/tool/token_usage_collector.py (complexity 15) | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment