Load recent analyses across all tasks.
(self, limit: int = 200)
| 817 | |
| 818 | @_db_retry() |
| 819 | def load_all_analyses(self, limit: int = 200) -> List[ExecutionAnalysis]: |
| 820 | """Load recent analyses across all tasks.""" |
| 821 | with self._reader() as conn: |
| 822 | rows = conn.execute( |
| 823 | "SELECT * FROM execution_analyses " |
| 824 | "ORDER BY timestamp DESC LIMIT ?", |
| 825 | (limit,), |
| 826 | ).fetchall() |
| 827 | return [self._to_analysis(conn, r) for r in reversed(rows)] |
| 828 | |
| 829 | @_db_retry() |
| 830 | def load_evolution_candidates( |
nothing calls this directly
no test coverage detected