Pass 3 of 3 · Deep dive of PHAROSPass 1 · OverviewPass 2 · How it works
Code Observatory / class
Hit
codeintel.retrieval.Hit
PINNED SOURCE Source and edges from the index at this commit. An execution appears only where one was recorded.
PHAROS at 975a38dMIT license
Around this symbol
Search all symbolsLoading
| Symbol | File | Resolved by |
|---|---|---|
| _expand_graph | retrieval.py | same file |
| _fuse | retrieval.py | same file |
| lookup_symbol | router.py | through an import |
| Symbol | File | Resolved by |
|---|---|---|
| retrieval | retrieval.py | same file |
codeintel.retrieval.Hitbackend/app/codeintel/retrieval.py, lines 108–130Open source
@dataclassclass Hit: chunk_id: str score: float evidence: Evidence # Populated by _hydrate: repository_id: str = "" repository_name: str = "" repository_url: str = "" source_type: str = "" path: str = "" language: str | None = None kind: str | None = None symbol: str | None = None name: str | None = None start_line: int | None = None end_line: int | None = None commit_sha: str | None = None parser: str | None = None summary: str | None = None raw_url: str | None = None resource_id: str | None = None fallback_reason: str | None = NoneWhat the index recorded
- Signature
class Hit:- File
backend/app/codeintel/retrieval.py- Lines
- 108–130
- Parser
- python-ast
- Git blob
884729a39ae0b3d340ad83f75946677dcddf3791- Outside this subset
- 1 more edges reach code outside the graph shown here
