Back to the room

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 symbols

Loading

Called by (3)
SymbolFileResolved by
_expand_graphretrieval.pysame file
_fuseretrieval.pysame file
lookup_symbolrouter.pythrough an import
Inside (1)
SymbolFileResolved by
retrievalretrieval.pysame 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 = None

What 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

Read it on GitHub at this commit