MCPcopy
hub / github.com/wandb/openui / pt

Function pt

backend/openui/eval/evaluate_weave.py:26–34  ·  view source on GitHub ↗
(*args)

Source from the content-addressed store, hash-verified

24
25
26def pt(*args):
27 global last
28 now = datetime.now()
29 if last:
30 delta = str(now - last).split(":")[2][:5]
31 else:
32 delta = "00.00"
33 last = now
34 print(f"{now.strftime('%M:%S')} ({delta}) -", *args)
35
36
37base_dir = Path(__file__).parent / "datasets"

Callers 5

predictMethod · 0.70
predictMethod · 0.70
runFunction · 0.70
evalFunction · 0.70
run_prompt_searchFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected