↓ 3 callersFunctionbuild_contract(
model_name: str,
model_path: str,
tokenizer: Any,
*,
max_new_tokens: int,
add_genera
tests/reference_contract.py:533
↓ 3 callersFunctionbuild_reference_artifact_metadata(
reference: Dict[str, Any],
reference_contract: Dict[str, Any],
reference_path: Optional[str],
)
tests/reference_contract.py:667
↓ 3 callersFunctionbuild_teacher_forced_per_token_data(
model: Any,
tokenizer: Any,
prompt_input_ids: Any,
generated_token_ids: List[int],
*,
tests/generate_reference.py:959
↓ 3 callersFunctionbuild_token_diagnostic_entry(
tokenizer: Any,
step_logits: Any,
*,
expected_token_id: int,
logit_pos: int,
prev_to
tests/generate_reference.py:913
↓ 3 callersFunctionemit_contract_trace(
context: str,
reference_contract: Dict[str, Any],
runtime_contract: Dict[str, Any],
validati
tests/reference_contract.py:1142
↓ 3 callersFunctiongenerate(model, prompt, max_new_tokens=64, temperature=0.6, top_k=50, top_p=0.95)
tests/archive/run_length_sweep.py:20