Files
tfm_ainventory/graphify-out/cache/abff3ffc2cf03dd2c537d84cca5c1ecfc969773b61a8f5240c708f98bf820d95.json

1 line
35 KiB
JSON

{"nodes": [{"id": "backend_venv_lib_python3_12_site_packages_limits_strategies_py", "label": "strategies.py", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/limits/strategies.py", "source_location": "L1"}, {"id": "strategies_ratelimiter", "label": "RateLimiter", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/limits/strategies.py", "source_location": "L21"}, {"id": "strategies_ratelimiter_init", "label": ".__init__()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/limits/strategies.py", "source_location": "L22"}, {"id": "strategies_hit", "label": "hit()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/limits/strategies.py", "source_location": "L27"}, {"id": "strategies_test", "label": "test()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/limits/strategies.py", "source_location": "L41"}, {"id": "strategies_get_window_stats", "label": "get_window_stats()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/limits/strategies.py", "source_location": "L55"}, {"id": "strategies_ratelimiter_clear", "label": ".clear()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/limits/strategies.py", "source_location": "L66"}, {"id": "strategies_movingwindowratelimiter", "label": "MovingWindowRateLimiter", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/limits/strategies.py", "source_location": "L70"}, {"id": "strategies_movingwindowratelimiter_init", "label": ".__init__()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/limits/strategies.py", "source_location": "L75"}, {"id": "strategies_movingwindowratelimiter_hit", "label": ".hit()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/limits/strategies.py", "source_location": "L85"}, {"id": "strategies_movingwindowratelimiter_test", "label": ".test()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/limits/strategies.py", "source_location": "L101"}, {"id": "strategies_movingwindowratelimiter_get_window_stats", "label": ".get_window_stats()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/limits/strategies.py", "source_location": "L122"}, {"id": "strategies_fixedwindowratelimiter", "label": "FixedWindowRateLimiter", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/limits/strategies.py", "source_location": "L139"}, {"id": "strategies_fixedwindowratelimiter_hit", "label": ".hit()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/limits/strategies.py", "source_location": "L144"}, {"id": "strategies_fixedwindowratelimiter_test", "label": ".test()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/limits/strategies.py", "source_location": "L165"}, {"id": "strategies_fixedwindowratelimiter_get_window_stats", "label": ".get_window_stats()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/limits/strategies.py", "source_location": "L179"}, {"id": "strategies_slidingwindowcounterratelimiter", "label": "SlidingWindowCounterRateLimiter", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/limits/strategies.py", "source_location": "L195"}, {"id": "strategies_slidingwindowcounterratelimiter_init", "label": ".__init__()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/limits/strategies.py", "source_location": "L200"}, {"id": "strategies_slidingwindowcounterratelimiter_weighted_count", "label": "._weighted_count()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/limits/strategies.py", "source_location": "L210"}, {"id": "strategies_slidingwindowcounterratelimiter_hit", "label": ".hit()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/limits/strategies.py", "source_location": "L222"}, {"id": "strategies_slidingwindowcounterratelimiter_test", "label": ".test()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/limits/strategies.py", "source_location": "L242"}, {"id": "strategies_slidingwindowcounterratelimiter_get_window_stats", "label": ".get_window_stats()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/limits/strategies.py", "source_location": "L264"}, {"id": "strategies_slidingwindowcounterratelimiter_clear", "label": ".clear()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/limits/strategies.py", "source_location": "L302"}, {"id": "strategies_rationale_1", "label": "Rate limiting strategies", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/limits/strategies.py", "source_location": "L1"}, {"id": "strategies_rationale_28", "label": "Consume the rate limit :param item: The rate limit item :param", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/limits/strategies.py", "source_location": "L28"}, {"id": "strategies_rationale_42", "label": "Check the rate limit without consuming from it. :param item: The rate l", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/limits/strategies.py", "source_location": "L42"}, {"id": "strategies_rationale_56", "label": "Query the reset time and remaining amount for the limit :param item: Th", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/limits/strategies.py", "source_location": "L56"}, {"id": "strategies_rationale_71", "label": "Reference: :ref:`strategies:moving window`", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/limits/strategies.py", "source_location": "L71"}, {"id": "strategies_rationale_86", "label": "Consume the rate limit :param item: The rate limit item :param", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/limits/strategies.py", "source_location": "L86"}, {"id": "strategies_rationale_102", "label": "Check if the rate limit can be consumed :param item: The rate limit ite", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/limits/strategies.py", "source_location": "L102"}, {"id": "strategies_rationale_123", "label": "returns the number of requests remaining within this limit. :param item", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/limits/strategies.py", "source_location": "L123"}, {"id": "strategies_rationale_140", "label": "Reference: :ref:`strategies:fixed window`", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/limits/strategies.py", "source_location": "L140"}, {"id": "strategies_rationale_145", "label": "Consume the rate limit :param item: The rate limit item :param", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/limits/strategies.py", "source_location": "L145"}, {"id": "strategies_rationale_166", "label": "Check if the rate limit can be consumed :param item: The rate limit ite", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/limits/strategies.py", "source_location": "L166"}, {"id": "strategies_rationale_180", "label": "Query the reset time and remaining amount for the limit :param item: Th", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/limits/strategies.py", "source_location": "L180"}, {"id": "strategies_rationale_196", "label": "Reference: :ref:`strategies:sliding window counter`", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/limits/strategies.py", "source_location": "L196"}, {"id": "strategies_rationale_217", "label": "Return the approximated by weighting the previous window count and adding the cu", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/limits/strategies.py", "source_location": "L217"}, {"id": "strategies_rationale_223", "label": "Consume the rate limit :param item: The rate limit item :param", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/limits/strategies.py", "source_location": "L223"}, {"id": "strategies_rationale_243", "label": "Check if the rate limit can be consumed :param item: The rate limit ite", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/limits/strategies.py", "source_location": "L243"}, {"id": "strategies_rationale_265", "label": "Query the reset time and remaining amount for the limit. :param item: T", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/limits/strategies.py", "source_location": "L265"}], "edges": [{"source": "backend_venv_lib_python3_12_site_packages_limits_strategies_py", "target": "time", "relation": "imports", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/limits/strategies.py", "source_location": "L7", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_limits_strategies_py", "target": "abc", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/limits/strategies.py", "source_location": "L8", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_limits_strategies_py", "target": "math", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/limits/strategies.py", "source_location": "L9", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_limits_strategies_py", "target": "deprecated_sphinx", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/limits/strategies.py", "source_location": "L11", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_limits_strategies_py", "target": "limits_storage_base", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/limits/strategies.py", "source_location": "L13", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_limits_strategies_py", "target": "backend_venv_lib_python3_12_site_packages_limits_limits_py", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/limits/strategies.py", "source_location": "L15", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_limits_strategies_py", "target": "backend_venv_lib_python3_12_site_packages_limits_storage_py", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/limits/strategies.py", "source_location": "L16", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_limits_strategies_py", "target": "backend_venv_lib_python3_12_site_packages_limits_typing_py", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/limits/strategies.py", "source_location": "L17", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_limits_strategies_py", "target": "backend_venv_lib_python3_12_site_packages_limits_util_py", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/limits/strategies.py", "source_location": "L18", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_limits_strategies_py", "target": "strategies_ratelimiter", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/limits/strategies.py", "source_location": "L21", "weight": 1.0}, {"source": "strategies_ratelimiter", "target": "strategies_ratelimiter_init", "relation": "method", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/limits/strategies.py", "source_location": "L22", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_limits_strategies_py", "target": "strategies_hit", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/limits/strategies.py", "source_location": "L27", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_limits_strategies_py", "target": "strategies_test", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/limits/strategies.py", "source_location": "L41", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_limits_strategies_py", "target": "strategies_get_window_stats", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/limits/strategies.py", "source_location": "L55", "weight": 1.0}, {"source": "strategies_ratelimiter", "target": "strategies_ratelimiter_clear", "relation": "method", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/limits/strategies.py", "source_location": "L66", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_limits_strategies_py", "target": "strategies_movingwindowratelimiter", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/limits/strategies.py", "source_location": "L70", "weight": 1.0}, {"source": "strategies_movingwindowratelimiter", "target": "strategies_ratelimiter", "relation": "inherits", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/limits/strategies.py", "source_location": "L70", "weight": 1.0}, {"source": "strategies_movingwindowratelimiter", "target": "strategies_movingwindowratelimiter_init", "relation": "method", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/limits/strategies.py", "source_location": "L75", "weight": 1.0}, {"source": "strategies_movingwindowratelimiter", "target": "strategies_movingwindowratelimiter_hit", "relation": "method", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/limits/strategies.py", "source_location": "L85", "weight": 1.0}, {"source": "strategies_movingwindowratelimiter", "target": "strategies_movingwindowratelimiter_test", "relation": "method", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/limits/strategies.py", "source_location": "L101", "weight": 1.0}, {"source": "strategies_movingwindowratelimiter", "target": "strategies_movingwindowratelimiter_get_window_stats", "relation": "method", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/limits/strategies.py", "source_location": "L122", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_limits_strategies_py", "target": "strategies_fixedwindowratelimiter", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/limits/strategies.py", "source_location": "L139", "weight": 1.0}, {"source": "strategies_fixedwindowratelimiter", "target": "strategies_ratelimiter", "relation": "inherits", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/limits/strategies.py", "source_location": "L139", "weight": 1.0}, {"source": "strategies_fixedwindowratelimiter", "target": "strategies_fixedwindowratelimiter_hit", "relation": "method", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/limits/strategies.py", "source_location": "L144", "weight": 1.0}, {"source": "strategies_fixedwindowratelimiter", "target": "strategies_fixedwindowratelimiter_test", "relation": "method", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/limits/strategies.py", "source_location": "L165", "weight": 1.0}, {"source": "strategies_fixedwindowratelimiter", "target": "strategies_fixedwindowratelimiter_get_window_stats", "relation": "method", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/limits/strategies.py", "source_location": "L179", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_limits_strategies_py", "target": "strategies_slidingwindowcounterratelimiter", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/limits/strategies.py", "source_location": "L195", "weight": 1.0}, {"source": "strategies_slidingwindowcounterratelimiter", "target": "strategies_ratelimiter", "relation": "inherits", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/limits/strategies.py", "source_location": "L195", "weight": 1.0}, {"source": "strategies_slidingwindowcounterratelimiter", "target": "strategies_slidingwindowcounterratelimiter_init", "relation": "method", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/limits/strategies.py", "source_location": "L200", "weight": 1.0}, {"source": "strategies_slidingwindowcounterratelimiter", "target": "strategies_slidingwindowcounterratelimiter_weighted_count", "relation": "method", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/limits/strategies.py", "source_location": "L210", "weight": 1.0}, {"source": "strategies_slidingwindowcounterratelimiter", "target": "strategies_slidingwindowcounterratelimiter_hit", "relation": "method", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/limits/strategies.py", "source_location": "L222", "weight": 1.0}, {"source": "strategies_slidingwindowcounterratelimiter", "target": "strategies_slidingwindowcounterratelimiter_test", "relation": "method", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/limits/strategies.py", "source_location": "L242", "weight": 1.0}, {"source": "strategies_slidingwindowcounterratelimiter", "target": "strategies_slidingwindowcounterratelimiter_get_window_stats", "relation": "method", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/limits/strategies.py", "source_location": "L264", "weight": 1.0}, {"source": "strategies_slidingwindowcounterratelimiter", "target": "strategies_slidingwindowcounterratelimiter_clear", "relation": "method", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/limits/strategies.py", "source_location": "L302", "weight": 1.0}, {"source": "strategies_ratelimiter_clear", "target": "strategies_slidingwindowcounterratelimiter_clear", "relation": "calls", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/limits/strategies.py", "source_location": "L67", "weight": 1.0}, {"source": "strategies_movingwindowratelimiter_init", "target": "strategies_slidingwindowcounterratelimiter_init", "relation": "calls", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/limits/strategies.py", "source_location": "L83", "weight": 1.0}, {"source": "strategies_slidingwindowcounterratelimiter_test", "target": "strategies_slidingwindowcounterratelimiter_weighted_count", "relation": "calls", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/limits/strategies.py", "source_location": "L258", "weight": 1.0}, {"source": "strategies_slidingwindowcounterratelimiter_get_window_stats", "target": "strategies_slidingwindowcounterratelimiter_weighted_count", "relation": "calls", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/limits/strategies.py", "source_location": "L281", "weight": 1.0}, {"source": "strategies_rationale_1", "target": "backend_venv_lib_python3_12_site_packages_limits_strategies_py", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/limits/strategies.py", "source_location": "L1", "weight": 1.0}, {"source": "strategies_rationale_28", "target": "strategies_ratelimiter_hit", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/limits/strategies.py", "source_location": "L28", "weight": 1.0}, {"source": "strategies_rationale_42", "target": "strategies_ratelimiter_test", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/limits/strategies.py", "source_location": "L42", "weight": 1.0}, {"source": "strategies_rationale_56", "target": "strategies_ratelimiter_get_window_stats", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/limits/strategies.py", "source_location": "L56", "weight": 1.0}, {"source": "strategies_rationale_71", "target": "strategies_movingwindowratelimiter", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/limits/strategies.py", "source_location": "L71", "weight": 1.0}, {"source": "strategies_rationale_86", "target": "strategies_movingwindowratelimiter_hit", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/limits/strategies.py", "source_location": "L86", "weight": 1.0}, {"source": "strategies_rationale_102", "target": "strategies_movingwindowratelimiter_test", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/limits/strategies.py", "source_location": "L102", "weight": 1.0}, {"source": "strategies_rationale_123", "target": "strategies_movingwindowratelimiter_get_window_stats", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/limits/strategies.py", "source_location": "L123", "weight": 1.0}, {"source": "strategies_rationale_140", "target": "strategies_fixedwindowratelimiter", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/limits/strategies.py", "source_location": "L140", "weight": 1.0}, {"source": "strategies_rationale_145", "target": "strategies_fixedwindowratelimiter_hit", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/limits/strategies.py", "source_location": "L145", "weight": 1.0}, {"source": "strategies_rationale_166", "target": "strategies_fixedwindowratelimiter_test", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/limits/strategies.py", "source_location": "L166", "weight": 1.0}, {"source": "strategies_rationale_180", "target": "strategies_fixedwindowratelimiter_get_window_stats", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/limits/strategies.py", "source_location": "L180", "weight": 1.0}, {"source": "strategies_rationale_196", "target": "strategies_slidingwindowcounterratelimiter", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/limits/strategies.py", "source_location": "L196", "weight": 1.0}, {"source": "strategies_rationale_217", "target": "strategies_slidingwindowcounterratelimiter_weighted_count", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/limits/strategies.py", "source_location": "L217", "weight": 1.0}, {"source": "strategies_rationale_223", "target": "strategies_slidingwindowcounterratelimiter_hit", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/limits/strategies.py", "source_location": "L223", "weight": 1.0}, {"source": "strategies_rationale_243", "target": "strategies_slidingwindowcounterratelimiter_test", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/limits/strategies.py", "source_location": "L243", "weight": 1.0}, {"source": "strategies_rationale_265", "target": "strategies_slidingwindowcounterratelimiter_get_window_stats", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/limits/strategies.py", "source_location": "L265", "weight": 1.0}], "raw_calls": [{"caller_nid": "strategies_ratelimiter_init", "callee": "isinstance", "source_file": "backend/venv/lib/python3.12/site-packages/limits/strategies.py", "source_location": "L23"}, {"caller_nid": "strategies_ratelimiter_clear", "callee": "key_for", "source_file": "backend/venv/lib/python3.12/site-packages/limits/strategies.py", "source_location": "L67"}, {"caller_nid": "strategies_movingwindowratelimiter_init", "callee": "hasattr", "source_file": "backend/venv/lib/python3.12/site-packages/limits/strategies.py", "source_location": "L77"}, {"caller_nid": "strategies_movingwindowratelimiter_init", "callee": "hasattr", "source_file": "backend/venv/lib/python3.12/site-packages/limits/strategies.py", "source_location": "L77"}, {"caller_nid": "strategies_movingwindowratelimiter_init", "callee": "NotImplementedError", "source_file": "backend/venv/lib/python3.12/site-packages/limits/strategies.py", "source_location": "L79"}, {"caller_nid": "strategies_movingwindowratelimiter_init", "callee": "super", "source_file": "backend/venv/lib/python3.12/site-packages/limits/strategies.py", "source_location": "L83"}, {"caller_nid": "strategies_movingwindowratelimiter_hit", "callee": "acquire_entry", "source_file": "backend/venv/lib/python3.12/site-packages/limits/strategies.py", "source_location": "L97"}, {"caller_nid": "strategies_movingwindowratelimiter_hit", "callee": "cast", "source_file": "backend/venv/lib/python3.12/site-packages/limits/strategies.py", "source_location": "L97"}, {"caller_nid": "strategies_movingwindowratelimiter_hit", "callee": "key_for", "source_file": "backend/venv/lib/python3.12/site-packages/limits/strategies.py", "source_location": "L98"}, {"caller_nid": "strategies_movingwindowratelimiter_hit", "callee": "get_expiry", "source_file": "backend/venv/lib/python3.12/site-packages/limits/strategies.py", "source_location": "L98"}, {"caller_nid": "strategies_movingwindowratelimiter_test", "callee": "get_moving_window", "source_file": "backend/venv/lib/python3.12/site-packages/limits/strategies.py", "source_location": "L114"}, {"caller_nid": "strategies_movingwindowratelimiter_test", "callee": "cast", "source_file": "backend/venv/lib/python3.12/site-packages/limits/strategies.py", "source_location": "L114"}, {"caller_nid": "strategies_movingwindowratelimiter_test", "callee": "key_for", "source_file": "backend/venv/lib/python3.12/site-packages/limits/strategies.py", "source_location": "L115"}, {"caller_nid": "strategies_movingwindowratelimiter_test", "callee": "get_expiry", "source_file": "backend/venv/lib/python3.12/site-packages/limits/strategies.py", "source_location": "L117"}, {"caller_nid": "strategies_movingwindowratelimiter_get_window_stats", "callee": "get_moving_window", "source_file": "backend/venv/lib/python3.12/site-packages/limits/strategies.py", "source_location": "L131"}, {"caller_nid": "strategies_movingwindowratelimiter_get_window_stats", "callee": "cast", "source_file": "backend/venv/lib/python3.12/site-packages/limits/strategies.py", "source_location": "L131"}, {"caller_nid": "strategies_movingwindowratelimiter_get_window_stats", "callee": "key_for", "source_file": "backend/venv/lib/python3.12/site-packages/limits/strategies.py", "source_location": "L133"}, {"caller_nid": "strategies_movingwindowratelimiter_get_window_stats", "callee": "get_expiry", "source_file": "backend/venv/lib/python3.12/site-packages/limits/strategies.py", "source_location": "L133"}, {"caller_nid": "strategies_movingwindowratelimiter_get_window_stats", "callee": "get_expiry", "source_file": "backend/venv/lib/python3.12/site-packages/limits/strategies.py", "source_location": "L134"}, {"caller_nid": "strategies_movingwindowratelimiter_get_window_stats", "callee": "WindowStats", "source_file": "backend/venv/lib/python3.12/site-packages/limits/strategies.py", "source_location": "L136"}, {"caller_nid": "strategies_fixedwindowratelimiter_hit", "callee": "incr", "source_file": "backend/venv/lib/python3.12/site-packages/limits/strategies.py", "source_location": "L157"}, {"caller_nid": "strategies_fixedwindowratelimiter_hit", "callee": "key_for", "source_file": "backend/venv/lib/python3.12/site-packages/limits/strategies.py", "source_location": "L158"}, {"caller_nid": "strategies_fixedwindowratelimiter_hit", "callee": "get_expiry", "source_file": "backend/venv/lib/python3.12/site-packages/limits/strategies.py", "source_location": "L159"}, {"caller_nid": "strategies_fixedwindowratelimiter_test", "callee": "get", "source_file": "backend/venv/lib/python3.12/site-packages/limits/strategies.py", "source_location": "L177"}, {"caller_nid": "strategies_fixedwindowratelimiter_test", "callee": "key_for", "source_file": "backend/venv/lib/python3.12/site-packages/limits/strategies.py", "source_location": "L177"}, {"caller_nid": "strategies_fixedwindowratelimiter_get_window_stats", "callee": "max", "source_file": "backend/venv/lib/python3.12/site-packages/limits/strategies.py", "source_location": "L188"}, {"caller_nid": "strategies_fixedwindowratelimiter_get_window_stats", "callee": "get", "source_file": "backend/venv/lib/python3.12/site-packages/limits/strategies.py", "source_location": "L188"}, {"caller_nid": "strategies_fixedwindowratelimiter_get_window_stats", "callee": "key_for", "source_file": "backend/venv/lib/python3.12/site-packages/limits/strategies.py", "source_location": "L188"}, {"caller_nid": "strategies_fixedwindowratelimiter_get_window_stats", "callee": "get_expiry", "source_file": "backend/venv/lib/python3.12/site-packages/limits/strategies.py", "source_location": "L189"}, {"caller_nid": "strategies_fixedwindowratelimiter_get_window_stats", "callee": "key_for", "source_file": "backend/venv/lib/python3.12/site-packages/limits/strategies.py", "source_location": "L189"}, {"caller_nid": "strategies_fixedwindowratelimiter_get_window_stats", "callee": "WindowStats", "source_file": "backend/venv/lib/python3.12/site-packages/limits/strategies.py", "source_location": "L191"}, {"caller_nid": "strategies_slidingwindowcounterratelimiter_init", "callee": "hasattr", "source_file": "backend/venv/lib/python3.12/site-packages/limits/strategies.py", "source_location": "L201"}, {"caller_nid": "strategies_slidingwindowcounterratelimiter_init", "callee": "hasattr", "source_file": "backend/venv/lib/python3.12/site-packages/limits/strategies.py", "source_location": "L201"}, {"caller_nid": "strategies_slidingwindowcounterratelimiter_init", "callee": "NotImplementedError", "source_file": "backend/venv/lib/python3.12/site-packages/limits/strategies.py", "source_location": "L204"}, {"caller_nid": "strategies_slidingwindowcounterratelimiter_init", "callee": "super", "source_file": "backend/venv/lib/python3.12/site-packages/limits/strategies.py", "source_location": "L208"}, {"caller_nid": "strategies_slidingwindowcounterratelimiter_weighted_count", "callee": "get_expiry", "source_file": "backend/venv/lib/python3.12/site-packages/limits/strategies.py", "source_location": "L220"}, {"caller_nid": "strategies_slidingwindowcounterratelimiter_hit", "callee": "acquire_sliding_window_entry", "source_file": "backend/venv/lib/python3.12/site-packages/limits/strategies.py", "source_location": "L233"}, {"caller_nid": "strategies_slidingwindowcounterratelimiter_hit", "callee": "cast", "source_file": "backend/venv/lib/python3.12/site-packages/limits/strategies.py", "source_location": "L233"}, {"caller_nid": "strategies_slidingwindowcounterratelimiter_hit", "callee": "key_for", "source_file": "backend/venv/lib/python3.12/site-packages/limits/strategies.py", "source_location": "L236"}, {"caller_nid": "strategies_slidingwindowcounterratelimiter_hit", "callee": "get_expiry", "source_file": "backend/venv/lib/python3.12/site-packages/limits/strategies.py", "source_location": "L238"}, {"caller_nid": "strategies_slidingwindowcounterratelimiter_test", "callee": "get_sliding_window", "source_file": "backend/venv/lib/python3.12/site-packages/limits/strategies.py", "source_location": "L253"}, {"caller_nid": "strategies_slidingwindowcounterratelimiter_test", "callee": "cast", "source_file": "backend/venv/lib/python3.12/site-packages/limits/strategies.py", "source_location": "L253"}, {"caller_nid": "strategies_slidingwindowcounterratelimiter_test", "callee": "key_for", "source_file": "backend/venv/lib/python3.12/site-packages/limits/strategies.py", "source_location": "L255"}, {"caller_nid": "strategies_slidingwindowcounterratelimiter_test", "callee": "get_expiry", "source_file": "backend/venv/lib/python3.12/site-packages/limits/strategies.py", "source_location": "L255"}, {"caller_nid": "strategies_slidingwindowcounterratelimiter_get_window_stats", "callee": "get_sliding_window", "source_file": "backend/venv/lib/python3.12/site-packages/limits/strategies.py", "source_location": "L273"}, {"caller_nid": "strategies_slidingwindowcounterratelimiter_get_window_stats", "callee": "cast", "source_file": "backend/venv/lib/python3.12/site-packages/limits/strategies.py", "source_location": "L273"}, {"caller_nid": "strategies_slidingwindowcounterratelimiter_get_window_stats", "callee": "key_for", "source_file": "backend/venv/lib/python3.12/site-packages/limits/strategies.py", "source_location": "L275"}, {"caller_nid": "strategies_slidingwindowcounterratelimiter_get_window_stats", "callee": "get_expiry", "source_file": "backend/venv/lib/python3.12/site-packages/limits/strategies.py", "source_location": "L275"}, {"caller_nid": "strategies_slidingwindowcounterratelimiter_get_window_stats", "callee": "max", "source_file": "backend/venv/lib/python3.12/site-packages/limits/strategies.py", "source_location": "L277"}, {"caller_nid": "strategies_slidingwindowcounterratelimiter_get_window_stats", "callee": "floor", "source_file": "backend/venv/lib/python3.12/site-packages/limits/strategies.py", "source_location": "L280"}, {"caller_nid": "strategies_slidingwindowcounterratelimiter_get_window_stats", "callee": "time", "source_file": "backend/venv/lib/python3.12/site-packages/limits/strategies.py", "source_location": "L287"}, {"caller_nid": "strategies_slidingwindowcounterratelimiter_get_window_stats", "callee": "WindowStats", "source_file": "backend/venv/lib/python3.12/site-packages/limits/strategies.py", "source_location": "L290"}, {"caller_nid": "strategies_slidingwindowcounterratelimiter_get_window_stats", "callee": "get_expiry", "source_file": "backend/venv/lib/python3.12/site-packages/limits/strategies.py", "source_location": "L292"}, {"caller_nid": "strategies_slidingwindowcounterratelimiter_get_window_stats", "callee": "WindowStats", "source_file": "backend/venv/lib/python3.12/site-packages/limits/strategies.py", "source_location": "L300"}, {"caller_nid": "strategies_slidingwindowcounterratelimiter_get_window_stats", "callee": "min", "source_file": "backend/venv/lib/python3.12/site-packages/limits/strategies.py", "source_location": "L300"}, {"caller_nid": "strategies_slidingwindowcounterratelimiter_clear", "callee": "clear_sliding_window", "source_file": "backend/venv/lib/python3.12/site-packages/limits/strategies.py", "source_location": "L303"}, {"caller_nid": "strategies_slidingwindowcounterratelimiter_clear", "callee": "cast", "source_file": "backend/venv/lib/python3.12/site-packages/limits/strategies.py", "source_location": "L303"}, {"caller_nid": "strategies_slidingwindowcounterratelimiter_clear", "callee": "key_for", "source_file": "backend/venv/lib/python3.12/site-packages/limits/strategies.py", "source_location": "L304"}, {"caller_nid": "strategies_slidingwindowcounterratelimiter_clear", "callee": "get_expiry", "source_file": "backend/venv/lib/python3.12/site-packages/limits/strategies.py", "source_location": "L304"}]}