All files / api/src/optimization base-arms.ts

100% Statements 59/59
100% Branches 0/0
100% Functions 0/0
100% Lines 59/59

Press n or j to go to the next uncovered block, b, p or k for the previous block.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63    1x   1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x  
import type { SkillOptimizationBaseArmParams } from '@shared/types/data';
 
export const TOP_K_MULTIPLIER = 50;
 
export const BaseArmsParams: SkillOptimizationBaseArmParams[] = [
  {
    temperature_min: 0,
    temperature_max: 0.5,
    top_p_min: 0.5,
    top_p_max: 0.5,
    top_k_min: 0,
    top_k_max: 0,
    frequency_penalty_min: 0,
    frequency_penalty_max: 0,
    presence_penalty_min: 0,
    presence_penalty_max: 0,
    thinking_min: 0,
    thinking_max: 0.5,
  },
  {
    temperature_min: 0.51,
    temperature_max: 1,
    top_p_min: 0.5,
    top_p_max: 0.5,
    top_k_min: 0,
    top_k_max: 0,
    frequency_penalty_min: 0,
    frequency_penalty_max: 0,
    presence_penalty_min: 0,
    presence_penalty_max: 0,
    thinking_min: 0,
    thinking_max: 0.5,
  },
  {
    temperature_min: 0,
    temperature_max: 0.5,
    top_p_min: 0.5,
    top_p_max: 0.5,
    top_k_min: 0,
    top_k_max: 0,
    frequency_penalty_min: 0,
    frequency_penalty_max: 0,
    presence_penalty_min: 0,
    presence_penalty_max: 0,
    thinking_min: 0.51,
    thinking_max: 1,
  },
  {
    temperature_min: 0.51,
    temperature_max: 1,
    top_p_min: 0.5,
    top_p_max: 0.5,
    top_k_min: 0,
    top_k_max: 0,
    frequency_penalty_min: 0,
    frequency_penalty_max: 0,
    presence_penalty_min: 0,
    presence_penalty_max: 0,
    thinking_min: 0.51,
    thinking_max: 1,
  },
];