sample_id
string
repo
string
question_type
string
hop_depth
int64
gold
unknown
metadata
unknown
trpc__trpc__query__upstream__2hop_31bf06
trpc/trpc
upstream
2
{ "hop_1": [ "fetchQuery", "fetchInfiniteQuery", "prefetchQuery", "queryFn", "createServerSideHelpers", "infiniteQueryOptions", "createUseQueries", "createUseProxy", "ensureQueryData", "queryOptions", "trpcQueryOptions", "query", "prefetchInfiniteQuery", "create...
{ "anchor": "query", "anchor_file": "private/tmp/repos/trpc__trpc/packages/client/src/internals/TRPCUntypedClient.ts", "anchor_source": "public query(path: string, input?: unknown, opts?: TRPCRequestOptions) {\n return this.requestAsPromise<unknown, unknown>({\n type: 'query',\n path,\n input,\n...
immerjs__immer__scenario_sortById_reverse__downstream__2hop_e154ad
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_sortById_reverse", "anchor_file": "private/tmp/repos/immerjs__immer/perf-testing/immutability-profiling.mjs", "anchor_source": "function scenario_sortById_reverse() {\n\tconst initialState = createInitialState()\n\tfor (let j = 0; j < MAX; j++) {\n\t\timmerReducer(initialState, actions[\"sor...
colinhacks__zod___isoDateTime__upstream__2hop_a3017d
colinhacks/zod
upstream
2
{ "hop_1": [ "datetime" ], "hop_1_files": [ "private/tmp/repos/colinhacks__zod/packages/zod/src/v4/classic/iso.ts" ], "hop_2": [ "convertBaseSchema", "datetime" ], "hop_2_files": [ "private/tmp/repos/colinhacks__zod/packages/zod/src/v4/classic/from-json-schema.ts", "private/tmp/rep...
{ "anchor": "_isoDateTime", "anchor_file": "private/tmp/repos/colinhacks__zod/packages/zod/src/v4/core/api.ts", "anchor_source": "export function _isoDateTime<T extends schemas.$ZodISODateTime>(\n Class: util.SchemaClass<T>,\n params?: string | $ZodISODateTimeParams | $ZodCheckISODateTimeParams\n): T {\n retur...
pallets__jinja__from_code__upstream__1hop_1eae1d
pallets/jinja
upstream
1
{ "calls": [ "load", "from_string" ], "call_files": [ "private/tmp/repos/pallets__jinja/src/jinja2/loaders.py", "private/tmp/repos/pallets__jinja/src/jinja2/environment.py" ] }
{ "anchor": "from_code", "anchor_file": "private/tmp/repos/pallets__jinja/src/jinja2/environment.py", "anchor_source": "@classmethod\n def from_code(\n cls,\n environment: Environment,\n code: CodeType,\n globals: t.MutableMapping[str, t.Any],\n uptodate: t.Callable[[], bool]...
paramiko__paramiko__all___downstream__1hop_99c8c0
paramiko/paramiko
downstream
1
{ "calls": [ "publish_" ], "call_files": [ "private/tmp/repos/paramiko/tasks.py" ] }
{ "anchor": "all_", "anchor_file": "private/tmp/repos/paramiko/tasks.py", "anchor_source": "@task(name=\"all\", default=True)\ndef all_(c, dry_run=False):\n release_coll[\"prepare\"](c, dry_run=dry_run)\n publish_(c, dry_run=dry_run)\n release_coll[\"push\"](c, dry_run=dry_run)", "result_size": 1, "c...
pallets__click__write_usage__downstream__2hop_52b244
pallets/click
downstream
2
{ "hop_1": [ "write", "term_len", "wrap_text" ], "hop_1_files": [ "private/tmp/repos/pallets__click/src/click/formatting.py", "private/tmp/repos/pallets__click/src/click/_compat.py", "private/tmp/repos/pallets__click/src/click/formatting.py" ], "hop_2": [ "TextWrapper", "extra_...
{ "anchor": "write_usage", "anchor_file": "private/tmp/repos/pallets__click/src/click/formatting.py", "anchor_source": "def write_usage(self, prog: str, args: str = \"\", prefix: str | None = None) -> None:\n \"\"\"Writes a usage line into the buffer.\n\n :param prog: the program name.\n :par...
colinhacks__zod__add__upstream__1hop_ac8ea0
colinhacks/zod
upstream
1
{ "calls": [ "describe", "convertSchema", "meta" ], "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", "private/tmp/repos/colinhacks__zod/packages/zod/src/v4/core/a...
{ "anchor": "add", "anchor_file": "private/tmp/repos/colinhacks__zod/packages/zod/src/v4/core/registries.ts", "anchor_source": "add<S extends Schema>(\n schema: S,\n ..._meta: undefined extends Meta ? [$replace<Meta, S>?] : [$replace<Meta, S>]\n ): this {\n const meta: any = _meta[0];\n this._map.set...
colinhacks__zod___parseSync__downstream__1hop_6fbb41
colinhacks/zod
downstream
1
{ "calls": [ "_parse" ], "call_files": [ "private/tmp/repos/colinhacks__zod/packages/zod/src/v3/types.ts" ] }
{ "anchor": "_parseSync", "anchor_file": "private/tmp/repos/colinhacks__zod/packages/zod/src/v3/types.ts", "anchor_source": "_parseSync(input: ParseInput): SyncParseReturnType<Output> {\n const result = this._parse(input);\n if (isAsync(result)) {\n throw new Error(\"Synchronous parse encountered promi...
immerjs__immer__prepareSetCopy__downstream__2hop_972f5e
immerjs/immer
downstream
2
{ "hop_1": [ "isDraftable", "createProxy" ], "hop_1_files": [ "private/tmp/repos/immerjs__immer/src/utils/common.ts", "private/tmp/repos/immerjs__immer/src/core/immerClass.ts" ], "hop_2": [ "isPlainObject", "createProxyProxy", "registerChildFinalizationCallback", "getPlugin", ...
{ "anchor": "prepareSetCopy", "anchor_file": "private/tmp/repos/immerjs__immer/src/plugins/mapset.ts", "anchor_source": "function prepareSetCopy(state: SetState) {\n\t\tif (!state.copy_) {\n\t\t\t// create drafts for all entries to preserve insertion order\n\t\t\tstate.copy_ = new Set()\n\t\t\tstate.base_.forEach...
psf__black__do_transform__downstream__2hop_915f28
psf/black
downstream
2
{ "hop_1": [ "_merge_string_group", "CannotTransform", "_remove_backslash_line_continuation_chars" ], "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": [ ...
{ "anchor": "do_transform", "anchor_file": "private/tmp/repos/psf__black/src/black/trans.py", "anchor_source": "def do_transform(\n self, line: Line, string_indices: list[int]\n ) -> Iterator[TResult[Line]]:\n new_line = line\n\n rblc_result = self._remove_backslash_line_continuation_chars...
pallets__jinja__parse_tuple__upstream__1hop_9a8b4f
pallets/jinja
upstream
1
{ "calls": [ "subparse", "parse", "parse_primary", "parse_for", "parse_set", "parse_assign_target", "parse_if" ], "call_files": [ "private/tmp/repos/pallets__jinja/src/jinja2/parser.py", "private/tmp/repos/pallets__jinja/src/jinja2/ext.py", "private/tmp/repos/pallets__jinja...
{ "anchor": "parse_tuple", "anchor_file": "private/tmp/repos/pallets__jinja/src/jinja2/parser.py", "anchor_source": "def parse_tuple(\n self,\n simplified: bool = False,\n with_condexpr: bool = True,\n extra_end_rules: tuple[str, ...] | None = None,\n explicit_parentheses: bool ...
immerjs__immer__handleCrossReference__upstream__1hop_c3f0f7
immerjs/immer
upstream
1
{ "calls": [ "add", "enableArrayMethods", "set", "handleInsertedValues", "enableMapSet" ], "call_files": [ "private/tmp/repos/immerjs__immer/src/plugins/mapset.ts", "private/tmp/repos/immerjs__immer/src/plugins/arrayMethods.ts", "private/tmp/repos/immerjs__immer/src/plugins/mapset....
{ "anchor": "handleCrossReference", "anchor_file": "private/tmp/repos/immerjs__immer/src/core/finalize.ts", "anchor_source": "export function handleCrossReference(\n\ttarget: ImmerState,\n\tkey: string | number | symbol,\n\tvalue: any\n) {\n\tconst {scope_} = target\n\t// Check if value is a draft from this scope...
pallets__jinja___tokenize__downstream__1hop_bec21d
pallets/jinja
downstream
1
{ "calls": [ "tokenize", "filter_stream", "TokenStream", "preprocess", "iter_extensions" ], "call_files": [ "private/tmp/repos/pallets__jinja/src/jinja2/lexer.py", "private/tmp/repos/pallets__jinja/src/jinja2/ext.py", "private/tmp/repos/pallets__jinja/src/jinja2/lexer.py", "pri...
{ "anchor": "_tokenize", "anchor_file": "private/tmp/repos/pallets__jinja/src/jinja2/environment.py", "anchor_source": "def _tokenize(\n self,\n source: str,\n name: str | None,\n filename: str | None = None,\n state: str | None = None,\n ) -> TokenStream:\n \"\"\"Call...
trpc__trpc__readableStreamFrom__upstream__1hop_de7590
trpc/trpc
upstream
1
{ "calls": [ "sseStreamProducer", "jsonlStreamProducer" ], "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" ] }
{ "anchor": "readableStreamFrom", "anchor_file": "private/tmp/repos/trpc__trpc/packages/server/src/unstable-core-do-not-import/stream/utils/readableStreamFrom.ts", "anchor_source": "export function readableStreamFrom<TYield>(\n iterable: AsyncIterable<TYield, void>,\n): ReadableStream<TYield> {\n const iterator...
immerjs__immer__nestedDraftCleanup__upstream__2hop_e3a010
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": "nestedDraftCleanup", "anchor_file": "private/tmp/repos/immerjs__immer/src/core/finalize.ts", "anchor_source": "target.callbacks_.push(function nestedDraftCleanup() {\n\t\t\tconst targetCopy = latest(target)\n\n\t\t\t// For Sets, check if value is still in the set\n\t\t\tif (target.type_ === ArchType....
rq__rq__get_keys__upstream__1hop_642896
rq/rq
upstream
1
{ "calls": [ "clean_worker_registry", "all_keys", "all", "count" ], "call_files": [ "private/tmp/repos/rq__rq/rq/worker_registration.py", "private/tmp/repos/rq__rq/rq/worker/base.py", "private/tmp/repos/rq__rq/rq/worker/base.py", "private/tmp/repos/rq__rq/rq/worker/base.py" ] }
{ "anchor": "get_keys", "anchor_file": "private/tmp/repos/rq__rq/rq/worker_registration.py", "anchor_source": "def get_keys(queue: Optional['Queue'] = None, connection: Optional['Redis'] = None) -> set[str]:\n \"\"\"Returns a list of worker keys for a given queue.\n\n Args:\n queue (Optional[&#39;Que...
pytest-dev__pytest__pytest_collect_file__downstream__1hop_ee29ef
pytest-dev/pytest
downstream
1
{ "calls": [ "_is_setup_py", "_is_main_py" ], "call_files": [ "private/tmp/repos/pytest-dev__pytest/src/_pytest/doctest.py", "private/tmp/repos/pytest-dev__pytest/src/_pytest/doctest.py" ] }
{ "anchor": "pytest_collect_file", "anchor_file": "private/tmp/repos/pytest-dev__pytest/src/_pytest/doctest.py", "anchor_source": "def pytest_collect_file(\n file_path: Path,\n parent: Collector,\n) -> DoctestModule | DoctestTextfile | None:\n config = parent.config\n if file_path.suffix == \".py\":\n...
trpc__trpc__createTRPCOptionsResult__upstream__2hop_5b7ffd
trpc/trpc
upstream
2
{ "hop_1": [ "createUtilityFunctions", "infiniteQueryOptions", "queryOptions", "useHookResult" ], "hop_1_files": [ "private/tmp/repos/trpc__trpc/packages/react-query/src/utils/createUtilityFunctions.ts", "private/tmp/repos/trpc__trpc/packages/react-query/src/utils/createUtilityFunctions.ts...
{ "anchor": "createTRPCOptionsResult", "anchor_file": "private/tmp/repos/trpc__trpc/packages/react-query/src/internals/trpcResult.ts", "anchor_source": "export function createTRPCOptionsResult(value: {\n path: readonly string[];\n}): TRPCQueryOptionsResult['trpc'] {\n const path = value.path.join('.');\n\n ret...
trpc__trpc__useEnv__upstream__1hop_db9d37
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": "useEnv", "anchor_file": "private/tmp/repos/trpc__trpc/www/src/utils/useEnv.ts", "anchor_source": "export function useEnv() {\n const { siteConfig } = useDocusaurusContext();\n const customFields = siteConfig.customFields!;\n\n const env = customFields.env;\n\n return env as Env;\n}", "result_si...
colinhacks__zod___number__upstream__2hop_106319
colinhacks/zod
upstream
2
{ "hop_1": [ "number" ], "hop_1_files": [ "private/tmp/repos/colinhacks__zod/packages/zod/src/v4/mini/schemas.ts" ], "hop_2": [ "json", "convertBaseSchema" ], "hop_2_files": [ "private/tmp/repos/colinhacks__zod/packages/zod/src/v4/classic/schemas.ts", "private/tmp/repos/colinhacks_...
{ "anchor": "_number", "anchor_file": "private/tmp/repos/colinhacks__zod/packages/zod/src/v4/core/api.ts", "anchor_source": "export function _number<T extends schemas.$ZodNumber>(\n Class: util.SchemaClass<T>,\n params?: string | $ZodNumberParams\n): T {\n return new Class({\n type: \"number\",\n checks:...
pytest-dev__pytest__derive_importpath__downstream__1hop_53c609
pytest-dev/pytest
downstream
1
{ "calls": [ "resolve", "annotated_getattr" ], "call_files": [ "private/tmp/repos/pytest-dev__pytest/src/_pytest/monkeypatch.py", "private/tmp/repos/pytest-dev__pytest/src/_pytest/monkeypatch.py" ] }
{ "anchor": "derive_importpath", "anchor_file": "private/tmp/repos/pytest-dev__pytest/src/_pytest/monkeypatch.py", "anchor_source": "def derive_importpath(import_path: str, raising: bool) -> tuple[str, object]:\n if not isinstance(import_path, str) or \".\" not in import_path:\n raise TypeError(f\"must ...
colinhacks__zod__defaultValue__downstream__1hop_5db302
colinhacks/zod
downstream
1
{ "calls": [ "shallowClone" ], "call_files": [ "private/tmp/repos/colinhacks__zod/packages/zod/src/v4/core/util.ts" ] }
{ "anchor": "defaultValue", "anchor_file": "private/tmp/repos/colinhacks__zod/packages/zod/src/v4/core/api.ts", "anchor_source": "get defaultValue() {\n return typeof defaultValue === \"function\" ? (defaultValue as Function)() : util.shallowClone(defaultValue);\n },", "result_size": 1, "created_at": ...
celery__celery___client__downstream__1hop_14722d
celery/celery
downstream
1
{ "calls": [ "_create_database_if_not_exists", "_create_collection_if_not_exists" ], "call_files": [ "private/tmp/repos/celery/celery/backends/cosmosdbsql.py", "private/tmp/repos/celery/celery/backends/cosmosdbsql.py" ] }
{ "anchor": "_client", "anchor_file": "private/tmp/repos/celery/celery/backends/cosmosdbsql.py", "anchor_source": "@cached_property\n def _client(self):\n \"\"\"Return the CosmosDB/SQL client.\n\n If this is the first call to the property, the client is created and\n the database and colle...
sindresorhus__got__extend__downstream__1hop_940cf3
sindresorhus/got
downstream
1
{ "calls": [ "merge", "constructor", "Options" ], "call_files": [ "private/tmp/repos/got/source/core/options.ts", "private/tmp/repos/got/source/core/options.ts", "private/tmp/repos/got/source/core/options.ts" ] }
{ "anchor": "extend", "anchor_file": "private/tmp/repos/got/source/create.ts", "anchor_source": "got.extend = (...instancesOrOptions) => {\n\t\tconst options = new Options(undefined, undefined, defaults.options);\n\t\tconst handlers = [...defaults.handlers];\n\n\t\tlet mutableDefaults: boolean | undefined;\n\n\t\...
trpc__trpc__createURL__upstream__1hop_e26d6b
trpc/trpc
upstream
1
{ "calls": [ "createHandler", "getWSConnectionHandler", "incomingMessageToRequest" ], "call_files": [ "private/tmp/repos/trpc__trpc/packages/server/src/adapters/standalone.ts", "private/tmp/repos/trpc__trpc/packages/server/src/adapters/ws.ts", "private/tmp/repos/trpc__trpc/packages/server/...
{ "anchor": "createURL", "anchor_file": "private/tmp/repos/trpc__trpc/packages/server/src/adapters/node-http/incomingMessageToRequest.ts", "anchor_source": "export function createURL(req: NodeHTTPRequest): URL {\n try {\n const protocol =\n // http2\n (req.headers[':scheme'] && req.headers[':scheme'...
trpc__trpc__error__downstream__1hop_56b378
trpc/trpc
downstream
1
{ "calls": [ "register" ], "call_files": [ "private/tmp/repos/trpc__trpc/packages/client/src/links/wsLink/wsClient/requestManager.ts" ] }
{ "anchor": "error", "anchor_file": "private/tmp/repos/trpc__trpc/packages/client/src/links/wsLink/wsClient/requestManager.ts", "anchor_source": "error: (e) => {\n callbacks.error(e);\n resolve();\n },", "result_size": 1, "created_at": "2026-03-20T16:58:18.199328+00:00" }
trpc__trpc__resolveHTTPLinkOptions__upstream__1hop_2cb78b
trpc/trpc
upstream
1
{ "calls": [ "httpLink", "httpBatchLink", "httpBatchStreamLink" ], "call_files": [ "private/tmp/repos/trpc__trpc/packages/client/src/links/httpLink.ts", "private/tmp/repos/trpc__trpc/packages/client/src/links/httpBatchLink.ts", "private/tmp/repos/trpc__trpc/packages/client/src/links/httpBa...
{ "anchor": "resolveHTTPLinkOptions", "anchor_file": "private/tmp/repos/trpc__trpc/packages/client/src/links/internals/httpUtils.ts", "anchor_source": "export function resolveHTTPLinkOptions(\n opts: HTTPLinkBaseOptions<AnyClientTypes>,\n): ResolvedHTTPLinkOptions {\n return {\n url: opts.url.toString(),\n ...
pallets__click__get_help_option__upstream__2hop_a00a7f
pallets/click
upstream
2
{ "hop_1": [ "get_params", "show" ], "hop_1_files": [ "private/tmp/repos/pallets__click/src/click/core.py", "private/tmp/repos/pallets__click/src/click/exceptions.py" ], "hop_2": [ "collect_usage_pieces", "command_path", "format_options", "shell_complete", "to_info_dict", ...
{ "anchor": "get_help_option", "anchor_file": "private/tmp/repos/pallets__click/src/click/core.py", "anchor_source": "def get_help_option(self, ctx: Context) -> Option | None:\n \"\"\"Returns the help option object.\n\n Skipped if :attr:`add_help_option` is ``False``.\n\n .. versionchanged:: ...
immerjs__immer__getArchtype__upstream__1hop_a8abf6
immerjs/immer
upstream
1
{ "calls": [ "each", "enablePatches", "applyPatches_", "freeze" ], "call_files": [ "private/tmp/repos/immerjs__immer/src/utils/common.ts", "private/tmp/repos/immerjs__immer/src/plugins/patches.ts", "private/tmp/repos/immerjs__immer/src/plugins/patches.ts", "private/tmp/repos/immerj...
{ "anchor": "getArchtype", "anchor_file": "private/tmp/repos/immerjs__immer/src/utils/common.ts", "anchor_source": "export function getArchtype(thing: any): ArchType {\n\tconst state: undefined | ImmerState = thing[DRAFT_STATE]\n\treturn state\n\t\t? state.type_\n\t\t: isArray(thing)\n\t\t? ArchType.Array\n\t\t: ...
trpc__trpc__takeWithGrace__upstream__2hop_4e5ea5
trpc/trpc
upstream
2
{ "hop_1": [ "sseStreamProducer", "generator" ], "hop_1_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/sse.ts" ], "hop_2": [ "resolveResponse", ...
{ "anchor": "takeWithGrace", "anchor_file": "private/tmp/repos/trpc__trpc/packages/server/src/unstable-core-do-not-import/stream/utils/asyncIterable.ts", "anchor_source": "export async function* takeWithGrace<T>(\n iterable: AsyncIterable<T>,\n opts: {\n count: number;\n gracePeriodMs: number;\n },\n): A...
getpelican__pelican__generate_context__downstream__2hop_74bad5
getpelican/pelican
downstream
2
{ "hop_1": [ "add_source_path", "_process", "_add_failed_source_path", "add_static_links", "_update_context", "get_files" ], "hop_1_files": [ "private/tmp/repos/getpelican__pelican/pelican/generators.py", "private/tmp/repos/getpelican__pelican/pelican/generators.py", "private/t...
{ "anchor": "generate_context", "anchor_file": "private/tmp/repos/getpelican__pelican/pelican/generators.py", "anchor_source": "def generate_context(self):\n all_pages = []\n hidden_pages = []\n draft_pages = []\n for f in self.get_files(\n self.settings[\"PAGE_PATHS\"], exc...
trpc__trpc__getInitialProps__downstream__2hop_ba4cc1
trpc/trpc
downstream
2
{ "hop_1": [ "shouldDehydrateQuery", "serialize", "createTRPCUntypedClient" ], "hop_1_files": [ "private/tmp/repos/trpc__trpc/packages/next/src/ssrPrepass.ts", "private/tmp/repos/trpc__trpc/packages/server/src/unstable-core-do-not-import/transformer.ts", "private/tmp/repos/trpc__trpc/packa...
{ "anchor": "getInitialProps", "anchor_file": "private/tmp/repos/trpc__trpc/packages/next/src/ssrPrepass.ts", "anchor_source": "WithTRPC.getInitialProps = async (appOrPageCtx: AppContextType) => {\n const shouldSsr = async () => {\n if (typeof window !== 'undefined') {\n return false;\n }\n ...
encode__httpx__get_list__upstream__1hop_5e9a9c
encode/httpx
upstream
1
{ "calls": [ "_get_content_decoder", "auth_flow" ], "call_files": [ "private/tmp/repos/encode__httpx/httpx/_models.py", "private/tmp/repos/encode__httpx/httpx/_auth.py" ] }
{ "anchor": "get_list", "anchor_file": "private/tmp/repos/encode__httpx/httpx/_models.py", "anchor_source": "def get_list(self, key: str, split_commas: bool = False) -> list[str]:\n \"\"\"\n Return a list of all header values for a given key.\n If `split_commas=True` is passed, then any comma...
trpc__trpc__next__downstream__1hop_751935
trpc/trpc
downstream
1
{ "calls": [ "execute" ], "call_files": [ "private/tmp/repos/trpc__trpc/packages/client/src/links/internals/createChain.ts" ] }
{ "anchor": "next", "anchor_file": "private/tmp/repos/trpc__trpc/packages/client/src/links/internals/createChain.ts", "anchor_source": "next(nextOp) {\n const nextObserver = execute(index + 1, nextOp);\n\n return nextObserver;\n },", "result_size": 1, "created_at": "2026-03-20T16:58:1...
immerjs__immer__scenario_remove__downstream__2hop_b73056
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_remove", "anchor_file": "private/tmp/repos/immerjs__immer/perf-testing/immutability-profiling.mjs", "anchor_source": "function scenario_remove() {\n\tconst initialState = createInitialState()\n\tfor (let j = 0; j < MAX; j++) {\n\t\timmerReducer(initialState, actions.remove(j))\n\t}\n}", "r...
pallets__click___process_args_for_args__downstream__2hop_6b9d41
pallets/click
downstream
2
{ "hop_1": [ "process", "_unpack_args" ], "hop_1_files": [ "private/tmp/repos/pallets__click/src/click/parser.py", "private/tmp/repos/pallets__click/src/click/parser.py" ], "hop_2": [ "_fetch" ], "hop_2_files": [ "private/tmp/repos/pallets__click/src/click/parser.py" ] }
{ "anchor": "_process_args_for_args", "anchor_file": "private/tmp/repos/pallets__click/src/click/parser.py", "anchor_source": "def _process_args_for_args(self, state: _ParsingState) -> None:\n pargs, args = _unpack_args(\n state.largs + state.rargs, [x.nargs for x in self._args]\n )\n\n ...
paramiko__paramiko___request_failed__downstream__1hop_3cd821
paramiko/paramiko
downstream
1
{ "calls": [ "_close_internal" ], "call_files": [ "private/tmp/repos/paramiko/paramiko/channel.py" ] }
{ "anchor": "_request_failed", "anchor_file": "private/tmp/repos/paramiko/paramiko/channel.py", "anchor_source": "def _request_failed(self, m):\n self.lock.acquire()\n try:\n msgs = self._close_internal()\n finally:\n self.lock.release()\n for m in msgs:\n ...
pallets__jinja__getattr__upstream__1hop_b447d3
pallets/jinja
upstream
1
{ "calls": [ "do_attr", "as_const", "get_field" ], "call_files": [ "private/tmp/repos/pallets__jinja/src/jinja2/filters.py", "private/tmp/repos/pallets__jinja/src/jinja2/nodes.py", "private/tmp/repos/pallets__jinja/src/jinja2/sandbox.py" ] }
{ "anchor": "getattr", "anchor_file": "private/tmp/repos/pallets__jinja/src/jinja2/environment.py", "anchor_source": "def getattr(self, obj: t.Any, attribute: str) -> t.Any:\n \"\"\"Get an item or attribute of an object but prefer the attribute.\n Unlike :meth:`getitem` the attribute *must* be a str...
rq__rq__setup_loghandlers__upstream__2hop_e6c10f
rq/rq
upstream
2
{ "hop_1": [ "bootstrap", "start" ], "hop_1_files": [ "private/tmp/repos/rq__rq/rq/worker/base.py", "private/tmp/repos/rq__rq/rq/worker_pool.py" ], "hop_2": [ "work", "connection", "queues" ], "hop_2_files": [ "private/tmp/repos/rq__rq/rq/worker/base.py", "private/tmp/r...
{ "anchor": "setup_loghandlers", "anchor_file": "private/tmp/repos/rq__rq/rq/logutils.py", "anchor_source": "def setup_loghandlers(\n level: Union[int, str, None] = None,\n date_format: str = DEFAULT_LOGGING_DATE_FORMAT,\n log_format: str = DEFAULT_LOGGING_FORMAT,\n name: str = 'rq.worker',\n):\n \...
colinhacks__zod__refine__downstream__1hop_ea60c7
colinhacks/zod
downstream
1
{ "calls": [ "_refinement" ], "call_files": [ "private/tmp/repos/colinhacks__zod/packages/zod/src/v3/types.ts" ] }
{ "anchor": "refine", "anchor_file": "private/tmp/repos/colinhacks__zod/packages/zod/src/v3/types.ts", "anchor_source": "refine(\n check: (arg: Output) => unknown,\n message?: string | CustomErrorParams | ((arg: Output) => CustomErrorParams)\n ): ZodEffects<this, Output, Input> {\n const getIssuePropert...
pytest-dev__pytest__pytest_fixture_setup__downstream__1hop_0f8393
pytest-dev/pytest
downstream
1
{ "calls": [ "_show_fixture_action" ], "call_files": [ "private/tmp/repos/pytest-dev__pytest/src/_pytest/setuponly.py" ] }
{ "anchor": "pytest_fixture_setup", "anchor_file": "private/tmp/repos/pytest-dev__pytest/src/_pytest/setuponly.py", "anchor_source": "@pytest.hookimpl(wrapper=True)\ndef pytest_fixture_setup(\n fixturedef: FixtureDef[object], request: SubRequest\n) -> Generator[None, object, object]:\n try:\n return ...
colinhacks__zod___isoTime__upstream__2hop_d8ddf9
colinhacks/zod
upstream
2
{ "hop_1": [ "time" ], "hop_1_files": [ "private/tmp/repos/colinhacks__zod/packages/zod/src/v4/mini/iso.ts" ], "hop_2": [ "time", "convertBaseSchema" ], "hop_2_files": [ "private/tmp/repos/colinhacks__zod/packages/zod/src/v4/classic/schemas.ts", "private/tmp/repos/colinhacks__zod/p...
{ "anchor": "_isoTime", "anchor_file": "private/tmp/repos/colinhacks__zod/packages/zod/src/v4/core/api.ts", "anchor_source": "export function _isoTime<T extends schemas.$ZodISOTime>(\n Class: util.SchemaClass<T>,\n params?: string | $ZodISOTimeParams | $ZodCheckISOTimeParams\n): T {\n return new Class({\n t...
trpc__trpc__share__upstream__1hop_995b22
trpc/trpc
upstream
1
{ "calls": [ "$request", "dedupeLink" ], "call_files": [ "private/tmp/repos/trpc__trpc/packages/client/src/internals/TRPCUntypedClient.ts", "private/tmp/repos/trpc__trpc/packages/client/src/links/internals/dedupeLink.ts" ] }
{ "anchor": "share", "anchor_file": "private/tmp/repos/trpc__trpc/packages/server/src/observable/operators.ts", "anchor_source": "export function share<TValue, TError>(\n _opts?: ShareConfig,\n): MonoTypeOperatorFunction<TValue, TError> {\n return (source) => {\n let refCount = 0;\n\n let subscription: Un...
locustio__locust__greenlet_exception_logger__upstream__1hop_e3c304
locustio/locust
upstream
1
{ "calls": [ "main", "locust_exception_handler" ], "call_files": [ "private/tmp/repos/locustio__locust/locust/main.py", "private/tmp/repos/locustio__locust/locust/runners.py" ] }
{ "anchor": "greenlet_exception_logger", "anchor_file": "private/tmp/repos/locustio__locust/locust/log.py", "anchor_source": "def greenlet_exception_logger(logger, level=logging.CRITICAL):\n \"\"\"\n Return a function that can be used as argument to Greenlet.link_exception() that will log the\n unhandled...
trpc__trpc__next__downstream__1hop_c59c43
trpc/trpc
downstream
1
{ "calls": [ "map" ], "call_files": [ "private/tmp/repos/trpc__trpc/packages/server/src/observable/operators.ts" ] }
{ "anchor": "next", "anchor_file": "private/tmp/repos/trpc__trpc/packages/server/src/observable/operators.ts", "anchor_source": "next(value) {\n destination.next(project(value, index++));\n },", "result_size": 1, "created_at": "2026-03-20T16:58:18.199328+00:00" }
agronholm__apscheduler__reconstitute_event__downstream__2hop_19d7c1
agronholm/apscheduler
downstream
2
{ "hop_1": [ "_reconstitute_event" ], "hop_1_files": [ "private/tmp/repos/agronholm__apscheduler/src/apscheduler/eventbrokers/base.py" ], "hop_2": [ "deserialize" ], "hop_2_files": [ "private/tmp/repos/agronholm__apscheduler/src/apscheduler/abc.py" ] }
{ "anchor": "reconstitute_event", "anchor_file": "private/tmp/repos/agronholm__apscheduler/src/apscheduler/eventbrokers/base.py", "anchor_source": "def reconstitute_event(self, payload: bytes) -> Event | None:\n try:\n event_type_bytes, serialized = payload.split(b\" \", 1)\n except Value...
celery__celery___after_fork__upstream__2hop_b4ff51
celery/celery
upstream
2
{ "hop_1": [ "on_state_change", "_after_fork" ], "hop_1_files": [ "private/tmp/repos/celery/celery/backends/asynchronous.py", "private/tmp/repos/celery/celery/backends/rpc.py" ], "hop_2": [ "on_state_change", "on_out_of_band_result" ], "hop_2_files": [ "private/tmp/repos/celery...
{ "anchor": "_after_fork", "anchor_file": "private/tmp/repos/celery/celery/backends/asynchronous.py", "anchor_source": "def _after_fork(self):\n self.buckets.clear()\n self.buckets = WeakKeyDictionary()\n self.on_message = None\n self.on_after_fork()", "result_size": 2, "created_at...
psf__black__do_splitter_match__downstream__2hop_5414f2
psf/black
downstream
2
{ "hop_1": [ "_assign_match", "_else_match", "_trailing_comma_tuple_match", "_assert_match", "_return_match", "_prefer_paren_wrap_match", "has_custom_splits", "_dict_or_lambda_match" ], "hop_1_files": [ "private/tmp/repos/psf__black/src/black/trans.py", "private/tmp/repos/p...
{ "anchor": "do_splitter_match", "anchor_file": "private/tmp/repos/psf__black/src/black/trans.py", "anchor_source": "def do_splitter_match(self, line: Line) -> TMatchResult:\n LL = line.leaves\n\n if line.leaves[-1].type in OPENING_BRACKETS:\n return TErr(\n \"Cannot wrap p...
celery__celery___expire_chord_key__downstream__1hop_2c32d9
celery/celery
downstream
1
{ "calls": [ "_firestore_document" ], "call_files": [ "private/tmp/repos/celery/celery/backends/gcs.py" ] }
{ "anchor": "_expire_chord_key", "anchor_file": "private/tmp/repos/celery/celery/backends/gcs.py", "anchor_source": "def _expire_chord_key(self, key, expires):\n \"\"\"Set TTL policy for a Firestore document.\n\n Firestore ttl data is typically deleted within 24 hours after its\n expiration d...
immerjs__immer__benchMethod__downstream__1hop_173e1a
immerjs/immer
downstream
1
{ "calls": [ "createInitialState" ], "call_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\tsetAutoFreezes[version](freeze)\n\t\t\t\tsetStrictIteration[version](false)\n\t\t\t\tsetEnableArrayMethods[version]()\n\n\t\t\t\tlet state = cr...
locustio__locust__gt_zero__upstream__2hop_145840
locustio/locust
upstream
2
{ "hop_1": [ "checker", "setup_parser_arguments" ], "hop_1_files": [ "private/tmp/repos/locustio__locust/locust/argument_parser.py", "private/tmp/repos/locustio__locust/locust/argument_parser.py" ], "hop_2": [ "default_args_dict", "get_parser", "handle_message" ], "hop_2_files"...
{ "anchor": "gt_zero", "anchor_file": "private/tmp/repos/locustio__locust/locust/argument_parser.py", "anchor_source": "def gt_zero(t):\n def checker(value):\n v = t(value)\n if v <= 0:\n raise argparse.ArgumentTypeError(\"must be > 0\")\n return v\n\n return checker", "res...
rq__rq__prepare_for_execution__upstream__2hop_c02f9f
rq/rq
upstream
2
{ "hop_1": [ "run_sync", "prepare_job_execution" ], "hop_1_files": [ "private/tmp/repos/rq__rq/rq/queue.py", "private/tmp/repos/rq__rq/rq/worker/base.py" ], "hop_2": [ "_enqueue_sync_job", "perform_job" ], "hop_2_files": [ "private/tmp/repos/rq__rq/rq/queue.py", "private/tm...
{ "anchor": "prepare_for_execution", "anchor_file": "private/tmp/repos/rq__rq/rq/job.py", "anchor_source": "def prepare_for_execution(self, worker_name: str, pipeline: 'Pipeline') -> None:\n \"\"\"Prepares the job for execution, setting the worker name,\n heartbeat information, status and other meta...
trpc__trpc__createBody__downstream__1hop_1bc7bd
trpc/trpc
downstream
1
{ "calls": [ "TRPCError", "constructor" ], "call_files": [ "private/tmp/repos/trpc__trpc/packages/server/src/unstable-core-do-not-import/error/TRPCError.ts", "private/tmp/repos/trpc__trpc/packages/server/src/unstable-core-do-not-import/error/TRPCError.ts" ] }
{ "anchor": "createBody", "anchor_file": "private/tmp/repos/trpc__trpc/packages/server/src/adapters/node-http/incomingMessageToRequest.ts", "anchor_source": "function createBody(\n req: NodeHTTPRequest,\n opts: {\n /**\n * Max body size in bytes. If the body is larger than this, the request will be abort...
agronholm__apscheduler__marshal__upstream__2hop_6bb95c
agronholm/apscheduler
upstream
2
{ "hop_1": [ "_release_job" ], "hop_1_files": [ "private/tmp/repos/agronholm__apscheduler/src/apscheduler/datastores/sqlalchemy.py" ], "hop_2": [ "acquire_jobs", "cleanup", "reap_abandoned_jobs", "release_job" ], "hop_2_files": [ "private/tmp/repos/agronholm__apscheduler/src/ap...
{ "anchor": "marshal", "anchor_file": "private/tmp/repos/agronholm__apscheduler/src/apscheduler/_structures.py", "anchor_source": "def marshal(self, serializer: Serializer) -> dict[str, Any]:\n marshalled = attrs.asdict(self, value_serializer=serialize)\n if self.outcome is JobOutcome.error:\n ...
python-poetry__poetry__create_venv__downstream__2hop_717f83
python-poetry/poetry
downstream
2
{ "hop_1": [ "get_system_env", "build_venv", "use_in_project_venv", "get", "generate_env_name", "remove_venv" ], "hop_1_files": [ "private/tmp/repos/python-poetry__poetry/src/poetry/utils/env/env_manager.py", "private/tmp/repos/python-poetry__poetry/src/poetry/utils/env/env_manager...
{ "anchor": "create_venv", "anchor_file": "private/tmp/repos/python-poetry__poetry/src/poetry/utils/env/env_manager.py", "anchor_source": "def create_venv(\n self,\n name: str | None = None,\n python: Python | None = None,\n force: bool = False,\n ) -> Env:\n if self._env is ...
pallets__click___split_opt__upstream__1hop_faeb06
pallets/click
upstream
1
{ "calls": [ "get_help_extra", "_parse_decls", "join_options", "_normalize_opt" ], "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/formatting.py", "private/tmp/re...
{ "anchor": "_split_opt", "anchor_file": "private/tmp/repos/pallets__click/src/click/parser.py", "anchor_source": "def _split_opt(opt: str) -> tuple[str, str]:\n first = opt[:1]\n if first.isalnum():\n return \"\", opt\n if opt[1:2] == first:\n return opt[:2], opt[2:]\n return first, opt...
colinhacks__zod___null__upstream__2hop_c487ca
colinhacks/zod
upstream
2
{ "hop_1": [ "_null" ], "hop_1_files": [ "private/tmp/repos/colinhacks__zod/packages/zod/src/v4/mini/schemas.ts" ], "hop_2": [ "json", "convertBaseSchema" ], "hop_2_files": [ "private/tmp/repos/colinhacks__zod/packages/zod/src/v4/classic/schemas.ts", "private/tmp/repos/colinhacks__...
{ "anchor": "_null", "anchor_file": "private/tmp/repos/colinhacks__zod/packages/zod/src/v4/core/api.ts", "anchor_source": "export function _null<T extends schemas.$ZodNull>(Class: util.SchemaClass<T>, params?: string | $ZodNullParams): T {\n return new Class({\n type: \"null\",\n ...util.normalizeParams(pa...
colinhacks__zod___stringFormat__upstream__1hop_0a5d24
colinhacks/zod
upstream
1
{ "calls": [ "hostname", "stringFormat", "hash", "hex" ], "call_files": [ "private/tmp/repos/colinhacks__zod/packages/zod/src/v4/mini/schemas.ts", "private/tmp/repos/colinhacks__zod/packages/zod/src/v4/mini/schemas.ts", "private/tmp/repos/colinhacks__zod/packages/zod/src/v4/classic/sch...
{ "anchor": "_stringFormat", "anchor_file": "private/tmp/repos/colinhacks__zod/packages/zod/src/v4/core/api.ts", "anchor_source": "export function _stringFormat<Format extends string>(\n Class: typeof schemas.$ZodCustomStringFormat,\n format: Format,\n fnOrRegex: ((arg: string) => util.MaybeAsync<unknown>) | R...
psf__requests__requote_uri__upstream__2hop_c2881d
psf/requests
upstream
2
{ "hop_1": [ "prepare_url", "resolve_redirects" ], "hop_1_files": [ "private/tmp/repos/requests/src/requests/models.py", "private/tmp/repos/requests/src/requests/sessions.py" ], "hop_2": [ "send", "prepare" ], "hop_2_files": [ "private/tmp/repos/requests/src/requests/sessions.p...
{ "anchor": "requote_uri", "anchor_file": "private/tmp/repos/requests/src/requests/utils.py", "anchor_source": "def requote_uri(uri):\n \"\"\"Re-quote the given URI.\n\n This function passes the given URI through an unquote/quote cycle to\n ensure that it is fully and consistently quoted.\n\n :rtype: ...
celery__celery__OK__downstream__1hop_8ba42f
celery/celery
downstream
1
{ "calls": [ "style" ], "call_files": [ "private/tmp/repos/celery/celery/bin/base.py" ] }
{ "anchor": "OK", "anchor_file": "private/tmp/repos/celery/celery/bin/base.py", "anchor_source": "@cached_property\n def OK(self):\n return self.style(\"OK\", fg=\"green\", bold=True)", "result_size": 1, "created_at": "2026-03-20T16:58:16.326235+00:00" }
colinhacks__zod___boolean__upstream__2hop_25d52d
colinhacks/zod
upstream
2
{ "hop_1": [ "boolean" ], "hop_1_files": [ "private/tmp/repos/colinhacks__zod/packages/zod/src/v4/mini/schemas.ts" ], "hop_2": [ "json", "convertBaseSchema" ], "hop_2_files": [ "private/tmp/repos/colinhacks__zod/packages/zod/src/v4/classic/schemas.ts", "private/tmp/repos/colinhacks...
{ "anchor": "_boolean", "anchor_file": "private/tmp/repos/colinhacks__zod/packages/zod/src/v4/core/api.ts", "anchor_source": "export function _boolean<T extends schemas.$ZodBoolean>(\n Class: util.SchemaClass<T>,\n params?: string | $ZodBooleanParams\n): T {\n return new Class({\n type: \"boolean\",\n .....
colinhacks__zod___stringFormat__downstream__1hop_602023
colinhacks/zod
downstream
1
{ "calls": [ "normalizeParams" ], "call_files": [ "private/tmp/repos/colinhacks__zod/packages/zod/src/v4/core/util.ts" ] }
{ "anchor": "_stringFormat", "anchor_file": "private/tmp/repos/colinhacks__zod/packages/zod/src/v4/core/api.ts", "anchor_source": "export function _stringFormat<Format extends string>(\n Class: typeof schemas.$ZodCustomStringFormat,\n format: Format,\n fnOrRegex: ((arg: string) => util.MaybeAsync<unknown>) | R...
celery__celery__on_apply__downstream__1hop_f73f55
celery/celery
downstream
1
{ "calls": [ "_make_killable_target", "on_start", "TaskPool", "_add_to_pool_map" ], "call_files": [ "private/tmp/repos/celery/celery/concurrency/eventlet.py", "private/tmp/repos/celery/celery/concurrency/eventlet.py", "private/tmp/repos/celery/celery/concurrency/eventlet.py", "priv...
{ "anchor": "on_apply", "anchor_file": "private/tmp/repos/celery/celery/concurrency/eventlet.py", "anchor_source": "def on_apply(self, target, args=None, kwargs=None, callback=None,\n accept_callback=None, **_):\n target = TaskPool._make_killable_target(target)\n self._quick_apply_si...
encode__django-rest-framework__get_responses__downstream__1hop_122c99
encode/django-rest-framework
downstream
1
{ "calls": [ "get_response_serializer", "get_reference", "get_paginator", "map_renderers" ], "call_files": [ "private/tmp/repos/django-rest-framework/rest_framework/schemas/openapi.py", "private/tmp/repos/django-rest-framework/rest_framework/schemas/openapi.py", "private/tmp/repos/djan...
{ "anchor": "get_responses", "anchor_file": "private/tmp/repos/django-rest-framework/rest_framework/schemas/openapi.py", "anchor_source": "def get_responses(self, path, method):\n if method == 'DELETE':\n return {\n '204': {\n 'description': ''\n ...
locustio__locust__error__upstream__1hop_b736e2
locustio/locust
upstream
1
{ "calls": [ "main", "parse_options" ], "call_files": [ "private/tmp/repos/locustio__locust/locust/main.py", "private/tmp/repos/locustio__locust/locust/argument_parser.py" ] }
{ "anchor": "error", "anchor_file": "private/tmp/repos/locustio__locust/locust/argument_parser.py", "anchor_source": "def error(self, message):\n if \"unrecognized arguments:\" in message:\n bad_arg = message.split(\"unrecognized arguments:\")[1].strip().split()[0]\n options = [opt fo...
immerjs__immer__getPlugin__upstream__1hop_153b7e
immerjs/immer
upstream
1
{ "calls": [ "createProxy", "usePatchesInScope", "applyPatches" ], "call_files": [ "private/tmp/repos/immerjs__immer/src/core/immerClass.ts", "private/tmp/repos/immerjs__immer/src/core/scope.ts", "private/tmp/repos/immerjs__immer/src/core/immerClass.ts" ] }
{ "anchor": "getPlugin", "anchor_file": "private/tmp/repos/immerjs__immer/src/utils/plugins.ts", "anchor_source": "export function getPlugin<K extends keyof Plugins>(\n\tpluginKey: K\n): Exclude<Plugins[K], undefined> {\n\tconst plugin = plugins[pluginKey]\n\tif (!plugin) {\n\t\tdie(0, pluginKey)\n\t}\n\t// @ts-i...
trpc__trpc__dataLoader__upstream__1hop_0f5461
trpc/trpc
upstream
1
{ "calls": [ "dispatch", "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/src/...
{ "anchor": "dataLoader", "anchor_file": "private/tmp/repos/trpc__trpc/packages/client/src/internals/dataLoader.ts", "anchor_source": "export function dataLoader<TKey, TValue>(\n batchLoader: BatchLoader<TKey, TValue>,\n) {\n let pendingItems: BatchItem<TKey, TValue>[] | null = null;\n let dispatchTimer: Retur...
psf__requests__get_auth_from_url__upstream__2hop_6ad47f
psf/requests
upstream
2
{ "hop_1": [ "proxy_headers", "proxy_manager_for", "rebuild_proxies", "prepare_auth" ], "hop_1_files": [ "private/tmp/repos/requests/src/requests/adapters.py", "private/tmp/repos/requests/src/requests/adapters.py", "private/tmp/repos/requests/src/requests/sessions.py", "private/tmp...
{ "anchor": "get_auth_from_url", "anchor_file": "private/tmp/repos/requests/src/requests/utils.py", "anchor_source": "def get_auth_from_url(url):\n \"\"\"Given a url with authentication components, extract them into a tuple of\n username,password.\n\n :rtype: (str,str)\n \"\"\"\n parsed = urlparse(...
colinhacks__zod__addIssueToContext__downstream__1hop_090cc2
colinhacks/zod
downstream
1
{ "calls": [ "getErrorMap" ], "call_files": [ "private/tmp/repos/colinhacks__zod/packages/zod/src/v3/errors.ts" ] }
{ "anchor": "addIssueToContext", "anchor_file": "private/tmp/repos/colinhacks__zod/packages/zod/src/v3/helpers/parseUtil.ts", "anchor_source": "export function addIssueToContext(ctx: ParseContext, issueData: IssueData): void {\n const overrideMap = getErrorMap();\n const issue = makeIssue({\n issueData: issu...
trpc__trpc__withPing__upstream__2hop_785a90
trpc/trpc
upstream
2
{ "hop_1": [ "generator", "createBatchStreamProducer", "sseStreamProducer" ], "hop_1_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", "priv...
{ "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...
colinhacks__zod__shallowClone__downstream__1hop_017ba3
colinhacks/zod
downstream
1
{ "calls": [ "isPlainObject" ], "call_files": [ "private/tmp/repos/colinhacks__zod/packages/zod/src/v4/core/util.ts" ] }
{ "anchor": "shallowClone", "anchor_file": "private/tmp/repos/colinhacks__zod/packages/zod/src/v4/core/util.ts", "anchor_source": "export function shallowClone(o: any): any {\n if (isPlainObject(o)) return { ...o };\n if (Array.isArray(o)) return [...o];\n return o;\n}", "result_size": 1, "created_at": "20...
colinhacks__zod__safeParse__downstream__2hop_641106
colinhacks/zod
downstream
2
{ "hop_1": [ "_parseSync" ], "hop_1_files": [ "private/tmp/repos/colinhacks__zod/packages/zod/src/v3/types.ts" ], "hop_2": [ "_parse" ], "hop_2_files": [ "private/tmp/repos/colinhacks__zod/packages/zod/src/v3/types.ts" ] }
{ "anchor": "safeParse", "anchor_file": "private/tmp/repos/colinhacks__zod/packages/zod/src/v3/types.ts", "anchor_source": "safeParse(data: unknown, params?: util.InexactPartial<ParseParams>): SafeParseReturnType<Input, Output> {\n const ctx: ParseContext = {\n common: {\n issues: [],\n asyn...
locustio__locust__raise_argument_type_error__upstream__2hop_2757c1
locustio/locust
upstream
2
{ "hop_1": [ "setup_parser_arguments" ], "hop_1_files": [ "private/tmp/repos/locustio__locust/locust/argument_parser.py" ], "hop_2": [ "default_args_dict", "get_parser", "handle_message" ], "hop_2_files": [ "private/tmp/repos/locustio__locust/locust/argument_parser.py", "privat...
{ "anchor": "raise_argument_type_error", "anchor_file": "private/tmp/repos/locustio__locust/locust/argument_parser.py", "anchor_source": "def raise_argument_type_error(err_msg):\n class ErrorRaisingAction(configargparse.Action):\n def __call__(self, parser, namespace, values, option_string=None):\n ...
sindresorhus__got__proxyEvents__upstream__1hop_b2a259
sindresorhus/got
upstream
1
{ "calls": [ "_onRequest", "asPromise" ], "call_files": [ "private/tmp/repos/got/source/core/index.ts", "private/tmp/repos/got/source/as-promise/index.ts" ] }
{ "anchor": "proxyEvents", "anchor_file": "private/tmp/repos/got/source/core/utils/proxy-events.ts", "anchor_source": "export default function proxyEvents(from: EventEmitter, to: EventEmitter, events: readonly string[]): () => void {\n\tconst eventFunctions: Functions = {};\n\n\tfor (const event of events) {\n\t\...
pallets__click___split_opt__upstream__2hop_d90116
pallets/click
upstream
2
{ "hop_1": [ "get_help_extra", "_parse_decls", "join_options", "_normalize_opt" ], "hop_1_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/formatting.py", "private/tmp/r...
{ "anchor": "_split_opt", "anchor_file": "private/tmp/repos/pallets__click/src/click/parser.py", "anchor_source": "def _split_opt(opt: str) -> tuple[str, str]:\n first = opt[:1]\n if first.isalnum():\n return \"\", opt\n if opt[1:2] == first:\n return opt[:2], opt[2:]\n return first, opt...
rq__rq__schedule_job__upstream__1hop_010521
rq/rq
upstream
1
{ "calls": [ "retry", "_handle_retry_result", "enqueue_at", "schedule" ], "call_files": [ "private/tmp/repos/rq__rq/rq/job.py", "private/tmp/repos/rq__rq/rq/job.py", "private/tmp/repos/rq__rq/rq/queue.py", "private/tmp/repos/rq__rq/rq/repeat.py" ] }
{ "anchor": "schedule_job", "anchor_file": "private/tmp/repos/rq__rq/rq/queue.py", "anchor_source": "def schedule_job(self, job: 'Job', datetime: datetime, pipeline: Optional['Pipeline'] = None):\n \"\"\"Puts job on ScheduledJobRegistry\n\n Args:\n job (Job): _description_\n da...
psf__requests__set_cookie__upstream__2hop_f75911
psf/requests
upstream
2
{ "hop_1": [ "set", "cookiejar_from_dict", "update" ], "hop_1_files": [ "private/tmp/repos/requests/src/requests/cookies.py", "private/tmp/repos/requests/src/requests/cookies.py", "private/tmp/repos/requests/src/requests/cookies.py" ], "hop_2": [ "__setitem__", "copy", "pre...
{ "anchor": "set_cookie", "anchor_file": "private/tmp/repos/requests/src/requests/cookies.py", "anchor_source": "def set_cookie(self, cookie, *args, **kwargs):\n if (\n hasattr(cookie.value, \"startswith\")\n and cookie.value.startswith('\"')\n and cookie.value.endswith('\"...
trpc__trpc__parseConnectionParamsFromUnknown__upstream__2hop_2eed98
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": "parseConnectionParamsFromUnknown", "anchor_file": "private/tmp/repos/trpc__trpc/packages/server/src/unstable-core-do-not-import/http/parseConnectionParams.ts", "anchor_source": "export function parseConnectionParamsFromUnknown(\n parsed: unknown,\n): TRPCRequestInfo['connectionParams'] {\n try {\n ...
rq__rq__fetch_many__downstream__2hop_d9db86
rq/rq
downstream
2
{ "hop_1": [ "key_for", "parse_job_id", "restore" ], "hop_1_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" ], "hop_2": [ "now", "str_to_date", "loads", "as_text", "parse_timeout", "decod...
{ "anchor": "fetch_many", "anchor_file": "private/tmp/repos/rq__rq/rq/job.py", "anchor_source": "@classmethod\n def fetch_many(cls, job_ids: Iterable[str], connection: 'Redis', serializer=None) -> list[Optional['Job']]:\n \"\"\"\n Bulk version of Job.fetch\n\n For any job_ids which a job d...
colinhacks__zod__shallowClone__upstream__1hop_67ff3c
colinhacks/zod
upstream
1
{ "calls": [ "_default", "defaultValue", "prefault" ], "call_files": [ "private/tmp/repos/colinhacks__zod/packages/zod/src/v4/classic/schemas.ts", "private/tmp/repos/colinhacks__zod/packages/zod/src/v4/classic/schemas.ts", "private/tmp/repos/colinhacks__zod/packages/zod/src/v4/mini/schemas...
{ "anchor": "shallowClone", "anchor_file": "private/tmp/repos/colinhacks__zod/packages/zod/src/v4/core/util.ts", "anchor_source": "export function shallowClone(o: any): any {\n if (isPlainObject(o)) return { ...o };\n if (Array.isArray(o)) return [...o];\n return o;\n}", "result_size": 8, "created_at": "20...
colinhacks__zod__min__downstream__2hop_4196f6
colinhacks/zod
downstream
2
{ "hop_1": [ "_addCheck" ], "hop_1_files": [ "private/tmp/repos/colinhacks__zod/packages/zod/src/v3/types.ts" ], "hop_2": [ "ZodDate", "constructor" ], "hop_2_files": [ "private/tmp/repos/colinhacks__zod/packages/zod/src/v3/types.ts", "private/tmp/repos/colinhacks__zod/packages/zod...
{ "anchor": "min", "anchor_file": "private/tmp/repos/colinhacks__zod/packages/zod/src/v3/types.ts", "anchor_source": "min(minDate: Date, message?: errorUtil.ErrMessage) {\n return this._addCheck({\n kind: \"min\",\n value: minDate.getTime(),\n message: errorUtil.toString(message),\n });\n }"...
trpc__trpc__isFunction__upstream__1hop_98050a
trpc/trpc
upstream
1
{ "calls": [ "isPromise", "unwrapLazyArg", "createCallerFactory", "createCallerInner", "createCaller" ], "call_files": [ "private/tmp/repos/trpc__trpc/packages/server/src/unstable-core-do-not-import/stream/jsonl.ts", "private/tmp/repos/trpc__trpc/packages/tanstack-react-query/src/inter...
{ "anchor": "isFunction", "anchor_file": "private/tmp/repos/trpc__trpc/packages/server/src/unstable-core-do-not-import/utils.ts", "anchor_source": "export function isFunction(fn: unknown): fn is AnyFn {\n return typeof fn === 'function';\n}", "result_size": 6, "created_at": "2026-03-20T16:58:18.199328+00:00"...
trpc__trpc__mergeWithoutOverrides__upstream__1hop_4f4361
trpc/trpc
upstream
1
{ "calls": [ "mergeRouters", "createNewBuilder" ], "call_files": [ "private/tmp/repos/trpc__trpc/packages/server/src/unstable-core-do-not-import/router.ts", "private/tmp/repos/trpc__trpc/packages/server/src/unstable-core-do-not-import/procedureBuilder.ts" ] }
{ "anchor": "mergeWithoutOverrides", "anchor_file": "private/tmp/repos/trpc__trpc/packages/server/src/unstable-core-do-not-import/utils.ts", "anchor_source": "export function mergeWithoutOverrides<TType extends Record<string, unknown>>(\n obj1: TType,\n ...objs: Partial<TType>[]\n): TType {\n const newObj: TTy...
agronholm__apscheduler__start_in_background__downstream__1hop_94898a
agronholm/apscheduler
downstream
1
{ "calls": [ "_ensure_services_ready" ], "call_files": [ "private/tmp/repos/agronholm__apscheduler/src/apscheduler/_schedulers/sync.py" ] }
{ "anchor": "start_in_background", "anchor_file": "private/tmp/repos/agronholm__apscheduler/src/apscheduler/_schedulers/sync.py", "anchor_source": "def start_in_background(self) -> None:\n \"\"\"\n Launch the scheduler in a new thread.\n\n This method registers :mod:`atexit` hooks to shut dow...
rq__rq__cleanup_execution__downstream__1hop_7bfde3
rq/rq
downstream
1
{ "calls": [ "delete", "set_current_job_id" ], "call_files": [ "private/tmp/repos/rq__rq/rq/executions.py", "private/tmp/repos/rq__rq/rq/worker/base.py" ] }
{ "anchor": "cleanup_execution", "anchor_file": "private/tmp/repos/rq__rq/rq/executions.py", "anchor_source": "def cleanup_execution(worker: 'BaseWorker', job: Job, pipeline: 'Pipeline') -> None:\n \"\"\"Cleans up the execution of a job.\n It will remove the job execution record from the StartedJobRegistry ...
agronholm__apscheduler__publish_local__upstream__1hop_9e7948
agronholm/apscheduler
upstream
1
{ "calls": [ "_listen_notifications", "publish", "_listen_messages" ], "call_files": [ "private/tmp/repos/agronholm__apscheduler/src/apscheduler/eventbrokers/psycopg.py", "private/tmp/repos/agronholm__apscheduler/src/apscheduler/eventbrokers/local.py", "private/tmp/repos/agronholm__apsched...
{ "anchor": "publish_local", "anchor_file": "private/tmp/repos/agronholm__apscheduler/src/apscheduler/eventbrokers/base.py", "anchor_source": "async def publish_local(self, event: Event) -> None:\n event_type = type(event)\n one_shot_tokens: list[object] = []\n for subscription in self._subsc...
encode__django-rest-framework___get_dynamic_route__downstream__1hop_258480
encode/django-rest-framework
downstream
1
{ "calls": [ "escape_curly_brackets" ], "call_files": [ "private/tmp/repos/django-rest-framework/rest_framework/routers.py" ] }
{ "anchor": "_get_dynamic_route", "anchor_file": "private/tmp/repos/django-rest-framework/rest_framework/routers.py", "anchor_source": "def _get_dynamic_route(self, route, action):\n initkwargs = route.initkwargs.copy()\n initkwargs.update(action.kwargs)\n\n url_path = escape_curly_brackets(a...
trpc__trpc__configureTRPCHeyApiClient__downstream__2hop_714ef9
trpc/trpc
downstream
2
{ "hop_1": [ "createTRPCHeyApiClientConfig", "createTRPCErrorInterceptor" ], "hop_1_files": [ "private/tmp/repos/trpc__trpc/packages/openapi/src/heyapi/index.ts", "private/tmp/repos/trpc__trpc/packages/openapi/src/heyapi/index.ts" ], "hop_2": [ "resolveTransformer", "serialize", "d...
{ "anchor": "configureTRPCHeyApiClient", "anchor_file": "private/tmp/repos/trpc__trpc/packages/openapi/src/heyapi/index.ts", "anchor_source": "export function configureTRPCHeyApiClient(\n client: HeyApiFetchClient,\n opts: TRPCHeyApiClientOptions &\n Omit<HeyApiConfig, keyof TRPCHeyApiClientConfig>,\n) {\n ...
trpc__trpc__timerResource__upstream__2hop_51570a
trpc/trpc
upstream
2
{ "hop_1": [ "withTimeout", "takeWithGrace", "withPing" ], "hop_1_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/utils/asyncIterable.ts", "private/t...
{ "anchor": "timerResource", "anchor_file": "private/tmp/repos/trpc__trpc/packages/server/src/unstable-core-do-not-import/stream/utils/timerResource.ts", "anchor_source": "export function timerResource(ms: number) {\n let timer: ReturnType<typeof setTimeout> | null = null;\n\n return makeResource(\n {\n ...
psf__requests__to_native_string__upstream__2hop_86b716
psf/requests
upstream
2
{ "hop_1": [ "_basic_auth_str", "prepare_headers", "prepare_url", "resolve_redirects", "get_full_url", "prepare_method" ], "hop_1_files": [ "private/tmp/repos/requests/src/requests/auth.py", "private/tmp/repos/requests/src/requests/models.py", "private/tmp/repos/requests/src/re...
{ "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...
colinhacks__zod__shallowClone__downstream__2hop_fcd540
colinhacks/zod
downstream
2
{ "hop_1": [ "isPlainObject" ], "hop_1_files": [ "private/tmp/repos/colinhacks__zod/packages/zod/src/v4/core/util.ts" ], "hop_2": [ "isObject" ], "hop_2_files": [ "private/tmp/repos/colinhacks__zod/packages/zod/src/v4/core/util.ts" ] }
{ "anchor": "shallowClone", "anchor_file": "private/tmp/repos/colinhacks__zod/packages/zod/src/v4/core/util.ts", "anchor_source": "export function shallowClone(o: any): any {\n if (isPlainObject(o)) return { ...o };\n if (Array.isArray(o)) return [...o];\n return o;\n}", "result_size": 1, "created_at": "20...
scrapy__scrapy___get_project_only_cmds__downstream__2hop_b7dee4
scrapy/scrapy
downstream
2
{ "hop_1": [ "_get_commands_dict" ], "hop_1_files": [ "private/tmp/repos/scrapy__scrapy/scrapy/cmdline.py" ], "hop_2": [ "_get_commands_from_entry_points", "_get_commands_from_module" ], "hop_2_files": [ "private/tmp/repos/scrapy__scrapy/scrapy/cmdline.py", "private/tmp/repos/scrap...
{ "anchor": "_get_project_only_cmds", "anchor_file": "private/tmp/repos/scrapy__scrapy/scrapy/cmdline.py", "anchor_source": "def _get_project_only_cmds(settings: BaseSettings) -> set[str]:\n return set(_get_commands_dict(settings, inproject=True)) - set(\n _get_commands_dict(settings, inproject=False)\n...
colinhacks__zod__nonnegative__downstream__1hop_46cf96
colinhacks/zod
downstream
1
{ "calls": [ "_addCheck" ], "call_files": [ "private/tmp/repos/colinhacks__zod/packages/zod/src/v3/types.ts" ] }
{ "anchor": "nonnegative", "anchor_file": "private/tmp/repos/colinhacks__zod/packages/zod/src/v3/types.ts", "anchor_source": "nonnegative(message?: errorUtil.ErrMessage) {\n return this._addCheck({\n kind: \"min\",\n value: 0,\n inclusive: true,\n message: errorUtil.toString(message),\n ...
rq__rq__handle_job_retry__upstream__2hop_4405fc
rq/rq
upstream
2
{ "hop_1": [ "perform_job" ], "hop_1_files": [ "private/tmp/repos/rq__rq/rq/worker/base.py" ], "hop_2": [ "execute_job", "main_work_horse" ], "hop_2_files": [ "private/tmp/repos/rq__rq/rq/worker/worker_classes.py", "private/tmp/repos/rq__rq/rq/worker/base.py" ] }
{ "anchor": "handle_job_retry", "anchor_file": "private/tmp/repos/rq__rq/rq/worker/base.py", "anchor_source": "def handle_job_retry(self, job: 'Job', queue: 'Queue', retry: Retry, started_job_registry: StartedJobRegistry):\n \"\"\"Handles the retry of certain job.\n It will remove the job from the `...
pytest-dev__pytest__saferepr__downstream__2hop_cfb590
pytest-dev/pytest
downstream
2
{ "hop_1": [ "repr" ], "hop_1_files": [ "private/tmp/repos/pytest-dev__pytest/src/_pytest/_io/saferepr.py" ], "hop_2": [ "_ellipsize", "_format_repr_exception" ], "hop_2_files": [ "private/tmp/repos/pytest-dev__pytest/src/_pytest/_io/saferepr.py", "private/tmp/repos/pytest-dev__pyt...
{ "anchor": "saferepr", "anchor_file": "private/tmp/repos/pytest-dev__pytest/src/_pytest/_io/saferepr.py", "anchor_source": "def saferepr(\n obj: object, maxsize: int | None = DEFAULT_REPR_MAX_SIZE, use_ascii: bool = False\n) -> str:\n \"\"\"Return a size-limited safe repr-string for the given object.\n\n ...
psf__requests__get_encoding_from_headers__upstream__1hop_6202d0
psf/requests
upstream
1
{ "calls": [ "get_unicode_from_response", "build_response" ], "call_files": [ "private/tmp/repos/requests/src/requests/utils.py", "private/tmp/repos/requests/src/requests/adapters.py" ] }
{ "anchor": "get_encoding_from_headers", "anchor_file": "private/tmp/repos/requests/src/requests/utils.py", "anchor_source": "def get_encoding_from_headers(headers):\n \"\"\"Returns encodings from given HTTP Header Dict.\n\n :param headers: dictionary to extract encoding from.\n :rtype: str\n \"\"\"\n...
pallets__jinja__parse_call__downstream__1hop_b80e17
pallets/jinja
downstream
1
{ "calls": [ "parse_call_args", "Call" ], "call_files": [ "private/tmp/repos/pallets__jinja/src/jinja2/parser.py", "private/tmp/repos/pallets__jinja/src/jinja2/nodes.py" ] }
{ "anchor": "parse_call", "anchor_file": "private/tmp/repos/pallets__jinja/src/jinja2/parser.py", "anchor_source": "def parse_call(self, node: nodes.Expr) -> nodes.Call:\n # The lparen will be expected in parse_call_args, but the lineno\n # needs to be recorded before the stream is advanced.\n ...
PyCQA__flake8__load_config__downstream__1hop_db78c4
PyCQA/flake8
downstream
1
{ "calls": [ "_find_config_file" ], "call_files": [ "private/tmp/repos/PyCQA__flake8/src/flake8/options/config.py" ] }
{ "anchor": "load_config", "anchor_file": "private/tmp/repos/PyCQA__flake8/src/flake8/options/config.py", "anchor_source": "def load_config(\n config: str | None,\n extra: list[str],\n *,\n isolated: bool = False,\n) -> tuple[configparser.RawConfigParser, str]:\n \"\"\"Load the configuration given ...
colinhacks__zod__jwt__downstream__2hop_c50ae7
colinhacks/zod
downstream
2
{ "hop_1": [ "_addCheck" ], "hop_1_files": [ "private/tmp/repos/colinhacks__zod/packages/zod/src/v3/types.ts" ], "hop_2": [ "ZodString", "constructor" ], "hop_2_files": [ "private/tmp/repos/colinhacks__zod/packages/zod/src/v3/types.ts", "private/tmp/repos/colinhacks__zod/packages/z...
{ "anchor": "jwt", "anchor_file": "private/tmp/repos/colinhacks__zod/packages/zod/src/v3/types.ts", "anchor_source": "jwt(options?: { alg?: string; message?: string | undefined }) {\n return this._addCheck({ kind: \"jwt\", ...errorUtil.errToObj(options) });\n }", "result_size": 2, "created_at": "2026-03-2...
paramiko__paramiko__shutdown__downstream__1hop_9941de
paramiko/paramiko
downstream
1
{ "calls": [ "_send_eof" ], "call_files": [ "private/tmp/repos/paramiko/paramiko/channel.py" ] }
{ "anchor": "shutdown", "anchor_file": "private/tmp/repos/paramiko/paramiko/channel.py", "anchor_source": "def shutdown(self, how):\n \"\"\"\n Shut down one or both halves of the connection. If ``how`` is 0,\n further receives are disallowed. If ``how`` is 1, further sends\n are disa...