MCPcopy Create free account

hub / github.com/NCUSCC/cs4ncu / functions

Functions41 in github.com/NCUSCC/cs4ncu

↓ 3 callersFunctiongetCircleParams
()
docs/javascripts/readingProgress.js:17
↓ 3 callersFunctionload_tag_dictionary
加载标签词典。 返回: - 原始字典。 - 所有合法标签的集合 (区分大小写)。 - 所有合法前缀的集合。 - 从小写标签到其官方大小写形式的映射字典。
tools/manage_tags.py:34
↓ 2 callersMethod_flatten_report_tree
(self, report_tree: List[Dict])
tools/completion_analyzer.py:238
↓ 2 callersFunctiongenerate_index_file
根据标签词典重新生成 docs/tags.md。
tools/manage_tags.py:222
↓ 2 callersFunctionmain_sync
“同步”模式:完整地发现、报告、交互式管理并生成所有内容。
tools/manage_tags.py:259
↓ 2 callersFunctionreport_critical_errors
报告需要手动修复的严重错误(格式和大小写)。
tools/manage_tags.py:146
↓ 2 callersFunctionthrottle
(func, limit)
docs/javascripts/readingProgress.js:126
↓ 2 callersFunctionupdateCircleSize
()
docs/javascripts/readingProgress.js:90
↓ 2 callersFunctionupdateProgress
()
docs/javascripts/readingProgress.js:97
↓ 2 callersFunctionvalidate_and_find_issues
扫描所有 MD 文件并发现三类问题: 1. 格式错误的标签 (malformed_tags) 2. 大小写错误的标签 (case_error_tags) 3. 未知标签 (unknown_tags), 可能包含拼写建议
tools/manage_tags.py:77
↓ 1 callersMethodanalyze_file
(self, file_path: str)
tools/completion_analyzer.py:169
↓ 1 callersMethodassess_content_size
(self, char_count: int)
tools/completion_analyzer.py:274
↓ 1 callersMethodcategorize_file
(self, file_path: str)
tools/completion_analyzer.py:252
↓ 1 callersFunctioncreateProgressRing
()
docs/javascripts/readingProgress.js:39
↓ 1 callersFunctionextract_frontmatter
从文件内容中分离 frontmatter 和正文
tools/weaver_build_raw_db.py:42
↓ 1 callersFunctionextract_headings
提取所有的二级和三级标题
tools/weaver_build_raw_db.py:95
↓ 1 callersFunctionextract_intro_summary
智能提取摘要:跳过提示框,找到第一个有效段落。
tools/weaver_build_raw_db.py:56
↓ 1 callersFunctionfind_best_fuzzy_match
使用模糊匹配为未知标签寻找最佳建议。
tools/manage_tags.py:66
↓ 1 callersMethodgenerate_report_tree
(self)
tools/completion_analyzer.py:204
↓ 1 callersFunctionget_commit_info
获取 Git 仓库的 commit 信息
tools/completion_analyzer.py:72
↓ 1 callersFunctioninit
()
docs/javascripts/readingProgress.js:138
↓ 1 callersFunctioninteractive_unknown_tag_management
交互式地管理未知标签,提供智能建议。
tools/manage_tags.py:172
↓ 1 callersFunctionis_ignored
检查文件路径是否匹配任何忽略规则
tools/weaver_build_raw_db.py:34
↓ 1 callersFunctionload_config
加载配置,优先级:命令行参数 > pyproject.toml > 默认值
tools/completion_analyzer.py:46
↓ 1 callersFunctionload_ignore_patterns
加载 .weaverignore 文件中的忽略规则
tools/weaver_build_raw_db.py:21
↓ 1 callersMethodload_mkdocs_config
(self)
tools/completion_analyzer.py:116
↓ 1 callersFunctionmain
()
main.py:1
↓ 1 callersFunctionmain
()
tools/completion_analyzer.py:417
↓ 1 callersFunctionmain
主路由器,根据命令行参数选择执行模式。
tools/manage_tags.py:319
↓ 1 callersFunctionmain_check
“检查”模式:仅报告错误,用于 CI。
tools/manage_tags.py:287
↓ 1 callersMethodparse_nav_tree
(self, nav_structure: List)
tools/completion_analyzer.py:126
↓ 1 callersMethodparse_todo_checklist
(self)
tools/completion_analyzer.py:153
↓ 1 callersMethodprint_summary
(self, report_list: List[Dict[str, Any]])
tools/completion_analyzer.py:397
↓ 1 callersMethodsave_to_csv
(self, report_list: List[Dict[str, Any]], output_path_str: str)
tools/completion_analyzer.py:289
↓ 1 callersMethodsave_to_markdown
将报告树保存为美观的、顶格对齐的 Markdown 文件
tools/completion_analyzer.py:312
Method__init__
(self, config: Dict[str, Any])
tools/completion_analyzer.py:107
Method_analyze_node
(node: Dict[str, Any])
tools/completion_analyzer.py:214
Method_parse_recursive
(item: Any)
tools/completion_analyzer.py:129
Method_render_node_md
(node: Dict, level: int)
tools/completion_analyzer.py:348
Method_traverse
(node)
tools/completion_analyzer.py:241
Functionbuild_raw_db
扫描 docs/ 目录,提取每篇文章的关键信息,生成 raw_database.json。
tools/weaver_build_raw_db.py:102