profile drill-down/source-link preservation
This commit is contained in:
parent
e8fdfe6e17
commit
5aa76af78c
8 changed files with 88 additions and 11 deletions
|
|
@ -62,6 +62,7 @@ class SourceReference:
|
|||
path: str
|
||||
kind: str
|
||||
name: str
|
||||
line: int | None = None
|
||||
|
||||
|
||||
@dataclass(frozen=True)
|
||||
|
|
@ -123,6 +124,7 @@ class Evidence:
|
|||
type: str
|
||||
reference: str
|
||||
strength: str
|
||||
source_refs: list[SourceReference] = field(default_factory=list)
|
||||
|
||||
|
||||
@dataclass(frozen=True)
|
||||
|
|
@ -132,6 +134,7 @@ class Feature:
|
|||
type: str
|
||||
location: str
|
||||
confidence: float
|
||||
source_refs: list[SourceReference] = field(default_factory=list)
|
||||
|
||||
|
||||
@dataclass(frozen=True)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue