function practiceLevelData (content, studentSessions) {
  const { original, fromIntroLevelOriginal, practiceThresholdMinutes } = content
  const normalizedOriginal = original || fromIntroLevelOriginal
  const level = new Level(content)

  let language = studentSessions[normalizedOriginal]?.codeLanguage || 'python'
  if (content.type === 'web-dev') {
    language = 'html'
  }
  const solutionCode = level.getSolutionForLanguage(language)?.source || ''

  const starterCode = level.getSampleCodeForLanguage(language) || ''
  const studentCode = studentSessions[normalizedOriginal]?.code?.['hero-placeholder']?.plan || ''

  return {
    type: PRACTICE_LEVEL,
    starterCode,
    studentCode,
    solutionCode,
    language,
    practiceThresholdMinutes,
  }
}
Payload for practiceLevelData for displaying on the teacher dashboard panel.