(self)
| 323 | } |
| 324 | |
| 325 | def inventory_status(self) -> Dict: |
| 326 | working = self.load_working_sources() |
| 327 | candidates = self.load_candidate_sources() |
| 328 | screened = self.load_screened_sources() |
| 329 | |
| 330 | return { |
| 331 | "working_count": len(working), |
| 332 | "candidate_count": len(candidates), |
| 333 | "screened_count": len(screened), |
| 334 | "min_working_sources": self.min_working_sources, |
| 335 | "working_target": self.working_target, |
| 336 | "export_target": self.export_target, |
| 337 | "candidate_buffer_ok": len(candidates) >= self.min_candidate_sources, |
| 338 | } |
| 339 | |
| 340 | |
| 341 | def main(): |
no test coverage detected