<commit_before>package repository

import akka.stream.Materializer
import com.google.inject.{AbstractModule, Provides}
import com.mohiva.play.silhouette.api.util.PasswordInfo
import com.mohiva.play.silhouette.impl.providers.OAuth2Info
import com.mohiva.play.silhouette.persistence.daos.DelegableAuthInfoDAO
import play.api.{Configuration, Logger}
import repository.mongodb.party._
import repository.mongodb.silhouette.{
  MongoDBOAuth2Repository,
  MongoDBPasswordAuthRepository
}

class MongoDBModule extends AbstractModule {

  private[this] val logger = Logger(getClass)

  override def configure(): Unit = {}

  @Provides
  def userRepositoryProvider(configuration: Configuration): UserRepository = {
    new MongoDBUserRepository(configuration)
  }

  @Provides
  def avatarRepositoryProvider(
      configuration: Configuration,<commit_msg>removing unused logger<commit_after>package repository

import akka.stream.Materializer
import com.google.inject.{AbstractModule, Provides}
import com.mohiva.play.silhouette.api.util.PasswordInfo
import com.mohiva.play.silhouette.impl.providers.OAuth2Info
import com.mohiva.play.silhouette.persistence.daos.DelegableAuthInfoDAO
import play.api.Configuration
import repository.mongodb.party._
import repository.mongodb.silhouette.{
  MongoDBOAuth2Repository,
  MongoDBPasswordAuthRepository
}

class MongoDBModule extends AbstractModule {

  override def configure(): Unit = {}

  @Provides
  def userRepositoryProvider(configuration: Configuration): UserRepository = {
    new MongoDBUserRepository(configuration)
  }

  @Provides
  def avatarRepositoryProvider(
      configuration: Configuration,
{'fraction_non_alphanumeric': 0.07907542579075426, 'fraction_numerical': 0.0024330900243309003, 'mean_word_length': 6.1521739130434785, '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': '3225724', 'n_tokens_mistral': 482, 'n_tokens_neox': 471, 'n_words': 88}