Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/THUDM/CogDL
/ test_rec_dataset
Function
test_rec_dataset
tests/datasets/test_rec_data.py:6–9 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
4
5
6
def
test_rec_dataset():
7
args = build_args_from_dict({
"dataset"
:
"yelp2018"
})
8
data = build_dataset(args)
9
assert isinstance(data[0], Graph)
10
11
12
if
__name__ ==
"__main__"
:
Callers
1
test_rec_data.py
File · 0.85
Calls
2
build_args_from_dict
Function · 0.90
build_dataset
Function · 0.90
Tested by
no test coverage detected