MCPcopy Create free account
hub / github.com/VectifyAI/OpenKB / _producer_result

Function _producer_result

tests/test_deck_creator.py:45–52  ·  view source on GitHub ↗

Build the SkillRunResult ``run_skill`` would return for the producer.

(kb_dir: Path, deck_name: str)

Source from the content-addressed store, hash-verified

43
44
45def _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
55def _critic_result() -> SkillRunResult:

Callers 1

fake_skillFunction · 0.85

Calls 1

SkillRunResultClass · 0.90

Tested by

no test coverage detected