mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-30 09:14:59 +00:00
noop
This commit is contained in:
parent
594c4b600b
commit
33f649dbbd
1 changed files with 1 additions and 1 deletions
|
@ -366,7 +366,7 @@ def call_map():
|
||||||
total_weight = sum(data["weight"] for _src, _dst, data in G.in_edges(dst, data=True))
|
total_weight = sum(data["weight"] for _src, _dst, data in G.in_edges(dst, data=True))
|
||||||
dump(dst, dst_rank, total_weight)
|
dump(dst, dst_rank, total_weight)
|
||||||
for _src, _dst, data in G.in_edges(dst, data=True):
|
for _src, _dst, data in G.in_edges(dst, data=True):
|
||||||
data["rank"] = data["weight"] / total_weight * dst_rank
|
data["rank"] = dst_rank * data["weight"] / total_weight
|
||||||
ident = data["ident"]
|
ident = data["ident"]
|
||||||
ranked_definitions[(dst, ident)] += data["rank"]
|
ranked_definitions[(dst, ident)] += data["rank"]
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue