guoyb0's picture
Upload code snapshot (2task with caption)
95f6448 verified
raw
history blame contribute delete
559 Bytes
"""Minimal audit stubs (debug helpers removed)."""
import os
def audit_enabled() -> bool:
return os.getenv("ATLAS_AUDIT", "0") not in ("", "0", "false", "False")
def audit_line(tag: str, status: str, once: bool = False, **kwargs) -> None:
pass
def audit_check(tag: str, condition: bool, once: bool = False, **kwargs) -> None:
if not condition and audit_enabled():
raise AssertionError(f"[ATLAS_AUDIT][{tag}] check failed: {kwargs}")
def h1b_record_prompt(*args, **kwargs) -> None:
"""Stub for prompt recording (no-op)."""
pass