candidate generation use content chunks
This commit is contained in:
parent
6416139176
commit
07c837d6bb
4 changed files with 119 additions and 13 deletions
|
|
@ -121,7 +121,12 @@ class RegistryService:
|
|||
completed_run.snapshot_id,
|
||||
chunks,
|
||||
)
|
||||
candidates = self.candidate_generator.generate(repository, facts)
|
||||
stored_chunks = self.store.list_content_chunks(repository_id, completed_run.id)
|
||||
candidates = self.candidate_generator.generate(
|
||||
repository,
|
||||
facts,
|
||||
stored_chunks,
|
||||
)
|
||||
self.store.replace_candidate_graph(repository_id, completed_run.id, candidates)
|
||||
return ScanSummary(
|
||||
analysis_run=completed_run,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue