1 line
16 KiB
JSON
1 line
16 KiB
JSON
{"nodes": [{"id": "backend_venv_lib_python3_12_site_packages_numpy_testing_private_extbuild_py", "label": "extbuild.py", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/numpy/testing/_private/extbuild.py", "source_location": "L1"}, {"id": "extbuild_build_and_import_extension", "label": "build_and_import_extension()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/numpy/testing/_private/extbuild.py", "source_location": "L17"}, {"id": "extbuild_compile_extension_module", "label": "compile_extension_module()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/numpy/testing/_private/extbuild.py", "source_location": "L82"}, {"id": "extbuild_convert_str_to_file", "label": "_convert_str_to_file()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/numpy/testing/_private/extbuild.py", "source_location": "L118"}, {"id": "extbuild_make_methods", "label": "_make_methods()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/numpy/testing/_private/extbuild.py", "source_location": "L128"}, {"id": "extbuild_make_source", "label": "_make_source()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/numpy/testing/_private/extbuild.py", "source_location": "L168"}, {"id": "extbuild_c_compile", "label": "_c_compile()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/numpy/testing/_private/extbuild.py", "source_location": "L186"}, {"id": "extbuild_build", "label": "build()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/numpy/testing/_private/extbuild.py", "source_location": "L204"}, {"id": "extbuild_get_so_suffix", "label": "get_so_suffix()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/numpy/testing/_private/extbuild.py", "source_location": "L247"}, {"id": "extbuild_rationale_1", "label": "Build a c-extension module on-the-fly in tests. See build_and_import_extensions", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/numpy/testing/_private/extbuild.py", "source_location": "L1"}, {"id": "extbuild_rationale_20", "label": "Build and imports a c-extension module `modname` from a list of function fra", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/numpy/testing/_private/extbuild.py", "source_location": "L20"}, {"id": "extbuild_rationale_85", "label": "Build an extension module and return the filename of the resulting native co", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/numpy/testing/_private/extbuild.py", "source_location": "L85"}, {"id": "extbuild_rationale_119", "label": "Helper function to create a file ``source.c`` in `dirname` that contains the", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/numpy/testing/_private/extbuild.py", "source_location": "L119"}, {"id": "extbuild_rationale_129", "label": "Turns the name, signature, code in functions into complete functions and lis", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/numpy/testing/_private/extbuild.py", "source_location": "L129"}, {"id": "extbuild_rationale_169", "label": "Combines the code fragments into source code ready to be compiled", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/numpy/testing/_private/extbuild.py", "source_location": "L169"}], "edges": [{"source": "backend_venv_lib_python3_12_site_packages_numpy_testing_private_extbuild_py", "target": "os", "relation": "imports", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/numpy/testing/_private/extbuild.py", "source_location": "L7", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_numpy_testing_private_extbuild_py", "target": "pathlib", "relation": "imports", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/numpy/testing/_private/extbuild.py", "source_location": "L8", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_numpy_testing_private_extbuild_py", "target": "subprocess", "relation": "imports", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/numpy/testing/_private/extbuild.py", "source_location": "L9", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_numpy_testing_private_extbuild_py", "target": "sys", "relation": "imports", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/numpy/testing/_private/extbuild.py", "source_location": "L10", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_numpy_testing_private_extbuild_py", "target": "sysconfig", "relation": "imports", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/numpy/testing/_private/extbuild.py", "source_location": "L11", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_numpy_testing_private_extbuild_py", "target": "textwrap", "relation": "imports", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/numpy/testing/_private/extbuild.py", "source_location": "L12", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_numpy_testing_private_extbuild_py", "target": "extbuild_build_and_import_extension", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/numpy/testing/_private/extbuild.py", "source_location": "L17", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_numpy_testing_private_extbuild_py", "target": "extbuild_compile_extension_module", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/numpy/testing/_private/extbuild.py", "source_location": "L82", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_numpy_testing_private_extbuild_py", "target": "extbuild_convert_str_to_file", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/numpy/testing/_private/extbuild.py", "source_location": "L118", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_numpy_testing_private_extbuild_py", "target": "extbuild_make_methods", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/numpy/testing/_private/extbuild.py", "source_location": "L128", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_numpy_testing_private_extbuild_py", "target": "extbuild_make_source", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/numpy/testing/_private/extbuild.py", "source_location": "L168", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_numpy_testing_private_extbuild_py", "target": "extbuild_c_compile", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/numpy/testing/_private/extbuild.py", "source_location": "L186", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_numpy_testing_private_extbuild_py", "target": "extbuild_build", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/numpy/testing/_private/extbuild.py", "source_location": "L204", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_numpy_testing_private_extbuild_py", "target": "extbuild_get_so_suffix", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/numpy/testing/_private/extbuild.py", "source_location": "L247", "weight": 1.0}, {"source": "extbuild_build_and_import_extension", "target": "extbuild_make_methods", "relation": "calls", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/numpy/testing/_private/extbuild.py", "source_location": "L58", "weight": 1.0}, {"source": "extbuild_build_and_import_extension", "target": "extbuild_make_source", "relation": "calls", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/numpy/testing/_private/extbuild.py", "source_location": "L72", "weight": 1.0}, {"source": "extbuild_build_and_import_extension", "target": "extbuild_compile_extension_module", "relation": "calls", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/numpy/testing/_private/extbuild.py", "source_location": "L73", "weight": 1.0}, {"source": "extbuild_compile_extension_module", "target": "extbuild_convert_str_to_file", "relation": "calls", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/numpy/testing/_private/extbuild.py", "source_location": "L106", "weight": 1.0}, {"source": "extbuild_compile_extension_module", "target": "extbuild_c_compile", "relation": "calls", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/numpy/testing/_private/extbuild.py", "source_location": "L111", "weight": 1.0}, {"source": "extbuild_c_compile", "target": "extbuild_build", "relation": "calls", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/numpy/testing/_private/extbuild.py", "source_location": "L198", "weight": 1.0}, {"source": "extbuild_build", "target": "extbuild_get_so_suffix", "relation": "calls", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/numpy/testing/_private/extbuild.py", "source_location": "L241", "weight": 1.0}, {"source": "extbuild_rationale_1", "target": "backend_venv_lib_python3_12_site_packages_numpy_testing_private_extbuild_py", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/numpy/testing/_private/extbuild.py", "source_location": "L1", "weight": 1.0}, {"source": "extbuild_rationale_20", "target": "extbuild_build_and_import_extension", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/numpy/testing/_private/extbuild.py", "source_location": "L20", "weight": 1.0}, {"source": "extbuild_rationale_85", "target": "extbuild_compile_extension_module", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/numpy/testing/_private/extbuild.py", "source_location": "L85", "weight": 1.0}, {"source": "extbuild_rationale_119", "target": "extbuild_convert_str_to_file", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/numpy/testing/_private/extbuild.py", "source_location": "L119", "weight": 1.0}, {"source": "extbuild_rationale_129", "target": "extbuild_make_methods", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/numpy/testing/_private/extbuild.py", "source_location": "L129", "weight": 1.0}, {"source": "extbuild_rationale_169", "target": "extbuild_make_source", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/numpy/testing/_private/extbuild.py", "source_location": "L169", "weight": 1.0}], "raw_calls": [{"caller_nid": "extbuild_build_and_import_extension", "callee": "Path", "source_file": "backend/venv/lib/python3.12/site-packages/numpy/testing/_private/extbuild.py", "source_location": "L66"}, {"caller_nid": "extbuild_build_and_import_extension", "callee": "spec_from_file_location", "source_file": "backend/venv/lib/python3.12/site-packages/numpy/testing/_private/extbuild.py", "source_location": "L76"}, {"caller_nid": "extbuild_build_and_import_extension", "callee": "module_from_spec", "source_file": "backend/venv/lib/python3.12/site-packages/numpy/testing/_private/extbuild.py", "source_location": "L77"}, {"caller_nid": "extbuild_build_and_import_extension", "callee": "exec_module", "source_file": "backend/venv/lib/python3.12/site-packages/numpy/testing/_private/extbuild.py", "source_location": "L78"}, {"caller_nid": "extbuild_compile_extension_module", "callee": "split", "source_file": "backend/venv/lib/python3.12/site-packages/numpy/testing/_private/extbuild.py", "source_location": "L103"}, {"caller_nid": "extbuild_compile_extension_module", "callee": "mkdir", "source_file": "backend/venv/lib/python3.12/site-packages/numpy/testing/_private/extbuild.py", "source_location": "L105"}, {"caller_nid": "extbuild_convert_str_to_file", "callee": "open", "source_file": "backend/venv/lib/python3.12/site-packages/numpy/testing/_private/extbuild.py", "source_location": "L123"}, {"caller_nid": "extbuild_convert_str_to_file", "callee": "write", "source_file": "backend/venv/lib/python3.12/site-packages/numpy/testing/_private/extbuild.py", "source_location": "L124"}, {"caller_nid": "extbuild_convert_str_to_file", "callee": "str", "source_file": "backend/venv/lib/python3.12/site-packages/numpy/testing/_private/extbuild.py", "source_location": "L124"}, {"caller_nid": "extbuild_make_methods", "callee": "append", "source_file": "backend/venv/lib/python3.12/site-packages/numpy/testing/_private/extbuild.py", "source_location": "L142"}, {"caller_nid": "extbuild_make_methods", "callee": "append", "source_file": "backend/venv/lib/python3.12/site-packages/numpy/testing/_private/extbuild.py", "source_location": "L150"}, {"caller_nid": "extbuild_make_methods", "callee": "join", "source_file": "backend/venv/lib/python3.12/site-packages/numpy/testing/_private/extbuild.py", "source_location": "L152"}, {"caller_nid": "extbuild_make_methods", "callee": "join", "source_file": "backend/venv/lib/python3.12/site-packages/numpy/testing/_private/extbuild.py", "source_location": "L164"}, {"caller_nid": "extbuild_c_compile", "callee": "append", "source_file": "backend/venv/lib/python3.12/site-packages/numpy/testing/_private/extbuild.py", "source_location": "L191"}, {"caller_nid": "extbuild_c_compile", "callee": "startswith", "source_file": "backend/venv/lib/python3.12/site-packages/numpy/testing/_private/extbuild.py", "source_location": "L192"}, {"caller_nid": "extbuild_build", "callee": "makedirs", "source_file": "backend/venv/lib/python3.12/site-packages/numpy/testing/_private/extbuild.py", "source_location": "L209"}, {"caller_nid": "extbuild_build", "callee": "open", "source_file": "backend/venv/lib/python3.12/site-packages/numpy/testing/_private/extbuild.py", "source_location": "L210"}, {"caller_nid": "extbuild_build", "callee": "write", "source_file": "backend/venv/lib/python3.12/site-packages/numpy/testing/_private/extbuild.py", "source_location": "L212"}, {"caller_nid": "extbuild_build", "callee": "dedent", "source_file": "backend/venv/lib/python3.12/site-packages/numpy/testing/_private/extbuild.py", "source_location": "L212"}, {"caller_nid": "extbuild_build", "callee": "open", "source_file": "backend/venv/lib/python3.12/site-packages/numpy/testing/_private/extbuild.py", "source_location": "L224"}, {"caller_nid": "extbuild_build", "callee": "write", "source_file": "backend/venv/lib/python3.12/site-packages/numpy/testing/_private/extbuild.py", "source_location": "L225"}, {"caller_nid": "extbuild_build", "callee": "dedent", "source_file": "backend/venv/lib/python3.12/site-packages/numpy/testing/_private/extbuild.py", "source_location": "L225"}, {"caller_nid": "extbuild_build", "callee": "check_call", "source_file": "backend/venv/lib/python3.12/site-packages/numpy/testing/_private/extbuild.py", "source_location": "L230"}, {"caller_nid": "extbuild_build", "callee": "check_call", "source_file": "backend/venv/lib/python3.12/site-packages/numpy/testing/_private/extbuild.py", "source_location": "L236"}, {"caller_nid": "extbuild_build", "callee": "fspath", "source_file": "backend/venv/lib/python3.12/site-packages/numpy/testing/_private/extbuild.py", "source_location": "L237"}, {"caller_nid": "extbuild_build", "callee": "check_call", "source_file": "backend/venv/lib/python3.12/site-packages/numpy/testing/_private/extbuild.py", "source_location": "L242"}, {"caller_nid": "extbuild_build", "callee": "rename", "source_file": "backend/venv/lib/python3.12/site-packages/numpy/testing/_private/extbuild.py", "source_location": "L243"}, {"caller_nid": "extbuild_build", "callee": "str", "source_file": "backend/venv/lib/python3.12/site-packages/numpy/testing/_private/extbuild.py", "source_location": "L243"}, {"caller_nid": "extbuild_get_so_suffix", "callee": "get_config_var", "source_file": "backend/venv/lib/python3.12/site-packages/numpy/testing/_private/extbuild.py", "source_location": "L248"}]} |