<commit_before># -*- encoding : utf-8 -*-
class Channels::ProfilesController < Channels::BaseController
  inherit_resources
  defaults resource_class: Channel, finder: :find_by_permalink!
  actions :show
  custom_actions resource: [:how_it_works]

  #before_filter{ params[:id] = request.subdomain }
  before_filter{ params[:id] = 'jovenesactivos' }
  def show
    show! do
      if @profile.group_channels.present?
        channel_ids = @profile.group_channels.map{|p| p.id }
        channel_ids << @profile.id
        @other_channels = Channel.other_channels(channel_ids)<commit_msg>profiles controller subdomain<commit_after># -*- encoding : utf-8 -*-
class Channels::ProfilesController < Channels::BaseController
  inherit_resources
  defaults resource_class: Channel, finder: :find_by_permalink!
  actions :show
  custom_actions resource: [:how_it_works]

  before_filter{ params[:id] = request.subdomain }
  #before_filter{ params[:id] = 'jovenesactivos' }
  def show
    show! do
      if @profile.group_channels.present?
        channel_ids = @profile.group_channels.map{|p| p.id }
        channel_ids << @profile.id
        @other_channels = Channel.other_channels(channel_ids)
{'fraction_non_alphanumeric': 0.11129848229342328, 'fraction_numerical': 0.0016863406408094434, 'mean_word_length': 4.3710407239819, 'pattern_counts': {'":': 0, '<': 9, '<?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': '3305896', 'n_tokens_mistral': 371, 'n_tokens_neox': 363, 'n_words': 73}