"""Pinned teacher-distillation implementation, shared by job and CPU smoke.""" import json,sys from pathlib import Path sys.modules['vllm']=None def trajectories(rows): from agenttune.agentic.events import Event,EventKind,EventLog logs=[] for row in rows: log=EventLog(tier='full');log.append(Event(EventKind.OBSERVATION,{'text':row['initial_prompt']})) for i,c in enumerate(row['calls']): log.append(Event(EventKind.TEXT,{'text':json.dumps(c['action'],sort_keys=True)})) if i