generated from coulomb/repo-seed
Fix rerun assessment and candidate extraction
This commit is contained in:
@@ -334,7 +334,7 @@ def dataset_assessment(service: RegistryService) -> dict[str, object]:
|
||||
}
|
||||
for repository in service.list_repositories():
|
||||
runs = service.list_analysis_runs(repository.id)
|
||||
latest_run = next((run for run in reversed(runs) if run.status == "completed"), None)
|
||||
latest_run = next((run for run in runs if run.status == "completed"), None)
|
||||
facts = service.list_observed_facts(repository.id, latest_run.id) if latest_run else []
|
||||
chunks = service.list_content_chunks(repository.id, latest_run.id) if latest_run else []
|
||||
candidate_counts = {
|
||||
|
||||
Reference in New Issue
Block a user