Skip to content

Document the mock-directive format in the development docs #14

Description

@anilmurty

Bench runs fully offline using mock directives embedded in prompts (# task_key:, # echo:, # answer:,
# wrong_answer:, # unsafe_tool:, etc.), stripped before any live call. This is how contributors write
deterministic offline tests, but it isn't documented in one place.

Document the directive format in docs/development.md: list each directive, what it does, escaping rules,
and a short runnable example. Source of truth: the stripping logic in tjbench/models/openai_compatible.py
and the mock clients in tjbench/models/mock_client.py / mock_agent_client.py.

Acceptance criteria: a directive table + one runnable offline example in docs/development.md.

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentationgood first issueGood for newcomers

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions