All files / web/src/test/journey-simulator/profiles index.ts

0% Statements 0/87
0% Branches 0/1
0% Functions 0/1
0% Lines 0/87

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 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88                                                                                                                                                                               
/**
 * Student Profiles for Journey Simulation
 *
 * Each profile represents a different type of learner with:
 * - Different learning RATES (K and n parameters in the Hill function)
 * - Different help usage patterns
 * - ALL profiles start with ZERO exposures (blank slate)
 *
 * The difference between fast/average/slow learners is HOW QUICKLY
 * they acquire mastery through exposure, not prior knowledge.
 */

export {
  AVERAGE_LEARNER_WEAK_SKILLS,
  averageLearnerProfile,
} from './average-learner'
export { FAST_LEARNER_WEAK_SKILLS, fastLearnerProfile } from './fast-learner'
// Per-skill deficiency profiles (comprehensive A/B testing)
export {
  generateAllDeficiencyProfiles,
  generateAllSkillLearnerCombinations,
  generateDeficientProfile,
  getPracticingSkillsForDeficiency,
  getRepresentativeProfiles,
  getRepresentativeProfilesAllLearners,
  LEARNER_TYPES,
  type LearnerType,
  SKILL_ORDER,
} from './per-skill-deficiency'
export { SLOW_LEARNER_WEAK_SKILLS, slowLearnerProfile } from './slow-learner'
export {
  STARK_STRONG_SKILLS,
  STARK_WEAK_SKILLS,
  starkContrastProfile,
} from './stark-contrast'
// Legacy profiles for specific test scenarios (not blank slate)
export {
  STRONG_SKILLS,
  unevenSkillsProfile,
  WEAK_SKILLS,
} from './uneven-skills'

/**
 * All skills used across profiles.
 * These are the skills that the simulator can track.
 */
export const ALL_SKILLS = [
  // Basic addition
  'basic.directAddition',
  'basic.heavenBead',
  'basic.simpleCombinations',
  // Basic subtraction
  'basic.directSubtraction',
  'basic.heavenBeadSubtraction',
  'basic.simpleCombinationsSub',
  // Five complements (addition)
  'fiveComplements.4=5-1',
  'fiveComplements.3=5-2',
  'fiveComplements.2=5-3',
  'fiveComplements.1=5-4',
  // Ten complements (addition)
  'tenComplements.9=10-1',
  'tenComplements.8=10-2',
  'tenComplements.7=10-3',
  'tenComplements.6=10-4',
  'tenComplements.5=10-5',
] as const

/**
 * A minimal set of skills for quick tests.
 * Includes one from each category.
 */
export const MINIMAL_SKILLS = [
  'basic.directAddition',
  'basic.heavenBead',
  'fiveComplements.4=5-1',
  'tenComplements.9=10-1',
] as const

/**
 * Basic skills only - for testing students just starting out.
 */
export const BASIC_SKILLS = [
  'basic.directAddition',
  'basic.heavenBead',
  'basic.simpleCombinations',
] as const