366 lines
25 KiB
Markdown
366 lines
25 KiB
Markdown
# Graph Report - app (2026-07-16)
|
||
|
||
## Corpus Check
|
||
- Large corpus: 219 files · ~265,741 words. Semantic extraction will be expensive (many Claude tokens). Consider running on a subfolder, or use --no-semantic to run AST-only.
|
||
|
||
## Summary
|
||
- 4530 nodes · 12955 edges · 57 communities detected
|
||
- Extraction: 60% EXTRACTED · 40% INFERRED · 0% AMBIGUOUS · INFERRED: 5182 edges (avg confidence: 0.8)
|
||
- Token cost: 0 input · 0 output
|
||
|
||
## Community Hubs (Navigation)
|
||
- [[_COMMUNITY_Community 0|Community 0]]
|
||
- [[_COMMUNITY_Community 1|Community 1]]
|
||
- [[_COMMUNITY_Community 2|Community 2]]
|
||
- [[_COMMUNITY_Community 3|Community 3]]
|
||
- [[_COMMUNITY_Community 4|Community 4]]
|
||
- [[_COMMUNITY_Community 5|Community 5]]
|
||
- [[_COMMUNITY_Community 6|Community 6]]
|
||
- [[_COMMUNITY_Community 7|Community 7]]
|
||
- [[_COMMUNITY_Community 8|Community 8]]
|
||
- [[_COMMUNITY_Community 9|Community 9]]
|
||
- [[_COMMUNITY_Community 10|Community 10]]
|
||
- [[_COMMUNITY_Community 11|Community 11]]
|
||
- [[_COMMUNITY_Community 12|Community 12]]
|
||
- [[_COMMUNITY_Community 13|Community 13]]
|
||
- [[_COMMUNITY_Community 14|Community 14]]
|
||
- [[_COMMUNITY_Community 15|Community 15]]
|
||
- [[_COMMUNITY_Community 16|Community 16]]
|
||
- [[_COMMUNITY_Community 17|Community 17]]
|
||
- [[_COMMUNITY_Community 18|Community 18]]
|
||
- [[_COMMUNITY_Community 19|Community 19]]
|
||
- [[_COMMUNITY_Community 20|Community 20]]
|
||
- [[_COMMUNITY_Community 21|Community 21]]
|
||
- [[_COMMUNITY_Community 22|Community 22]]
|
||
- [[_COMMUNITY_Community 23|Community 23]]
|
||
- [[_COMMUNITY_Community 24|Community 24]]
|
||
- [[_COMMUNITY_Community 25|Community 25]]
|
||
- [[_COMMUNITY_Community 26|Community 26]]
|
||
- [[_COMMUNITY_Community 27|Community 27]]
|
||
- [[_COMMUNITY_Community 28|Community 28]]
|
||
- [[_COMMUNITY_Community 29|Community 29]]
|
||
- [[_COMMUNITY_Community 30|Community 30]]
|
||
- [[_COMMUNITY_Community 31|Community 31]]
|
||
- [[_COMMUNITY_Community 32|Community 32]]
|
||
- [[_COMMUNITY_Community 33|Community 33]]
|
||
- [[_COMMUNITY_Community 34|Community 34]]
|
||
- [[_COMMUNITY_Community 35|Community 35]]
|
||
- [[_COMMUNITY_Community 36|Community 36]]
|
||
- [[_COMMUNITY_Community 37|Community 37]]
|
||
- [[_COMMUNITY_Community 38|Community 38]]
|
||
- [[_COMMUNITY_Community 39|Community 39]]
|
||
- [[_COMMUNITY_Community 40|Community 40]]
|
||
- [[_COMMUNITY_Community 41|Community 41]]
|
||
- [[_COMMUNITY_Community 42|Community 42]]
|
||
- [[_COMMUNITY_Community 43|Community 43]]
|
||
- [[_COMMUNITY_Community 44|Community 44]]
|
||
- [[_COMMUNITY_Community 45|Community 45]]
|
||
- [[_COMMUNITY_Community 46|Community 46]]
|
||
- [[_COMMUNITY_Community 47|Community 47]]
|
||
- [[_COMMUNITY_Community 48|Community 48]]
|
||
- [[_COMMUNITY_Community 49|Community 49]]
|
||
- [[_COMMUNITY_Community 50|Community 50]]
|
||
- [[_COMMUNITY_Community 53|Community 53]]
|
||
- [[_COMMUNITY_Community 54|Community 54]]
|
||
- [[_COMMUNITY_Community 55|Community 55]]
|
||
- [[_COMMUNITY_Community 56|Community 56]]
|
||
- [[_COMMUNITY_Community 57|Community 57]]
|
||
- [[_COMMUNITY_Community 58|Community 58]]
|
||
|
||
## God Nodes (most connected - your core abstractions)
|
||
1. `success_response()` - 677 edges
|
||
2. `error_response()` - 561 edges
|
||
3. `generate_uuid()` - 225 edges
|
||
4. `_get_tenant_no()` - 149 edges
|
||
5. `apply_data_scope()` - 97 edges
|
||
6. `_row_to_dict()` - 93 edges
|
||
7. `_get_tenant_no()` - 93 edges
|
||
8. `_get_tenant_no()` - 83 edges
|
||
9. `_get_current_user_id()` - 77 edges
|
||
10. `total_pages()` - 67 edges
|
||
|
||
## Surprising Connections (you probably didn't know these)
|
||
- `get_menu_list()` --calls--> `success_response()` [INFERRED]
|
||
/Users/wuzilong/work/00code/zkxw/backend/app/api/menu.py → core/response.py
|
||
- `sync_lab_storage_seq_after_use()` --calls--> `generate_uuid()` [INFERRED]
|
||
/Users/wuzilong/work/00code/zkxw/backend/app/crud/sample_reception_lab_code.py → core/utils.py
|
||
- `list_pilot_release_reviews()` --calls--> `success_response()` [INFERRED]
|
||
/Users/wuzilong/work/00code/zkxw/backend/app/api/outbound_release_review.py → core/response.py
|
||
- `get_pilot_release_review_detail()` --calls--> `success_response()` [INFERRED]
|
||
/Users/wuzilong/work/00code/zkxw/backend/app/api/outbound_release_review.py → core/response.py
|
||
- `submit_single_review()` --calls--> `success_response()` [INFERRED]
|
||
/Users/wuzilong/work/00code/zkxw/backend/app/api/outbound_release_review.py → core/response.py
|
||
|
||
## Communities
|
||
|
||
### Community 0 - "Community 0"
|
||
Cohesion: 0.01
|
||
Nodes (697): attachment_download_url(), AttachmentDownloadUrlBody, create_dept(), create_dict_data(), create_dict_type(), create_express_company(), create_item_unit(), create_menu() (+689 more)
|
||
|
||
### Community 1 - "Community 1"
|
||
Cohesion: 0.0
|
||
Nodes (586): CellSampleTypeCreateBody, CellSampleTypeUpdateBody, CollectionRegionCreateBody, CollectionRegionUpdateBody, CustomerCreateBody, CustomerUpdateBody, HospitalCreateBody, HospitalUpdateBody (+578 more)
|
||
|
||
### Community 2 - "Community 2"
|
||
Cohesion: 0.01
|
||
Nodes (318): get_role_data_scope(), get_role_menus(), Base, create_access_log(), create_collection_region(), create_consumable_pack(), get_consumable_pack(), get_pack_detail() (+310 more)
|
||
|
||
### Community 3 - "Community 3"
|
||
Cohesion: 0.01
|
||
Nodes (272): _normalize_date_bound(), AuditCreateBody, BatchDetailIdsBody, BatchRefundFinanceSubmitBody, complete_protocol_invoice_request(), create_collection_protocol(), delete_collection_protocol(), _ensure_customer_for_mother() (+264 more)
|
||
|
||
### Community 4 - "Community 4"
|
||
Cohesion: 0.02
|
||
Nodes (210): generate_uuid(), batch_stock_in(), batch_stock_out(), consumable_code_exists(), create_consumable(), _dec(), get_consumable(), _is_enabled_status() (+202 more)
|
||
|
||
### Community 5 - "Community 5"
|
||
Cohesion: 0.02
|
||
Nodes (211): eq_unicode(), like_unicode(), MySQL 字符串比较/模糊匹配时统一排序规则,避免 Illegal mix of collations。, 跨表字符串等值比较(JOIN / WHERE)时统一为 utf8mb4_unicode_ci。, 将列显式设为 utf8mb4_unicode_ci。, unicode_ci(), build_void_type_label_map(), format_protocol_status_label() (+203 more)
|
||
|
||
### Community 6 - "Community 6"
|
||
Cohesion: 0.02
|
||
Nodes (196): list_access_logs(), list_uv_disinfect_logs(), ApiRequestLogCRUD, delete(), get_multi_with_filters(), _access_log_to_dict(), _calc_duration_minutes(), create_clean_room() (+188 more)
|
||
|
||
### Community 7 - "Community 7"
|
||
Cohesion: 0.03
|
||
Nodes (181): _batch_line_to_dict(), cancel_check(), _check_header_to_dict(), complete_check(), _get_check(), get_check_detail(), _line_counts(), list_checks() (+173 more)
|
||
|
||
### Community 8 - "Community 8"
|
||
Cohesion: 0.02
|
||
Nodes (151): batch_review(), _get_current_user_id(), get_outbound_release_materials(), get_pilot_release_review_detail(), _get_tenant_no(), list_pilot_release_reviews(), save_outbound_release_materials(), submit_single_review() (+143 more)
|
||
|
||
### Community 9 - "Community 9"
|
||
Cohesion: 0.03
|
||
Nodes (135): _body_to_payload(), _get_current_user_id(), get_production_reception_by_sample_code(), get_production_reception_detail(), _get_tenant_no(), post_production_reception(), ProductionReceptionBody, put_production_reception() (+127 more)
|
||
|
||
### Community 10 - "Community 10"
|
||
Cohesion: 0.03
|
||
Nodes (134): list_ethnics_for_select(), apply_data_scope(), _get_child_dept_ids(), get_user_dept_id(), 数据权限过滤(V0.3:基于角色 data_scope 的查询级行级过滤) data_scope 值: 1 = 全部数据 2 = 本部门数据 3, 根据用户角色的数据权限过滤查询。 Args: query: SQLAlchemy query 对象 model: 查询, 从 SysUser 读取用户的 dept_id。, 递归获取 dept_id 及其所有子部门 ID(含自身)。 (+126 more)
|
||
|
||
### Community 11 - "Community 11"
|
||
Cohesion: 0.03
|
||
Nodes (97): list_roles_for_select(), 返回运营端角色下拉选项(label=库中角色名,value=Web 角色码)。, _avatar_url_field(), _build_user_info_payload(), change_current_user_password(), get_web_auth_menu_codes(), _jwt_user_payload(), logout() (+89 more)
|
||
|
||
### Community 12 - "Community 12"
|
||
Cohesion: 0.04
|
||
Nodes (91): get_next_cell_product_code(), _ancestor_link_from_cell_product_input(), _ancestor_sample_chain_link(), _apply_cell_product_status_change(), _build_ancestor_chain(), _build_descendant_chain(), _build_facility_path_label(), build_split_product_codes() (+83 more)
|
||
|
||
### Community 13 - "Community 13"
|
||
Cohesion: 0.04
|
||
Nodes (41): _error_json(), lifespan(), 数据库异常:返回 JSON 并保留 CORS 头,避免浏览器只报跨域错误, 未捕获异常:统一 JSON 500,确保跨域场景下仍有 Access-Control-Allow-Origin, sqlalchemy_exception_handler(), unhandled_exception_handler(), extract_avatar_storage_key(), 用户头像 URL 解析(sys_user.avatar 可能存 MinIO 相对路径或完整 URL) (+33 more)
|
||
|
||
### Community 14 - "Community 14"
|
||
Cohesion: 0.04
|
||
Nodes (66): delete_leave(), get_leave(), _leave_local_callback(), leave_workflow_callback(), list_leaves(), submit_leave(), update_leave(), _business_type_label() (+58 more)
|
||
|
||
### Community 15 - "Community 15"
|
||
Cohesion: 0.04
|
||
Nodes (79): AuditSubmitBody, BatchDeleteBody, ConvertFromStorageBody, DonationCreateBody, DonationUpdateBody, list_research_donation_audits(), list_research_donations(), next_research_donation_sample_code() (+71 more)
|
||
|
||
### Community 16 - "Community 16"
|
||
Cohesion: 0.05
|
||
Nodes (79): api_list_applications(), api_save_application(), auto_create_payment(), 输注计划创建时自动调用,生成 dfj 缴费记录, auto_generate_schedules(), complete_application(), create_application(), create_basic_experiment_sale_schedules() (+71 more)
|
||
|
||
### Community 17 - "Community 17"
|
||
Cohesion: 0.05
|
||
Nodes (72): list_storage_slot_select_options(), list_storage_slot_stats(), list_storage_slots(), 各叶子节点格子占用/总数统计(单次聚合,替代逐节点拉全量格子列表)。, aggregate_slot_stats_by_facility(), _apply_slot_select_base_filters(), _apply_slot_select_query_filters(), batch_create_slots() (+64 more)
|
||
|
||
### Community 18 - "Community 18"
|
||
Cohesion: 0.06
|
||
Nodes (64): batch_delete_cleanroom_garments(), batch_discard_cleanroom_garments(), create_cleanroom_garment(), create_sterilize_log(), create_wash_log(), delete_cleanroom_garment(), delete_sterilize_log(), delete_wash_log() (+56 more)
|
||
|
||
### Community 19 - "Community 19"
|
||
Cohesion: 0.05
|
||
Nodes (43): BaseHTTPMiddleware, parse_admin_request_json(), 运营 Web(/web/admin)JSON 请求体解析。 与 ApiCryptoMiddleware 配合:中间件未改写 body 时,在路由内解密 `{, 读取 JSON body;dict 时走 resolve_request_payload(明文 / 密文 / data 包装)。 Returns:, ApiCryptoError, _b64url_decode(), _b64url_encode(), decrypt_json() (+35 more)
|
||
|
||
### Community 20 - "Community 20"
|
||
Cohesion: 0.08
|
||
Nodes (51): _code_exists(), create_material(), _dec(), _fmt_dt(), get_material(), get_material_entity(), get_my_usages(), _is_enabled_status() (+43 more)
|
||
|
||
### Community 21 - "Community 21"
|
||
Cohesion: 0.07
|
||
Nodes (48): _production_conclusion_label(), 从生产任务创建临时生产工单,并返回待复制到新任务的原材料载荷(不含产出)。, spawn_temporary_work_order_from_task(), _accept_conclusion_label(), apply_planned_start_time_step_filter(), _attach_outbound_detail(), _attach_reception_detail(), complete_production_work_order() (+40 more)
|
||
|
||
### Community 22 - "Community 22"
|
||
Cohesion: 0.08
|
||
Nodes (42): create_env_detect_item(), create_env_detect_record(), delete_env_detect_item(), delete_env_detect_record(), EnvDetectItemBody, EnvDetectItemUpdateBody, EnvDetectRecordBody, EnvDetectRecordUpdateBody (+34 more)
|
||
|
||
### Community 23 - "Community 23"
|
||
Cohesion: 0.1
|
||
Nodes (32): generate_sms(), _get_current_user_id(), _get_tenant_no(), list_notifications(), _page_payload(), toggle_status(), ToggleStatusBody, generate_sms() (+24 more)
|
||
|
||
### Community 24 - "Community 24"
|
||
Cohesion: 0.12
|
||
Nodes (11): get_wechat_pay_client(), get_wechat_pay_v2(), 微信支付工具模块 支持微信支付 V3 API 文档参考: https://pay.weixin.qq.com/docs/v3/apis/index.html, 统一下单接口 (V3) Args: out_trade_no: 商户订单号 total_amo, 申请退款 Args: out_trade_no: 商户订单号 total_amount: 订单, 小程序调起支付的二次签名参数(与公众号 JSAPI 规则一致), 统一下单 (V2 API) Args: out_trade_no: 商户订单号 total_f, 生成签名 V3 (SHA256 with RSA) (+3 more)
|
||
|
||
### Community 25 - "Community 25"
|
||
Cohesion: 0.16
|
||
Nodes (20): company_code_exists(), create_company(), get_company(), list_companies(), list_company_options(), _row_to_dict(), soft_delete_company(), update_company() (+12 more)
|
||
|
||
### Community 26 - "Community 26"
|
||
Cohesion: 0.14
|
||
Nodes (20): list_protocol_nos(), get_protocol_nos_used_in_protocols(), batch_generate_protocol_nos(), batch_issue_protocol_nos(), batch_revoke_protocol_nos(), create_protocol_no(), enrich_issued_user_names(), get_protocol_no() (+12 more)
|
||
|
||
### Community 27 - "Community 27"
|
||
Cohesion: 0.16
|
||
Nodes (18): delete_hospital(), list_collection_regions(), search_collection_hospitals(), create_hospital(), get_collection_region(), get_hospital(), _hospital_names_by_region_ids(), _hospital_to_dict() (+10 more)
|
||
|
||
### Community 28 - "Community 28"
|
||
Cohesion: 0.22
|
||
Nodes (14): batch_generate_sample_codes(), batch_issue_sample_codes(), batch_revoke_sample_codes(), create_sample_code(), get_sample_code(), list_sample_codes(), _parse_issued_time(), 样本编码池 CRUD(biz_sample_code) (+6 more)
|
||
|
||
### Community 29 - "Community 29"
|
||
Cohesion: 0.27
|
||
Nodes (12): create_equipment(), _dec(), equipment_code_exists(), equipment_is_referenced(), get_equipment(), list_equipments(), _norm_status(), _parse_date() (+4 more)
|
||
|
||
### Community 30 - "Community 30"
|
||
Cohesion: 0.24
|
||
Nodes (9): 微信消息通知服务 支持微信小程序模板消息推送 使用方式: from app.core.wechat_message import WechatMes, 发送模板消息 Args: openid: 用户openid template_, send_delivery_notice(), send_delivery_warning(), send_order_status(), send_payment_success(), send_refund_result(), send_urge_notification() (+1 more)
|
||
|
||
### Community 31 - "Community 31"
|
||
Cohesion: 0.24
|
||
Nodes (12): appointment_no_exists(), create_exhibition_appointment(), _format_visit_date(), _generate_appointment_no(), get_exhibition_appointment(), list_exhibition_appointments(), 展览预约 CRUD(biz_exhibition_appointment), 生成预约编号:YYYYMMDD + 6位序号(如 20260515000001) (+4 more)
|
||
|
||
### Community 32 - "Community 32"
|
||
Cohesion: 0.24
|
||
Nodes (10): create_cell_sample_type(), get_cell_sample_type(), list_cell_sample_types(), 细胞样本类型 CRUD(biz_cell_sample_type), _row_to_dict(), soft_delete_cell_sample_type(), type_code_exists(), update_cell_sample_type() (+2 more)
|
||
|
||
### Community 33 - "Community 33"
|
||
Cohesion: 0.27
|
||
Nodes (11): _build_tree(), _cascade_soft_delete(), _collect_with_ancestors(), create_dept(), get_dept(), list_depts(), list_depts_tree(), 保留匹配节点及其全部上级,供关键词检索后仍能正确组树。 (+3 more)
|
||
|
||
### Community 34 - "Community 34"
|
||
Cohesion: 0.29
|
||
Nodes (9): _build_tree(), _cascade_soft_delete(), create_menu(), get_menu(), list_menus(), list_menus_tree(), _row_to_dict(), soft_delete_menu() (+1 more)
|
||
|
||
### Community 35 - "Community 35"
|
||
Cohesion: 0.27
|
||
Nodes (8): create_customer(), get_customer(), id_card_taken(), list_customers(), 客户 CRUD(biz_customer), _row_to_dict(), soft_delete_customer(), update_customer()
|
||
|
||
### Community 36 - "Community 36"
|
||
Cohesion: 0.31
|
||
Nodes (9): _display_remark(), list_stock_logs(), _parse_receiver_purpose_from_remark(), 试剂变动记录 CRUD(biz_reagent_stock_log), 撤销步骤此前 step_save 扣减,便于重新填报。, _resolve_receiver_purpose(), revert_step_stock_changes(), _row_to_dict() (+1 more)
|
||
|
||
### Community 37 - "Community 37"
|
||
Cohesion: 0.31
|
||
Nodes (8): create_express_company(), express_code_exists(), get_express_company(), list_express_companies(), 快递公司 CRUD(biz_express_company), _row_to_dict(), soft_delete_express_company(), update_express_company()
|
||
|
||
### Community 38 - "Community 38"
|
||
Cohesion: 0.38
|
||
Nodes (9): create_check_item(), get_check_item(), item_code_exists(), list_active_check_items(), list_check_items(), _order_query(), _row_to_dict(), soft_delete_check_item() (+1 more)
|
||
|
||
### Community 39 - "Community 39"
|
||
Cohesion: 0.31
|
||
Nodes (8): category_code_exists(), create_process_category(), get_process_category(), list_process_categories(), 工艺工序分类 CRUD(biz_process_category), _row_to_dict(), soft_delete_process_category(), update_process_category()
|
||
|
||
### Community 40 - "Community 40"
|
||
Cohesion: 0.31
|
||
Nodes (8): create_item_unit(), get_item_unit(), list_item_units(), 物品单位 CRUD(biz_item_unit), _row_to_dict(), soft_delete_item_unit(), unit_code_exists(), update_item_unit()
|
||
|
||
### Community 41 - "Community 41"
|
||
Cohesion: 0.31
|
||
Nodes (8): create_output_type(), get_output_type(), list_output_types(), 工艺产出物类型 CRUD(biz_output_type), _row_to_dict(), soft_delete_output_type(), type_code_exists(), update_output_type()
|
||
|
||
### Community 42 - "Community 42"
|
||
Cohesion: 0.36
|
||
Nodes (7): create_tenant(), get_tenant(), list_tenants(), _row_to_dict(), soft_delete_tenant(), tenant_no_exists(), update_tenant()
|
||
|
||
### Community 43 - "Community 43"
|
||
Cohesion: 0.36
|
||
Nodes (7): create_site(), get_site(), list_sites(), _row_to_dict(), site_code_exists(), soft_delete_site(), update_site()
|
||
|
||
### Community 44 - "Community 44"
|
||
Cohesion: 0.38
|
||
Nodes (6): derive_legacy_status_from_three(), derive_three_status_from_legacy(), 阶段A兼容:从旧 status 推导三字段。 约束:旧 status 本身混合了支付/配送/订单生命周期,因此只能尽力推断; 若业务侧已有更精确, 阶段A兼容:从三字段反推旧 status(用于旧前端/旧筛选参数兼容)。, ThreeStatus, _to_decimal()
|
||
|
||
### Community 45 - "Community 45"
|
||
Cohesion: 0.5
|
||
Nodes (3): BaseSettings, Config, Settings
|
||
|
||
### Community 46 - "Community 46"
|
||
Cohesion: 0.5
|
||
Nodes (2): _auto_fill_create_dept_id(), ORM before_insert 钩子:当 create_dept_id 为空时,自动从请求上下文填充当前用户部门 ID
|
||
|
||
### Community 47 - "Community 47"
|
||
Cohesion: 0.67
|
||
Nodes (2): get_menu_list(), 运营端菜单接口(与 web-admin 前端静态路由 sqxp.ts 对齐,5 个一级菜单分组)
|
||
|
||
### Community 48 - "Community 48"
|
||
Cohesion: 1.0
|
||
Nodes (1): 质检物料金额查看授权:专用角色与菜单权限常量。
|
||
|
||
### Community 49 - "Community 49"
|
||
Cohesion: 1.0
|
||
Nodes (1): 请求级别的用户上下文变量 通过 contextvars 在请求处理链路中传递当前用户信息, 供 SQLAlchemy 事件监听器等底层机制使用,避免逐层手动传
|
||
|
||
### Community 50 - "Community 50"
|
||
Cohesion: 1.0
|
||
Nodes (1): API 路由包(骨架:公共鉴权 + 静态菜单 + 运营端占位)
|
||
|
||
### Community 53 - "Community 53"
|
||
Cohesion: 1.0
|
||
Nodes (1): 发送订单状态通知 Args: openid: 用户openid order_n
|
||
|
||
### Community 54 - "Community 54"
|
||
Cohesion: 1.0
|
||
Nodes (1): 发送支付成功通知 Args: openid: 用户openid order_n
|
||
|
||
### Community 55 - "Community 55"
|
||
Cohesion: 1.0
|
||
Nodes (1): 发送配送通知 Args: openid: 配送员openid task_no:
|
||
|
||
### Community 56 - "Community 56"
|
||
Cohesion: 1.0
|
||
Nodes (1): 发送配送时效预警 Args: openid: 配送员openid task_n
|
||
|
||
### Community 57 - "Community 57"
|
||
Cohesion: 1.0
|
||
Nodes (1): 发送退款结果通知 Args: openid: 用户openid order_n
|
||
|
||
### Community 58 - "Community 58"
|
||
Cohesion: 1.0
|
||
Nodes (1): 发送催单通知给配送员 Args: deliver_openid: 配送员openid
|
||
|
||
## Knowledge Gaps
|
||
- **650 isolated node(s):** `数据库异常:返回 JSON 并保留 CORS 头,避免浏览器只报跨域错误`, `未捕获异常:统一 JSON 500,确保跨域场景下仍有 Access-Control-Allow-Origin`, `刷新会话 TTL(refreshToken 续期;已登录用户每次 API 校验通过后滑动续期)`, `写入 refreshToken(用于 one-time 使用/吊销)`, `根据 token 获取当前用户(包含 Redis 会话校验;会话滑动续期)` (+645 more)
|
||
These have ≤1 connection - possible missing edges or undocumented components.
|
||
- **Thin community `Community 46`** (4 nodes): `_auto_fill_create_dept_id()`, `get_db()`, `ORM before_insert 钩子:当 create_dept_id 为空时,自动从请求上下文填充当前用户部门 ID`, `database.py`
|
||
Too small to be a meaningful cluster - may be noise or needs more connections extracted.
|
||
- **Thin community `Community 47`** (3 nodes): `get_menu_list()`, `运营端菜单接口(与 web-admin 前端静态路由 sqxp.ts 对齐,5 个一级菜单分组)`, `menu.py`
|
||
Too small to be a meaningful cluster - may be noise or needs more connections extracted.
|
||
- **Thin community `Community 48`** (2 nodes): `质检物料金额查看授权:专用角色与菜单权限常量。`, `qc_material_amount_auth_constants.py`
|
||
Too small to be a meaningful cluster - may be noise or needs more connections extracted.
|
||
- **Thin community `Community 49`** (2 nodes): `请求级别的用户上下文变量 通过 contextvars 在请求处理链路中传递当前用户信息, 供 SQLAlchemy 事件监听器等底层机制使用,避免逐层手动传`, `context.py`
|
||
Too small to be a meaningful cluster - may be noise or needs more connections extracted.
|
||
- **Thin community `Community 50`** (2 nodes): `API 路由包(骨架:公共鉴权 + 静态菜单 + 运营端占位)`, `__init__.py`
|
||
Too small to be a meaningful cluster - may be noise or needs more connections extracted.
|
||
- **Thin community `Community 53`** (1 nodes): `发送订单状态通知 Args: openid: 用户openid order_n`
|
||
Too small to be a meaningful cluster - may be noise or needs more connections extracted.
|
||
- **Thin community `Community 54`** (1 nodes): `发送支付成功通知 Args: openid: 用户openid order_n`
|
||
Too small to be a meaningful cluster - may be noise or needs more connections extracted.
|
||
- **Thin community `Community 55`** (1 nodes): `发送配送通知 Args: openid: 配送员openid task_no:`
|
||
Too small to be a meaningful cluster - may be noise or needs more connections extracted.
|
||
- **Thin community `Community 56`** (1 nodes): `发送配送时效预警 Args: openid: 配送员openid task_n`
|
||
Too small to be a meaningful cluster - may be noise or needs more connections extracted.
|
||
- **Thin community `Community 57`** (1 nodes): `发送退款结果通知 Args: openid: 用户openid order_n`
|
||
Too small to be a meaningful cluster - may be noise or needs more connections extracted.
|
||
- **Thin community `Community 58`** (1 nodes): `发送催单通知给配送员 Args: deliver_openid: 配送员openid`
|
||
Too small to be a meaningful cluster - may be noise or needs more connections extracted.
|
||
|
||
## Suggested Questions
|
||
_Questions this graph is uniquely positioned to answer:_
|
||
|
||
- **Why does `generate_uuid()` connect `Community 4` to `Community 0`, `Community 2`, `Community 3`, `Community 5`, `Community 6`, `Community 7`, `Community 8`, `Community 9`, `Community 10`, `Community 11`, `Community 12`, `Community 14`, `Community 15`, `Community 16`, `Community 17`, `Community 18`, `Community 19`, `Community 20`, `Community 21`, `Community 22`, `Community 23`, `Community 25`, `Community 26`, `Community 27`, `Community 28`, `Community 29`, `Community 31`, `Community 32`, `Community 33`, `Community 34`, `Community 35`, `Community 37`, `Community 38`, `Community 39`, `Community 40`, `Community 41`, `Community 42`, `Community 43`?**
|
||
_High betweenness centrality (0.135) - this node is a cross-community bridge._
|
||
- **Why does `success_response()` connect `Community 0` to `Community 1`, `Community 2`, `Community 3`, `Community 6`, `Community 8`, `Community 9`, `Community 10`, `Community 11`, `Community 12`, `Community 14`, `Community 15`, `Community 16`, `Community 17`, `Community 18`, `Community 22`, `Community 23`, `Community 26`, `Community 27`, `Community 47`?**
|
||
_High betweenness centrality (0.067) - this node is a cross-community bridge._
|
||
- **Why does `list_production_work_orders()` connect `Community 0` to `Community 1`?**
|
||
_High betweenness centrality (0.042) - this node is a cross-community bridge._
|
||
- **Are the 746 inferred relationships involving `str` (e.g. with `unhandled_exception_handler()` and `get_current_user_by_token()`) actually correct?**
|
||
_`str` has 746 INFERRED edges - model-reasoned connections that need verification._
|
||
- **Are the 676 inferred relationships involving `success_response()` (e.g. with `list_storage_release_reviews()` and `get_storage_release_review_detail()`) actually correct?**
|
||
_`success_response()` has 676 INFERRED edges - model-reasoned connections that need verification._
|
||
- **Are the 560 inferred relationships involving `error_response()` (e.g. with `_json_error_response()` and `list_storage_release_reviews()`) actually correct?**
|
||
_`error_response()` has 560 INFERRED edges - model-reasoned connections that need verification._
|
||
- **Are the 224 inferred relationships involving `generate_uuid()` (e.g. with `str` and `create_review_from_reception()`) actually correct?**
|
||
_`generate_uuid()` has 224 INFERRED edges - model-reasoned connections that need verification._ |