Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/NCUSCC/cs4ncu
/ functions
Functions
41 in github.com/NCUSCC/cs4ncu
⨍
Functions
41
◇
Types & classes
1
↓ 3 callers
Function
getCircleParams
()
docs/javascripts/readingProgress.js:17
↓ 3 callers
Function
load_tag_dictionary
加载标签词典。 返回: - 原始字典。 - 所有合法标签的集合 (区分大小写)。 - 所有合法前缀的集合。 - 从小写标签到其官方大小写形式的映射字典。
tools/manage_tags.py:34
↓ 2 callers
Method
_flatten_report_tree
(self, report_tree: List[Dict])
tools/completion_analyzer.py:238
↓ 2 callers
Function
generate_index_file
根据标签词典重新生成 docs/tags.md。
tools/manage_tags.py:222
↓ 2 callers
Function
main_sync
“同步”模式:完整地发现、报告、交互式管理并生成所有内容。
tools/manage_tags.py:259
↓ 2 callers
Function
report_critical_errors
报告需要手动修复的严重错误(格式和大小写)。
tools/manage_tags.py:146
↓ 2 callers
Function
throttle
(func, limit)
docs/javascripts/readingProgress.js:126
↓ 2 callers
Function
updateCircleSize
()
docs/javascripts/readingProgress.js:90
↓ 2 callers
Function
updateProgress
()
docs/javascripts/readingProgress.js:97
↓ 2 callers
Function
validate_and_find_issues
扫描所有 MD 文件并发现三类问题: 1. 格式错误的标签 (malformed_tags) 2. 大小写错误的标签 (case_error_tags) 3. 未知标签 (unknown_tags), 可能包含拼写建议
tools/manage_tags.py:77
↓ 1 callers
Method
analyze_file
(self, file_path: str)
tools/completion_analyzer.py:169
↓ 1 callers
Method
assess_content_size
(self, char_count: int)
tools/completion_analyzer.py:274
↓ 1 callers
Method
categorize_file
(self, file_path: str)
tools/completion_analyzer.py:252
↓ 1 callers
Function
createProgressRing
()
docs/javascripts/readingProgress.js:39
↓ 1 callers
Function
extract_frontmatter
从文件内容中分离 frontmatter 和正文
tools/weaver_build_raw_db.py:42
↓ 1 callers
Function
extract_headings
提取所有的二级和三级标题
tools/weaver_build_raw_db.py:95
↓ 1 callers
Function
extract_intro_summary
智能提取摘要:跳过提示框,找到第一个有效段落。
tools/weaver_build_raw_db.py:56
↓ 1 callers
Function
find_best_fuzzy_match
使用模糊匹配为未知标签寻找最佳建议。
tools/manage_tags.py:66
↓ 1 callers
Method
generate_report_tree
(self)
tools/completion_analyzer.py:204
↓ 1 callers
Function
get_commit_info
获取 Git 仓库的 commit 信息
tools/completion_analyzer.py:72
↓ 1 callers
Function
init
()
docs/javascripts/readingProgress.js:138
↓ 1 callers
Function
interactive_unknown_tag_management
交互式地管理未知标签,提供智能建议。
tools/manage_tags.py:172
↓ 1 callers
Function
is_ignored
检查文件路径是否匹配任何忽略规则
tools/weaver_build_raw_db.py:34
↓ 1 callers
Function
load_config
加载配置,优先级:命令行参数 > pyproject.toml > 默认值
tools/completion_analyzer.py:46
↓ 1 callers
Function
load_ignore_patterns
加载 .weaverignore 文件中的忽略规则
tools/weaver_build_raw_db.py:21
↓ 1 callers
Method
load_mkdocs_config
(self)
tools/completion_analyzer.py:116
↓ 1 callers
Function
main
()
main.py:1
↓ 1 callers
Function
main
()
tools/completion_analyzer.py:417
↓ 1 callers
Function
main
主路由器,根据命令行参数选择执行模式。
tools/manage_tags.py:319
↓ 1 callers
Function
main_check
“检查”模式:仅报告错误,用于 CI。
tools/manage_tags.py:287
↓ 1 callers
Method
parse_nav_tree
(self, nav_structure: List)
tools/completion_analyzer.py:126
↓ 1 callers
Method
parse_todo_checklist
(self)
tools/completion_analyzer.py:153
↓ 1 callers
Method
print_summary
(self, report_list: List[Dict[str, Any]])
tools/completion_analyzer.py:397
↓ 1 callers
Method
save_to_csv
(self, report_list: List[Dict[str, Any]], output_path_str: str)
tools/completion_analyzer.py:289
↓ 1 callers
Method
save_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
Function
build_raw_db
扫描 docs/ 目录,提取每篇文章的关键信息,生成 raw_database.json。
tools/weaver_build_raw_db.py:102