MCPcopy
hub / github.com/TheTom/turboquant_plus / make_gtm

Function make_gtm

refract/tests/_fixtures.py:20–32  ·  view source on GitHub ↗
(score: float = 95.0, n: int = 30)

Source from the content-addressed store, hash-verified

18
19
20def make_gtm(score: float = 95.0, n: int = 30) -> GTMResult:
21 return GTMResult(
22 score=score,
23 full_match_rate=0.9 if score > 80 else 0.2,
24 median_first_divergence=10 if score < 100 else None,
25 mean_prefix_agreement_length=score,
26 mean_cand_length=100.0,
27 mean_ref_length=100.0,
28 n_prompts=n,
29 n_tokens_each=128,
30 per_prompt=[],
31 notes=[],
32 )
33
34
35def make_trajectory(score: float = 95.0, n: int = 30) -> TrajectoryResult:

Calls 1

GTMResultClass · 0.90