<commit_before>package com.google.sps.data;

import com.google.appengine.api.datastore.Entity;
import com.google.sps.utils.MemoryUtils;
import java.util.ArrayList;
import java.util.Collections;
import java.util.List;
import java.util.Random;
import java.util.Set;
import org.ejml.simple.SimpleMatrix;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

public class Recommender {

  private static Logger log = LoggerFactory.getLogger(Recommender.class);

  private int K;
  private final int STEPS = 10000;<commit_msg>Added user similarity recommendations and tests.<commit_after>package com.google.sps.data;

import com.google.appengine.api.datastore.Entity;
import com.google.sps.utils.MemoryUtils;
import java.util.ArrayList;
import java.util.Collections;
import java.util.List;
import java.util.Random;
import java.util.Set;
import org.ejml.simple.SimpleMatrix;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

public class Recommender {

  private static Logger log = LoggerFactory.getLogger(Recommender.class);
  private int K;
  private final int STEPS = 10000;
{'fraction_non_alphanumeric': 0.09870848708487084, 'fraction_numerical': 0.012915129151291513, 'mean_word_length': 5.458333333333333, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '415559', 'n_tokens_mistral': 356, 'n_tokens_neox': 340, 'n_words': 80}