sample_id
string
repo
string
question_type
string
hop_depth
int64
gold
unknown
metadata
unknown
locustio__locust__quit__upstream__1hop_72c09d
locustio/locust
upstream
1
{ "calls": [ "on_quitting", "start_automatic_run", "stop_and_optionally_quit", "start", "handle_message", "main", "shutdown" ], "call_files": [ "private/tmp/repos/locustio__locust/locust/runners.py", "private/tmp/repos/locustio__locust/locust/main.py", "private/tmp/repos/lo...
{ "anchor": "quit", "anchor_file": "private/tmp/repos/locustio__locust/locust/runners.py", "anchor_source": "def quit(self) -> None:\n self.stop(send_stop_to_client=False)\n logger.debug(\"Quitting...\")\n for client in self.clients.all:\n logger.debug(f\"Sending quit message to wo...
trpc__trpc__toSearchString__upstream__1hop_ba4d5e
trpc/trpc
upstream
1
{ "calls": [ "DocItemMetadata", "BlogPostPageMetadata", "Page" ], "call_files": [ "private/tmp/repos/trpc__trpc/www/src/theme/DocItem/Metadata/index.tsx", "private/tmp/repos/trpc__trpc/www/src/theme/BlogPostPage/Metadata/index.tsx", "private/tmp/repos/trpc__trpc/www/src/pages/pricing.tsx" ...
{ "anchor": "toSearchString", "anchor_file": "private/tmp/repos/trpc__trpc/www/og-image/utils/zodParams.ts", "anchor_source": "toSearchString: (obj: (typeof schema)['_input']) => {\n schema.parse(obj);\n return `input=${encodeURIComponent(JSON.stringify(obj))}`;\n },", "result_size": 3, "created_...
rq__rq__handle_job_failure__upstream__2hop_d1f9d3
rq/rq
upstream
2
{ "hop_1": [ "handle_job_retry", "monitor_work_horse", "cleanup", "perform_job" ], "hop_1_files": [ "private/tmp/repos/rq__rq/rq/worker/base.py", "private/tmp/repos/rq__rq/rq/worker/worker_classes.py", "private/tmp/repos/rq__rq/rq/intermediate_queue.py", "private/tmp/repos/rq__rq/r...
{ "anchor": "handle_job_failure", "anchor_file": "private/tmp/repos/rq__rq/rq/worker/base.py", "anchor_source": "def handle_job_failure(self, job: 'Job', queue: 'Queue', started_job_registry=None, exc_string=''):\n \"\"\"\n Handles the failure or an executing job by:\n 1. Setting the job ...
rq__rq__fork_work_horse__downstream__1hop_205489
rq/rq
downstream
1
{ "calls": [ "procline", "main_work_horse" ], "call_files": [ "private/tmp/repos/rq__rq/rq/worker/base.py", "private/tmp/repos/rq__rq/rq/worker/base.py" ] }
{ "anchor": "fork_work_horse", "anchor_file": "private/tmp/repos/rq__rq/rq/worker/worker_classes.py", "anchor_source": "def fork_work_horse(self, job: 'Job', queue: 'Queue'):\n \"\"\"Spawns a work horse to perform the actual work and passes it a job.\n This is where the `fork()` actually happens.\n\...
immerjs__immer__createProxy__downstream__1hop_54c658
immerjs/immer
downstream
1
{ "calls": [ "createProxyProxy", "registerChildFinalizationCallback", "rootDraftCleanup", "getPlugin" ], "call_files": [ "private/tmp/repos/immerjs__immer/src/core/proxy.ts", "private/tmp/repos/immerjs__immer/src/core/finalize.ts", "private/tmp/repos/immerjs__immer/src/core/immerClass....
{ "anchor": "createProxy", "anchor_file": "private/tmp/repos/immerjs__immer/src/core/immerClass.ts", "anchor_source": "export function createProxy<T extends Objectish>(\n\trootScope: ImmerScope,\n\tvalue: T,\n\tparent?: ImmerState,\n\tkey?: string | number | symbol\n): Drafted<T, ImmerState> {\n\t// precondition:...
psf__requests__to_native_string__upstream__1hop_7aa8c4
psf/requests
upstream
1
{ "calls": [ "_basic_auth_str", "prepare_headers", "prepare_url", "resolve_redirects", "get_full_url", "prepare_method" ], "call_files": [ "private/tmp/repos/requests/src/requests/auth.py", "private/tmp/repos/requests/src/requests/models.py", "private/tmp/repos/requests/src/req...
{ "anchor": "to_native_string", "anchor_file": "private/tmp/repos/requests/src/requests/_internal_utils.py", "anchor_source": "def to_native_string(string, encoding=\"ascii\"):\n \"\"\"Given a string object, regardless of type, returns a representation of\n that string in the native string type, encoding an...
pallets__jinja__visit_DerivedContextReference__downstream__1hop_689407
pallets/jinja
downstream
1
{ "calls": [ "derive_context", "write" ], "call_files": [ "private/tmp/repos/pallets__jinja/src/jinja2/compiler.py", "private/tmp/repos/pallets__jinja/src/jinja2/compiler.py" ] }
{ "anchor": "visit_DerivedContextReference", "anchor_file": "private/tmp/repos/pallets__jinja/src/jinja2/compiler.py", "anchor_source": "def visit_DerivedContextReference(\n self, node: nodes.DerivedContextReference, frame: Frame\n ) -> None:\n self.write(self.derive_context(frame))", "result_s...
trpc__trpc__parseTRPCMessage__upstream__2hop_138316
trpc/trpc
upstream
2
{ "hop_1": [ "getWSConnectionHandler" ], "hop_1_files": [ "private/tmp/repos/trpc__trpc/packages/server/src/adapters/ws.ts" ], "hop_2": [ "fastifyTRPCPlugin", "applyWSSHandler" ], "hop_2_files": [ "private/tmp/repos/trpc__trpc/packages/server/src/adapters/fastify/fastifyTRPCPlugin.ts",...
{ "anchor": "parseTRPCMessage", "anchor_file": "private/tmp/repos/trpc__trpc/packages/server/src/unstable-core-do-not-import/rpc/parseTRPCMessage.ts", "anchor_source": "export function parseTRPCMessage(\n obj: unknown,\n transformer: CombinedDataTransformer,\n): TRPCClientOutgoingMessage {\n assertIsObject(obj...
celery__celery__start_scheduler__downstream__2hop_3368cc
celery/celery
downstream
2
{ "hop_1": [ "setup_logging", "banner", "Beat", "install_sync_handler" ], "hop_1_files": [ "private/tmp/repos/celery/celery/apps/beat.py", "private/tmp/repos/celery/celery/apps/beat.py", "private/tmp/repos/celery/celery/apps/beat.py", "private/tmp/repos/celery/celery/apps/beat.py" ...
{ "anchor": "start_scheduler", "anchor_file": "private/tmp/repos/celery/celery/apps/beat.py", "anchor_source": "def start_scheduler(self) -> None:\n if self.pidfile:\n platforms.create_pidlock(self.pidfile)\n service = self.Service(\n app=self.app,\n max_interval=sel...
trpc__trpc__createTRPCErrorInterceptor__downstream__1hop_30bba7
trpc/trpc
downstream
1
{ "calls": [ "resolveTransformer", "deserialize" ], "call_files": [ "private/tmp/repos/trpc__trpc/packages/openapi/src/heyapi/index.ts", "private/tmp/repos/trpc__trpc/packages/server/src/unstable-core-do-not-import/transformer.ts" ] }
{ "anchor": "createTRPCErrorInterceptor", "anchor_file": "private/tmp/repos/trpc__trpc/packages/openapi/src/heyapi/index.ts", "anchor_source": "export function createTRPCErrorInterceptor(\n transformerOpts: DataTransformerOptions,\n) {\n const transformer = resolveTransformer(transformerOpts);\n return (error:...
rq__rq__import_attribute__upstream__1hop_94341b
rq/rq
upstream
1
{ "calls": [ "import_job_class", "failure_callback", "stopped_callback", "success_callback", "import_worker_class", "import_queue_class", "resolve_serializer" ], "call_files": [ "private/tmp/repos/rq__rq/rq/utils.py", "private/tmp/repos/rq__rq/rq/job.py", "private/tmp/repos...
{ "anchor": "import_attribute", "anchor_file": "private/tmp/repos/rq__rq/rq/utils.py", "anchor_source": "def import_attribute(name: str) -> Callable[..., Any]:\n \"\"\"Returns an attribute from a dotted path name. Example: `path.to.func`.\n\n When the attribute we look for is a staticmethod, module name in ...
paramiko__paramiko___send_version__downstream__2hop_38de47
paramiko/paramiko
downstream
2
{ "hop_1": [ "_read_packet", "_send_packet" ], "hop_1_files": [ "private/tmp/repos/paramiko/paramiko/sftp.py", "private/tmp/repos/paramiko/paramiko/sftp.py" ], "hop_2": [ "_write_all", "_log", "_read_all" ], "hop_2_files": [ "private/tmp/repos/paramiko/paramiko/sftp.py", ...
{ "anchor": "_send_version", "anchor_file": "private/tmp/repos/paramiko/paramiko/sftp.py", "anchor_source": "def _send_version(self):\n m = Message()\n m.add_int(_VERSION)\n self._send_packet(CMD_INIT, m)\n t, data = self._read_packet()\n if t != CMD_VERSION:\n raise ...
trpc__trpc__next__downstream__2hop_cd6872
trpc/trpc
downstream
2
{ "hop_1": [ "distinctUntilChanged" ], "hop_1_files": [ "private/tmp/repos/trpc__trpc/packages/server/src/observable/operators.ts" ], "hop_2": [ "subscribe" ], "hop_2_files": [ "private/tmp/repos/trpc__trpc/packages/server/src/observable/types.ts" ] }
{ "anchor": "next", "anchor_file": "private/tmp/repos/trpc__trpc/packages/server/src/observable/operators.ts", "anchor_source": "next(value) {\n if (lastValue !== distinctUnsetMarker && compare(lastValue, value)) {\n return;\n }\n lastValue = value;\n destination.nex...
colinhacks__zod___nativeEnum__downstream__1hop_d9281c
colinhacks/zod
downstream
1
{ "calls": [ "normalizeParams" ], "call_files": [ "private/tmp/repos/colinhacks__zod/packages/zod/src/v4/core/util.ts" ] }
{ "anchor": "_nativeEnum", "anchor_file": "private/tmp/repos/colinhacks__zod/packages/zod/src/v4/core/api.ts", "anchor_source": "export function _nativeEnum<T extends util.EnumLike>(\n Class: util.SchemaClass<schemas.$ZodEnum>,\n entries: T,\n params?: string | $ZodEnumParams\n): schemas.$ZodEnum<T> {\n retur...
colinhacks__zod__issue__upstream__2hop_02bf3a
colinhacks/zod
upstream
2
{ "hop_1": [ "issue" ], "hop_1_files": [ "private/tmp/repos/colinhacks__zod/packages/zod/src/v4/core/util.ts" ], "hop_2": [ "parse", "_superRefine", "addIssue", "handleRefineResult" ], "hop_2_files": [ "private/tmp/repos/colinhacks__zod/packages/zod/src/v4/classic/schemas.ts", ...
{ "anchor": "issue", "anchor_file": "private/tmp/repos/colinhacks__zod/packages/zod/src/v4/core/util.ts", "anchor_source": "export function issue(...args: [string | errors.$ZodRawIssue, any?, any?]): errors.$ZodRawIssue {\n const [iss, input, inst] = args;\n if (typeof iss === \"string\") {\n return {\n ...
pallets__flask__show_server_banner__upstream__1hop_efd301
pallets/flask
upstream
1
{ "calls": [ "run_command", "run" ], "call_files": [ "private/tmp/repos/flask/src/flask/cli.py", "private/tmp/repos/flask/src/flask/app.py" ] }
{ "anchor": "show_server_banner", "anchor_file": "private/tmp/repos/flask/src/flask/cli.py", "anchor_source": "def show_server_banner(debug: bool, app_import_path: str | None) -> None:\n \"\"\"Show extra startup messages the first time the server is run,\n ignoring the reloader.\n \"\"\"\n if is_runni...
trpc__trpc__reset__upstream__2hop_dd7d52
trpc/trpc
upstream
2
{ "hop_1": [ "constructor", "batchSend", "setupWebSocketListeners" ], "hop_1_files": [ "private/tmp/repos/trpc__trpc/packages/client/src/links/wsLink/wsClient/wsClient.ts", "private/tmp/repos/trpc__trpc/packages/client/src/links/wsLink/wsClient/wsClient.ts", "private/tmp/repos/trpc__trpc/p...
{ "anchor": "reset", "anchor_file": "private/tmp/repos/trpc__trpc/packages/client/src/links/wsLink/wsClient/utils.ts", "anchor_source": "public reset() {\n if (!this.timeout) return;\n\n clearTimeout(this.timeout);\n this.timeout = setTimeout(this.onTimeout, this.timeoutMs);\n }", "result_size": 8, ...
colinhacks__zod___uuidv4__downstream__1hop_f1d8b3
colinhacks/zod
downstream
1
{ "calls": [ "normalizeParams" ], "call_files": [ "private/tmp/repos/colinhacks__zod/packages/zod/src/v4/core/util.ts" ] }
{ "anchor": "_uuidv4", "anchor_file": "private/tmp/repos/colinhacks__zod/packages/zod/src/v4/core/api.ts", "anchor_source": "export function _uuidv4<T extends schemas.$ZodUUID>(\n Class: util.SchemaClass<T>,\n params?: string | $ZodUUIDv4Params | $ZodCheckUUIDv4Params\n): T {\n return new Class({\n type: \"...
colinhacks__zod__nullish__downstream__1hop_f106c3
colinhacks/zod
downstream
1
{ "calls": [ "optional", "nullable" ], "call_files": [ "private/tmp/repos/colinhacks__zod/packages/zod/src/v3/types.ts", "private/tmp/repos/colinhacks__zod/packages/zod/src/v3/types.ts" ] }
{ "anchor": "nullish", "anchor_file": "private/tmp/repos/colinhacks__zod/packages/zod/src/v3/types.ts", "anchor_source": "nullish(): ZodOptional<ZodNullable<this>> {\n return this.nullable().optional();\n }", "result_size": 2, "created_at": "2026-03-20T16:58:16.474869+00:00" }
encode__django-rest-framework__action__downstream__1hop_3ebe30
encode/django-rest-framework
downstream
1
{ "calls": [ "MethodMapper" ], "call_files": [ "private/tmp/repos/django-rest-framework/rest_framework/decorators.py" ] }
{ "anchor": "action", "anchor_file": "private/tmp/repos/django-rest-framework/rest_framework/decorators.py", "anchor_source": "def action(methods=None, detail=None, url_path=None, url_name=None, **kwargs):\n \"\"\"\n Mark a ViewSet method as a routable action.\n\n `@action`-decorated functions will be en...
agronholm__apscheduler____setstate____downstream__1hop_21728b
agronholm/apscheduler
downstream
1
{ "calls": [ "require_state_version" ], "call_files": [ "private/tmp/repos/agronholm__apscheduler/src/apscheduler/_utils.py" ] }
{ "anchor": "__setstate__", "anchor_file": "private/tmp/repos/agronholm__apscheduler/src/apscheduler/triggers/interval.py", "anchor_source": "def __setstate__(self, state: dict[str, Any]) -> None:\n require_state_version(self, state, 1)\n (\n self.weeks,\n self.days,\n ...
trpc__trpc__load__upstream__1hop_c25e91
trpc/trpc
upstream
1
{ "calls": [ "dataLoader", "httpBatchStreamLink", "httpBatchLink" ], "call_files": [ "private/tmp/repos/trpc__trpc/packages/client/src/internals/dataLoader.ts", "private/tmp/repos/trpc__trpc/packages/client/src/links/httpBatchStreamLink.ts", "private/tmp/repos/trpc__trpc/packages/client/sr...
{ "anchor": "load", "anchor_file": "private/tmp/repos/trpc__trpc/packages/client/src/internals/dataLoader.ts", "anchor_source": "function load(key: TKey): Promise<TValue> {\n const item: BatchItem<TKey, TValue> = {\n aborted: false,\n key,\n batch: null,\n resolve: throwFatalError,\n r...
colinhacks__zod__endsWith__downstream__1hop_5420c5
colinhacks/zod
downstream
1
{ "calls": [ "_addCheck" ], "call_files": [ "private/tmp/repos/colinhacks__zod/packages/zod/src/v3/types.ts" ] }
{ "anchor": "endsWith", "anchor_file": "private/tmp/repos/colinhacks__zod/packages/zod/src/v3/types.ts", "anchor_source": "endsWith(value: string, message?: errorUtil.ErrMessage) {\n return this._addCheck({\n kind: \"endsWith\",\n value: value,\n ...errorUtil.errToObj(message),\n });\n }", ...
immerjs__immer__benchMethod__downstream__2hop_0ffc56
immerjs/immer
downstream
2
{ "hop_1": [ "createInitialState" ], "hop_1_files": [ "private/tmp/repos/immerjs__immer/perf-testing/immutability-benchmarks.mjs" ], "hop_2": [ "createLargeObject" ], "hop_2_files": [ "private/tmp/repos/immerjs__immer/perf-testing/immutability-benchmarks.mjs" ] }
{ "anchor": "benchMethod", "anchor_file": "private/tmp/repos/immerjs__immer/perf-testing/immutability-benchmarks.mjs", "anchor_source": "function benchMethod() {\n\t\t\t\t\tsetAutoFreezes[version](freeze)\n\t\t\t\t\tsetStrictIteration[version](false)\n\t\t\t\t\tsetEnableArrayMethods[version]()\n\n\t\t\t\t\tlet cu...
immerjs__immer__crossReferenceCleanup__upstream__2hop_6f2eba
immerjs/immer
upstream
2
{ "hop_1": [ "handleCrossReference" ], "hop_1_files": [ "private/tmp/repos/immerjs__immer/src/core/finalize.ts" ], "hop_2": [ "add", "enableArrayMethods", "set", "handleInsertedValues", "enableMapSet" ], "hop_2_files": [ "private/tmp/repos/immerjs__immer/src/plugins/mapset....
{ "anchor": "crossReferenceCleanup", "anchor_file": "private/tmp/repos/immerjs__immer/src/core/finalize.ts", "anchor_source": "state.callbacks_.push(function crossReferenceCleanup() {\n\t\t\t\t// Update the target location with finalized value\n\t\t\t\tprepareCopy(target)\n\n\t\t\t\tconst finalizedValue = getFina...
pallets__click__handle_parse_result__downstream__1hop_b85c55
pallets/click
downstream
1
{ "calls": [ "process_value", "set_parameter_source", "echo", "style", "consume_value" ], "call_files": [ "private/tmp/repos/pallets__click/src/click/core.py", "private/tmp/repos/pallets__click/src/click/core.py", "private/tmp/repos/pallets__click/src/click/utils.py", "private/...
{ "anchor": "handle_parse_result", "anchor_file": "private/tmp/repos/pallets__click/src/click/core.py", "anchor_source": "def handle_parse_result(\n self, ctx: Context, opts: cabc.Mapping[str, t.Any], args: list[str]\n ) -> tuple[t.Any, list[str]]:\n \"\"\"Process the value produced by the parser...
pytest-dev__pytest__call_and_report__downstream__1hop_a47c30
pytest-dev/pytest
downstream
1
{ "calls": [ "from_call", "get_reraise_exceptions" ], "call_files": [ "private/tmp/repos/pytest-dev__pytest/src/_pytest/runner.py", "private/tmp/repos/pytest-dev__pytest/src/_pytest/runner.py" ] }
{ "anchor": "call_and_report", "anchor_file": "private/tmp/repos/pytest-dev__pytest/src/_pytest/runner.py", "anchor_source": "def call_and_report(\n item: Item, when: Literal[\"setup\", \"call\", \"teardown\"], log: bool = True, **kwds\n) -> TestReport:\n ihook = item.ihook\n if when == \"setup\":\n ...
psf__requests__unquote_unreserved__upstream__2hop_5bf014
psf/requests
upstream
2
{ "hop_1": [ "requote_uri" ], "hop_1_files": [ "private/tmp/repos/requests/src/requests/utils.py" ], "hop_2": [ "prepare_url", "resolve_redirects" ], "hop_2_files": [ "private/tmp/repos/requests/src/requests/models.py", "private/tmp/repos/requests/src/requests/sessions.py" ] }
{ "anchor": "unquote_unreserved", "anchor_file": "private/tmp/repos/requests/src/requests/utils.py", "anchor_source": "def unquote_unreserved(uri):\n \"\"\"Un-escape any percent-escape sequences in a URI that are unreserved\n characters. This leaves all reserved, illegal and non-ASCII bytes encoded.\n\n ...
agronholm__apscheduler____getstate____downstream__2hop_9ec212
agronholm/apscheduler
downstream
2
{ "hop_1": [ "__getstate__" ], "hop_1_files": [ "private/tmp/repos/agronholm__apscheduler/src/apscheduler/triggers/combining.py" ], "hop_2": [ "marshal_object" ], "hop_2_files": [ "private/tmp/repos/agronholm__apscheduler/src/apscheduler/_marshalling.py" ] }
{ "anchor": "__getstate__", "anchor_file": "private/tmp/repos/agronholm__apscheduler/src/apscheduler/triggers/combining.py", "anchor_source": "def __getstate__(self) -> dict[str, Any]:\n state = super().__getstate__()\n state[\"threshold\"] = self.threshold\n state[\"max_iterations\"] = self....
immerjs__immer__forEach__downstream__2hop_90fcd2
immerjs/immer
downstream
2
{ "hop_1": [ "get" ], "hop_1_files": [ "private/tmp/repos/immerjs__immer/src/plugins/mapset.ts" ], "hop_2": [ "isDraftable", "createProxy", "prepareMapCopy", "assertUnrevoked" ], "hop_2_files": [ "private/tmp/repos/immerjs__immer/src/utils/common.ts", "private/tmp/repos/imm...
{ "anchor": "forEach", "anchor_file": "private/tmp/repos/immerjs__immer/src/plugins/mapset.ts", "anchor_source": "forEach(cb: (value: any, key: any, self: any) => void, thisArg?: any) {\n\t\t\tconst state: MapState = this[DRAFT_STATE]\n\t\t\tlatest(state).forEach((_value: any, key: any, _map: any) => {\n\t\t\t\tc...
colinhacks__zod__refinement__downstream__2hop_7e78f9
colinhacks/zod
downstream
2
{ "hop_1": [ "refinement" ], "hop_1_files": [ "private/tmp/repos/colinhacks__zod/packages/zod/src/v3/types.ts" ], "hop_2": [ "_refinement" ], "hop_2_files": [ "private/tmp/repos/colinhacks__zod/packages/zod/src/v3/types.ts" ] }
{ "anchor": "refinement", "anchor_file": "private/tmp/repos/colinhacks__zod/packages/zod/src/v3/types.ts", "anchor_source": "refinement(\n check: (arg: Output) => boolean,\n refinementData: IssueData | ((arg: Output, ctx: RefinementCtx) => IssueData)\n ): ZodEffects<this, Output, Input>;", "result_size":...
python-poetry__poetry__get_compatible_python__downstream__1hop_a85041
python-poetry/poetry
downstream
1
{ "calls": [ "find_all" ], "call_files": [ "private/tmp/repos/python-poetry__poetry/src/poetry/utils/env/python/manager.py" ] }
{ "anchor": "get_compatible_python", "anchor_file": "private/tmp/repos/python-poetry__poetry/src/poetry/utils/env/python/manager.py", "anchor_source": "@classmethod\n def get_compatible_python(cls, poetry: Poetry, io: IO | None = None) -> Python:\n \"\"\"\n Retrieve a compatible Python version ba...
sindresorhus__got__publishRequestCreate__upstream__2hop_7b83a7
sindresorhus/got
upstream
2
{ "hop_1": [ "constructor" ], "hop_1_files": [ "private/tmp/repos/got/source/core/index.ts" ], "hop_2": [ "fn", "_beforeError", "asPromise" ], "hop_2_files": [ "private/tmp/repos/got/benchmark/index.ts", "private/tmp/repos/got/source/core/index.ts", "private/tmp/repos/got/s...
{ "anchor": "publishRequestCreate", "anchor_file": "private/tmp/repos/got/source/core/diagnostics-channel.ts", "anchor_source": "export function publishRequestCreate(message: DiagnosticRequestCreate): void {\n\tif (channels.requestCreate.hasSubscribers) {\n\t\tchannels.requestCreate.publish(message);\n\t}\n}", ...
rq__rq__fetch_job__upstream__1hop_6f03f4
rq/rq
upstream
1
{ "calls": [ "get_jobs", "cleanup" ], "call_files": [ "private/tmp/repos/rq__rq/rq/queue.py", "private/tmp/repos/rq__rq/rq/intermediate_queue.py" ] }
{ "anchor": "fetch_job", "anchor_file": "private/tmp/repos/rq__rq/rq/queue.py", "anchor_source": "def fetch_job(self, job_id: str) -> Optional['Job']:\n \"\"\"Fetch a single job by Job ID.\n If the job key is not found, will run the `remove` method, to exclude the key.\n If the job has the sa...
python-poetry__poetry__all__downstream__1hop_e28862
python-poetry/poetry
downstream
1
{ "calls": [ "get", "_all" ], "call_files": [ "private/tmp/repos/python-poetry__poetry/src/poetry/config/config.py", "private/tmp/repos/python-poetry__poetry/src/poetry/config/config.py" ] }
{ "anchor": "all", "anchor_file": "private/tmp/repos/python-poetry__poetry/src/poetry/config/config.py", "anchor_source": "def all(self) -> dict[str, Any]:\n def _all(config: dict[str, Any], parent_key: str = \"\") -> dict[str, Any]:\n all_ = {}\n\n for key in config:\n ...
node-fetch__node-fetch__raw__upstream__2hop_fdee05
node-fetch/node-fetch
upstream
2
{ "hop_1": [ "constructor" ], "hop_1_files": [ "private/tmp/repos/node-fetch__node-fetch/src/headers.js" ], "hop_2": [ "constructor", "fromRawHeaders", "fetch", "json" ], "hop_2_files": [ "private/tmp/repos/node-fetch__node-fetch/src/response.js", "private/tmp/repos/node-fe...
{ "anchor": "raw", "anchor_file": "private/tmp/repos/node-fetch__node-fetch/src/headers.js", "anchor_source": "raw() {\n\t\treturn [...this.keys()].reduce((result, key) => {\n\t\t\tresult[key] = this.getAll(key);\n\t\t\treturn result;\n\t\t}, {});\n\t}", "result_size": 7, "created_at": "2026-03-20T16:58:17.05...
pallets__jinja___filter_test_common__downstream__2hop_93a32a
pallets/jinja
downstream
2
{ "hop_1": [ "_fail_with_undefined_error", "from_obj", "EvalContext" ], "hop_1_files": [ "private/tmp/repos/pallets__jinja/src/jinja2/runtime.py", "private/tmp/repos/pallets__jinja/src/jinja2/utils.py", "private/tmp/repos/pallets__jinja/src/jinja2/nodes.py" ], "hop_2": [ "Undefined...
{ "anchor": "_filter_test_common", "anchor_file": "private/tmp/repos/pallets__jinja/src/jinja2/environment.py", "anchor_source": "def _filter_test_common(\n self,\n name: str | Undefined,\n value: t.Any,\n args: t.Sequence[t.Any] | None,\n kwargs: t.Mapping[str, t.Any] | None,\n...
trpc__trpc__onSuccess__downstream__1hop_34d413
trpc/trpc
downstream
1
{ "calls": [ "generateEntrypoints" ], "call_files": [ "private/tmp/repos/trpc__trpc/scripts/entrypoints.ts" ] }
{ "anchor": "onSuccess", "anchor_file": "private/tmp/repos/trpc__trpc/packages/react-query/tsdown.config.ts", "anchor_source": "onSuccess: async () => {\n const start = Date.now();\n const { generateEntrypoints } = await import(\n '../../scripts/entrypoints.js'\n );\n await generateEntrypoints(in...
colinhacks__zod__dirty__upstream__1hop_2de57b
colinhacks/zod
upstream
1
{ "calls": [ "_parse", "addIssue", "mergeObjectSync", "finalizeSet", "mergeArray" ], "call_files": [ "private/tmp/repos/colinhacks__zod/packages/zod/src/v3/types.ts", "private/tmp/repos/colinhacks__zod/packages/zod/src/v3/types.ts", "private/tmp/repos/colinhacks__zod/packages/zod/s...
{ "anchor": "dirty", "anchor_file": "private/tmp/repos/colinhacks__zod/packages/zod/src/v3/helpers/parseUtil.ts", "anchor_source": "dirty(): void {\n if (this.value === \"valid\") this.value = \"dirty\";\n }", "result_size": 6, "created_at": "2026-03-20T16:58:16.474869+00:00", "file_content": "" }
immerjs__immer__scenario_concat__downstream__2hop_898a2b
immerjs/immer
downstream
2
{ "hop_1": [ "createInitialState" ], "hop_1_files": [ "private/tmp/repos/immerjs__immer/perf-testing/immutability-profiling.mjs" ], "hop_2": [ "createLargeObject" ], "hop_2_files": [ "private/tmp/repos/immerjs__immer/perf-testing/immutability-profiling.mjs" ] }
{ "anchor": "scenario_concat", "anchor_file": "private/tmp/repos/immerjs__immer/perf-testing/immutability-profiling.mjs", "anchor_source": "function scenario_concat() {\n\tconst initialState = createInitialState()\n\tfor (let j = 0; j < MAX; j++) {\n\t\timmerReducer(initialState, actions.concat(j))\n\t}\n}", "r...
psf__black__generate_comments__downstream__1hop_9238ae
psf/black
downstream
1
{ "calls": [ "normalize_trailing_prefix" ], "call_files": [ "private/tmp/repos/psf__black/src/black/comments.py" ] }
{ "anchor": "generate_comments", "anchor_file": "private/tmp/repos/psf__black/src/black/comments.py", "anchor_source": "def generate_comments(leaf: LN, mode: Mode) -> Iterator[Leaf]:\n \"\"\"Clean the prefix of the `leaf` and generate comments from it, if any.\n\n Comments in lib2to3 are shoved into the whi...
pallets__flask___get_source_fast__downstream__2hop_b68596
pallets/flask
downstream
2
{ "hop_1": [ "_iter_loaders" ], "hop_1_files": [ "private/tmp/repos/flask/src/flask/templating.py" ], "hop_2": [ "iter_blueprints" ], "hop_2_files": [ "private/tmp/repos/flask/src/flask/sansio/app.py" ] }
{ "anchor": "_get_source_fast", "anchor_file": "private/tmp/repos/flask/src/flask/templating.py", "anchor_source": "def _get_source_fast(\n self, environment: BaseEnvironment, template: str\n ) -> tuple[str, str | None, t.Callable[[], bool] | None]:\n for _srcobj, loader in self._iter_loaders(tem...
locustio__locust__get_ratio__upstream__1hop_0a7624
locustio/locust
upstream
1
{ "calls": [ "print_task_ratio_json", "tasks", "print_task_ratio", "get_html_report" ], "call_files": [ "private/tmp/repos/locustio__locust/locust/user/inspectuser.py", "private/tmp/repos/locustio__locust/locust/web.py", "private/tmp/repos/locustio__locust/locust/user/inspectuser.py", ...
{ "anchor": "get_ratio", "anchor_file": "private/tmp/repos/locustio__locust/locust/user/inspectuser.py", "anchor_source": "def get_ratio(user_classes: list[type[User]], user_spawned: dict[str, int], total: bool) -> dict[str, dict[str, float]]:\n user_count = sum(user_spawned.values()) or 1\n ratio_percent: ...
rq__rq__failure_callback__upstream__1hop_88ceba
rq/rq
upstream
1
{ "calls": [ "run_sync", "execute_failure_callback" ], "call_files": [ "private/tmp/repos/rq__rq/rq/queue.py", "private/tmp/repos/rq__rq/rq/job.py" ] }
{ "anchor": "failure_callback", "anchor_file": "private/tmp/repos/rq__rq/rq/job.py", "anchor_source": "@property\n def failure_callback(self) -> Optional[FailureCallbackType]:\n if self._failure_callback is UNEVALUATED:\n if self._failure_callback_name:\n self._failure_callback...
rq__rq___handle_failure__upstream__2hop_3b29e6
rq/rq
upstream
2
{ "hop_1": [ "run_sync", "handle_job_failure", "cleanup" ], "hop_1_files": [ "private/tmp/repos/rq__rq/rq/queue.py", "private/tmp/repos/rq__rq/rq/worker/base.py", "private/tmp/repos/rq__rq/rq/registry.py" ], "hop_2": [ "perform_job", "clean_registries", "handle_job_retry", ...
{ "anchor": "_handle_failure", "anchor_file": "private/tmp/repos/rq__rq/rq/job.py", "anchor_source": "def _handle_failure(self, exc_string: str, pipeline: 'Pipeline', worker_name: str = ''):\n self.log.debug(\n 'Job %s: handling failure: %s', self.id, exc_string[:200] + '...' if len(exc_string) ...
paramiko__paramiko__ssh_check_mic__downstream__2hop_847877
paramiko/paramiko
downstream
2
{ "hop_1": [ "_ssh_build_mic" ], "hop_1_files": [ "private/tmp/repos/paramiko/paramiko/ssh_gss.py" ], "hop_2": [ "_make_uint32" ], "hop_2_files": [ "private/tmp/repos/paramiko/paramiko/ssh_gss.py" ] }
{ "anchor": "ssh_check_mic", "anchor_file": "private/tmp/repos/paramiko/paramiko/ssh_gss.py", "anchor_source": "def ssh_check_mic(self, mic_token, session_id, username=None):\n \"\"\"\n Verify the MIC token for a SSH2 message.\n\n :param str mic_token: The MIC token received from the client\n...
immerjs__immer__shallowCopy__downstream__1hop_b0a34c
immerjs/immer
downstream
1
{ "calls": [ "isPlainObject" ], "call_files": [ "private/tmp/repos/immerjs__immer/src/utils/common.ts" ] }
{ "anchor": "shallowCopy", "anchor_file": "private/tmp/repos/immerjs__immer/src/utils/common.ts", "anchor_source": "export function shallowCopy(base: any, strict: StrictMode) {\n\tif (isMap(base)) {\n\t\treturn new Map(base)\n\t}\n\tif (isSet(base)) {\n\t\treturn new Set(base)\n\t}\n\tif (isArray(base)) return Ar...
trpc__trpc__generateEntrypoints__downstream__1hop_cc7524
trpc/trpc
downstream
1
{ "calls": [ "writeFileSyncRecursive" ], "call_files": [ "private/tmp/repos/trpc__trpc/scripts/entrypoints.ts" ] }
{ "anchor": "generateEntrypoints", "anchor_file": "private/tmp/repos/trpc__trpc/scripts/entrypoints.ts", "anchor_source": "export async function generateEntrypoints(rawInputs: string[]) {\n const inputs = [...rawInputs];\n // set some defaults for the package.json\n\n const pkgJsonPath = path.resolve('package....
colinhacks__zod___never__upstream__2hop_0556ec
colinhacks/zod
upstream
2
{ "hop_1": [ "never" ], "hop_1_files": [ "private/tmp/repos/colinhacks__zod/packages/zod/src/v4/classic/schemas.ts" ], "hop_2": [ "strictObject", "fromJSONSchema", "strict", "convertSchema", "convertBaseSchema" ], "hop_2_files": [ "private/tmp/repos/colinhacks__zod/packages...
{ "anchor": "_never", "anchor_file": "private/tmp/repos/colinhacks__zod/packages/zod/src/v4/core/api.ts", "anchor_source": "export function _never<T extends schemas.$ZodNever>(Class: util.SchemaClass<T>, params?: string | $ZodNeverParams): T {\n return new Class({\n type: \"never\",\n ...util.normalizePara...
psf__black__do_match__downstream__2hop_c423f1
psf/black
downstream
2
{ "hop_1": [ "is_valid_index_factory", "StringParser", "parse" ], "hop_1_files": [ "private/tmp/repos/psf__black/src/black/trans.py", "private/tmp/repos/psf__black/src/black/trans.py", "private/tmp/repos/psf__black/src/black/trans.py" ], "hop_2": [ "_next_state" ], "hop_2_files...
{ "anchor": "do_match", "anchor_file": "private/tmp/repos/psf__black/src/black/trans.py", "anchor_source": "def do_match(self, line: Line) -> TMatchResult:\n LL = line.leaves\n\n is_valid_index = is_valid_index_factory(LL)\n\n string_indices = []\n\n idx = -1\n while True:\n ...
immerjs__immer__next__downstream__2hop_57166e
immerjs/immer
downstream
2
{ "hop_1": [ "get" ], "hop_1_files": [ "private/tmp/repos/immerjs__immer/src/plugins/mapset.ts" ], "hop_2": [ "isDraftable", "createProxy", "prepareMapCopy", "assertUnrevoked" ], "hop_2_files": [ "private/tmp/repos/immerjs__immer/src/utils/common.ts", "private/tmp/repos/imm...
{ "anchor": "next", "anchor_file": "private/tmp/repos/immerjs__immer/src/plugins/mapset.ts", "anchor_source": "next: () => {\n\t\t\t\t\tconst r = iterator.next()\n\t\t\t\t\t/* istanbul ignore next */\n\t\t\t\t\tif (r.done) return r\n\t\t\t\t\tconst value = this.get(r.value)\n\t\t\t\t\treturn {\n\t\t\t\t\t\tdone: ...
agronholm__apscheduler___reconstitute_event__upstream__2hop_cd31f3
agronholm/apscheduler
upstream
2
{ "hop_1": [ "reconstitute_event", "reconstitute_event_str" ], "hop_1_files": [ "private/tmp/repos/agronholm__apscheduler/src/apscheduler/eventbrokers/base.py", "private/tmp/repos/agronholm__apscheduler/src/apscheduler/eventbrokers/base.py" ], "hop_2": [ "listen_callback", "_listen_not...
{ "anchor": "_reconstitute_event", "anchor_file": "private/tmp/repos/agronholm__apscheduler/src/apscheduler/eventbrokers/base.py", "anchor_source": "def _reconstitute_event(self, event_type: str, serialized: bytes) -> Event | None:\n try:\n kwargs = self.serializer.deserialize(serialized)\n ...
pallets__flask___prepare_response_obj__upstream__2hop_b0ddc6
pallets/flask
upstream
2
{ "hop_1": [ "response" ], "hop_1_files": [ "private/tmp/repos/flask/src/flask/json/provider.py" ], "hop_2": [ "jsonify", "make_response" ], "hop_2_files": [ "private/tmp/repos/flask/src/flask/json/__init__.py", "private/tmp/repos/flask/src/flask/app.py" ] }
{ "anchor": "_prepare_response_obj", "anchor_file": "private/tmp/repos/flask/src/flask/json/provider.py", "anchor_source": "def _prepare_response_obj(\n self, args: tuple[t.Any, ...], kwargs: dict[str, t.Any]\n ) -> t.Any:\n if args and kwargs:\n raise TypeError(\"app.json.response() t...
colinhacks__zod__gte__downstream__2hop_3b3175
colinhacks/zod
downstream
2
{ "hop_1": [ "setLimit" ], "hop_1_files": [ "private/tmp/repos/colinhacks__zod/packages/zod/src/v3/types.ts" ], "hop_2": [ "ZodNumber", "constructor" ], "hop_2_files": [ "private/tmp/repos/colinhacks__zod/packages/zod/src/v3/types.ts", "private/tmp/repos/colinhacks__zod/packages/zo...
{ "anchor": "gte", "anchor_file": "private/tmp/repos/colinhacks__zod/packages/zod/src/v3/types.ts", "anchor_source": "gte(value: number, message?: errorUtil.ErrMessage) {\n return this.setLimit(\"min\", value, true, errorUtil.toString(message));\n }", "result_size": 2, "created_at": "2026-03-20T16:58:16.4...
trpc__trpc__actionHandler__downstream__2hop_f42a78
trpc/trpc
downstream
2
{ "hop_1": [ "formDataToObject", "createServerAction", "getTRPCErrorFromUnknown", "TRPCError", "deserialize", "constructor", "getErrorShape", "isFormData", "transformTRPCResponse" ], "hop_1_files": [ "private/tmp/repos/trpc__trpc/packages/server/src/unstable-core-do-not-imp...
{ "anchor": "actionHandler", "anchor_file": "private/tmp/repos/trpc__trpc/packages/next/src/app-dir/server.ts", "anchor_source": "return async function actionHandler(\n rawInput: FormData | inferProcedureInput<TProc>,\n ) {\n let ctx: TInstance['_config']['$types']['ctx'] | undefined = undefined;\n ...
trpc__trpc__allAbortSignals__upstream__1hop_5ffc00
trpc/trpc
upstream
1
{ "calls": [ "fetch", "httpBatchStreamLink", "httpBatchLink" ], "call_files": [ "private/tmp/repos/trpc__trpc/packages/client/src/links/httpBatchStreamLink.ts", "private/tmp/repos/trpc__trpc/packages/client/src/links/httpBatchStreamLink.ts", "private/tmp/repos/trpc__trpc/packages/client/sr...
{ "anchor": "allAbortSignals", "anchor_file": "private/tmp/repos/trpc__trpc/packages/client/src/internals/signals.ts", "anchor_source": "export function allAbortSignals(...signals: Maybe<AbortSignal>[]): AbortSignal {\n const ac = new AbortController();\n\n const count = signals.length;\n\n let abortedCount = ...
immerjs__immer__rootDraftCleanup__upstream__2hop_79e347
immerjs/immer
upstream
2
{ "hop_1": [ "createProxy" ], "hop_1_files": [ "private/tmp/repos/immerjs__immer/src/core/immerClass.ts" ], "hop_2": [ "createDraft", "enableMapSet", "prepareSetCopy", "get" ], "hop_2_files": [ "private/tmp/repos/immerjs__immer/src/core/immerClass.ts", "private/tmp/repos/im...
{ "anchor": "rootDraftCleanup", "anchor_file": "private/tmp/repos/immerjs__immer/src/core/immerClass.ts", "anchor_source": "state.callbacks_.push(function rootDraftCleanup(rootScope) {\n\t\t\trootScope.mapSetPlugin_?.fixSetContents(state)\n\n\t\t\tconst {patchPlugin_} = rootScope\n\n\t\t\tif (state.modified_ && p...
colinhacks__zod__dirty__upstream__2hop_fdba94
colinhacks/zod
upstream
2
{ "hop_1": [ "_parse", "addIssue", "mergeObjectSync", "finalizeSet", "mergeArray" ], "hop_1_files": [ "private/tmp/repos/colinhacks__zod/packages/zod/src/v3/types.ts", "private/tmp/repos/colinhacks__zod/packages/zod/src/v3/types.ts", "private/tmp/repos/colinhacks__zod/packages/zod/...
{ "anchor": "dirty", "anchor_file": "private/tmp/repos/colinhacks__zod/packages/zod/src/v3/helpers/parseUtil.ts", "anchor_source": "dirty(): void {\n if (this.value === \"valid\") this.value = \"dirty\";\n }", "result_size": 3, "created_at": "2026-03-20T16:58:16.474869+00:00", "file_content": "" }
colinhacks__zod___maxLength__upstream__1hop_b15b22
colinhacks/zod
upstream
1
{ "calls": [ "max", "convertBaseSchema" ], "call_files": [ "private/tmp/repos/colinhacks__zod/packages/zod/src/v4/classic/schemas.ts", "private/tmp/repos/colinhacks__zod/packages/zod/src/v4/classic/from-json-schema.ts" ] }
{ "anchor": "_maxLength", "anchor_file": "private/tmp/repos/colinhacks__zod/packages/zod/src/v4/core/api.ts", "anchor_source": "export function _maxLength(\n maximum: number,\n params?: string | $ZodCheckMaxLengthParams\n): checks.$ZodCheckMaxLength<util.HasLength> {\n const ch = new checks.$ZodCheckMaxLength(...
immerjs__immer__prepareCopy__upstream__1hop_4716c2
immerjs/immer
upstream
1
{ "calls": [ "deleteProperty", "handleCrossReference", "enableArrayMethods", "executeArrayMethod", "crossReferenceCleanup", "set", "get" ], "call_files": [ "private/tmp/repos/immerjs__immer/src/core/proxy.ts", "private/tmp/repos/immerjs__immer/src/core/finalize.ts", "privat...
{ "anchor": "prepareCopy", "anchor_file": "private/tmp/repos/immerjs__immer/src/core/proxy.ts", "anchor_source": "export function prepareCopy(state: ImmerState) {\n\tif (!state.copy_) {\n\t\t// Actually create the `assigned_` map now that we\n\t\t// know this is a modified draft.\n\t\tstate.assigned_ = new Map()\...
immerjs__immer__applyPatches__downstream__1hop_759b29
immerjs/immer
downstream
1
{ "calls": [ "Immer", "getPlugin" ], "call_files": [ "private/tmp/repos/immerjs__immer/src/core/immerClass.ts", "private/tmp/repos/immerjs__immer/src/utils/plugins.ts" ] }
{ "anchor": "applyPatches", "anchor_file": "private/tmp/repos/immerjs__immer/src/core/immerClass.ts", "anchor_source": "applyPatches<T extends Objectish>(base: T, patches: readonly Patch[]): T {\n\t\t// If a patch replaces the entire state, take that replacement as base\n\t\t// before applying patches\n\t\tlet i:...
rq__rq__get_job_count__downstream__1hop_bb8d67
rq/rq
downstream
1
{ "calls": [ "cleanup" ], "call_files": [ "private/tmp/repos/rq__rq/rq/registry.py" ] }
{ "anchor": "get_job_count", "anchor_file": "private/tmp/repos/rq__rq/rq/registry.py", "anchor_source": "def get_job_count(self, cleanup=True) -> int:\n \"\"\"Returns the number of jobs in this registry after optional cleanup.\n\n Args:\n cleanup (bool, optional): _description_. Defaults ...
immerjs__immer__executeArrayMethod__downstream__2hop_6cb168
immerjs/immer
downstream
2
{ "hop_1": [ "markChanged", "prepareCopy" ], "hop_1_files": [ "private/tmp/repos/immerjs__immer/src/core/proxy.ts", "private/tmp/repos/immerjs__immer/src/core/proxy.ts" ], "hop_2": [ "shallowCopy" ], "hop_2_files": [ "private/tmp/repos/immerjs__immer/src/utils/common.ts" ] }
{ "anchor": "executeArrayMethod", "anchor_file": "private/tmp/repos/immerjs__immer/src/plugins/arrayMethods.ts", "anchor_source": "function executeArrayMethod<T>(\n\t\tstate: ProxyArrayState,\n\t\toperation: () => T,\n\t\tmarkLength = true\n\t): T {\n\t\tprepareCopy(state)\n\t\tconst result = operation()\n\t\tmar...
rq__rq__is_deferred__downstream__2hop_6d3942
rq/rq
downstream
2
{ "hop_1": [ "get_status" ], "hop_1_files": [ "private/tmp/repos/rq__rq/rq/job.py" ], "hop_2": [ "as_text", "JobStatus" ], "hop_2_files": [ "private/tmp/repos/rq__rq/rq/utils.py", "private/tmp/repos/rq__rq/rq/job.py" ] }
{ "anchor": "is_deferred", "anchor_file": "private/tmp/repos/rq__rq/rq/job.py", "anchor_source": "@property\n def is_deferred(self) -> bool:\n return self.get_status() == JobStatus.DEFERRED", "result_size": 2, "created_at": "2026-03-20T16:58:17.875204+00:00" }
sindresorhus__got__merge__upstream__2hop_f63814
sindresorhus/got
upstream
2
{ "hop_1": [ "asPromise", "constructor", "extend" ], "hop_1_files": [ "private/tmp/repos/got/source/as-promise/index.ts", "private/tmp/repos/got/source/core/options.ts", "private/tmp/repos/got/source/create.ts" ], "hop_2": [ "constructor", "_onResponseBase", "fn" ], "ho...
{ "anchor": "merge", "anchor_file": "private/tmp/repos/got/source/core/options.ts", "anchor_source": "merge(options?: OptionsInit | Options) {\n\t\tif (!options) {\n\t\t\treturn;\n\t\t}\n\n\t\tif (options instanceof Options) {\n\t\t\t// Create a copy of the #init array to avoid infinite loop\n\t\t\t// when mergin...
python-poetry__poetry__handle_starttag__downstream__1hop_d991bc
python-poetry/poetry
downstream
1
{ "calls": [ "Result", "_match_class" ], "call_files": [ "private/tmp/repos/python-poetry__poetry/src/poetry/repositories/parsers/pypi_search_parser.py", "private/tmp/repos/python-poetry__poetry/src/poetry/repositories/parsers/pypi_search_parser.py" ] }
{ "anchor": "handle_starttag", "anchor_file": "private/tmp/repos/python-poetry__poetry/src/poetry/repositories/parsers/pypi_search_parser.py", "anchor_source": "def handle_starttag(self, tag: str, attrs: list[tuple[str, str | None]]) -> None:\n if not self._current:\n if tag == \"a\" and self._m...
trpc__trpc__error__downstream__2hop_11edf1
trpc/trpc
downstream
2
{ "hop_1": [ "attempt" ], "hop_1_files": [ "private/tmp/repos/trpc__trpc/packages/client/src/links/retryLink.ts" ], "hop_2": [ "opWithLastEventId", "subscribe" ], "hop_2_files": [ "private/tmp/repos/trpc__trpc/packages/client/src/links/retryLink.ts", "private/tmp/repos/trpc__trpc/p...
{ "anchor": "error", "anchor_file": "private/tmp/repos/trpc__trpc/packages/client/src/links/retryLink.ts", "anchor_source": "error(error) {\n const shouldRetry = opts.retry({\n op,\n attempts,\n error,\n });\n if (!shouldRetry) {\...
pytest-dev__pytest__pytest_runtest_setup__downstream__2hop_3835e5
pytest-dev/pytest
downstream
2
{ "hop_1": [ "evaluate_skip_marks", "evaluate_xfail_marks" ], "hop_1_files": [ "private/tmp/repos/pytest-dev__pytest/src/_pytest/skipping.py", "private/tmp/repos/pytest-dev__pytest/src/_pytest/skipping.py" ], "hop_2": [ "evaluate_condition" ], "hop_2_files": [ "private/tmp/repos/py...
{ "anchor": "pytest_runtest_setup", "anchor_file": "private/tmp/repos/pytest-dev__pytest/src/_pytest/skipping.py", "anchor_source": "@hookimpl(tryfirst=True)\ndef pytest_runtest_setup(item: Item) -> None:\n skipped = evaluate_skip_marks(item)\n if skipped:\n raise skip.Exception(skipped.reason, _use_...
psf__black___generate_pickle_name__upstream__2hop_25ea17
psf/black
upstream
2
{ "hop_1": [ "load_packaged_grammar", "load_grammar" ], "hop_1_files": [ "private/tmp/repos/psf__black/src/blib2to3/pgen2/driver.py", "private/tmp/repos/psf__black/src/blib2to3/pgen2/driver.py" ], "hop_2": [ "initialize", "main" ], "hop_2_files": [ "private/tmp/repos/psf__black...
{ "anchor": "_generate_pickle_name", "anchor_file": "private/tmp/repos/psf__black/src/blib2to3/pgen2/driver.py", "anchor_source": "def _generate_pickle_name(gt: Path, cache_dir: Path | None = None) -> str:\n head, tail = os.path.splitext(gt)\n if tail == \".txt\":\n tail = \"\"\n name = head + tai...
locustio__locust__print_stats__upstream__1hop_e0c385
locustio/locust
upstream
1
{ "calls": [ "stats_printer_func", "main", "stats_printer", "shutdown" ], "call_files": [ "private/tmp/repos/locustio__locust/locust/stats.py", "private/tmp/repos/locustio__locust/locust/main.py", "private/tmp/repos/locustio__locust/locust/stats.py", "private/tmp/repos/locustio__lo...
{ "anchor": "print_stats", "anchor_file": "private/tmp/repos/locustio__locust/locust/stats.py", "anchor_source": "def print_stats(stats: RequestStats, current=True) -> None:\n for line in get_stats_summary(stats, current):\n console_logger.info(line)\n console_logger.info(\"\")", "result_size": 4, ...
pallets__click__render_progress__downstream__2hop_adc4ec
pallets/click
downstream
2
{ "hop_1": [ "term_len", "format_progress_line", "echo" ], "hop_1_files": [ "private/tmp/repos/pallets__click/src/click/_compat.py", "private/tmp/repos/pallets__click/src/click/_termui_impl.py", "private/tmp/repos/pallets__click/src/click/utils.py" ], "hop_2": [ "_find_binary_write...
{ "anchor": "render_progress", "anchor_file": "private/tmp/repos/pallets__click/src/click/_termui_impl.py", "anchor_source": "def render_progress(self) -> None:\n if self.hidden:\n return\n\n if not self._is_atty:\n # Only output the label once if the output is not a TTY.\n ...
immerjs__immer__dontMutateFrozenCollections__downstream__1hop_217ee4
immerjs/immer
downstream
1
{ "calls": [ "die" ], "call_files": [ "private/tmp/repos/immerjs__immer/src/utils/errors.ts" ] }
{ "anchor": "dontMutateFrozenCollections", "anchor_file": "private/tmp/repos/immerjs__immer/src/utils/common.ts", "anchor_source": "function dontMutateFrozenCollections() {\n\tdie(2)\n}", "result_size": 1, "created_at": "2026-03-20T16:58:16.801413+00:00" }
encode__httpx__iter_raw__upstream__2hop_df5e88
encode/httpx
upstream
2
{ "hop_1": [ "iter_bytes" ], "hop_1_files": [ "private/tmp/repos/encode__httpx/httpx/_models.py" ], "hop_2": [ "read", "download_response", "iter_text" ], "hop_2_files": [ "private/tmp/repos/encode__httpx/httpx/_models.py", "private/tmp/repos/encode__httpx/httpx/_main.py", ...
{ "anchor": "iter_raw", "anchor_file": "private/tmp/repos/encode__httpx/httpx/_models.py", "anchor_source": "def iter_raw(self, chunk_size: int | None = None) -> typing.Iterator[bytes]:\n \"\"\"\n A byte-iterator over the raw response content.\n \"\"\"\n if self.is_stream_consumed:\n ...
immerjs__immer__generatePatchesAndFinalize__upstream__2hop_8c957f
immerjs/immer
upstream
2
{ "hop_1": [ "childCleanup", "registerChildFinalizationCallback", "finalize" ], "hop_1_files": [ "private/tmp/repos/immerjs__immer/src/core/finalize.ts", "private/tmp/repos/immerjs__immer/src/core/finalize.ts", "private/tmp/repos/immerjs__immer/src/core/finalize.ts" ], "hop_2": [ "...
{ "anchor": "generatePatchesAndFinalize", "anchor_file": "private/tmp/repos/immerjs__immer/src/core/finalize.ts", "anchor_source": "function generatePatchesAndFinalize(state: ImmerState, rootScope: ImmerScope) {\n\tconst shouldFinalize =\n\t\tstate.modified_ &&\n\t\t!state.finalized_ &&\n\t\t(state.type_ === Arch...
scrapy__scrapy__referrer__downstream__2hop_c321f7
scrapy/scrapy
downstream
2
{ "hop_1": [ "origin_referrer", "potentially_trustworthy", "tls_protected" ], "hop_1_files": [ "private/tmp/repos/scrapy__scrapy/scrapy/spidermiddlewares/referer.py", "private/tmp/repos/scrapy__scrapy/scrapy/spidermiddlewares/referer.py", "private/tmp/repos/scrapy__scrapy/scrapy/spidermidd...
{ "anchor": "referrer", "anchor_file": "private/tmp/repos/scrapy__scrapy/scrapy/spidermiddlewares/referer.py", "anchor_source": "def referrer(self, response_url: str, request_url: str) -> str | None:\n if (\n self.tls_protected(response_url)\n and self.potentially_trustworthy(request_...
rq__rq__fetch_dependencies__upstream__2hop_36f63c
rq/rq
upstream
2
{ "hop_1": [ "setup_dependencies", "cancel" ], "hop_1_files": [ "private/tmp/repos/rq__rq/rq/queue.py", "private/tmp/repos/rq__rq/rq/job.py" ], "hop_2": [ "cancel_job", "enqueue_job" ], "hop_2_files": [ "private/tmp/repos/rq__rq/rq/job.py", "private/tmp/repos/rq__rq/rq/queu...
{ "anchor": "fetch_dependencies", "anchor_file": "private/tmp/repos/rq__rq/rq/job.py", "anchor_source": "def fetch_dependencies(self, watch: bool = False, pipeline: Optional['Pipeline'] = None) -> list['Job']:\n \"\"\"Fetch all of a job's dependencies. If a pipeline is supplied, and\n watch is true,...
celery__celery__reconnect_on_error__downstream__1hop_4f5cd9
celery/celery
downstream
1
{ "calls": [ "_reconnect" ], "call_files": [ "private/tmp/repos/celery/celery/backends/asynchronous.py" ] }
{ "anchor": "reconnect_on_error", "anchor_file": "private/tmp/repos/celery/celery/backends/asynchronous.py", "anchor_source": "@contextmanager\n def reconnect_on_error(self):\n \"\"\"Context manager that catches connection errors and reconnects.\n\n Wraps a block of code so that any :attr:`_conne...
scrapy__scrapy__spider_closed__downstream__2hop_c0e92c
scrapy/scrapy
downstream
2
{ "hop_1": [ "log" ], "hop_1_files": [ "private/tmp/repos/scrapy__scrapy/scrapy/extensions/periodic_log.py" ], "hop_2": [ "log_timing", "log_delta", "log_crawler_stats" ], "hop_2_files": [ "private/tmp/repos/scrapy__scrapy/scrapy/extensions/periodic_log.py", "private/tmp/repos/...
{ "anchor": "spider_closed", "anchor_file": "private/tmp/repos/scrapy__scrapy/scrapy/extensions/periodic_log.py", "anchor_source": "def spider_closed(self, spider: Spider, reason: str) -> None:\n self.log()\n if self.task and self.task.running:\n self.task.stop()", "result_size": 3, "...
pallets__jinja__find_all__upstream__1hop_0bb961
pallets/jinja
upstream
1
{ "calls": [ "visit_For", "find_referenced_templates", "find", "visit_Assign", "extract_from_ast", "visit_Template" ], "call_files": [ "private/tmp/repos/pallets__jinja/src/jinja2/compiler.py", "private/tmp/repos/pallets__jinja/src/jinja2/meta.py", "private/tmp/repos/pallets__j...
{ "anchor": "find_all", "anchor_file": "private/tmp/repos/pallets__jinja/src/jinja2/nodes.py", "anchor_source": "def find_all(\n self, node_type: type[_NodeBound] | tuple[type[_NodeBound], ...]\n ) -> t.Iterator[_NodeBound]:\n \"\"\"Find all the nodes of a given type. If the type is a tuple,\n ...
trpc__trpc__getTransformer__upstream__1hop_b450d0
trpc/trpc
upstream
1
{ "calls": [ "withTRPC", "createServerSideHelpers", "experimental_serverActionLink", "experimental_nextCacheLink", "wsLink", "httpSubscriptionLink", "unstable_localLink", "resolveHTTPLinkOptions" ], "call_files": [ "private/tmp/repos/trpc__trpc/packages/next/src/withTRPC.tsx", ...
{ "anchor": "getTransformer", "anchor_file": "private/tmp/repos/trpc__trpc/packages/client/src/internals/transformer.ts", "anchor_source": "export function getTransformer(\n transformer:\n | TransformerOptions<{ transformer: false }>['transformer']\n | TransformerOptions<{ transformer: true }>['transformer...
rq__rq__get_jobs_with_met_dependencies__downstream__1hop_b52609
rq/rq
downstream
1
{ "calls": [ "key_for", "register_dependency", "dependencies_are_met" ], "call_files": [ "private/tmp/repos/rq__rq/rq/job.py", "private/tmp/repos/rq__rq/rq/job.py", "private/tmp/repos/rq__rq/rq/job.py" ] }
{ "anchor": "get_jobs_with_met_dependencies", "anchor_file": "private/tmp/repos/rq__rq/rq/dependency.py", "anchor_source": "@classmethod\n def get_jobs_with_met_dependencies(cls, jobs: Iterable['Job'], pipeline: Pipeline):\n jobs_with_met_dependencies = []\n jobs_with_unmet_dependencies = []\n ...
colinhacks__zod__strip__downstream__1hop_63f33f
colinhacks/zod
downstream
1
{ "calls": [ "constructor", "ZodObject" ], "call_files": [ "private/tmp/repos/colinhacks__zod/packages/zod/src/v3/types.ts", "private/tmp/repos/colinhacks__zod/packages/zod/src/v3/types.ts" ] }
{ "anchor": "strip", "anchor_file": "private/tmp/repos/colinhacks__zod/packages/zod/src/v3/types.ts", "anchor_source": "strip(): ZodObject<T, \"strip\", Catchall> {\n return new ZodObject({\n ...this._def,\n unknownKeys: \"strip\",\n }) as any;\n }", "result_size": 2, "created_at": "2026-03-2...
trpc__trpc__getClientArgs__upstream__1hop_2cc1ea
trpc/trpc
upstream
1
{ "calls": [ "trpcQueryOptions", "trpcInfiniteQueryOptions", "trpcMutationOptions" ], "call_files": [ "private/tmp/repos/trpc__trpc/packages/tanstack-react-query/src/internals/queryOptions.ts", "private/tmp/repos/trpc__trpc/packages/tanstack-react-query/src/internals/infiniteQueryOptions.ts", ...
{ "anchor": "getClientArgs", "anchor_file": "private/tmp/repos/trpc__trpc/packages/tanstack-react-query/src/internals/utils.ts", "anchor_source": "export function getClientArgs<TOptions, TFeatureFlags extends FeatureFlags>(\n queryKey: TRPCQueryKey<TFeatureFlags['keyPrefix']>,\n opts: TOptions,\n infiniteParam...
sindresorhus__got___makeRequest__upstream__2hop_dbc0f7
sindresorhus/got
upstream
2
{ "hop_1": [ "_onResponseBase", "flush" ], "hop_1_files": [ "private/tmp/repos/got/source/core/index.ts", "private/tmp/repos/got/source/core/index.ts" ], "hop_2": [ "fn", "_onResponse", "_beforeError", "asPromise" ], "hop_2_files": [ "private/tmp/repos/got/benchmark/ind...
{ "anchor": "_makeRequest", "anchor_file": "private/tmp/repos/got/source/core/index.ts", "anchor_source": "private async _makeRequest(): Promise<void> {\n\t\tconst {options} = this;\n\t\tconst headers = options.getInternalHeaders();\n\t\tconst {username, password} = options;\n\t\tconst cookieJar = options.cookieJ...
trpc__trpc__withPing__upstream__1hop_326a27
trpc/trpc
upstream
1
{ "calls": [ "generator", "createBatchStreamProducer", "sseStreamProducer" ], "call_files": [ "private/tmp/repos/trpc__trpc/packages/server/src/unstable-core-do-not-import/stream/sse.ts", "private/tmp/repos/trpc__trpc/packages/server/src/unstable-core-do-not-import/stream/jsonl.ts", "priva...
{ "anchor": "withPing", "anchor_file": "private/tmp/repos/trpc__trpc/packages/server/src/unstable-core-do-not-import/stream/utils/withPing.ts", "anchor_source": "export async function* withPing<TValue>(\n iterable: AsyncIterable<TValue>,\n pingIntervalMs: number,\n): AsyncGenerator<TValue | typeof PING_SYM> {\n...
trpc__trpc__load__upstream__2hop_53729c
trpc/trpc
upstream
2
{ "hop_1": [ "dataLoader", "httpBatchStreamLink", "httpBatchLink" ], "hop_1_files": [ "private/tmp/repos/trpc__trpc/packages/client/src/internals/dataLoader.ts", "private/tmp/repos/trpc__trpc/packages/client/src/links/httpBatchStreamLink.ts", "private/tmp/repos/trpc__trpc/packages/client/s...
{ "anchor": "load", "anchor_file": "private/tmp/repos/trpc__trpc/packages/client/src/internals/dataLoader.ts", "anchor_source": "function load(key: TKey): Promise<TValue> {\n const item: BatchItem<TKey, TValue> = {\n aborted: false,\n key,\n batch: null,\n resolve: throwFatalError,\n r...
rq__rq__get_heartbeat_ttl__upstream__2hop_719625
rq/rq
upstream
2
{ "hop_1": [ "maintain_heartbeats", "prepare_execution", "prepare_job_execution" ], "hop_1_files": [ "private/tmp/repos/rq__rq/rq/worker/base.py", "private/tmp/repos/rq__rq/rq/executions.py", "private/tmp/repos/rq__rq/rq/worker/base.py" ], "hop_2": [ "monitor_work_horse", "perf...
{ "anchor": "get_heartbeat_ttl", "anchor_file": "private/tmp/repos/rq__rq/rq/worker/base.py", "anchor_source": "def get_heartbeat_ttl(self, job: 'Job') -> int:\n \"\"\"Get's the TTL for the next heartbeat.\n\n Args:\n job (Job): The Job\n\n Returns:\n int: The heartbeat ...
pallets__jinja__do_unique__downstream__2hop_a60bda
pallets/jinja
downstream
2
{ "hop_1": [ "auto_to_list", "async_variant" ], "hop_1_files": [ "private/tmp/repos/pallets__jinja/src/jinja2/async_utils.py", "private/tmp/repos/pallets__jinja/src/jinja2/async_utils.py" ], "hop_2": [ "from_obj", "pass_eval_context", "is_async", "decorator" ], "hop_2_files...
{ "anchor": "do_unique", "anchor_file": "private/tmp/repos/pallets__jinja/src/jinja2/filters.py", "anchor_source": "@async_variant(sync_do_unique) # type: ignore\nasync def do_unique(\n environment: \"Environment\",\n value: \"t.AsyncIterable[V] | t.Iterable[V]\",\n case_sensitive: bool = False,\n at...
python-poetry__poetry__build_config_setting_validator__downstream__1hop_5c4882
python-poetry/poetry
downstream
1
{ "calls": [ "build_config_setting_normalizer" ], "call_files": [ "private/tmp/repos/python-poetry__poetry/src/poetry/config/config.py" ] }
{ "anchor": "build_config_setting_validator", "anchor_file": "private/tmp/repos/python-poetry__poetry/src/poetry/config/config.py", "anchor_source": "def build_config_setting_validator(val: str) -> bool:\n try:\n value = build_config_setting_normalizer(val)\n except JSONDecodeError:\n return F...
trpc__trpc__register__upstream__1hop_a700f3
trpc/trpc
upstream
1
{ "calls": [ "error", "complete", "request", "batchSend" ], "call_files": [ "private/tmp/repos/trpc__trpc/packages/client/src/links/wsLink/wsClient/requestManager.ts", "private/tmp/repos/trpc__trpc/packages/client/src/links/wsLink/wsClient/requestManager.ts", "private/tmp/repos/trpc__t...
{ "anchor": "register", "anchor_file": "private/tmp/repos/trpc__trpc/packages/client/src/links/wsLink/wsClient/requestManager.ts", "anchor_source": "public register(message: TRPCClientOutgoingMessage, callbacks: TCallbacks) {\n const { promise: end, resolve } = withResolvers<void>();\n\n this.outgoingReques...
pallets__jinja__tokeniter__upstream__1hop_cda549
pallets/jinja
upstream
1
{ "calls": [ "lex", "tokenize" ], "call_files": [ "private/tmp/repos/pallets__jinja/src/jinja2/environment.py", "private/tmp/repos/pallets__jinja/src/jinja2/lexer.py" ] }
{ "anchor": "tokeniter", "anchor_file": "private/tmp/repos/pallets__jinja/src/jinja2/lexer.py", "anchor_source": "def tokeniter(\n self,\n source: str,\n name: str | None,\n filename: str | None = None,\n state: str | None = None,\n ) -> t.Iterator[tuple[int, str, str]]:\n ...
immerjs__immer__clear__downstream__2hop_2b7574
immerjs/immer
downstream
2
{ "hop_1": [ "markChanged", "prepareMapCopy", "each", "assertUnrevoked" ], "hop_1_files": [ "private/tmp/repos/immerjs__immer/src/core/proxy.ts", "private/tmp/repos/immerjs__immer/src/plugins/mapset.ts", "private/tmp/repos/immerjs__immer/src/utils/common.ts", "private/tmp/repos/imm...
{ "anchor": "clear", "anchor_file": "private/tmp/repos/immerjs__immer/src/plugins/mapset.ts", "anchor_source": "clear() {\n\t\t\tconst state: MapState = this[DRAFT_STATE]\n\t\t\tassertUnrevoked(state)\n\t\t\tif (latest(state).size) {\n\t\t\t\tprepareMapCopy(state)\n\t\t\t\tmarkChanged(state)\n\t\t\t\tstate.assign...
colinhacks__zod__mergeObjectSync__upstream__1hop_99a523
colinhacks/zod
upstream
1
{ "calls": [ "mergeObjectAsync", "_parse" ], "call_files": [ "private/tmp/repos/colinhacks__zod/packages/zod/src/v3/helpers/parseUtil.ts", "private/tmp/repos/colinhacks__zod/packages/zod/src/v3/types.ts" ] }
{ "anchor": "mergeObjectSync", "anchor_file": "private/tmp/repos/colinhacks__zod/packages/zod/src/v3/helpers/parseUtil.ts", "anchor_source": "static mergeObjectSync(\n status: ParseStatus,\n pairs: {\n key: SyncParseReturnType<any>;\n value: SyncParseReturnType<any>;\n alwaysSet?: boolean;\n ...
rq__rq__set_state__upstream__1hop_058205
rq/rq
upstream
1
{ "calls": [ "prepare_execution", "execute_job", "bootstrap", "_set_state", "dequeue_job_and_maintain_ttl", "check_for_suspension" ], "call_files": [ "private/tmp/repos/rq__rq/rq/executions.py", "private/tmp/repos/rq__rq/rq/worker/worker_classes.py", "private/tmp/repos/rq__rq/r...
{ "anchor": "set_state", "anchor_file": "private/tmp/repos/rq__rq/rq/worker/base.py", "anchor_source": "def set_state(self, state: str, pipeline: Optional['Pipeline'] = None):\n \"\"\"Sets the worker's state.\n\n Args:\n state (str): The state\n pipeline (Optional[Pipeline], op...
immerjs__immer__handleValue__upstream__2hop_e06dcf
immerjs/immer
upstream
2
{ "hop_1": [ "handleCrossReference", "finalize", "nestedDraftCleanup" ], "hop_1_files": [ "private/tmp/repos/immerjs__immer/src/core/finalize.ts", "private/tmp/repos/immerjs__immer/src/core/finalize.ts", "private/tmp/repos/immerjs__immer/src/core/finalize.ts" ], "hop_2": [ "add", ...
{ "anchor": "handleValue", "anchor_file": "private/tmp/repos/immerjs__immer/src/core/finalize.ts", "anchor_source": "export function handleValue(\n\ttarget: any,\n\thandledSet: Set<any>,\n\trootScope: ImmerScope\n) {\n\tif (!rootScope.immer_.autoFreeze_ && rootScope.unfinalizedDrafts_ < 1) {\n\t\t// optimization:...
colinhacks__zod___parse__downstream__2hop_67ad94
colinhacks/zod
downstream
2
{ "hop_1": [ "addIssueToContext", "_processInputParams", "parseAsync" ], "hop_1_files": [ "private/tmp/repos/colinhacks__zod/packages/zod/src/v3/helpers/parseUtil.ts", "private/tmp/repos/colinhacks__zod/packages/zod/src/v3/types.ts", "private/tmp/repos/colinhacks__zod/packages/zod/src/v3/t...
{ "anchor": "_parse", "anchor_file": "private/tmp/repos/colinhacks__zod/packages/zod/src/v3/types.ts", "anchor_source": "_parse(input: ParseInput): ParseReturnType<this[\"_output\"]> {\n const { ctx } = this._processInputParams(input);\n if (ctx.parsedType !== ZodParsedType.promise && ctx.common.async === f...
sindresorhus__got___prepareCache__downstream__2hop_2ef091
sindresorhus/got
downstream
2
{ "hop_1": [ "has", "constructor", "once", "RequestError", "set" ], "hop_1_files": [ "private/tmp/repos/got/source/core/utils/weakable-map.ts", "private/tmp/repos/got/source/core/errors.ts", "private/tmp/repos/got/source/core/index.ts", "private/tmp/repos/got/source/core/errors...
{ "anchor": "_prepareCache", "anchor_file": "private/tmp/repos/got/source/core/index.ts", "anchor_source": "private _prepareCache(cache: string | StorageAdapter) {\n\t\tif (cacheableStore.has(cache)) {\n\t\t\treturn;\n\t\t}\n\n\t\tconst cacheableRequest = new CacheableRequest(\n\t\t\t((requestOptions: RequestOpti...
agronholm__apscheduler__release_job__downstream__1hop_7c84ba
agronholm/apscheduler
downstream
1
{ "calls": [ "publish", "_retry", "_release_job" ], "call_files": [ "private/tmp/repos/agronholm__apscheduler/src/apscheduler/abc.py", "private/tmp/repos/agronholm__apscheduler/src/apscheduler/_retry.py", "private/tmp/repos/agronholm__apscheduler/src/apscheduler/datastores/mongodb.py" ] ...
{ "anchor": "release_job", "anchor_file": "private/tmp/repos/agronholm__apscheduler/src/apscheduler/datastores/mongodb.py", "anchor_source": "async def release_job(self, scheduler_id: str, job: Job, result: JobResult) -> None:\n async for attempt in self._retry():\n with attempt:\n ...
rq__rq__get_version__upstream__2hop_18d1bc
rq/rq
upstream
2
{ "hop_1": [ "get_redis_server_version" ], "hop_1_files": [ "private/tmp/repos/rq__rq/rq/queue.py" ], "hop_2": [ "dequeue_job_and_maintain_ttl", "_prepare_for_queue", "get_job_position" ], "hop_2_files": [ "private/tmp/repos/rq__rq/rq/worker/base.py", "private/tmp/repos/rq__rq/...
{ "anchor": "get_version", "anchor_file": "private/tmp/repos/rq__rq/rq/utils.py", "anchor_source": "def get_version(connection: 'Redis') -> tuple[int, int, int]:\n \"\"\"\n Returns tuple of Redis server version.\n This function also correctly handles 4 digit redis server versions.\n\n Args:\n c...
pallets__jinja__next_if__upstream__1hop_34f3a5
pallets/jinja
upstream
1
{ "calls": [ "parse", "skip_if" ], "call_files": [ "private/tmp/repos/pallets__jinja/src/jinja2/ext.py", "private/tmp/repos/pallets__jinja/src/jinja2/lexer.py" ] }
{ "anchor": "next_if", "anchor_file": "private/tmp/repos/pallets__jinja/src/jinja2/lexer.py", "anchor_source": "def next_if(self, expr: str) -> Token | None:\n \"\"\"Perform the token test and return the token if it matched.\n Otherwise the return value is `None`.\n \"\"\"\n if self.cu...