coderank_analysis
Rank code repository modules by importance using CodeRank to pinpoint critical code for focused analysis.
Instructions
Analyze repository importance using CodeRank algorithm to identify critical modules.
Args: repo_path: Path to the repository (absolute path) external_modules: Comma-separated list of external modules to track top_n: Number of top modules to return analyze_markdown: Include markdown files in analysis output_format: "summary" for key results, "detailed" for full analysis, "json" for machine-readable
Returns: Ranked list of most important modules with scores
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"repo_path": "<repo_path>"
},
"name": "coderank_analysis"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| top_n | No | ||
| repo_path | Yes | ||
| output_format | No | summary | |
| analyze_markdown | No | ||
| external_modules | No | google,genai,langchain,langgraph,dspy,agn,torch,numpy |