PromptAdapter
Adapt raw prompts (the generation / "prompt" format) to harbor task dirs +
native TaskConfig\s - generation-only rollouts (no verifier, no
reward). Used by SDFT student rollouts.
to_harbor(output_dir) writes instruction.md + a verifier-less
task.toml (environment_mode="separate" skips the test.sh load check)
per prompt and returns the TaskConfig\s. Used by
run_harbor_rollouts(..., outcome_reward=False) (SDFT student rollouts).
Functions
func__init__(self, prompts) -> NoneparamselfparampromptsSequence[str]Returns
Nonefuncto_harbor(self, output_dir) -> list[Any]paramselfparamoutput_dirPathReturns
list[typing.Any]