<commit_before>
import SnapKit

class LeaderboardViewController: UIViewController {
  override func viewDidLoad() {
    super.viewDidLoad()
    configureView()
  }

  private func configureView() {
    view.backgroundColor = Style.Colors.white
    title = Strings.NavBarTitles.leaderboard
  }
}
<commit_msg>LeaderboardView: add the leaderboard to the view<commit_after>
import SnapKit

class TeamLeaderboardDataSource: LeaderBoardDataSource {
  var leaders: Array<LeaderBoardEntry> = []

  func reloadData() {
    // TODO(compnerd) fetch information from the backend
  }
}

class LeaderboardViewController: UIViewController {
  internal let dataSource: TeamLeaderboardDataSource = TeamLeaderboardDataSource()
  internal let leaderboard: LeaderBoard = LeaderBoard()

  override func viewWillAppear(_ animated: Bool) {
    dataSource.reloadData()
  }

  override func viewDidLoad() {
    super.viewDidLoad()
    configureView()
  }

  private func configureView() {
    view.backgroundColor = Style.Colors.white
    title = Strings.NavBarTitles.leaderboard

    view.addSubview(leaderboard)
    leaderboard.snp.makeConstraints { (ConstraintMaker) in
      ConstraintMaker.edges.equalToSuperview().inset(Style.Padding.p12)
    }
  }
}

{'fraction_non_alphanumeric': 0.08441558441558442, 'fraction_numerical': 0.0016233766233766235, 'mean_word_length': 4.431718061674009, 'pattern_counts': {'":': 0, '<': 4, '<?xml version=': 0, '>': 4, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6712532', 'n_tokens_mistral': 371, 'n_tokens_neox': 350, 'n_words': 77}