sample_id string | repo string | question_type string | hop_depth int64 | gold unknown | metadata unknown |
|---|---|---|---|---|---|
encode__django-rest-framework__initial__downstream__2hop_fd11d7 | encode/django-rest-framework | downstream | 2 | {
"hop_1": [
"perform_authentication",
"check_permissions",
"determine_version",
"perform_content_negotiation",
"get_format_suffix",
"check_throttles"
],
"hop_1_files": [
"private/tmp/repos/django-rest-framework/rest_framework/views.py",
"private/tmp/repos/django-rest-framework/res... | {
"anchor": "initial",
"anchor_file": "private/tmp/repos/django-rest-framework/rest_framework/views.py",
"anchor_source": "def initial(self, request, *args, **kwargs):\n \"\"\"\n Runs anything that needs to occur prior to calling the method handler.\n \"\"\"\n self.format_kwarg = self.... |
encode__django-rest-framework__check_throttles__downstream__1hop_ed5007 | encode/django-rest-framework | downstream | 1 | {
"calls": [
"get_throttles",
"throttled"
],
"call_files": [
"private/tmp/repos/django-rest-framework/rest_framework/views.py",
"private/tmp/repos/django-rest-framework/rest_framework/views.py"
]
} | {
"anchor": "check_throttles",
"anchor_file": "private/tmp/repos/django-rest-framework/rest_framework/views.py",
"anchor_source": "def check_throttles(self, request):\n \"\"\"\n Check if request should be throttled.\n Raises an appropriate exception if the request is throttled.\n \"\"\... |
encode__httpx__read__upstream__1hop_d0c099 | encode/httpx | upstream | 1 | {
"calls": [
"main",
"_send_handling_redirects",
"sync_auth_flow",
"_send_handling_auth",
"send"
],
"call_files": [
"private/tmp/repos/encode__httpx/httpx/_main.py",
"private/tmp/repos/encode__httpx/httpx/_client.py",
"private/tmp/repos/encode__httpx/httpx/_auth.py",
"private/t... | {
"anchor": "read",
"anchor_file": "private/tmp/repos/encode__httpx/httpx/_models.py",
"anchor_source": "def read(self) -> bytes:\n \"\"\"\n Read and return the response content.\n \"\"\"\n if not hasattr(self, \"_content\"):\n self._content = b\"\".join(self.iter_bytes())\n... |
trpc__trpc__mutation__upstream__1hop_56b212 | trpc/trpc | upstream | 1 | {
"calls": [
"setMutationDefaults",
"trpcMutationOptions",
"createUtilityFunctions",
"useAction",
"experimental_createActionHook"
],
"call_files": [
"private/tmp/repos/trpc__trpc/packages/react-query/src/utils/createUtilityFunctions.ts",
"private/tmp/repos/trpc__trpc/packages/tanstack-... | {
"anchor": "mutation",
"anchor_file": "private/tmp/repos/trpc__trpc/packages/client/src/internals/TRPCUntypedClient.ts",
"anchor_source": "public mutation(path: string, input?: unknown, opts?: TRPCRequestOptions) {\n return this.requestAsPromise<unknown, unknown>({\n type: 'mutation',\n path,\n ... |
pallets__jinja__get_bucket__upstream__2hop_9cc1dc | pallets/jinja | upstream | 2 | {
"hop_1": [
"load"
],
"hop_1_files": [
"private/tmp/repos/pallets__jinja/src/jinja2/loaders.py"
],
"hop_2": [
"_load_template",
"load"
],
"hop_2_files": [
"private/tmp/repos/pallets__jinja/src/jinja2/environment.py",
"private/tmp/repos/pallets__jinja/src/jinja2/loaders.py"
]
} | {
"anchor": "get_bucket",
"anchor_file": "private/tmp/repos/pallets__jinja/src/jinja2/bccache.py",
"anchor_source": "def get_bucket(\n self,\n environment: \"Environment\",\n name: str,\n filename: str | None,\n source: str,\n ) -> Bucket:\n \"\"\"Return a cache bucket... |
python-poetry__poetry___try_requires_both__downstream__1hop_6338f8 | python-poetry/poetry | downstream | 1 | {
"calls": [
"_single_term_where",
"_terse"
],
"call_files": [
"private/tmp/repos/python-poetry__poetry/src/poetry/mixology/incompatibility.py",
"private/tmp/repos/python-poetry__poetry/src/poetry/mixology/incompatibility.py"
]
} | {
"anchor": "_try_requires_both",
"anchor_file": "private/tmp/repos/python-poetry__poetry/src/poetry/mixology/incompatibility.py",
"anchor_source": "def _try_requires_both(\n self,\n other: Incompatibility,\n this_line: int | None,\n other_line: int | None,\n ) -> str | None:\n ... |
scrapy__scrapy__create_deprecated_class__downstream__1hop_265854 | scrapy/scrapy | downstream | 1 | {
"calls": [
"__subclasscheck__",
"_clspath",
"DeprecatedClass"
],
"call_files": [
"private/tmp/repos/scrapy__scrapy/scrapy/utils/deprecate.py",
"private/tmp/repos/scrapy__scrapy/scrapy/utils/deprecate.py",
"private/tmp/repos/scrapy__scrapy/scrapy/utils/deprecate.py"
]
} | {
"anchor": "create_deprecated_class",
"anchor_file": "private/tmp/repos/scrapy__scrapy/scrapy/utils/deprecate.py",
"anchor_source": "def create_deprecated_class(\n name: str,\n new_class: type,\n clsdict: dict[str, Any] | None = None,\n warn_category: type[Warning] = ScrapyDeprecationWarning,\n wa... |
python-poetry__poetry___init_pyproject__downstream__2hop_db3c2c | python-poetry/poetry | downstream | 2 | {
"hop_1": [
"_determine_requirements",
"_format_requirements",
"_validate_author"
],
"hop_1_files": [
"private/tmp/repos/python-poetry__poetry/src/poetry/console/commands/init.py",
"private/tmp/repos/python-poetry__poetry/src/poetry/console/commands/init.py",
"private/tmp/repos/python-poe... | {
"anchor": "_init_pyproject",
"anchor_file": "private/tmp/repos/python-poetry__poetry/src/poetry/console/commands/init.py",
"anchor_source": "def _init_pyproject(\n self,\n project_path: Path,\n allow_interactive: bool = True,\n layout_name: str = \"standard\",\n readme_format:... |
colinhacks__zod__mergeObjectAsync__downstream__1hop_f82f5d | colinhacks/zod | downstream | 1 | {
"calls": [
"mergeObjectSync"
],
"call_files": [
"private/tmp/repos/colinhacks__zod/packages/zod/src/v3/helpers/parseUtil.ts"
]
} | {
"anchor": "mergeObjectAsync",
"anchor_file": "private/tmp/repos/colinhacks__zod/packages/zod/src/v3/helpers/parseUtil.ts",
"anchor_source": "static async mergeObjectAsync(\n status: ParseStatus,\n pairs: { key: ParseReturnType<any>; value: ParseReturnType<any> }[]\n ): Promise<SyncParseReturnType<any>> {... |
trpc__trpc__getPendingRequests__upstream__1hop_0f56a2 | trpc/trpc | upstream | 1 | {
"calls": [
"hasPendingRequests",
"getRequests",
"hasPendingSubscriptions",
"setupWebSocketListeners",
"reconnect"
],
"call_files": [
"private/tmp/repos/trpc__trpc/packages/client/src/links/wsLink/wsClient/requestManager.ts",
"private/tmp/repos/trpc__trpc/packages/client/src/links/wsL... | {
"anchor": "getPendingRequests",
"anchor_file": "private/tmp/repos/trpc__trpc/packages/client/src/links/wsLink/wsClient/requestManager.ts",
"anchor_source": "public getPendingRequests() {\n return Object.values(this.pendingRequests);\n }",
"result_size": 6,
"created_at": "2026-03-20T16:58:18.199328+00:00... |
pallets__click__resolve_color_default__upstream__1hop_d852c6 | pallets/click | upstream | 1 | {
"calls": [
"echo_via_pager",
"progressbar",
"echo"
],
"call_files": [
"private/tmp/repos/pallets__click/src/click/termui.py",
"private/tmp/repos/pallets__click/src/click/termui.py",
"private/tmp/repos/pallets__click/src/click/utils.py"
]
} | {
"anchor": "resolve_color_default",
"anchor_file": "private/tmp/repos/pallets__click/src/click/globals.py",
"anchor_source": "def resolve_color_default(color: bool | None = None) -> bool | None:\n \"\"\"Internal helper to get the default value of the color flag. If a\n value is passed it's returned unchan... |
trpc__trpc__getQueryKey__downstream__2hop_62f570 | trpc/trpc | downstream | 2 | {
"hop_1": [
"getQueryKeyInternal"
],
"hop_1_files": [
"private/tmp/repos/trpc__trpc/packages/react-query/src/internals/getQueryKey.ts"
],
"hop_2": [
"isObject"
],
"hop_2_files": [
"private/tmp/repos/trpc__trpc/packages/server/src/unstable-core-do-not-import/utils.ts"
]
} | {
"anchor": "getQueryKey",
"anchor_file": "private/tmp/repos/trpc__trpc/packages/react-query/src/internals/getQueryKey.ts",
"anchor_source": "export function getQueryKey<TProcedureOrRouter extends ProcedureOrRouter>(\n procedureOrRouter: TProcedureOrRouter,\n ..._params: GetParams<TProcedureOrRouter>\n) {\n co... |
colinhacks__zod___isoDuration__upstream__2hop_ee133e | colinhacks/zod | upstream | 2 | {
"hop_1": [
"duration"
],
"hop_1_files": [
"private/tmp/repos/colinhacks__zod/packages/zod/src/v4/classic/iso.ts"
],
"hop_2": [
"convertBaseSchema",
"duration"
],
"hop_2_files": [
"private/tmp/repos/colinhacks__zod/packages/zod/src/v4/classic/from-json-schema.ts",
"private/tmp/rep... | {
"anchor": "_isoDuration",
"anchor_file": "private/tmp/repos/colinhacks__zod/packages/zod/src/v4/core/api.ts",
"anchor_source": "export function _isoDuration<T extends schemas.$ZodISODuration>(\n Class: util.SchemaClass<T>,\n params?: string | $ZodISODurationParams | $ZodCheckISODurationParams\n): T {\n retur... |
python-poetry__poetry__normalize__downstream__1hop_598821 | python-poetry/poetry | downstream | 1 | {
"calls": [
"is_reserved"
],
"call_files": [
"private/tmp/repos/python-poetry__poetry/src/poetry/config/config.py"
]
} | {
"anchor": "normalize",
"anchor_file": "private/tmp/repos/python-poetry__poetry/src/poetry/config/config.py",
"anchor_source": "@classmethod\n def normalize(cls, policy: str) -> list[str]:\n if boolean_validator(policy):\n if boolean_normalizer(policy):\n return [\":all:\"]\n ... |
pallets__jinja___define_ref__upstream__2hop_51067b | pallets/jinja | upstream | 2 | {
"hop_1": [
"declare_parameter",
"load",
"store"
],
"hop_1_files": [
"private/tmp/repos/pallets__jinja/src/jinja2/idtracking.py",
"private/tmp/repos/pallets__jinja/src/jinja2/idtracking.py",
"private/tmp/repos/pallets__jinja/src/jinja2/idtracking.py"
],
"hop_2": [
"visit_For",
... | {
"anchor": "_define_ref",
"anchor_file": "private/tmp/repos/pallets__jinja/src/jinja2/idtracking.py",
"anchor_source": "def _define_ref(self, name: str, load: tuple[str, str | None] | None = None) -> str:\n ident = f\"l_{self.level}_{name}\"\n self.refs[name] = ident\n if load is not None:\n... |
locustio__locust__get_html_report__upstream__1hop_41da23 | locustio/locust | upstream | 1 | {
"calls": [
"main",
"save_html_report",
"stats_report"
],
"call_files": [
"private/tmp/repos/locustio__locust/locust/main.py",
"private/tmp/repos/locustio__locust/locust/main.py",
"private/tmp/repos/locustio__locust/locust/web.py"
]
} | {
"anchor": "get_html_report",
"anchor_file": "private/tmp/repos/locustio__locust/locust/html.py",
"anchor_source": "def get_html_report(\n environment,\n show_download_link=True,\n theme=\"\",\n):\n request_stats = environment.runner.stats\n\n start_time = format_utc_timestamp(request_stats.start_... |
rq__rq__remove__upstream__1hop_0f7164 | rq/rq | upstream | 1 | {
"calls": [
"enqueue_dependents",
"enqueue_scheduled_jobs",
"_remove_from_registries"
],
"call_files": [
"private/tmp/repos/rq__rq/rq/queue.py",
"private/tmp/repos/rq__rq/rq/scheduler.py",
"private/tmp/repos/rq__rq/rq/job.py"
]
} | {
"anchor": "remove",
"anchor_file": "private/tmp/repos/rq__rq/rq/registry.py",
"anchor_source": "def remove(self, job: Union[Job, str], pipeline: Optional['Pipeline'] = None, delete_job: bool = False):\n \"\"\"Removes job from registry and deletes it if `delete_job == True`\n\n Args:\n j... |
colinhacks__zod__min__downstream__2hop_85d644 | 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": "min",
"anchor_file": "private/tmp/repos/colinhacks__zod/packages/zod/src/v3/types.ts",
"anchor_source": "min(minLength: number, message?: errorUtil.ErrMessage) {\n return this._addCheck({\n kind: \"min\",\n value: minLength,\n ...errorUtil.errToObj(message),\n });\n }",
"resul... |
rq__rq__delete_dependents__upstream__2hop_359076 | rq/rq | upstream | 2 | {
"hop_1": [
"delete"
],
"hop_1_files": [
"private/tmp/repos/rq__rq/rq/job.py"
],
"hop_2": [
"cleanup",
"remove"
],
"hop_2_files": [
"private/tmp/repos/rq__rq/rq/job.py",
"private/tmp/repos/rq__rq/rq/registry.py"
]
} | {
"anchor": "delete_dependents",
"anchor_file": "private/tmp/repos/rq__rq/rq/job.py",
"anchor_source": "def delete_dependents(self, pipeline: Optional['Pipeline'] = None):\n \"\"\"Delete jobs depending on this job.\n\n Args:\n pipeline (Optional[Pipeline], optional): Redis' pipeline. Defa... |
rq__rq__get_status__upstream__2hop_5572cf | rq/rq | upstream | 2 | {
"hop_1": [
"dependencies_are_met",
"is_finished",
"setup_dependencies",
"is_scheduled",
"is_canceled",
"enqueue_dependents",
"is_stopped",
"is_queued",
"is_failed",
"is_deferred",
"monitor_work_horse",
"enqueue_job",
"is_started"
],
"hop_1_files": [
"priva... | {
"anchor": "get_status",
"anchor_file": "private/tmp/repos/rq__rq/rq/job.py",
"anchor_source": "def get_status(self, refresh: bool = True) -> JobStatus:\n \"\"\"Gets the Job Status\n\n Args:\n refresh (bool, optional): Whether to refresh the Job. Defaults to True.\n\n Raises:\n ... |
colinhacks__zod__pick__downstream__1hop_0a574e | colinhacks/zod | downstream | 1 | {
"calls": [
"assignProp",
"shape",
"mergeDefs"
],
"call_files": [
"private/tmp/repos/colinhacks__zod/packages/zod/src/v4/core/util.ts",
"private/tmp/repos/colinhacks__zod/packages/zod/src/v4/core/util.ts",
"private/tmp/repos/colinhacks__zod/packages/zod/src/v4/core/util.ts"
]
} | {
"anchor": "pick",
"anchor_file": "private/tmp/repos/colinhacks__zod/packages/zod/src/v4/core/util.ts",
"anchor_source": "export function pick(schema: schemas.$ZodObject, mask: Record<string, unknown>): any {\n const currDef = schema._zod.def;\n\n const checks = currDef.checks;\n const hasChecks = checks && c... |
locustio__locust__useForm__upstream__1hop_0055ae | locustio/locust | upstream | 1 | {
"calls": [
"[mode]",
"onChange",
"SwarmForm"
],
"call_files": [
"private/tmp/repos/locustio__locust/locust/webui/src/hooks/useForm.ts",
"private/tmp/repos/locustio__locust/locust/webui/src/hooks/useForm.ts",
"private/tmp/repos/locustio__locust/locust/webui/src/components/SwarmForm/SwarmF... | {
"anchor": "useForm",
"anchor_file": "private/tmp/repos/locustio__locust/locust/webui/src/hooks/useForm.ts",
"anchor_source": "export default function useForm() {\n const [errors, setErrors] = useState<Errors>({});\n const [isValid, setIsValid] = useState<boolean>(true);\n\n const validate = (\n name: stri... |
locustio__locust__get_ratio__upstream__2hop_b8d233 | locustio/locust | upstream | 2 | {
"hop_1": [
"print_task_ratio_json",
"tasks",
"print_task_ratio",
"get_html_report"
],
"hop_1_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: ... |
locustio__locust___wait_for_workers_report_after_ramp_up__upstream__2hop_d65e0d | locustio/locust | upstream | 2 | {
"hop_1": [
"start"
],
"hop_1_files": [
"private/tmp/repos/locustio__locust/locust/runners.py"
],
"hop_2": [
"main",
"heartbeat_worker",
"handle_message"
],
"hop_2_files": [
"private/tmp/repos/locustio__locust/locust/main.py",
"private/tmp/repos/locustio__locust/locust/runners... | {
"anchor": "_wait_for_workers_report_after_ramp_up",
"anchor_file": "private/tmp/repos/locustio__locust/locust/runners.py",
"anchor_source": "@functools.lru_cache\n def _wait_for_workers_report_after_ramp_up(self) -> float:\n \"\"\"\n The amount of time to wait after a ramp-up in order for all t... |
trpc__trpc__isFormData__upstream__1hop_a60af4 | trpc/trpc | upstream | 1 | {
"calls": [
"createServerAction",
"experimental_createServerActionHandler",
"actionHandler",
"experimental_serverActionLink"
],
"call_files": [
"private/tmp/repos/trpc__trpc/packages/next/src/app-dir/server.ts",
"private/tmp/repos/trpc__trpc/packages/next/src/app-dir/server.ts",
"priv... | {
"anchor": "isFormData",
"anchor_file": "private/tmp/repos/trpc__trpc/packages/next/src/app-dir/shared.ts",
"anchor_source": "export function isFormData(value: unknown): value is FormData {\n if (typeof FormData === 'undefined') {\n // FormData is not supported\n return false;\n }\n return value instanc... |
locustio__locust__update_stats_history__upstream__1hop_a5bd1a | locustio/locust | upstream | 1 | {
"calls": [
"stats_history",
"get_html_report"
],
"call_files": [
"private/tmp/repos/locustio__locust/locust/stats.py",
"private/tmp/repos/locustio__locust/locust/html.py"
]
} | {
"anchor": "update_stats_history",
"anchor_file": "private/tmp/repos/locustio__locust/locust/stats.py",
"anchor_source": "def update_stats_history(runner: Runner, timestamp: str | None = None) -> None:\n stats = runner.stats\n timestamp = timestamp or format_utc_timestamp(time.time())\n current_response... |
trpc__trpc__createTRPCOptionsResult__upstream__1hop_4ec9c9 | 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": "createTRPCOptionsResult",
"anchor_file": "private/tmp/repos/trpc__trpc/packages/tanstack-react-query/src/internals/utils.ts",
"anchor_source": "export function createTRPCOptionsResult(value: {\n path: string[];\n}): TRPCQueryOptionsResult['trpc'] {\n const path = value.path.join('.');\n\n return {... |
rq__rq__parse_composite_key__upstream__1hop_f70714 | rq/rq | upstream | 1 | {
"calls": [
"parse_job_id",
"from_composite_key",
"get_job_and_execution_ids"
],
"call_files": [
"private/tmp/repos/rq__rq/rq/registry.py",
"private/tmp/repos/rq__rq/rq/executions.py",
"private/tmp/repos/rq__rq/rq/registry.py"
]
} | {
"anchor": "parse_composite_key",
"anchor_file": "private/tmp/repos/rq__rq/rq/utils.py",
"anchor_source": "def parse_composite_key(composite_key: str) -> tuple[str, str]:\n \"\"\"Method returns a parsed composite key.\n\n Args:\n composite_key (str): the composite key to parse\n\n Returns:\n ... |
immerjs__immer__currentImpl__downstream__2hop_4f80e9 | immerjs/immer | downstream | 2 | {
"hop_1": [
"each",
"shouldUseStrictIteration",
"isDraftable",
"shallowCopy",
"isFrozen"
],
"hop_1_files": [
"private/tmp/repos/immerjs__immer/src/utils/common.ts",
"private/tmp/repos/immerjs__immer/src/core/immerClass.ts",
"private/tmp/repos/immerjs__immer/src/utils/common.ts",
... | {
"anchor": "currentImpl",
"anchor_file": "private/tmp/repos/immerjs__immer/src/core/current.ts",
"anchor_source": "function currentImpl(value: any): any {\n\tif (!isDraftable(value) || isFrozen(value)) return value\n\tconst state: ImmerState | undefined = value[DRAFT_STATE]\n\tlet copy: any\n\tlet strict = true ... |
psf__requests__build_response__downstream__2hop_fa0f8f | psf/requests | downstream | 2 | {
"hop_1": [
"get_encoding_from_headers",
"Response",
"extract_cookies_to_jar",
"CaseInsensitiveDict"
],
"hop_1_files": [
"private/tmp/repos/requests/src/requests/utils.py",
"private/tmp/repos/requests/src/requests/models.py",
"private/tmp/repos/requests/src/requests/cookies.py",
"... | {
"anchor": "build_response",
"anchor_file": "private/tmp/repos/requests/src/requests/adapters.py",
"anchor_source": "def build_response(self, req, resp):\n \"\"\"Builds a :class:`Response <requests.Response>` object from a urllib3\n response. This should not be called from user code, and is only ex... |
locustio__locust__add_argument__upstream__2hop_dc35f6 | locustio/locust | upstream | 2 | {
"hop_1": [
"parse_locustfile_option",
"get_empty_argument_parser"
],
"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",
"main",
"get_parser",
"handl... | {
"anchor": "add_argument",
"anchor_file": "private/tmp/repos/locustio__locust/locust/argument_parser.py",
"anchor_source": "def add_argument(self, *args, **kwargs) -> configargparse.Action:\n \"\"\"\n This method supports the same args as ArgumentParser.add_argument(..)\n as well as the addi... |
sindresorhus__got__agent__downstream__2hop_da7f79 | sindresorhus/got | downstream | 2 | {
"hop_1": [
"agent"
],
"hop_1_files": [
"private/tmp/repos/got/source/core/options.ts"
],
"hop_2": [
"assertAny",
"assertPlainObject"
],
"hop_2_files": [
"private/tmp/repos/got/source/core/options.ts",
"private/tmp/repos/got/source/core/options.ts"
]
} | {
"anchor": "agent",
"anchor_file": "private/tmp/repos/got/source/core/options.ts",
"anchor_source": "get agent(): Agents {\n\t\treturn this.#internals.agent;\n\t}",
"result_size": 2,
"created_at": "2026-03-20T16:58:18.104721+00:00"
} |
trpc__trpc__next__downstream__1hop_c2125e | trpc/trpc | downstream | 1 | {
"calls": [
"transformResult",
"from"
],
"call_files": [
"private/tmp/repos/trpc__trpc/packages/server/src/unstable-core-do-not-import/transformer.ts",
"private/tmp/repos/trpc__trpc/packages/client/src/TRPCClientError.ts"
]
} | {
"anchor": "next",
"anchor_file": "private/tmp/repos/trpc__trpc/packages/client/src/links/wsLink/wsClient/wsClient.ts",
"anchor_source": "next(event) {\n const transformed = transformResult(event, transformer.output);\n\n if (!transformed.ok) {\n observer.error(TRPCClientError.... |
immerjs__immer__createProxyProxy__upstream__2hop_b02fca | 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": "createProxyProxy",
"anchor_file": "private/tmp/repos/immerjs__immer/src/core/proxy.ts",
"anchor_source": "export function createProxyProxy<T extends Objectish>(\n\tbase: T,\n\tparent?: ImmerState\n): [Drafted<T, ProxyState>, ProxyState] {\n\tconst baseIsArray = isArray(base)\n\tconst state: ProxyStat... |
python-poetry__poetry___download__downstream__1hop_4d518e | python-poetry/poetry | downstream | 1 | {
"calls": [
"_download_link"
],
"call_files": [
"private/tmp/repos/python-poetry__poetry/src/poetry/installation/executor.py"
]
} | {
"anchor": "_download",
"anchor_file": "private/tmp/repos/python-poetry__poetry/src/poetry/installation/executor.py",
"anchor_source": "def _download(self, operation: Install | Update) -> Path:\n link = self._chooser.choose_for(operation.package)\n\n if link.yanked:\n # Store yanked warn... |
immerjs__immer__values__downstream__1hop_7cf9fb | immerjs/immer | downstream | 1 | {
"calls": [
"get",
"keys"
],
"call_files": [
"private/tmp/repos/immerjs__immer/src/plugins/mapset.ts",
"private/tmp/repos/immerjs__immer/src/plugins/mapset.ts"
]
} | {
"anchor": "values",
"anchor_file": "private/tmp/repos/immerjs__immer/src/plugins/mapset.ts",
"anchor_source": "values(): IterableIterator<any> {\n\t\t\tconst iterator = this.keys()\n\t\t\treturn {\n\t\t\t\t[Symbol.iterator]: () => this.values(),\n\t\t\t\tnext: () => {\n\t\t\t\t\tconst r = iterator.next()\n\t\t\... |
trpc__trpc__send__upstream__2hop_73f13b | trpc/trpc | upstream | 2 | {
"hop_1": [
"request",
"batchSend",
"reconnect"
],
"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/packages/client/src... | {
"anchor": "send",
"anchor_file": "private/tmp/repos/trpc__trpc/packages/client/src/links/wsLink/wsClient/wsClient.ts",
"anchor_source": "private send(\n messageOrMessages: TRPCClientOutgoingMessage | TRPCClientOutgoingMessage[],\n ) {\n if (!this.activeConnection.isOpen()) {\n throw new Error('Activ... |
colinhacks__zod___multipleOf__downstream__1hop_dd36b4 | colinhacks/zod | downstream | 1 | {
"calls": [
"normalizeParams"
],
"call_files": [
"private/tmp/repos/colinhacks__zod/packages/zod/src/v4/core/util.ts"
]
} | {
"anchor": "_multipleOf",
"anchor_file": "private/tmp/repos/colinhacks__zod/packages/zod/src/v4/core/api.ts",
"anchor_source": "export function _multipleOf(\n value: number | bigint,\n params?: string | $ZodCheckMultipleOfParams\n): checks.$ZodCheckMultipleOf {\n return new checks.$ZodCheckMultipleOf({\n c... |
paramiko__paramiko__auth_interactive__downstream__2hop_9314fe | paramiko/paramiko | downstream | 2 | {
"hop_1": [
"send_auth_request"
],
"hop_1_files": [
"private/tmp/repos/paramiko/paramiko/auth_handler.py"
],
"hop_2": [
"wait_for_response"
],
"hop_2_files": [
"private/tmp/repos/paramiko/paramiko/auth_handler.py"
]
} | {
"anchor": "auth_interactive",
"anchor_file": "private/tmp/repos/paramiko/paramiko/auth_handler.py",
"anchor_source": "def auth_interactive(self, username, handler, submethods=\"\"):\n \"\"\"\n response_list = handler(title, instructions, prompt_list)\n \"\"\"\n # Unlike most siblings... |
locustio__locust__new_dispatch__upstream__2hop_952659 | locustio/locust | upstream | 2 | {
"hop_1": [
"start",
"_start"
],
"hop_1_files": [
"private/tmp/repos/locustio__locust/locust/runners.py",
"private/tmp/repos/locustio__locust/locust/runners.py"
],
"hop_2": [
"main",
"heartbeat_worker",
"start",
"handle_message"
],
"hop_2_files": [
"private/tmp/repos/l... | {
"anchor": "new_dispatch",
"anchor_file": "private/tmp/repos/locustio__locust/locust/dispatch.py",
"anchor_source": "def new_dispatch(\n self, target_user_count: int, spawn_rate: float, user_classes: list[type[User]] | None = None\n ) -> None:\n \"\"\"\n Initialize a new dispatch cycle.\n... |
pallets__jinja__new_func__downstream__2hop_137bca | pallets/jinja | downstream | 2 | {
"hop_1": [
"visit"
],
"hop_1_files": [
"private/tmp/repos/pallets__jinja/src/jinja2/visitor.py"
],
"hop_2": [
"get_visitor",
"generic_visit"
],
"hop_2_files": [
"private/tmp/repos/pallets__jinja/src/jinja2/visitor.py",
"private/tmp/repos/pallets__jinja/src/jinja2/visitor.py"
]
... | {
"anchor": "new_func",
"anchor_file": "private/tmp/repos/pallets__jinja/src/jinja2/compiler.py",
"anchor_source": "def new_func(\n self: \"CodeGenerator\", node: nodes.Expr, frame: \"Frame\", **kwargs: t.Any\n ) -> t.Any:\n # Only optimize if the frame is not volatile\n if self.optimizer ... |
pallets__jinja__get_source__upstream__2hop_e1117a | pallets/jinja | upstream | 2 | {
"hop_1": [
"get_source",
"load",
"compile_templates"
],
"hop_1_files": [
"private/tmp/repos/pallets__jinja/src/jinja2/loaders.py",
"private/tmp/repos/pallets__jinja/src/jinja2/loaders.py",
"private/tmp/repos/pallets__jinja/src/jinja2/environment.py"
],
"hop_2": [
"_load_template"... | {
"anchor": "get_source",
"anchor_file": "private/tmp/repos/pallets__jinja/src/jinja2/loaders.py",
"anchor_source": "def get_source(\n self, environment: \"Environment\", template: str\n ) -> tuple[str, str | None, t.Callable[[], bool] | None]:\n \"\"\"Get the template source, filename and reload... |
colinhacks__zod__finalize__upstream__1hop_9d6111 | colinhacks/zod | upstream | 1 | {
"calls": [
"toJSONSchema",
"emit"
],
"call_files": [
"private/tmp/repos/colinhacks__zod/packages/zod/src/v4/core/json-schema-processors.ts",
"private/tmp/repos/colinhacks__zod/packages/zod/src/v4/core/json-schema-generator.ts"
]
} | {
"anchor": "finalize",
"anchor_file": "private/tmp/repos/colinhacks__zod/packages/zod/src/v4/core/to-json-schema.ts",
"anchor_source": "export function finalize<T extends schemas.$ZodType>(\n ctx: ToJSONSchemaContext,\n schema: T\n): ZodStandardJSONSchemaPayload<T> {\n const root = ctx.seen.get(schema);\n if... |
rq__rq__signal_name__upstream__1hop_e85df5 | rq/rq | upstream | 1 | {
"calls": [
"request_force_stop_sigrtmin",
"request_stop"
],
"call_files": [
"private/tmp/repos/rq__rq/rq/worker/worker_classes.py",
"private/tmp/repos/rq__rq/rq/worker/base.py"
]
} | {
"anchor": "signal_name",
"anchor_file": "private/tmp/repos/rq__rq/rq/worker/base.py",
"anchor_source": "def signal_name(signum):\n try:\n return signal.Signals(signum).name\n\n except KeyError:\n return 'SIG_UNKNOWN'\n except ValueError:\n return 'SIG_UNKNOWN'",
"result_size": 2,... |
colinhacks__zod__isObject__upstream__1hop_812386 | colinhacks/zod | upstream | 1 | {
"calls": [
"parse",
"isPlainObject"
],
"call_files": [
"private/tmp/repos/colinhacks__zod/packages/zod/src/v4/core/schemas.ts",
"private/tmp/repos/colinhacks__zod/packages/zod/src/v4/core/util.ts"
]
} | {
"anchor": "isObject",
"anchor_file": "private/tmp/repos/colinhacks__zod/packages/zod/src/v4/core/util.ts",
"anchor_source": "export function isObject(data: any): data is Record<PropertyKey, unknown> {\n return typeof data === \"object\" && data !== null && !Array.isArray(data);\n}",
"result_size": 5,
"crea... |
immerjs__immer__createProxy__upstream__1hop_05ab35 | immerjs/immer | upstream | 1 | {
"calls": [
"createDraft",
"enableMapSet",
"prepareSetCopy",
"get"
],
"call_files": [
"private/tmp/repos/immerjs__immer/src/core/immerClass.ts",
"private/tmp/repos/immerjs__immer/src/plugins/mapset.ts",
"private/tmp/repos/immerjs__immer/src/plugins/mapset.ts",
"private/tmp/repos/i... | {
"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__extract_cookies_to_jar__upstream__2hop_3f8951 | psf/requests | upstream | 2 | {
"hop_1": [
"resolve_redirects",
"send",
"build_response",
"handle_401"
],
"hop_1_files": [
"private/tmp/repos/requests/src/requests/sessions.py",
"private/tmp/repos/requests/src/requests/sessions.py",
"private/tmp/repos/requests/src/requests/adapters.py",
"private/tmp/repos/reque... | {
"anchor": "extract_cookies_to_jar",
"anchor_file": "private/tmp/repos/requests/src/requests/cookies.py",
"anchor_source": "def extract_cookies_to_jar(jar, request, response):\n \"\"\"Extract the cookies from the response into a CookieJar.\n\n :param jar: http.cookiejar.CookieJar (not necessarily a Request... |
locustio__locust__useInterval__upstream__1hop_4bac50 | locustio/locust | upstream | 1 | {
"calls": [
"useFetchWorkerCount",
"useFetchTasks",
"useLogViewer",
"useFetchExceptions",
"useFetchStats"
],
"call_files": [
"private/tmp/repos/locustio__locust/locust/webui/src/hooks/useFetchWorkerCount.ts",
"private/tmp/repos/locustio__locust/locust/webui/src/hooks/useFetchTasks.ts"... | {
"anchor": "useInterval",
"anchor_file": "private/tmp/repos/locustio__locust/locust/webui/src/hooks/useInterval.ts",
"anchor_source": "export default function useInterval(\n callback: () => void,\n delay: number,\n { shouldRunInterval, immediate }: { shouldRunInterval?: boolean; immediate?: boolean } = {\n ... |
sindresorhus__got__#createHeadersProxy__upstream__2hop_f4f22b | sindresorhus/got | upstream | 2 | {
"hop_1": [
"headers",
"constructor"
],
"hop_1_files": [
"private/tmp/repos/got/source/core/options.ts",
"private/tmp/repos/got/source/core/options.ts"
],
"hop_2": [
"constructor",
"headers",
"_onResponseBase",
"extend",
"fn"
],
"hop_2_files": [
"private/tmp/repos/... | {
"anchor": "#createHeadersProxy",
"anchor_file": "private/tmp/repos/got/source/core/options.ts",
"anchor_source": "#createHeadersProxy(): Headers {\n\t\treturn new Proxy(this.#internals.headers, {\n\t\t\tget(target, property, receiver): unknown {\n\t\t\t\tif (typeof property === 'string') {\n\t\t\t\t\tif (Reflec... |
scrapy__scrapy__dataReceived__downstream__1hop_c8b940 | scrapy/scrapy | downstream | 1 | {
"calls": [
"_lose_connection_with_error",
"_handle_events",
"_check_received_data",
"_write_to_transport"
],
"call_files": [
"private/tmp/repos/scrapy__scrapy/scrapy/core/http2/protocol.py",
"private/tmp/repos/scrapy__scrapy/scrapy/core/http2/protocol.py",
"private/tmp/repos/scrapy__... | {
"anchor": "dataReceived",
"anchor_file": "private/tmp/repos/scrapy__scrapy/scrapy/core/http2/protocol.py",
"anchor_source": "def dataReceived(self, data: bytes) -> None:\n # Reset the idle timeout as connection is still actively receiving data\n self.resetTimeout()\n\n try:\n sel... |
immerjs__immer__handleInsertedValues__downstream__2hop_619ef8 | immerjs/immer | downstream | 2 | {
"hop_1": [
"handleCrossReference"
],
"hop_1_files": [
"private/tmp/repos/immerjs__immer/src/core/finalize.ts"
],
"hop_2": [
"prepareCopy",
"handleValue",
"isDraftable",
"crossReferenceCleanup",
"updateDraftInParent",
"nestedDraftCleanup"
],
"hop_2_files": [
"private/t... | {
"anchor": "handleInsertedValues",
"anchor_file": "private/tmp/repos/immerjs__immer/src/plugins/arrayMethods.ts",
"anchor_source": "function handleInsertedValues(\n\t\tstate: ProxyArrayState,\n\t\tstartIndex: number,\n\t\tvalues: any[]\n\t) {\n\t\tfor (let i = 0; i < values.length; i++) {\n\t\t\tconst index = st... |
trpc__trpc__from__downstream__2hop_4d13aa | trpc/trpc | downstream | 2 | {
"hop_1": [
"isTRPCErrorResponse",
"getMessageFromUnknownError",
"isTRPCClientError",
"TRPCClientError",
"constructor"
],
"hop_1_files": [
"private/tmp/repos/trpc__trpc/packages/client/src/TRPCClientError.ts",
"private/tmp/repos/trpc__trpc/packages/client/src/TRPCClientError.ts",
... | {
"anchor": "from",
"anchor_file": "private/tmp/repos/trpc__trpc/packages/client/src/TRPCClientError.ts",
"anchor_source": "public static from<TRouterOrProcedure extends InferrableClientTypes>(\n _cause: Error | TRPCErrorResponse<any> | object,\n opts: { meta?: Record<string, unknown>; cause?: Error } = {},... |
encode__httpx__handle_async_request__downstream__2hop_af88cc | encode/httpx | downstream | 2 | {
"hop_1": [
"aread"
],
"hop_1_files": [
"private/tmp/repos/encode__httpx/httpx/_models.py"
],
"hop_2": [
"ByteStream"
],
"hop_2_files": [
"private/tmp/repos/encode__httpx/httpx/_content.py"
]
} | {
"anchor": "handle_async_request",
"anchor_file": "private/tmp/repos/encode__httpx/httpx/_transports/mock.py",
"anchor_source": "async def handle_async_request(\n self,\n request: Request,\n ) -> Response:\n await request.aread()\n response = self.handler(request)\n\n # Allo... |
rq__rq__enqueue_job__upstream__2hop_0a3935 | rq/rq | upstream | 2 | {
"hop_1": [
"enqueue_call"
],
"hop_1_files": [
"private/tmp/repos/rq__rq/rq/queue.py"
],
"hop_2": [
"delay",
"enqueue"
],
"hop_2_files": [
"private/tmp/repos/rq__rq/rq/decorators.py",
"private/tmp/repos/rq__rq/rq/queue.py"
]
} | {
"anchor": "enqueue_job",
"anchor_file": "private/tmp/repos/rq__rq/rq/queue.py",
"anchor_source": "def enqueue_job(self, job: 'Job', pipeline: Optional['Pipeline'] = None, at_front: bool = False) -> Job:\n \"\"\"Enqueues a job for delayed execution checking dependencies.\n\n Args:\n job ... |
rq__rq__dependencies_are_met__upstream__1hop_b23910 | rq/rq | upstream | 1 | {
"calls": [
"enqueue_dependents",
"get_jobs_with_met_dependencies"
],
"call_files": [
"private/tmp/repos/rq__rq/rq/queue.py",
"private/tmp/repos/rq__rq/rq/dependency.py"
]
} | {
"anchor": "dependencies_are_met",
"anchor_file": "private/tmp/repos/rq__rq/rq/job.py",
"anchor_source": "def dependencies_are_met(\n self,\n parent_job: Optional['Job'] = None,\n pipeline: Optional['Pipeline'] = None,\n exclude_job_id: Optional[str] = None,\n refresh_job_statu... |
rq__rq__heartbeat__upstream__1hop_de1022 | rq/rq | upstream | 1 | {
"calls": [
"dequeue_job_and_maintain_ttl",
"work",
"prepare_job_execution",
"monitor_work_horse",
"maintain_heartbeats"
],
"call_files": [
"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": "heartbeat",
"anchor_file": "private/tmp/repos/rq__rq/rq/worker/base.py",
"anchor_source": "def heartbeat(self, timeout: Optional[int] = None, pipeline: Optional['Pipeline'] = None):\n \"\"\"Specifies a new worker timeout, typically by extending the\n expiration time of the worker, effec... |
encode__httpx__iter_bytes__upstream__1hop_13a022 | encode/httpx | upstream | 1 | {
"calls": [
"read",
"download_response",
"iter_text"
],
"call_files": [
"private/tmp/repos/encode__httpx/httpx/_models.py",
"private/tmp/repos/encode__httpx/httpx/_main.py",
"private/tmp/repos/encode__httpx/httpx/_models.py"
]
} | {
"anchor": "iter_bytes",
"anchor_file": "private/tmp/repos/encode__httpx/httpx/_models.py",
"anchor_source": "def iter_bytes(self, chunk_size: int | None = None) -> typing.Iterator[bytes]:\n \"\"\"\n A byte-iterator over the decoded response content.\n This allows us to handle gzip, deflate,... |
sindresorhus__got__hooks__downstream__2hop_a27a78 | sindresorhus/got | downstream | 2 | {
"hop_1": [
"hooks"
],
"hop_1_files": [
"private/tmp/repos/got/source/core/options.ts"
],
"hop_2": [
"assertAny"
],
"hop_2_files": [
"private/tmp/repos/got/source/core/options.ts"
]
} | {
"anchor": "hooks",
"anchor_file": "private/tmp/repos/got/source/core/options.ts",
"anchor_source": "get hooks(): Hooks {\n\t\treturn this.#internals.hooks;\n\t}",
"result_size": 1,
"created_at": "2026-03-20T16:58:18.104721+00:00"
} |
node-fetch__node-fetch__clone__downstream__2hop_a633bc | node-fetch/node-fetch | downstream | 2 | {
"hop_1": [
"constructor",
"Request"
],
"hop_1_files": [
"private/tmp/repos/node-fetch__node-fetch/src/request.js",
"private/tmp/repos/node-fetch__node-fetch/src/request.js"
],
"hop_2": [
"constructor",
"Body",
"Headers"
],
"hop_2_files": [
"private/tmp/repos/node-fetch__n... | {
"anchor": "clone",
"anchor_file": "private/tmp/repos/node-fetch__node-fetch/src/request.js",
"anchor_source": "clone() {\n\t\treturn new Request(this);\n\t}",
"result_size": 5,
"created_at": "2026-03-20T16:58:17.058449+00:00"
} |
trpc__trpc__unwrapLazyArg__upstream__1hop_278c28 | trpc/trpc | upstream | 1 | {
"calls": [
"trpcMutationOptions",
"trpcQueryOptions",
"createTRPCOptionsProxy"
],
"call_files": [
"private/tmp/repos/trpc__trpc/packages/tanstack-react-query/src/internals/mutationOptions.ts",
"private/tmp/repos/trpc__trpc/packages/tanstack-react-query/src/internals/queryOptions.ts",
"pr... | {
"anchor": "unwrapLazyArg",
"anchor_file": "private/tmp/repos/trpc__trpc/packages/tanstack-react-query/src/internals/utils.ts",
"anchor_source": "export function unwrapLazyArg<T>(valueOrLazy: T | (() => T)): T {\n return (isFunction(valueOrLazy) ? valueOrLazy() : valueOrLazy) as T;\n}",
"result_size": 5,
"c... |
locustio__locust__get_stripped_report__downstream__2hop_f5dc08 | locustio/locust | downstream | 2 | {
"hop_1": [
"reset",
"serialize"
],
"hop_1_files": [
"private/tmp/repos/locustio__locust/locust/stats.py",
"private/tmp/repos/locustio__locust/locust/stats.py"
],
"hop_2": [
"_cache_response_times"
],
"hop_2_files": [
"private/tmp/repos/locustio__locust/locust/stats.py"
]
} | {
"anchor": "get_stripped_report",
"anchor_file": "private/tmp/repos/locustio__locust/locust/stats.py",
"anchor_source": "def get_stripped_report(self) -> StatsEntryDict:\n \"\"\"\n Return the serialized version of this StatsEntry, and then clear the current stats.\n \"\"\"\n report = ... |
trpc__trpc__createDeferred__upstream__2hop_71a569 | trpc/trpc | upstream | 2 | {
"hop_1": [
"jsonlStreamConsumer",
"write",
"initIterable",
"mergeAsyncIterables"
],
"hop_1_files": [
"private/tmp/repos/trpc__trpc/packages/server/src/unstable-core-do-not-import/stream/jsonl.ts",
"private/tmp/repos/trpc__trpc/packages/server/src/unstable-core-do-not-import/stream/jsonl.... | {
"anchor": "createDeferred",
"anchor_file": "private/tmp/repos/trpc__trpc/packages/server/src/unstable-core-do-not-import/stream/utils/createDeferred.ts",
"anchor_source": "export function createDeferred<TValue = void>() {\n let resolve: (value: TValue) => void;\n let reject: (error: unknown) => void;\n const... |
psf__requests__prepare_request__upstream__2hop_e78bea | psf/requests | upstream | 2 | {
"hop_1": [
"request"
],
"hop_1_files": [
"private/tmp/repos/requests/src/requests/sessions.py"
],
"hop_2": [
"delete",
"get",
"head",
"patch",
"put",
"request",
"post",
"options"
],
"hop_2_files": [
"private/tmp/repos/requests/src/requests/sessions.py",
"p... | {
"anchor": "prepare_request",
"anchor_file": "private/tmp/repos/requests/src/requests/sessions.py",
"anchor_source": "def prepare_request(self, request):\n \"\"\"Constructs a :class:`PreparedRequest <PreparedRequest>` for\n transmission and returns it. The :class:`PreparedRequest` has settings\n ... |
locustio__locust__get_worker_index__upstream__2hop_f3e2ee | locustio/locust | upstream | 2 | {
"hop_1": [
"quit",
"handle_message"
],
"hop_1_files": [
"private/tmp/repos/locustio__locust/locust/runners.py",
"private/tmp/repos/locustio__locust/locust/runners.py"
],
"hop_2": [
"on_quitting",
"start_automatic_run",
"stop_and_optionally_quit",
"start",
"client_listener... | {
"anchor": "get_worker_index",
"anchor_file": "private/tmp/repos/locustio__locust/locust/runners.py",
"anchor_source": "def get_worker_index(self, client_id):\n \"\"\"\n Get the worker index for the specified client ID;\n this is a deterministic 0-based ordinal number and guaranteed to not c... |
trpc__trpc__isFunction__upstream__2hop_d0f614 | trpc/trpc | upstream | 2 | {
"hop_1": [
"isPromise",
"unwrapLazyArg",
"createCallerFactory",
"createCallerInner",
"createCaller"
],
"hop_1_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/inte... | {
"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": 7,
"created_at": "2026-03-20T16:58:18.199328+00:00"... |
psf__requests__get_full_url__downstream__1hop_9fc316 | psf/requests | downstream | 1 | {
"calls": [
"to_native_string"
],
"call_files": [
"private/tmp/repos/requests/src/requests/_internal_utils.py"
]
} | {
"anchor": "get_full_url",
"anchor_file": "private/tmp/repos/requests/src/requests/cookies.py",
"anchor_source": "def get_full_url(self):\n # Only return the response's URL if the user hadn't set the Host\n # header\n if not self._r.headers.get(\"Host\"):\n return self._r.url\n ... |
rq__rq__handle_job_success__upstream__2hop_c60850 | 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_success",
"anchor_file": "private/tmp/repos/rq__rq/rq/worker/base.py",
"anchor_source": "def handle_job_success(self, job: 'Job', queue: 'Queue', started_job_registry: StartedJobRegistry):\n \"\"\"Handles the successful execution of certain job.\n It will remove the job from ... |
trpc__trpc__hasPendingRequests__upstream__2hop_5f5916 | trpc/trpc | upstream | 2 | {
"hop_1": [
"constructor",
"reconnect"
],
"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"
],
"hop_2": [
"createWSClient",
"setupWebSocketListener... | {
"anchor": "hasPendingRequests",
"anchor_file": "private/tmp/repos/trpc__trpc/packages/client/src/links/wsLink/wsClient/requestManager.ts",
"anchor_source": "public hasPendingRequests() {\n return this.getPendingRequests().length > 0;\n }",
"result_size": 6,
"created_at": "2026-03-20T16:58:18.199328+00:0... |
immerjs__immer__handleCrossReference__downstream__1hop_62ac87 | immerjs/immer | downstream | 1 | {
"calls": [
"prepareCopy",
"handleValue",
"isDraftable",
"crossReferenceCleanup",
"updateDraftInParent",
"nestedDraftCleanup"
],
"call_files": [
"private/tmp/repos/immerjs__immer/src/core/proxy.ts",
"private/tmp/repos/immerjs__immer/src/core/finalize.ts",
"private/tmp/repos/im... | {
"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... |
pytest-dev__pytest___opentestcase__downstream__2hop_cdad1b | pytest-dev/pytest | downstream | 2 | {
"hop_1": [
"node_reporter",
"record_testreport"
],
"hop_1_files": [
"private/tmp/repos/pytest-dev__pytest/src/_pytest/junitxml.py",
"private/tmp/repos/pytest-dev__pytest/src/_pytest/junitxml.py"
],
"hop_2": [
"_NodeReporter",
"mangle_test_address",
"bin_xml_escape"
],
"hop_2_... | {
"anchor": "_opentestcase",
"anchor_file": "private/tmp/repos/pytest-dev__pytest/src/_pytest/junitxml.py",
"anchor_source": "def _opentestcase(self, report: TestReport) -> _NodeReporter:\n reporter = self.node_reporter(report)\n reporter.record_testreport(report)\n return reporter",
"resul... |
trpc__trpc__getUntypedClient__upstream__1hop_0de9df | trpc/trpc | upstream | 1 | {
"calls": [
"createUseProxy",
"createServerSideHelpers",
"createRootHooks",
"createUtilityFunctions",
"createTRPCOptionsProxy",
"createUseQueries"
],
"call_files": [
"private/tmp/repos/trpc__trpc/packages/next/src/app-dir/shared.ts",
"private/tmp/repos/trpc__trpc/packages/react-qu... | {
"anchor": "getUntypedClient",
"anchor_file": "private/tmp/repos/trpc__trpc/packages/client/src/createTRPCClient.ts",
"anchor_source": "export function getUntypedClient<TRouter extends AnyRouter>(\n client: TRPCClient<TRouter>,\n): TRPCUntypedClient<TRouter> {\n return client[untypedClientSymbol];\n}",
"resu... |
trpc__trpc__generateCacheTag__upstream__1hop_b4ed48 | trpc/trpc | upstream | 1 | {
"calls": [
"experimental_nextHttpLink",
"experimental_createTRPCNextAppDirServer",
"experimental_nextCacheLink"
],
"call_files": [
"private/tmp/repos/trpc__trpc/packages/next/src/app-dir/links/nextHttp.ts",
"private/tmp/repos/trpc__trpc/packages/next/src/app-dir/server.ts",
"private/tmp/... | {
"anchor": "generateCacheTag",
"anchor_file": "private/tmp/repos/trpc__trpc/packages/next/src/app-dir/shared.ts",
"anchor_source": "export function generateCacheTag(procedurePath: string, input: any) {\n return input\n ? `${procedurePath}?input=${JSON.stringify(input)}`\n : procedurePath;\n}",
"result_s... |
node-fetch__node-fetch__consumeBody__downstream__2hop_ef7771 | node-fetch/node-fetch | downstream | 2 | {
"hop_1": [
"constructor",
"FetchError"
],
"hop_1_files": [
"private/tmp/repos/node-fetch__node-fetch/src/errors/fetch-error.js",
"private/tmp/repos/node-fetch__node-fetch/src/errors/fetch-error.js"
],
"hop_2": [
"FetchBaseError",
"constructor"
],
"hop_2_files": [
"private/tmp... | {
"anchor": "consumeBody",
"anchor_file": "private/tmp/repos/node-fetch__node-fetch/src/body.js",
"anchor_source": "async function consumeBody(data) {\n\tif (data[INTERNALS].disturbed) {\n\t\tthrow new TypeError(`body used already for: ${data.url}`);\n\t}\n\n\tdata[INTERNALS].disturbed = true;\n\n\tif (data[INTER... |
rq__rq__retry__upstream__1hop_b366ad | rq/rq | upstream | 1 | {
"calls": [
"handle_job_failure",
"cleanup"
],
"call_files": [
"private/tmp/repos/rq__rq/rq/worker/base.py",
"private/tmp/repos/rq__rq/rq/registry.py"
]
} | {
"anchor": "retry",
"anchor_file": "private/tmp/repos/rq__rq/rq/job.py",
"anchor_source": "def retry(self, queue: 'Queue', pipeline: 'Pipeline'):\n \"\"\"Should be called when a job was enqueued with queue.enqueue(retry=Retry(...)) raises an exception.\n\n Requeues or schedules the job for executio... |
pallets__jinja__import_string__upstream__1hop_5ff0ba | pallets/jinja | upstream | 1 | {
"calls": [
"babel_extract",
"load_extensions"
],
"call_files": [
"private/tmp/repos/pallets__jinja/src/jinja2/ext.py",
"private/tmp/repos/pallets__jinja/src/jinja2/environment.py"
]
} | {
"anchor": "import_string",
"anchor_file": "private/tmp/repos/pallets__jinja/src/jinja2/utils.py",
"anchor_source": "def import_string(import_name: str, silent: bool = False) -> t.Any:\n \"\"\"Imports an object based on a string. This is useful if you want to\n use import paths as endpoints or something s... |
trpc__trpc__timerResource__upstream__1hop_ab4544 | trpc/trpc | upstream | 1 | {
"calls": [
"withTimeout",
"takeWithGrace",
"withPing"
],
"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/utils/asyncIterable.ts",
"private/tm... | {
"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 ... |
colinhacks__zod__required__downstream__1hop_d8407b | colinhacks/zod | downstream | 1 | {
"calls": [
"assignProp",
"shape",
"mergeDefs"
],
"call_files": [
"private/tmp/repos/colinhacks__zod/packages/zod/src/v4/core/util.ts",
"private/tmp/repos/colinhacks__zod/packages/zod/src/v4/core/util.ts",
"private/tmp/repos/colinhacks__zod/packages/zod/src/v4/core/util.ts"
]
} | {
"anchor": "required",
"anchor_file": "private/tmp/repos/colinhacks__zod/packages/zod/src/v4/core/util.ts",
"anchor_source": "export function required(\n Class: SchemaClass<schemas.$ZodNonOptional>,\n schema: schemas.$ZodObject,\n mask: object | undefined\n): any {\n const def = mergeDefs(schema._zod.def, {\... |
pallets__jinja__get_all__upstream__1hop_5028f4 | pallets/jinja | upstream | 1 | {
"calls": [
"_dict_method_all",
"_render",
"f_all",
"derived",
"get_template_locals"
],
"call_files": [
"private/tmp/repos/pallets__jinja/src/jinja2/runtime.py",
"private/tmp/repos/pallets__jinja/src/jinja2/ext.py",
"private/tmp/repos/pallets__jinja/src/jinja2/runtime.py",
"pr... | {
"anchor": "get_all",
"anchor_file": "private/tmp/repos/pallets__jinja/src/jinja2/runtime.py",
"anchor_source": "def get_all(self) -> dict[str, t.Any]:\n \"\"\"Return the complete context as dict including the exported\n variables. For optimizations reasons this might not return an\n actual... |
agronholm__apscheduler___deserialize_schedules__downstream__2hop_8266b2 | agronholm/apscheduler | downstream | 2 | {
"hop_1": [
"unmarshal",
"publish",
"_convert_incoming_fire_times",
"ScheduleDeserializationFailed"
],
"hop_1_files": [
"private/tmp/repos/agronholm__apscheduler/src/apscheduler/_structures.py",
"private/tmp/repos/agronholm__apscheduler/src/apscheduler/abc.py",
"private/tmp/repos/agro... | {
"anchor": "_deserialize_schedules",
"anchor_file": "private/tmp/repos/agronholm__apscheduler/src/apscheduler/datastores/sqlalchemy.py",
"anchor_source": "async def _deserialize_schedules(self, result: Result) -> list[Schedule]:\n schedules: list[Schedule] = []\n for row in result:\n try... |
colinhacks__zod___emoji__downstream__1hop_1bb239 | colinhacks/zod | downstream | 1 | {
"calls": [
"normalizeParams"
],
"call_files": [
"private/tmp/repos/colinhacks__zod/packages/zod/src/v4/core/util.ts"
]
} | {
"anchor": "_emoji",
"anchor_file": "private/tmp/repos/colinhacks__zod/packages/zod/src/v4/core/api.ts",
"anchor_source": "export function _emoji<T extends schemas.$ZodEmoji>(\n Class: util.SchemaClass<T>,\n params?: string | $ZodEmojiParams | $ZodCheckEmojiParams\n): T {\n return new Class({\n type: \"str... |
colinhacks__zod__safeParse__downstream__1hop_5cbe26 | colinhacks/zod | downstream | 1 | {
"calls": [
"_parseSync"
],
"call_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... |
psf__requests__get_auth_from_url__upstream__1hop_f15312 | psf/requests | upstream | 1 | {
"calls": [
"proxy_headers",
"proxy_manager_for",
"rebuild_proxies",
"prepare_auth"
],
"call_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___coercedBigint__downstream__1hop_b80083 | colinhacks/zod | downstream | 1 | {
"calls": [
"normalizeParams"
],
"call_files": [
"private/tmp/repos/colinhacks__zod/packages/zod/src/v4/core/util.ts"
]
} | {
"anchor": "_coercedBigint",
"anchor_file": "private/tmp/repos/colinhacks__zod/packages/zod/src/v4/core/api.ts",
"anchor_source": "export function _coercedBigint<T extends schemas.$ZodBigInt>(\n Class: util.SchemaClass<T>,\n params?: string | $ZodBigIntParams\n): T {\n return new Class({\n type: \"bigint\"... |
rq__rq__fetch_job__upstream__2hop_2728be | rq/rq | upstream | 2 | {
"hop_1": [
"get_jobs",
"cleanup"
],
"hop_1_files": [
"private/tmp/repos/rq__rq/rq/queue.py",
"private/tmp/repos/rq__rq/rq/intermediate_queue.py"
],
"hop_2": [
"clean_intermediate_queue",
"jobs",
"clean_registries"
],
"hop_2_files": [
"private/tmp/repos/rq__rq/rq/maintenan... | {
"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... |
trpc__trpc__awsLambdaStreamingRequestHandler__downstream__1hop_407eff | trpc/trpc | downstream | 1 | {
"calls": [
"resolveResponse",
"getPlanner"
],
"call_files": [
"private/tmp/repos/trpc__trpc/packages/server/src/unstable-core-do-not-import/http/resolveResponse.ts",
"private/tmp/repos/trpc__trpc/packages/server/src/adapters/aws-lambda/getPlanner.ts"
]
} | {
"anchor": "awsLambdaStreamingRequestHandler",
"anchor_file": "private/tmp/repos/trpc__trpc/packages/server/src/adapters/aws-lambda/index.ts",
"anchor_source": "export function awsLambdaStreamingRequestHandler<\n TRouter extends AnyRouter,\n TEvent extends LambdaEvent,\n>(opts: AWSLambdaOptions<TRouter, TEvent... |
rq__rq__save__upstream__1hop_96a212 | rq/rq | upstream | 1 | {
"calls": [
"schedule",
"setup_dependencies",
"schedule_job",
"_handle_success",
"add",
"enqueue_many",
"requeue",
"_prepare_for_queue"
],
"call_files": [
"private/tmp/repos/rq__rq/rq/repeat.py",
"private/tmp/repos/rq__rq/rq/queue.py",
"private/tmp/repos/rq__rq/rq/queu... | {
"anchor": "save",
"anchor_file": "private/tmp/repos/rq__rq/rq/job.py",
"anchor_source": "def save(self, pipeline: Optional['Pipeline'] = None, include_meta: bool = True, include_result: bool = True):\n \"\"\"Dumps the current job instance to its corresponding Redis key.\n\n Exclude saving the `met... |
rq__rq__perform__upstream__2hop_fbf38b | rq/rq | upstream | 2 | {
"hop_1": [
"run_job",
"perform_job"
],
"hop_1_files": [
"private/tmp/repos/rq__rq/rq/queue.py",
"private/tmp/repos/rq__rq/rq/worker/base.py"
],
"hop_2": [
"run_sync",
"execute_job",
"main_work_horse"
],
"hop_2_files": [
"private/tmp/repos/rq__rq/rq/queue.py",
"private... | {
"anchor": "perform",
"anchor_file": "private/tmp/repos/rq__rq/rq/job.py",
"anchor_source": "def perform(self) -> Any: # noqa\n \"\"\"The main execution method. Invokes the job function with the job arguments.\n This is the method that actually performs the job - it's what its called by the worker... |
sindresorhus__got__stripUrlAuth__upstream__2hop_6e671e | sindresorhus/got | upstream | 2 | {
"hop_1": [
"constructor",
"_onResponseBase"
],
"hop_1_files": [
"private/tmp/repos/got/source/core/errors.ts",
"private/tmp/repos/got/source/core/index.ts"
],
"hop_2": [
"_onResponse",
"asPromise"
],
"hop_2_files": [
"private/tmp/repos/got/source/core/index.ts",
"private/... | {
"anchor": "stripUrlAuth",
"anchor_file": "private/tmp/repos/got/source/core/utils/strip-url-auth.ts",
"anchor_source": "export default function stripUrlAuth(url: URL | string): string {\n\tconst sanitized = new URL(url);\n\tsanitized.username = '';\n\tsanitized.password = '';\n\treturn sanitized.toString();\n}"... |
celery__celery__banner__downstream__1hop_66e214 | celery/celery | downstream | 1 | {
"calls": [
"startup_info"
],
"call_files": [
"private/tmp/repos/celery/celery/apps/beat.py"
]
} | {
"anchor": "banner",
"anchor_file": "private/tmp/repos/celery/celery/apps/beat.py",
"anchor_source": "def banner(self, service: beat.Service) -> str:\n c = self.colored\n return str(\n c.blue('__ ', c.magenta('-'),\n c.blue(' ... __ '), c.magenta('-'),\n ... |
pytest-dev__pytest___get_flag_lookup__downstream__1hop_66cfa5 | pytest-dev/pytest | downstream | 1 | {
"calls": [
"_get_number_flag",
"_get_allow_unicode_flag",
"_get_allow_bytes_flag"
],
"call_files": [
"private/tmp/repos/pytest-dev__pytest/src/_pytest/doctest.py",
"private/tmp/repos/pytest-dev__pytest/src/_pytest/doctest.py",
"private/tmp/repos/pytest-dev__pytest/src/_pytest/doctest.py"... | {
"anchor": "_get_flag_lookup",
"anchor_file": "private/tmp/repos/pytest-dev__pytest/src/_pytest/doctest.py",
"anchor_source": "def _get_flag_lookup() -> dict[str, int]:\n import doctest\n\n return dict(\n DONT_ACCEPT_TRUE_FOR_1=doctest.DONT_ACCEPT_TRUE_FOR_1,\n DONT_ACCEPT_BLANKLINE=doctest.D... |
colinhacks__zod___parse__downstream__2hop_a7089e | colinhacks/zod | downstream | 2 | {
"hop_1": [
"_getInvalidInput",
"addIssueToContext",
"ParseStatus",
"_getOrReturnCtx",
"_getType",
"assertNever",
"dirty"
],
"hop_1_files": [
"private/tmp/repos/colinhacks__zod/packages/zod/src/v3/types.ts",
"private/tmp/repos/colinhacks__zod/packages/zod/src/v3/helpers/parseU... | {
"anchor": "_parse",
"anchor_file": "private/tmp/repos/colinhacks__zod/packages/zod/src/v3/types.ts",
"anchor_source": "_parse(input: ParseInput): ParseReturnType<bigint> {\n if (this._def.coerce) {\n try {\n input.data = BigInt(input.data);\n } catch {\n return this._getInvalidInput(i... |
encode__httpx____setstate____downstream__1hop_b48f08 | encode/httpx | downstream | 1 | {
"calls": [
"UnattachedStream"
],
"call_files": [
"private/tmp/repos/encode__httpx/httpx/_content.py"
]
} | {
"anchor": "__setstate__",
"anchor_file": "private/tmp/repos/encode__httpx/httpx/_models.py",
"anchor_source": "def __setstate__(self, state: dict[str, typing.Any]) -> None:\n for name, value in state.items():\n setattr(self, name, value)\n self.extensions = {}\n self.stream = Una... |
colinhacks__zod__isObject__upstream__2hop_e5654d | colinhacks/zod | upstream | 2 | {
"hop_1": [
"parse",
"isPlainObject"
],
"hop_1_files": [
"private/tmp/repos/colinhacks__zod/packages/zod/src/v4/core/schemas.ts",
"private/tmp/repos/colinhacks__zod/packages/zod/src/v4/core/util.ts"
],
"hop_2": [
"safeExtend",
"extend",
"parse",
"shallowClone",
"mergeValue... | {
"anchor": "isObject",
"anchor_file": "private/tmp/repos/colinhacks__zod/packages/zod/src/v4/core/util.ts",
"anchor_source": "export function isObject(data: any): data is Record<PropertyKey, unknown> {\n return typeof data === \"object\" && data !== null && !Array.isArray(data);\n}",
"result_size": 6,
"crea... |
sindresorhus__got__flush__upstream__1hop_f08b6d | sindresorhus/got | upstream | 1 | {
"calls": [
"fn",
"_beforeError",
"asPromise"
],
"call_files": [
"private/tmp/repos/got/benchmark/index.ts",
"private/tmp/repos/got/source/core/index.ts",
"private/tmp/repos/got/source/as-promise/index.ts"
]
} | {
"anchor": "flush",
"anchor_file": "private/tmp/repos/got/source/core/index.ts",
"anchor_source": "async flush() {\n\t\tif (this._flushed) {\n\t\t\treturn;\n\t\t}\n\n\t\tthis._flushed = true;\n\n\t\ttry {\n\t\t\tawait this._finalizeBody();\n\n\t\t\tif (this.destroyed) {\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\tawait t... |
pallets__jinja__do_list__downstream__2hop_a4276c | 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_list",
"anchor_file": "private/tmp/repos/pallets__jinja/src/jinja2/filters.py",
"anchor_source": "@async_variant(sync_do_list) # type: ignore\nasync def do_list(value: \"t.AsyncIterable[V] | t.Iterable[V]\") -> \"list[V]\":\n return await auto_to_list(value)",
"result_size": 4,
"created_at... |
trpc__trpc__isObservable__upstream__1hop_c52492 | trpc/trpc | upstream | 1 | {
"calls": [
"resolveResponse",
"getWSConnectionHandler",
"handleRequest"
],
"call_files": [
"private/tmp/repos/trpc__trpc/packages/server/src/unstable-core-do-not-import/http/resolveResponse.ts",
"private/tmp/repos/trpc__trpc/packages/server/src/adapters/ws.ts",
"private/tmp/repos/trpc__t... | {
"anchor": "isObservable",
"anchor_file": "private/tmp/repos/trpc__trpc/packages/server/src/observable/observable.ts",
"anchor_source": "export function isObservable(x: unknown): x is Observable<unknown, unknown> {\n return typeof x === 'object' && x !== null && 'subscribe' in x;\n}",
"result_size": 7,
"cre... |
sindresorhus__got__headers__downstream__2hop_b1772f | sindresorhus/got | downstream | 2 | {
"hop_1": [
"#createHeadersProxy",
"assertPlainObject",
"headers"
],
"hop_1_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"
],
"hop_2": [
"wrapAssertionWithContext"
],
"hop... | {
"anchor": "headers",
"anchor_file": "private/tmp/repos/got/source/core/options.ts",
"anchor_source": "set headers(value: Headers) {\n\t\tassertPlainObject('headers', value);\n\t\tconst normalizedHeaders = lowercaseKeys(value);\n\n\t\tif (this.#merging) {\n\t\t\tObject.assign(this.#internals.headers, normalizedH... |
sindresorhus__got__stripUrlAuth__upstream__1hop_932827 | sindresorhus/got | upstream | 1 | {
"calls": [
"constructor",
"_onResponseBase"
],
"call_files": [
"private/tmp/repos/got/source/core/errors.ts",
"private/tmp/repos/got/source/core/index.ts"
]
} | {
"anchor": "stripUrlAuth",
"anchor_file": "private/tmp/repos/got/source/core/utils/strip-url-auth.ts",
"anchor_source": "export default function stripUrlAuth(url: URL | string): string {\n\tconst sanitized = new URL(url);\n\tsanitized.username = '';\n\tsanitized.password = '';\n\treturn sanitized.toString();\n}"... |
rq__rq__prepare_job_execution__upstream__2hop_64ad94 | 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": "prepare_job_execution",
"anchor_file": "private/tmp/repos/rq__rq/rq/worker/base.py",
"anchor_source": "def prepare_job_execution(self, job: 'Job', remove_from_intermediate_queue: bool = False) -> None:\n \"\"\"Performs misc bookkeeping like updating states prior to\n job execution.\n ... |
colinhacks__zod__initializeContext__upstream__1hop_55110f | colinhacks/zod | upstream | 1 | {
"calls": [
"toJSONSchema",
"constructor"
],
"call_files": [
"private/tmp/repos/colinhacks__zod/packages/zod/src/v4/core/json-schema-processors.ts",
"private/tmp/repos/colinhacks__zod/packages/zod/src/v4/core/json-schema-generator.ts"
]
} | {
"anchor": "initializeContext",
"anchor_file": "private/tmp/repos/colinhacks__zod/packages/zod/src/v4/core/to-json-schema.ts",
"anchor_source": "export function initializeContext(params: JSONSchemaGeneratorParams): ToJSONSchemaContext {\n // Normalize target: convert old non-hyphenated versions to hyphenated ve... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.