(score: float = 95.0, n: int = 30)
| 18 | |
| 19 | |
| 20 | def 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 | |
| 35 | def make_trajectory(score: float = 95.0, n: int = 30) -> TrajectoryResult: |