Build the SkillRunResult ``run_skill`` would return for the producer.
(kb_dir: Path, deck_name: str)
| 43 | |
| 44 | |
| 45 | def _producer_result(kb_dir: Path, deck_name: str) -> SkillRunResult: |
| 46 | """Build the SkillRunResult ``run_skill`` would return for the producer.""" |
| 47 | return SkillRunResult( |
| 48 | skill_name=DEFAULT_DECK_SKILL, |
| 49 | output_path=(kb_dir / "output" / "decks" / deck_name / "index.html").resolve(), |
| 50 | validation=None, # validator is mocked elsewhere; not relevant here |
| 51 | metadata={"mode": "deck"}, |
| 52 | ) |
| 53 | |
| 54 | |
| 55 | def _critic_result() -> SkillRunResult: |
no test coverage detected