(tmp_path, default_config)
| 46 | |
| 47 | @pytest.fixture |
| 48 | def simple_layer(tmp_path, default_config): |
| 49 | default_config.audit_log_path = str(tmp_path / "audit.jsonl") |
| 50 | return ControlLayer( |
| 51 | llm_fn=lambda p: '{"summary": "ok", "confidence": 0.9}', |
| 52 | system_prompt="You are a test assistant.", |
| 53 | schema=ResponseSchema(must_be_json=True, required_keys=["summary", "confidence"]), |
| 54 | config=default_config, |
| 55 | ) |
| 56 | |
| 57 | |
| 58 | # ============================================================================= |
nothing calls this directly
no test coverage detected