bidmaster-cli/data/test/test-project/analysis_result.json
sladro e6103c711f refactor: 按照PROJECT_SPEC.md规范重构代码
修复架构和代码规范违规问题:

架构修复:
- 创建internal目录(内部模块,禁止外部import)
- 恢复ARCHITECTURE.md文档
- 移除未定义的utils目录
- 清理临时测试目录

代码规范修复(严格遵循核心哲学):
- 移除所有try-except,让错误立即暴露
- 移除所有防护编程(不返回bool/错误字符串)
- 简化为MVP版本(每个命令组只保留核心功能)
- 移除所有美化输出,使用简单print

功能实现:
- 实现generate命令(只保留task子命令)
- 实现assemble命令(只保留tables子命令)
- 修复bidmaster/__init__.py导出
- 添加缺失的TableGenerator类

文件精简:
- generate.py: 262行 → 66行
- assemble.py: 293行 → 64行
- 移除所有延迟导入和内部import

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-26 20:02:59 +08:00

484 lines
20 KiB
JSON
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

{
"project_name": "标书项目-test1",
"source_file": "C:\\Users\\sladr\\Downloads\\test1.docx",
"technical_criteria": [
{
"item_name": "技术条款应答",
"max_score": 2.0,
"description": "供应商对在询比文件中规定的技术条款做出应答或填写偏离表根据供应商是否满足要求进行评分。全部满足或优于得满分有一项不满足或部分满足本项得0分。",
"category": "compliance",
"chapter_id": "compliance"
},
{
"item_name": "技术方案-基本要求",
"max_score": 3.0,
"description": "供应商须针对本项目出具总体架构设计方案包括但不限于总体架构设计说明、总体性能说明、功能模块构成、底层代码设计语言。以上内容均包含得基本分3分。内容不齐全每缺少一条扣减1分扣完为止。",
"category": "technical_solution",
"chapter_id": "tech_solution"
},
{
"item_name": "技术方案-质量评分",
"max_score": 2.0,
"description": "A.方案内容详细具体、合理完善、有针对性得1.52]分B.方案内容较详细具体、较合理完善、针对性较好得0.51.5]分C.方案内容不够详细具体、不够合理完善、针对性一般得0,0.5]分步长为0.1分,不提供不得分。",
"category": "technical_solution",
"chapter_id": "tech_solution"
},
{
"item_name": "质量保证措施-基本要求",
"max_score": 3.0,
"description": "根据供应商提供的质量保证措施方案进行评审包含但不限于关键的质量控制因素、工作流程质量监督方案、质量问题处置方案。以上内容均包含得基本分3分。内容不齐全每缺少一条扣减1分扣完为止。",
"category": "quality_safety",
"chapter_id": "quality"
},
{
"item_name": "质量保证措施-质量评分",
"max_score": 2.0,
"description": "A.方案内容详细具体、合理完善、有针对性得1.52]分B.方案内容较详细具体、较合理完善、针对性较好得0.51.5]分C.方案内容不够详细具体、不够合理完善、针对性一般得0,0.5]分步长为0.1分,不提供不得分。",
"category": "quality_safety",
"chapter_id": "quality"
},
{
"item_name": "进度计划-基本要求",
"max_score": 3.0,
"description": "根据供应商提供的进度计划方案进行评审包含但不限于进度计划安排、进度保障措施、进度应急措施。以上内容均包含得基本分3分。内容不齐全每缺少一条扣减1分扣完为止。",
"category": "implementation",
"chapter_id": "implementation"
},
{
"item_name": "进度计划-质量评分",
"max_score": 2.0,
"description": "A.方案内容详细具体、合理完善、有针对性得1.52]分B.方案内容较详细具体、较合理完善、针对性较好得0.51.5]分C.方案内容不够详细具体、不够合理完善、针对性一般得0,0.5]分步长为0.1分,不提供不得分。",
"category": "implementation",
"chapter_id": "implementation"
},
{
"item_name": "软件开发安全建议-基本要求",
"max_score": 3.0,
"description": "根据供应商提供的整个软件开发过程中各个环节的安全管控方案进行评审包括1开源组件/第三方软件的选型、开发/测试工具的选用2对引入组件/各类工具的安全漏洞/病毒的定位3是否建立开源组件/工具的资产台账并动态管理。以上内容均包含得基本分3分。内容不齐全每缺少一条扣减1分扣完为止。",
"category": "quality_safety",
"chapter_id": "quality"
},
{
"item_name": "软件开发安全建议-质量评分",
"max_score": 2.0,
"description": "A.方案内容详细具体、合理完善、有针对性得1.52]分B.方案内容较详细具体、较合理完善、针对性较好得0.51.5]分C.方案内容不够详细具体、不够合理完善、针对性一般得0,0.5]分步长为0.1分,不提供不得分。",
"category": "quality_safety",
"chapter_id": "quality"
},
{
"item_name": "人员配置-基本要求",
"max_score": 3.0,
"description": "根据供应商提供人员配置方案进行评审包含但不限于人员组织架构职责分工、人员分配合理程度、项目人员经验需求满足程度。以上内容均包含得基本分3分。内容不齐全每缺少一条扣减1分扣完为止。",
"category": "implementation",
"chapter_id": "implementation"
},
{
"item_name": "人员配置-质量评分",
"max_score": 2.0,
"description": "A.方案内容详细具体、合理完善、有针对性得1.52]分B.方案内容较详细具体、较合理完善、针对性较好得0.51.5]分C.方案内容不够详细具体、不够合理完善、针对性一般得0,0.5]分步长为0.1分,不提供不得分。",
"category": "implementation",
"chapter_id": "implementation"
},
{
"item_name": "平台维护方案-基本要求",
"max_score": 3.0,
"description": "根据供应商提供的平台维护方案进行评审。内容包含但不限于漏洞修复、软件升级、故障解决等。以上内容均包含得基本分3分。内容不齐全每缺少一条扣减1分扣完为止。",
"category": "after_sales",
"chapter_id": "after_sales"
},
{
"item_name": "平台维护方案-质量评分",
"max_score": 2.0,
"description": "A.方案内容详细具体、合理完善、有针对性得1.52]分B.方案内容较详细具体、较合理完善、针对性较好得0.51.5]分C.方案内容不够详细具体、不够合理完善、针对性一般得0,0.5]分步长为0.1分,不提供不得分。",
"category": "after_sales",
"chapter_id": "after_sales"
},
{
"item_name": "投入机械设备、仪器、车辆",
"max_score": 3.0,
"description": "对本工程的投入机械设备、仪器、车辆配置合理能满足本工程的要求。A.方案内容详细具体、合理完善、有针对性得23]分B.方案内容较详细具体、较合理完善、针对性较好得12]分C.方案内容不够详细具体、不够合理完善、针对性一般得0,1]分步长为0.1分,不提供不得分。",
"category": "equipment_spec",
"chapter_id": "equipment"
},
{
"item_name": "交付期",
"max_score": 5.0,
"description": "仅满足询比文件交付期要求自合同签订生效之日起30日内完成所有工作得0分每提前1天加0.5分,最多加至满分。",
"category": "implementation",
"chapter_id": "implementation"
},
{
"item_name": "售后服务方案-基本要求",
"max_score": 3.0,
"description": "根据供应商提供的针对本项目编制售后服务方案进行评审方案内容包括服务人员的配备、解决问题的能力、响应时间以及响应程度。以上内容均包含得基本分3分。内容不齐全每缺少一条扣减1分扣完为止。",
"category": "after_sales",
"chapter_id": "after_sales"
},
{
"item_name": "售后服务方案-质量评分",
"max_score": 2.0,
"description": "A.方案内容详细具体、合理完善、有针对性得1.52]分B.方案内容较详细具体、较合理完善、针对性较好得0.51.5]分C.方案内容不够详细具体、不够合理完善、针对性一般得0,0.5]分步长为0.1分,不提供不得分。",
"category": "after_sales",
"chapter_id": "after_sales"
},
{
"item_name": "供应商在研发、管理、安全保障等方面能力-基本要求",
"max_score": 3.0,
"description": "根据供应商提供的软件安全开发生命周期管理制度、管理流程、安全保障相关方案进行评审。以上内容均包含得基本分3分。内容不齐全每缺少一条扣减1分扣完为止。",
"category": "compliance",
"chapter_id": "compliance"
},
{
"item_name": "供应商在研发、管理、安全保障等方面能力-质量评分",
"max_score": 2.0,
"description": "A.方案内容详细具体、合理完善、有针对性得1.52]分B.方案内容较详细具体、较合理完善、针对性较好得0.51.5]分C.方案内容不够详细具体、不够合理完善、针对性一般得0,0.5]分步长为0.1分,不提供不得分。",
"category": "compliance",
"chapter_id": "compliance"
}
],
"commercial_criteria": [
{
"item_name": "响应文件制作质量",
"max_score": 3.0,
"description": "A.响应文件格式和内容严格按照询比文件要求编制B.文字清晰、内容完整目录清晰、查找方便C.正文有页码图纸表格等有编号以上A、B、C三项内容全部满足得3分A、B、C三项每有1项不满足者扣1分。",
"category": "commercial",
"chapter_id": "chapter_01"
},
{
"item_name": "同类项目业绩",
"max_score": 5.0,
"description": "供应商须提供2022年1月1日至响应截止日完成的同类项目业绩在满足资质要求得基础上每多提供1个有效合同加1分加满为止提供相应的业绩证明材料。",
"category": "commercial",
"chapter_id": "chapter_02"
},
{
"item_name": "商务条款应答",
"max_score": 2.0,
"description": "供应商对在询比文件中规定的商务条款做出应答或填写偏离表根据供应商是否满足或优于询比文件要求进行评分。全部满足或优于得2分。每有一条\"不满足\"或者\"部分满足\"此项不得分。",
"category": "commercial",
"chapter_id": "chapter_03"
},
{
"item_name": "有效响应报价",
"max_score": 40.0,
"description": "评审基准价法,评审基准价的确定:当供应商超过五个时,所有供应商的有效响应报价去掉一个最高价,去掉一个最低价的算术平均值为评审基准价;当供应商等于或少于五个时,所有供应商的有效响应报价的算术平均值为评审基准价。",
"category": "commercial",
"chapter_id": "chapter_23"
}
],
"deviation_items": [],
"chapters": [
{
"id": "eval_index",
"title": "1. 评标索引表(技术评分完全对应)",
"level": 1,
"score": null,
"template_placeholder": "{{evaluation_index_content}}",
"children": []
},
{
"id": "compliance",
"title": "2. 实质性响应/星号条款偏离表",
"level": 1,
"score": null,
"template_placeholder": "{{compliance_response_content}}",
"children": [
{
"id": "compliance_01",
"title": "2.1 其他要求",
"level": 2,
"score": null,
"template_placeholder": "{{compliance_01_content}}",
"children": [
{
"id": "compliance_01_01",
"title": "2.1.1 技术条款应答 (2.0分)",
"level": 3,
"score": 2.0,
"template_placeholder": "{{compliance_01_01_content}}",
"children": []
},
{
"id": "compliance_01_02",
"title": "2.1.2 供应商在研发、管理、安全保障等方面能力-基本要求 (3.0分)",
"level": 3,
"score": 3.0,
"template_placeholder": "{{compliance_01_02_content}}",
"children": []
},
{
"id": "compliance_01_03",
"title": "2.1.3 供应商在研发、管理、安全保障等方面能力-质量评分 (2.0分)",
"level": 3,
"score": 2.0,
"template_placeholder": "{{compliance_01_03_content}}",
"children": []
}
]
}
]
},
{
"id": "tech_solution",
"title": "3. 总体技术方案",
"level": 1,
"score": null,
"template_placeholder": "{{technical_solution_content}}",
"children": [
{
"id": "tech_solution_01",
"title": "3.1 技术方案要求",
"level": 2,
"score": null,
"template_placeholder": "{{tech_solution_01_content}}",
"children": [
{
"id": "tech_solution_01_01",
"title": "3.1.1 技术方案-基本要求 (3.0分)",
"level": 3,
"score": 3.0,
"template_placeholder": "{{tech_solution_01_01_content}}",
"children": []
},
{
"id": "tech_solution_01_02",
"title": "3.1.2 技术方案-质量评分 (2.0分)",
"level": 3,
"score": 2.0,
"template_placeholder": "{{tech_solution_01_02_content}}",
"children": []
}
]
}
]
},
{
"id": "equipment",
"title": "4. 关键设备规格书及检测报告",
"level": 1,
"score": null,
"template_placeholder": "{{equipment_spec_content}}",
"children": [
{
"id": "equipment_01",
"title": "4.1 其他要求",
"level": 2,
"score": null,
"template_placeholder": "{{equipment_01_content}}",
"children": [
{
"id": "equipment_01_01",
"title": "4.1.1 投入机械设备、仪器、车辆 (3.0分)",
"level": 3,
"score": 3.0,
"template_placeholder": "{{equipment_01_01_content}}",
"children": []
}
]
}
]
},
{
"id": "implementation",
"title": "5. 项目实施与交付计划",
"level": 1,
"score": null,
"template_placeholder": "{{implementation_content}}",
"children": [
{
"id": "implementation_01",
"title": "5.1 进度计划要求",
"level": 2,
"score": null,
"template_placeholder": "{{implementation_01_content}}",
"children": [
{
"id": "implementation_01_01",
"title": "5.1.1 进度计划-基本要求 (3.0分)",
"level": 3,
"score": 3.0,
"template_placeholder": "{{implementation_01_01_content}}",
"children": []
},
{
"id": "implementation_01_02",
"title": "5.1.2 进度计划-质量评分 (2.0分)",
"level": 3,
"score": 2.0,
"template_placeholder": "{{implementation_01_02_content}}",
"children": []
}
]
},
{
"id": "implementation_02",
"title": "5.2 人员配置要求",
"level": 2,
"score": null,
"template_placeholder": "{{implementation_02_content}}",
"children": [
{
"id": "implementation_02_01",
"title": "5.2.1 人员配置-基本要求 (3.0分)",
"level": 3,
"score": 3.0,
"template_placeholder": "{{implementation_02_01_content}}",
"children": []
},
{
"id": "implementation_02_02",
"title": "5.2.2 人员配置-质量评分 (2.0分)",
"level": 3,
"score": 2.0,
"template_placeholder": "{{implementation_02_02_content}}",
"children": []
}
]
},
{
"id": "implementation_03",
"title": "5.3 其他要求",
"level": 2,
"score": null,
"template_placeholder": "{{implementation_03_content}}",
"children": [
{
"id": "implementation_03_01",
"title": "5.3.1 交付期 (5.0分)",
"level": 3,
"score": 5.0,
"template_placeholder": "{{implementation_03_01_content}}",
"children": []
}
]
}
]
},
{
"id": "quality",
"title": "6. 质量、安全、环境体系",
"level": 1,
"score": null,
"template_placeholder": "{{quality_system_content}}",
"children": [
{
"id": "quality_01",
"title": "6.1 质量保证措施要求",
"level": 2,
"score": null,
"template_placeholder": "{{quality_01_content}}",
"children": [
{
"id": "quality_01_01",
"title": "6.1.1 质量保证措施-基本要求 (3.0分)",
"level": 3,
"score": 3.0,
"template_placeholder": "{{quality_01_01_content}}",
"children": []
},
{
"id": "quality_01_02",
"title": "6.1.2 质量保证措施-质量评分 (2.0分)",
"level": 3,
"score": 2.0,
"template_placeholder": "{{quality_01_02_content}}",
"children": []
}
]
},
{
"id": "quality_02",
"title": "6.2 软件开发安全建议要求",
"level": 2,
"score": null,
"template_placeholder": "{{quality_02_content}}",
"children": [
{
"id": "quality_02_01",
"title": "6.2.1 软件开发安全建议-基本要求 (3.0分)",
"level": 3,
"score": 3.0,
"template_placeholder": "{{quality_02_01_content}}",
"children": []
},
{
"id": "quality_02_02",
"title": "6.2.2 软件开发安全建议-质量评分 (2.0分)",
"level": 3,
"score": 2.0,
"template_placeholder": "{{quality_02_02_content}}",
"children": []
}
]
}
]
},
{
"id": "after_sales",
"title": "7. 运维服务及备品备件",
"level": 1,
"score": null,
"template_placeholder": "{{after_sales_content}}",
"children": [
{
"id": "after_sales_01",
"title": "7.1 平台维护方案要求",
"level": 2,
"score": null,
"template_placeholder": "{{after_sales_01_content}}",
"children": [
{
"id": "after_sales_01_01",
"title": "7.1.1 平台维护方案-基本要求 (3.0分)",
"level": 3,
"score": 3.0,
"template_placeholder": "{{after_sales_01_01_content}}",
"children": []
},
{
"id": "after_sales_01_02",
"title": "7.1.2 平台维护方案-质量评分 (2.0分)",
"level": 3,
"score": 2.0,
"template_placeholder": "{{after_sales_01_02_content}}",
"children": []
}
]
},
{
"id": "after_sales_02",
"title": "7.2 售后服务方案要求",
"level": 2,
"score": null,
"template_placeholder": "{{after_sales_02_content}}",
"children": [
{
"id": "after_sales_02_01",
"title": "7.2.1 售后服务方案-基本要求 (3.0分)",
"level": 3,
"score": 3.0,
"template_placeholder": "{{after_sales_02_01_content}}",
"children": []
},
{
"id": "after_sales_02_02",
"title": "7.2.2 售后服务方案-质量评分 (2.0分)",
"level": 3,
"score": 2.0,
"template_placeholder": "{{after_sales_02_02_content}}",
"children": []
}
]
}
]
},
{
"id": "delivery",
"title": "8. 验收与绩效考核对应表",
"level": 1,
"score": null,
"template_placeholder": "{{contract_delivery_content}}",
"children": []
}
]
}