Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Graphify-Labs/graphify
/ _references
Function
_references
tests/test_markdown_code_spans.py:99–101 ·
view source on GitHub ↗
(r)
Source
from the content-addressed store, hash-verified
97
98
99
def
_references(r):
100
return
{(e[
"source"
], e[
"target"
]): e
for
e in r[
"edges"
]
101
if
e[
"relation"
] ==
"references"
}
102
103
104
def
test_code_span_mentions_are_classified():
Callers
15
test_mentions_resolve_to_references_edges_end_to_end
Function · 0.70
test_ambiguous_bare_name_yields_no_edge
Function · 0.70
test_dotted_mentions_need_qualifier_evidence
Function · 0.70
test_namespace_and_member_chains_resolve
Function · 0.70
_pairs
Function · 0.70
test_bare_lowercase_word_does_not_link_to_an_unrelated_method
Function · 0.70
test_bare_method_mention_survives_when_the_document_cites_its_class
Function · 0.70
test_bare_method_with_parentheses_still_resolves
Function · 0.70
test_bare_lowercase_word_does_not_link_to_an_unrelated_function
Function · 0.70
test_bare_function_mention_survives_when_the_document_cites_another_symbol_from_its_file
Function · 0.70
test_bare_function_with_parentheses_still_resolves
Function · 0.70
test_bare_function_survives_when_a_class_in_its_file_is_cited
Function · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected