mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-29 00:35:00 +00:00
noop
This commit is contained in:
parent
c635217d6a
commit
a553d71ca2
1 changed files with 2 additions and 1 deletions
|
@ -335,6 +335,7 @@ def call_map():
|
|||
for edge, weight in edges.items():
|
||||
refs, defs = edge
|
||||
G.add_edge(refs, defs, weight=weight)
|
||||
G.add_edge(defs, refs, weight=weight)
|
||||
|
||||
personalization = dict()
|
||||
personalization["repomap.py"] = 1.0
|
||||
|
@ -392,7 +393,7 @@ def call_map():
|
|||
top_rank = sorted([(rank, node) for (node, rank) in ranked.items()], reverse=True)
|
||||
# Print the PageRank of each node
|
||||
for rank, node in top_rank[:N]:
|
||||
print(f"{node} rank: {rank}")
|
||||
print(f"{rank:.03f} {node}")
|
||||
|
||||
dot.render("tmp", format="pdf", view=True)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue