{"record":{"id":"4c5800c3753f64d1","repo":"rohitg00/ai-engineering-from-scratch","slug":"seed-list-is-empty","errorCode":null,"errorMessage":"seed list is empty","messagePattern":"seed list is empty","errorType":"exception","errorClass":"BestResultError","httpStatus":null,"severity":"error","filePath":"phases/19-capstone-projects/57-end-to-end-research-demo/code/main.py","lineNumber":214,"sourceCode":"        figure_refs = [fig.id] if s.id == \"results\" else []\n        sections.append(Section(\n            id=s.id, title=s.title, body=s.body,\n            cites=list(s.cites), figure_refs=figure_refs,\n        ))\n    return Paper(\n        title=mini.title,\n        authors=[\"Auto-Research Demo\"],\n        abstract=mini.abstract,\n        sections=sections,\n        figures=[fig],\n        bibliography=bib,\n    )\n\n\nasync def _run_demo_async(out_dir: str, seed: int = 11) -> DemoReport:\n    seed_list = make_seed_hypotheses()\n    if not seed_list:\n        raise BestResultError(\"seed list is empty\")\n\n    runner = make_deterministic_runner(\n        base_rewards={\"alpha\": 0.82, \"beta\": 0.55, \"gamma\": 0.15},\n        noise=0.04,\n        delay_ms=2.0,\n        seed=seed,\n    )\n    sched = IterationScheduler(\n        runner=runner, slots=3, max_experiments=6,\n        paper_threshold=0.7, prune_floor=0.2, prune_after_runs=3,\n        expander=scheduler_mod.deterministic_expander,\n    )\n    sched_report = await sched.run(seed_list)\n\n    branch, reward = pick_best_branch(sched_report)\n\n    mini = build_mini_paper(branch, reward)\n    loop = CriticLoop(","sourceCodeStart":196,"sourceCodeEnd":232,"githubUrl":"https://github.com/rohitg00/ai-engineering-from-scratch/blob/39ea8a1c6d0b61f071226eff7ede4d4105fed820/phases/19-capstone-projects/57-end-to-end-research-demo/code/main.py#L196-L232","documentation":"Error \"seed list is empty\" thrown in rohitg00/ai-engineering-from-scratch.","triggerScenarios":"Thrown at phases/19-capstone-projects/57-end-to-end-research-demo/code/main.py:214 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":[],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"39ea8a1c6d0b61f071226eff7ede4d4105fed820","analyzedAt":"2026-08-26T03:13:46.626Z","schemaVersion":2},"datasetVersion":"2026-08-26T07:17:17.940Z"}