fixml.modules.workflow.runners.generator

Classes

NaiveTestGenerator

Generate test specs using checklist items only.

Module Contents

class fixml.modules.workflow.runners.generator.NaiveTestGenerator(llm: langchain_core.language_models.LanguageModelLike, prompt_format: fixml.modules.workflow.prompt_format.PromptFormat, repository: fixml.modules.code_analyzer.repo.Repository = None, checklist: fixml.modules.checklist.checklist.Checklist = None, retries: int = 3)

Bases: fixml.modules.workflow.runners.base.PromptInjectionRunner

Generate test specs using checklist items only.

This runner will not refer to files in the repository - hence the name “naive”.

_validate_response(raw_response: dict) None

Validation logics that are not covered by pydantic or langchain.

run(verbose: bool = False) List[dict]
abstract export_py(output_path: str, exist_ok: bool = False)