Files
tfm_ainventory/graphify-out/cache/6d1e5d3d6015fc367ee76d2eef72aa3a0ea33f8ff2a51d97b202bfbd9d0e236a.json

1 line
8.6 KiB
JSON

{"nodes": [{"id": "backend_venv_lib_python3_12_site_packages_rsa_prime_py", "label": "prime.py", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/rsa/prime.py", "source_location": "L1"}, {"id": "prime_gcd", "label": "gcd()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/rsa/prime.py", "source_location": "L27"}, {"id": "prime_get_primality_testing_rounds", "label": "get_primality_testing_rounds()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/rsa/prime.py", "source_location": "L39"}, {"id": "prime_miller_rabin_primality_testing", "label": "miller_rabin_primality_testing()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/rsa/prime.py", "source_location": "L65"}, {"id": "prime_is_prime", "label": "is_prime()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/rsa/prime.py", "source_location": "L118"}, {"id": "prime_getprime", "label": "getprime()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/rsa/prime.py", "source_location": "L144"}, {"id": "prime_are_relatively_prime", "label": "are_relatively_prime()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/rsa/prime.py", "source_location": "L172"}, {"id": "prime_rationale_28", "label": "Returns the greatest common divisor of p and q >>> gcd(48, 180) 12", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/rsa/prime.py", "source_location": "L28"}, {"id": "prime_rationale_40", "label": "Returns minimum number of rounds for Miller-Rabing primality testing, based", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/rsa/prime.py", "source_location": "L40"}, {"id": "prime_rationale_66", "label": "Calculates whether n is composite (which is always correct) or prime (which", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/rsa/prime.py", "source_location": "L66"}, {"id": "prime_rationale_119", "label": "Returns True if the number is prime, and False otherwise. >>> is_prime(2)", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/rsa/prime.py", "source_location": "L119"}, {"id": "prime_rationale_145", "label": "Returns a prime number that can be stored in 'nbits' bits. >>> p = getprime", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/rsa/prime.py", "source_location": "L145"}, {"id": "prime_rationale_173", "label": "Returns True if a and b are relatively prime, and False if they are not.", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/rsa/prime.py", "source_location": "L173"}], "edges": [{"source": "backend_venv_lib_python3_12_site_packages_rsa_prime_py", "target": "rsa_common", "relation": "imports", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/rsa/prime.py", "source_location": "L21", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_rsa_prime_py", "target": "rsa_randnum", "relation": "imports", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/rsa/prime.py", "source_location": "L22", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_rsa_prime_py", "target": "prime_gcd", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/rsa/prime.py", "source_location": "L27", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_rsa_prime_py", "target": "prime_get_primality_testing_rounds", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/rsa/prime.py", "source_location": "L39", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_rsa_prime_py", "target": "prime_miller_rabin_primality_testing", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/rsa/prime.py", "source_location": "L65", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_rsa_prime_py", "target": "prime_is_prime", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/rsa/prime.py", "source_location": "L118", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_rsa_prime_py", "target": "prime_getprime", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/rsa/prime.py", "source_location": "L144", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_rsa_prime_py", "target": "prime_are_relatively_prime", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/rsa/prime.py", "source_location": "L172", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_rsa_prime_py", "target": "doctest", "relation": "imports", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/rsa/prime.py", "source_location": "L188", "weight": 1.0}, {"source": "prime_is_prime", "target": "prime_get_primality_testing_rounds", "relation": "calls", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/rsa/prime.py", "source_location": "L138", "weight": 1.0}, {"source": "prime_is_prime", "target": "prime_miller_rabin_primality_testing", "relation": "calls", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/rsa/prime.py", "source_location": "L141", "weight": 1.0}, {"source": "prime_getprime", "target": "prime_is_prime", "relation": "calls", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/rsa/prime.py", "source_location": "L166", "weight": 1.0}, {"source": "prime_are_relatively_prime", "target": "prime_gcd", "relation": "calls", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/rsa/prime.py", "source_location": "L182", "weight": 1.0}, {"source": "prime_rationale_28", "target": "prime_gcd", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/rsa/prime.py", "source_location": "L28", "weight": 1.0}, {"source": "prime_rationale_40", "target": "prime_get_primality_testing_rounds", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/rsa/prime.py", "source_location": "L40", "weight": 1.0}, {"source": "prime_rationale_66", "target": "prime_miller_rabin_primality_testing", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/rsa/prime.py", "source_location": "L66", "weight": 1.0}, {"source": "prime_rationale_119", "target": "prime_is_prime", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/rsa/prime.py", "source_location": "L119", "weight": 1.0}, {"source": "prime_rationale_145", "target": "prime_getprime", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/rsa/prime.py", "source_location": "L145", "weight": 1.0}, {"source": "prime_rationale_173", "target": "prime_are_relatively_prime", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/rsa/prime.py", "source_location": "L173", "weight": 1.0}], "raw_calls": [{"caller_nid": "prime_get_primality_testing_rounds", "callee": "bit_size", "source_file": "backend/venv/lib/python3.12/site-packages/rsa/prime.py", "source_location": "L53"}, {"caller_nid": "prime_miller_rabin_primality_testing", "callee": "range", "source_file": "backend/venv/lib/python3.12/site-packages/rsa/prime.py", "source_location": "L95"}, {"caller_nid": "prime_miller_rabin_primality_testing", "callee": "randint", "source_file": "backend/venv/lib/python3.12/site-packages/rsa/prime.py", "source_location": "L97"}, {"caller_nid": "prime_miller_rabin_primality_testing", "callee": "pow", "source_file": "backend/venv/lib/python3.12/site-packages/rsa/prime.py", "source_location": "L99"}, {"caller_nid": "prime_miller_rabin_primality_testing", "callee": "range", "source_file": "backend/venv/lib/python3.12/site-packages/rsa/prime.py", "source_location": "L103"}, {"caller_nid": "prime_miller_rabin_primality_testing", "callee": "pow", "source_file": "backend/venv/lib/python3.12/site-packages/rsa/prime.py", "source_location": "L104"}, {"caller_nid": "prime_getprime", "callee": "read_random_odd_int", "source_file": "backend/venv/lib/python3.12/site-packages/rsa/prime.py", "source_location": "L163"}]}