1 line
46 KiB
JSON
1 line
46 KiB
JSON
{"nodes": [{"id": "backend_venv_lib_python3_12_site_packages_numpy_lib_datasource_py", "label": "_datasource.py", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/numpy/lib/_datasource.py", "source_location": "L1"}, {"id": "datasource_check_mode", "label": "_check_mode()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/numpy/lib/_datasource.py", "source_location": "L44"}, {"id": "datasource_fileopeners", "label": "_FileOpeners", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/numpy/lib/_datasource.py", "source_location": "L72"}, {"id": "datasource_fileopeners_init", "label": ".__init__()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/numpy/lib/_datasource.py", "source_location": "L97"}, {"id": "datasource_fileopeners_load", "label": "._load()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/numpy/lib/_datasource.py", "source_location": "L101"}, {"id": "datasource_fileopeners_keys", "label": ".keys()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/numpy/lib/_datasource.py", "source_location": "L128"}, {"id": "datasource_fileopeners_getitem", "label": ".__getitem__()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/numpy/lib/_datasource.py", "source_location": "L147"}, {"id": "datasource_open", "label": "open()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/numpy/lib/_datasource.py", "source_location": "L154"}, {"id": "datasource_datasource", "label": "DataSource", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/numpy/lib/_datasource.py", "source_location": "L196"}, {"id": "datasource_datasource_init", "label": ".__init__()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/numpy/lib/_datasource.py", "source_location": "L245"}, {"id": "datasource_datasource_del", "label": ".__del__()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/numpy/lib/_datasource.py", "source_location": "L255"}, {"id": "datasource_datasource_iszip", "label": "._iszip()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/numpy/lib/_datasource.py", "source_location": "L262"}, {"id": "datasource_datasource_iswritemode", "label": "._iswritemode()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/numpy/lib/_datasource.py", "source_location": "L269"}, {"id": "datasource_datasource_splitzipext", "label": "._splitzipext()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/numpy/lib/_datasource.py", "source_location": "L276"}, {"id": "datasource_datasource_possible_names", "label": "._possible_names()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/numpy/lib/_datasource.py", "source_location": "L290"}, {"id": "datasource_datasource_isurl", "label": "._isurl()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/numpy/lib/_datasource.py", "source_location": "L299"}, {"id": "datasource_datasource_cache", "label": "._cache()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/numpy/lib/_datasource.py", "source_location": "L314"}, {"id": "datasource_datasource_findfile", "label": "._findfile()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/numpy/lib/_datasource.py", "source_location": "L340"}, {"id": "datasource_datasource_abspath", "label": ".abspath()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/numpy/lib/_datasource.py", "source_location": "L371"}, {"id": "datasource_datasource_sanitize_relative_path", "label": "._sanitize_relative_path()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/numpy/lib/_datasource.py", "source_location": "L413"}, {"id": "datasource_datasource_exists", "label": ".exists()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/numpy/lib/_datasource.py", "source_location": "L427"}, {"id": "datasource_datasource_open", "label": ".open()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/numpy/lib/_datasource.py", "source_location": "L483"}, {"id": "datasource_repository", "label": "Repository", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/numpy/lib/_datasource.py", "source_location": "L532"}, {"id": "datasource_repository_init", "label": ".__init__()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/numpy/lib/_datasource.py", "source_location": "L572"}, {"id": "datasource_repository_del", "label": ".__del__()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/numpy/lib/_datasource.py", "source_location": "L577"}, {"id": "datasource_repository_fullpath", "label": "._fullpath()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/numpy/lib/_datasource.py", "source_location": "L580"}, {"id": "datasource_repository_findfile", "label": "._findfile()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/numpy/lib/_datasource.py", "source_location": "L589"}, {"id": "datasource_repository_abspath", "label": ".abspath()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/numpy/lib/_datasource.py", "source_location": "L593"}, {"id": "datasource_repository_exists", "label": ".exists()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/numpy/lib/_datasource.py", "source_location": "L616"}, {"id": "datasource_repository_open", "label": ".open()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/numpy/lib/_datasource.py", "source_location": "L650"}, {"id": "datasource_repository_listdir", "label": ".listdir()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/numpy/lib/_datasource.py", "source_location": "L682"}, {"id": "datasource_rationale_1", "label": "A file interface for handling local and remote data files. The goal of datasour", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/numpy/lib/_datasource.py", "source_location": "L1"}, {"id": "datasource_rationale_45", "label": "Check mode and that encoding and newline are compatible. Parameters ---", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/numpy/lib/_datasource.py", "source_location": "L45"}, {"id": "datasource_rationale_73", "label": "Container for different methods to open (un-)compressed files. `_FileOpener", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/numpy/lib/_datasource.py", "source_location": "L73"}, {"id": "datasource_rationale_129", "label": "Return the keys of currently supported file openers. Parameters", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/numpy/lib/_datasource.py", "source_location": "L129"}, {"id": "datasource_rationale_155", "label": "Open `path` with `mode` and return the file object. If ``path`` is an URL,", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/numpy/lib/_datasource.py", "source_location": "L155"}, {"id": "datasource_rationale_197", "label": "DataSource(destpath='.') A generic data source file (file, http, ftp, ...).", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/numpy/lib/_datasource.py", "source_location": "L197"}, {"id": "datasource_rationale_246", "label": "Create a DataSource with a local path at destpath.", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/numpy/lib/_datasource.py", "source_location": "L246"}, {"id": "datasource_rationale_263", "label": "Test if the filename is a zip file by looking at the file extension.", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/numpy/lib/_datasource.py", "source_location": "L263"}, {"id": "datasource_rationale_270", "label": "Test if the given mode will open a file for writing.", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/numpy/lib/_datasource.py", "source_location": "L270"}, {"id": "datasource_rationale_277", "label": "Split zip extension from filename and return filename. Returns", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/numpy/lib/_datasource.py", "source_location": "L277"}, {"id": "datasource_rationale_291", "label": "Return a tuple containing compressed filename variations.", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/numpy/lib/_datasource.py", "source_location": "L291"}, {"id": "datasource_rationale_300", "label": "Test if path is a net location. Tests the scheme and netloc.", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/numpy/lib/_datasource.py", "source_location": "L300"}, {"id": "datasource_rationale_315", "label": "Cache the file specified by path. Creates a copy of the file in the dat", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/numpy/lib/_datasource.py", "source_location": "L315"}, {"id": "datasource_rationale_341", "label": "Searches for ``path`` and returns full path if found. If path is an URL", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/numpy/lib/_datasource.py", "source_location": "L341"}, {"id": "datasource_rationale_372", "label": "Return absolute path of file in the DataSource directory. If `path` is", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/numpy/lib/_datasource.py", "source_location": "L372"}, {"id": "datasource_rationale_414", "label": "Return a sanitised relative path for which os.path.abspath(os.path.join(", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/numpy/lib/_datasource.py", "source_location": "L414"}, {"id": "datasource_rationale_428", "label": "Test if path exists. Test if `path` exists as (and in this order):", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/numpy/lib/_datasource.py", "source_location": "L428"}, {"id": "datasource_rationale_484", "label": "Open and return file-like object. If `path` is an URL, it will be downl", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/numpy/lib/_datasource.py", "source_location": "L484"}, {"id": "datasource_rationale_533", "label": "Repository(baseurl, destpath='.') A data repository where multiple DataSour", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/numpy/lib/_datasource.py", "source_location": "L533"}, {"id": "datasource_rationale_573", "label": "Create a Repository with a shared url or directory of baseurl.", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/numpy/lib/_datasource.py", "source_location": "L573"}, {"id": "datasource_rationale_581", "label": "Return complete path for path. Prepends baseurl if necessary.", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/numpy/lib/_datasource.py", "source_location": "L581"}, {"id": "datasource_rationale_590", "label": "Extend DataSource method to prepend baseurl to ``path``.", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/numpy/lib/_datasource.py", "source_location": "L590"}, {"id": "datasource_rationale_594", "label": "Return absolute path of file in the Repository directory. If `path` is", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/numpy/lib/_datasource.py", "source_location": "L594"}, {"id": "datasource_rationale_617", "label": "Test if path exists prepending Repository base URL to path. Test if `pa", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/numpy/lib/_datasource.py", "source_location": "L617"}, {"id": "datasource_rationale_651", "label": "Open and return file-like object prepending Repository base URL. If `pa", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/numpy/lib/_datasource.py", "source_location": "L651"}, {"id": "datasource_rationale_683", "label": "List files in the source Repository. Returns ------- fi", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/numpy/lib/_datasource.py", "source_location": "L683"}, {"id": "datasource_rationale_71", "label": "# TODO: .zip support, .tar support?", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/numpy/lib/_datasource.py", "source_location": "L71"}, {"id": "datasource_rationale_331", "label": "# TODO: Doesn't handle compressed files!", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/numpy/lib/_datasource.py", "source_location": "L331"}, {"id": "datasource_rationale_397", "label": "# TODO: This should be more robust. Handles case where path includes", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/numpy/lib/_datasource.py", "source_location": "L397"}, {"id": "datasource_rationale_511", "label": "# TODO: There is no support for opening a file for writing which", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/numpy/lib/_datasource.py", "source_location": "L511"}, {"id": "datasource_rationale_514", "label": "# TODO: Add a ``subdir`` parameter for specifying the subdirectory", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/numpy/lib/_datasource.py", "source_location": "L514"}, {"id": "datasource_rationale_520", "label": "# NOTE: _findfile will fail on a new file opened for writing.", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/numpy/lib/_datasource.py", "source_location": "L520"}], "edges": [{"source": "backend_venv_lib_python3_12_site_packages_numpy_lib_datasource_py", "target": "os", "relation": "imports", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/numpy/lib/_datasource.py", "source_location": "L37", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_numpy_lib_datasource_py", "target": "numpy_utils", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/numpy/lib/_datasource.py", "source_location": "L39", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_numpy_lib_datasource_py", "target": "datasource_check_mode", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/numpy/lib/_datasource.py", "source_location": "L44", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_numpy_lib_datasource_py", "target": "datasource_fileopeners", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/numpy/lib/_datasource.py", "source_location": "L72", "weight": 1.0}, {"source": "datasource_fileopeners", "target": "datasource_fileopeners_init", "relation": "method", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/numpy/lib/_datasource.py", "source_location": "L97", "weight": 1.0}, {"source": "datasource_fileopeners", "target": "datasource_fileopeners_load", "relation": "method", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/numpy/lib/_datasource.py", "source_location": "L101", "weight": 1.0}, {"source": "datasource_fileopeners", "target": "datasource_fileopeners_keys", "relation": "method", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/numpy/lib/_datasource.py", "source_location": "L128", "weight": 1.0}, {"source": "datasource_fileopeners", "target": "datasource_fileopeners_getitem", "relation": "method", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/numpy/lib/_datasource.py", "source_location": "L147", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_numpy_lib_datasource_py", "target": "datasource_open", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/numpy/lib/_datasource.py", "source_location": "L154", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_numpy_lib_datasource_py", "target": "datasource_datasource", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/numpy/lib/_datasource.py", "source_location": "L196", "weight": 1.0}, {"source": "datasource_datasource", "target": "datasource_datasource_init", "relation": "method", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/numpy/lib/_datasource.py", "source_location": "L245", "weight": 1.0}, {"source": "datasource_datasource", "target": "datasource_datasource_del", "relation": "method", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/numpy/lib/_datasource.py", "source_location": "L255", "weight": 1.0}, {"source": "datasource_datasource", "target": "datasource_datasource_iszip", "relation": "method", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/numpy/lib/_datasource.py", "source_location": "L262", "weight": 1.0}, {"source": "datasource_datasource", "target": "datasource_datasource_iswritemode", "relation": "method", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/numpy/lib/_datasource.py", "source_location": "L269", "weight": 1.0}, {"source": "datasource_datasource", "target": "datasource_datasource_splitzipext", "relation": "method", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/numpy/lib/_datasource.py", "source_location": "L276", "weight": 1.0}, {"source": "datasource_datasource", "target": "datasource_datasource_possible_names", "relation": "method", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/numpy/lib/_datasource.py", "source_location": "L290", "weight": 1.0}, {"source": "datasource_datasource", "target": "datasource_datasource_isurl", "relation": "method", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/numpy/lib/_datasource.py", "source_location": "L299", "weight": 1.0}, {"source": "datasource_datasource", "target": "datasource_datasource_cache", "relation": "method", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/numpy/lib/_datasource.py", "source_location": "L314", "weight": 1.0}, {"source": "datasource_datasource", "target": "datasource_datasource_findfile", "relation": "method", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/numpy/lib/_datasource.py", "source_location": "L340", "weight": 1.0}, {"source": "datasource_datasource", "target": "datasource_datasource_abspath", "relation": "method", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/numpy/lib/_datasource.py", "source_location": "L371", "weight": 1.0}, {"source": "datasource_datasource", "target": "datasource_datasource_sanitize_relative_path", "relation": "method", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/numpy/lib/_datasource.py", "source_location": "L413", "weight": 1.0}, {"source": "datasource_datasource", "target": "datasource_datasource_exists", "relation": "method", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/numpy/lib/_datasource.py", "source_location": "L427", "weight": 1.0}, {"source": "datasource_datasource", "target": "datasource_datasource_open", "relation": "method", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/numpy/lib/_datasource.py", "source_location": "L483", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_numpy_lib_datasource_py", "target": "datasource_repository", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/numpy/lib/_datasource.py", "source_location": "L532", "weight": 1.0}, {"source": "datasource_repository", "target": "datasource_datasource", "relation": "inherits", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/numpy/lib/_datasource.py", "source_location": "L532", "weight": 1.0}, {"source": "datasource_repository", "target": "datasource_repository_init", "relation": "method", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/numpy/lib/_datasource.py", "source_location": "L572", "weight": 1.0}, {"source": "datasource_repository", "target": "datasource_repository_del", "relation": "method", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/numpy/lib/_datasource.py", "source_location": "L577", "weight": 1.0}, {"source": "datasource_repository", "target": "datasource_repository_fullpath", "relation": "method", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/numpy/lib/_datasource.py", "source_location": "L580", "weight": 1.0}, {"source": "datasource_repository", "target": "datasource_repository_findfile", "relation": "method", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/numpy/lib/_datasource.py", "source_location": "L589", "weight": 1.0}, {"source": "datasource_repository", "target": "datasource_repository_abspath", "relation": "method", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/numpy/lib/_datasource.py", "source_location": "L593", "weight": 1.0}, {"source": "datasource_repository", "target": "datasource_repository_exists", "relation": "method", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/numpy/lib/_datasource.py", "source_location": "L616", "weight": 1.0}, {"source": "datasource_repository", "target": "datasource_repository_open", "relation": "method", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/numpy/lib/_datasource.py", "source_location": "L650", "weight": 1.0}, {"source": "datasource_repository", "target": "datasource_repository_listdir", "relation": "method", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/numpy/lib/_datasource.py", "source_location": "L682", "weight": 1.0}, {"source": "datasource_fileopeners_keys", "target": "datasource_fileopeners_load", "relation": "calls", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/numpy/lib/_datasource.py", "source_location": "L144", "weight": 1.0}, {"source": "datasource_fileopeners_getitem", "target": "datasource_fileopeners_load", "relation": "calls", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/numpy/lib/_datasource.py", "source_location": "L148", "weight": 1.0}, {"source": "datasource_open", "target": "datasource_datasource", "relation": "calls", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/numpy/lib/_datasource.py", "source_location": "L191", "weight": 1.0}, {"source": "datasource_open", "target": "datasource_repository_open", "relation": "calls", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/numpy/lib/_datasource.py", "source_location": "L192", "weight": 1.0}, {"source": "datasource_datasource_init", "target": "datasource_repository_abspath", "relation": "calls", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/numpy/lib/_datasource.py", "source_location": "L248", "weight": 1.0}, {"source": "datasource_datasource_iszip", "target": "datasource_fileopeners_keys", "relation": "calls", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/numpy/lib/_datasource.py", "source_location": "L267", "weight": 1.0}, {"source": "datasource_datasource_splitzipext", "target": "datasource_datasource_iszip", "relation": "calls", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/numpy/lib/_datasource.py", "source_location": "L285", "weight": 1.0}, {"source": "datasource_datasource_possible_names", "target": "datasource_datasource_iszip", "relation": "calls", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/numpy/lib/_datasource.py", "source_location": "L293", "weight": 1.0}, {"source": "datasource_datasource_possible_names", "target": "datasource_fileopeners_keys", "relation": "calls", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/numpy/lib/_datasource.py", "source_location": "L294", "weight": 1.0}, {"source": "datasource_datasource_cache", "target": "datasource_repository_abspath", "relation": "calls", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/numpy/lib/_datasource.py", "source_location": "L325", "weight": 1.0}, {"source": "datasource_datasource_cache", "target": "datasource_repository_exists", "relation": "calls", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/numpy/lib/_datasource.py", "source_location": "L328", "weight": 1.0}, {"source": "datasource_datasource_cache", "target": "datasource_datasource_isurl", "relation": "calls", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/numpy/lib/_datasource.py", "source_location": "L332", "weight": 1.0}, {"source": "datasource_datasource_findfile", "target": "datasource_datasource_isurl", "relation": "calls", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/numpy/lib/_datasource.py", "source_location": "L353", "weight": 1.0}, {"source": "datasource_datasource_findfile", "target": "datasource_datasource_possible_names", "relation": "calls", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/numpy/lib/_datasource.py", "source_location": "L355", "weight": 1.0}, {"source": "datasource_datasource_findfile", "target": "datasource_repository_abspath", "relation": "calls", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/numpy/lib/_datasource.py", "source_location": "L357", "weight": 1.0}, {"source": "datasource_datasource_findfile", "target": "datasource_repository_exists", "relation": "calls", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/numpy/lib/_datasource.py", "source_location": "L365", "weight": 1.0}, {"source": "datasource_datasource_findfile", "target": "datasource_datasource_cache", "relation": "calls", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/numpy/lib/_datasource.py", "source_location": "L367", "weight": 1.0}, {"source": "datasource_datasource_abspath", "target": "datasource_datasource_sanitize_relative_path", "relation": "calls", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/numpy/lib/_datasource.py", "source_location": "L409", "weight": 1.0}, {"source": "datasource_datasource_exists", "target": "datasource_repository_exists", "relation": "calls", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/numpy/lib/_datasource.py", "source_location": "L459", "weight": 1.0}, {"source": "datasource_datasource_exists", "target": "datasource_repository_abspath", "relation": "calls", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/numpy/lib/_datasource.py", "source_location": "L468", "weight": 1.0}, {"source": "datasource_datasource_exists", "target": "datasource_datasource_isurl", "relation": "calls", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/numpy/lib/_datasource.py", "source_location": "L473", "weight": 1.0}, {"source": "datasource_datasource_open", "target": "datasource_datasource_isurl", "relation": "calls", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/numpy/lib/_datasource.py", "source_location": "L517", "weight": 1.0}, {"source": "datasource_datasource_open", "target": "datasource_datasource_iswritemode", "relation": "calls", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/numpy/lib/_datasource.py", "source_location": "L517", "weight": 1.0}, {"source": "datasource_datasource_open", "target": "datasource_repository_findfile", "relation": "calls", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/numpy/lib/_datasource.py", "source_location": "L521", "weight": 1.0}, {"source": "datasource_datasource_open", "target": "datasource_datasource_splitzipext", "relation": "calls", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/numpy/lib/_datasource.py", "source_location": "L523", "weight": 1.0}, {"source": "datasource_repository_findfile", "target": "datasource_repository_fullpath", "relation": "calls", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/numpy/lib/_datasource.py", "source_location": "L591", "weight": 1.0}, {"source": "datasource_repository_abspath", "target": "datasource_repository_fullpath", "relation": "calls", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/numpy/lib/_datasource.py", "source_location": "L614", "weight": 1.0}, {"source": "datasource_repository_exists", "target": "datasource_repository_fullpath", "relation": "calls", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/numpy/lib/_datasource.py", "source_location": "L648", "weight": 1.0}, {"source": "datasource_repository_open", "target": "datasource_repository_fullpath", "relation": "calls", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/numpy/lib/_datasource.py", "source_location": "L679", "weight": 1.0}, {"source": "datasource_repository_listdir", "target": "datasource_datasource_isurl", "relation": "calls", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/numpy/lib/_datasource.py", "source_location": "L696", "weight": 1.0}, {"source": "datasource_rationale_1", "target": "backend_venv_lib_python3_12_site_packages_numpy_lib_datasource_py", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/numpy/lib/_datasource.py", "source_location": "L1", "weight": 1.0}, {"source": "datasource_rationale_45", "target": "datasource_check_mode", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/numpy/lib/_datasource.py", "source_location": "L45", "weight": 1.0}, {"source": "datasource_rationale_73", "target": "datasource_fileopeners", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/numpy/lib/_datasource.py", "source_location": "L73", "weight": 1.0}, {"source": "datasource_rationale_129", "target": "datasource_fileopeners_keys", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/numpy/lib/_datasource.py", "source_location": "L129", "weight": 1.0}, {"source": "datasource_rationale_155", "target": "datasource_open", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/numpy/lib/_datasource.py", "source_location": "L155", "weight": 1.0}, {"source": "datasource_rationale_197", "target": "datasource_datasource", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/numpy/lib/_datasource.py", "source_location": "L197", "weight": 1.0}, {"source": "datasource_rationale_246", "target": "datasource_datasource_init", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/numpy/lib/_datasource.py", "source_location": "L246", "weight": 1.0}, {"source": "datasource_rationale_263", "target": "datasource_datasource_iszip", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/numpy/lib/_datasource.py", "source_location": "L263", "weight": 1.0}, {"source": "datasource_rationale_270", "target": "datasource_datasource_iswritemode", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/numpy/lib/_datasource.py", "source_location": "L270", "weight": 1.0}, {"source": "datasource_rationale_277", "target": "datasource_datasource_splitzipext", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/numpy/lib/_datasource.py", "source_location": "L277", "weight": 1.0}, {"source": "datasource_rationale_291", "target": "datasource_datasource_possible_names", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/numpy/lib/_datasource.py", "source_location": "L291", "weight": 1.0}, {"source": "datasource_rationale_300", "target": "datasource_datasource_isurl", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/numpy/lib/_datasource.py", "source_location": "L300", "weight": 1.0}, {"source": "datasource_rationale_315", "target": "datasource_datasource_cache", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/numpy/lib/_datasource.py", "source_location": "L315", "weight": 1.0}, {"source": "datasource_rationale_341", "target": "datasource_datasource_findfile", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/numpy/lib/_datasource.py", "source_location": "L341", "weight": 1.0}, {"source": "datasource_rationale_372", "target": "datasource_datasource_abspath", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/numpy/lib/_datasource.py", "source_location": "L372", "weight": 1.0}, {"source": "datasource_rationale_414", "target": "datasource_datasource_sanitize_relative_path", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/numpy/lib/_datasource.py", "source_location": "L414", "weight": 1.0}, {"source": "datasource_rationale_428", "target": "datasource_datasource_exists", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/numpy/lib/_datasource.py", "source_location": "L428", "weight": 1.0}, {"source": "datasource_rationale_484", "target": "datasource_datasource_open", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/numpy/lib/_datasource.py", "source_location": "L484", "weight": 1.0}, {"source": "datasource_rationale_533", "target": "datasource_repository", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/numpy/lib/_datasource.py", "source_location": "L533", "weight": 1.0}, {"source": "datasource_rationale_573", "target": "datasource_repository_init", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/numpy/lib/_datasource.py", "source_location": "L573", "weight": 1.0}, {"source": "datasource_rationale_581", "target": "datasource_repository_fullpath", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/numpy/lib/_datasource.py", "source_location": "L581", "weight": 1.0}, {"source": "datasource_rationale_590", "target": "datasource_repository_findfile", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/numpy/lib/_datasource.py", "source_location": "L590", "weight": 1.0}, {"source": "datasource_rationale_594", "target": "datasource_repository_abspath", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/numpy/lib/_datasource.py", "source_location": "L594", "weight": 1.0}, {"source": "datasource_rationale_617", "target": "datasource_repository_exists", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/numpy/lib/_datasource.py", "source_location": "L617", "weight": 1.0}, {"source": "datasource_rationale_651", "target": "datasource_repository_open", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/numpy/lib/_datasource.py", "source_location": "L651", "weight": 1.0}, {"source": "datasource_rationale_683", "target": "datasource_repository_listdir", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/numpy/lib/_datasource.py", "source_location": "L683", "weight": 1.0}, {"source": "datasource_rationale_71", "target": "backend_venv_lib_python3_12_site_packages_numpy_lib_datasource_py", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/numpy/lib/_datasource.py", "source_location": "L71", "weight": 1.0}, {"source": "datasource_rationale_331", "target": "backend_venv_lib_python3_12_site_packages_numpy_lib_datasource_py", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/numpy/lib/_datasource.py", "source_location": "L331", "weight": 1.0}, {"source": "datasource_rationale_397", "target": "backend_venv_lib_python3_12_site_packages_numpy_lib_datasource_py", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/numpy/lib/_datasource.py", "source_location": "L397", "weight": 1.0}, {"source": "datasource_rationale_511", "target": "backend_venv_lib_python3_12_site_packages_numpy_lib_datasource_py", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/numpy/lib/_datasource.py", "source_location": "L511", "weight": 1.0}, {"source": "datasource_rationale_514", "target": "backend_venv_lib_python3_12_site_packages_numpy_lib_datasource_py", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/numpy/lib/_datasource.py", "source_location": "L514", "weight": 1.0}, {"source": "datasource_rationale_520", "target": "backend_venv_lib_python3_12_site_packages_numpy_lib_datasource_py", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/numpy/lib/_datasource.py", "source_location": "L520", "weight": 1.0}], "raw_calls": [{"caller_nid": "datasource_check_mode", "callee": "ValueError", "source_file": "backend/venv/lib/python3.12/site-packages/numpy/lib/_datasource.py", "source_location": "L59"}, {"caller_nid": "datasource_check_mode", "callee": "ValueError", "source_file": "backend/venv/lib/python3.12/site-packages/numpy/lib/_datasource.py", "source_location": "L62"}, {"caller_nid": "datasource_check_mode", "callee": "ValueError", "source_file": "backend/venv/lib/python3.12/site-packages/numpy/lib/_datasource.py", "source_location": "L64"}, {"caller_nid": "datasource_fileopeners_keys", "callee": "list", "source_file": "backend/venv/lib/python3.12/site-packages/numpy/lib/_datasource.py", "source_location": "L145"}, {"caller_nid": "datasource_datasource_init", "callee": "mkdtemp", "source_file": "backend/venv/lib/python3.12/site-packages/numpy/lib/_datasource.py", "source_location": "L252"}, {"caller_nid": "datasource_datasource_del", "callee": "hasattr", "source_file": "backend/venv/lib/python3.12/site-packages/numpy/lib/_datasource.py", "source_location": "L257"}, {"caller_nid": "datasource_datasource_del", "callee": "rmtree", "source_file": "backend/venv/lib/python3.12/site-packages/numpy/lib/_datasource.py", "source_location": "L260"}, {"caller_nid": "datasource_datasource_iszip", "callee": "splitext", "source_file": "backend/venv/lib/python3.12/site-packages/numpy/lib/_datasource.py", "source_location": "L266"}, {"caller_nid": "datasource_datasource_iswritemode", "callee": "any", "source_file": "backend/venv/lib/python3.12/site-packages/numpy/lib/_datasource.py", "source_location": "L274"}, {"caller_nid": "datasource_datasource_splitzipext", "callee": "splitext", "source_file": "backend/venv/lib/python3.12/site-packages/numpy/lib/_datasource.py", "source_location": "L286"}, {"caller_nid": "datasource_datasource_possible_names", "callee": "append", "source_file": "backend/venv/lib/python3.12/site-packages/numpy/lib/_datasource.py", "source_location": "L296"}, {"caller_nid": "datasource_datasource_isurl", "callee": "urlparse", "source_file": "backend/venv/lib/python3.12/site-packages/numpy/lib/_datasource.py", "source_location": "L311"}, {"caller_nid": "datasource_datasource_isurl", "callee": "bool", "source_file": "backend/venv/lib/python3.12/site-packages/numpy/lib/_datasource.py", "source_location": "L312"}, {"caller_nid": "datasource_datasource_cache", "callee": "dirname", "source_file": "backend/venv/lib/python3.12/site-packages/numpy/lib/_datasource.py", "source_location": "L328"}, {"caller_nid": "datasource_datasource_cache", "callee": "makedirs", "source_file": "backend/venv/lib/python3.12/site-packages/numpy/lib/_datasource.py", "source_location": "L329"}, {"caller_nid": "datasource_datasource_cache", "callee": "dirname", "source_file": "backend/venv/lib/python3.12/site-packages/numpy/lib/_datasource.py", "source_location": "L329"}, {"caller_nid": "datasource_datasource_cache", "callee": "urlopen", "source_file": "backend/venv/lib/python3.12/site-packages/numpy/lib/_datasource.py", "source_location": "L333"}, {"caller_nid": "datasource_datasource_cache", "callee": "_open", "source_file": "backend/venv/lib/python3.12/site-packages/numpy/lib/_datasource.py", "source_location": "L334"}, {"caller_nid": "datasource_datasource_cache", "callee": "copyfileobj", "source_file": "backend/venv/lib/python3.12/site-packages/numpy/lib/_datasource.py", "source_location": "L335"}, {"caller_nid": "datasource_datasource_cache", "callee": "copyfile", "source_file": "backend/venv/lib/python3.12/site-packages/numpy/lib/_datasource.py", "source_location": "L337"}, {"caller_nid": "datasource_datasource_abspath", "callee": "split", "source_file": "backend/venv/lib/python3.12/site-packages/numpy/lib/_datasource.py", "source_location": "L405"}, {"caller_nid": "datasource_datasource_abspath", "callee": "len", "source_file": "backend/venv/lib/python3.12/site-packages/numpy/lib/_datasource.py", "source_location": "L406"}, {"caller_nid": "datasource_datasource_abspath", "callee": "urlparse", "source_file": "backend/venv/lib/python3.12/site-packages/numpy/lib/_datasource.py", "source_location": "L408"}, {"caller_nid": "datasource_datasource_abspath", "callee": "join", "source_file": "backend/venv/lib/python3.12/site-packages/numpy/lib/_datasource.py", "source_location": "L411"}, {"caller_nid": "datasource_datasource_sanitize_relative_path", "callee": "normpath", "source_file": "backend/venv/lib/python3.12/site-packages/numpy/lib/_datasource.py", "source_location": "L418"}, {"caller_nid": "datasource_datasource_sanitize_relative_path", "callee": "lstrip", "source_file": "backend/venv/lib/python3.12/site-packages/numpy/lib/_datasource.py", "source_location": "L422"}, {"caller_nid": "datasource_datasource_sanitize_relative_path", "callee": "lstrip", "source_file": "backend/venv/lib/python3.12/site-packages/numpy/lib/_datasource.py", "source_location": "L422"}, {"caller_nid": "datasource_datasource_sanitize_relative_path", "callee": "removeprefix", "source_file": "backend/venv/lib/python3.12/site-packages/numpy/lib/_datasource.py", "source_location": "L423"}, {"caller_nid": "datasource_datasource_sanitize_relative_path", "callee": "lstrip", "source_file": "backend/venv/lib/python3.12/site-packages/numpy/lib/_datasource.py", "source_location": "L423"}, {"caller_nid": "datasource_datasource_sanitize_relative_path", "callee": "splitdrive", "source_file": "backend/venv/lib/python3.12/site-packages/numpy/lib/_datasource.py", "source_location": "L424"}, {"caller_nid": "datasource_datasource_exists", "callee": "urlopen", "source_file": "backend/venv/lib/python3.12/site-packages/numpy/lib/_datasource.py", "source_location": "L475"}, {"caller_nid": "datasource_datasource_exists", "callee": "close", "source_file": "backend/venv/lib/python3.12/site-packages/numpy/lib/_datasource.py", "source_location": "L476"}, {"caller_nid": "datasource_datasource_open", "callee": "ValueError", "source_file": "backend/venv/lib/python3.12/site-packages/numpy/lib/_datasource.py", "source_location": "L518"}, {"caller_nid": "datasource_datasource_open", "callee": "replace", "source_file": "backend/venv/lib/python3.12/site-packages/numpy/lib/_datasource.py", "source_location": "L525"}, {"caller_nid": "datasource_datasource_open", "callee": "_file_openers[ext]", "source_file": "backend/venv/lib/python3.12/site-packages/numpy/lib/_datasource.py", "source_location": "L526"}, {"caller_nid": "datasource_datasource_open", "callee": "FileNotFoundError", "source_file": "backend/venv/lib/python3.12/site-packages/numpy/lib/_datasource.py", "source_location": "L529"}, {"caller_nid": "datasource_repository_fullpath", "callee": "split", "source_file": "backend/venv/lib/python3.12/site-packages/numpy/lib/_datasource.py", "source_location": "L582"}, {"caller_nid": "datasource_repository_fullpath", "callee": "len", "source_file": "backend/venv/lib/python3.12/site-packages/numpy/lib/_datasource.py", "source_location": "L583"}, {"caller_nid": "datasource_repository_fullpath", "callee": "join", "source_file": "backend/venv/lib/python3.12/site-packages/numpy/lib/_datasource.py", "source_location": "L584"}, {"caller_nid": "datasource_repository_listdir", "callee": "NotImplementedError", "source_file": "backend/venv/lib/python3.12/site-packages/numpy/lib/_datasource.py", "source_location": "L697"}]} |