<commit_before>import bs4
import datetime
import json
import requests
import sys

MLS_URL = 'http://www.mlssoccer.com'
MLS_STANDINGS_URL = 'http://www.mlssoccer.com/standings'
MLS_STATS_URL = 'https://www.mlssoccer.com/stats/season'
ALL_CLUBS = set()



class Club:
  """A MLS Club

  Required Attributes:
    name: The name of the club.
    abbreviation: The common abbreviation for the club.
    subreddit: The subreddit (per /r/mls) for the club.
  Optional Attributes:
    points: Total accumulated points.
    games_played: Number of games played.
    goal_difference: The positive or negative goal difference. This is
      the sum of goals for and goals against.
    goals_for: Total number of goals scored.
  """
  def __init__(self, name, abbreviation, conference, subreddit, website, franchise, selected,
      rank=0, points=0, games_played=0, goal_difference=0, goals_for=0):
    self.name = name
    self.abbreviation = abbreviation
    self.conference = conference
    self.subreddit = subreddit
    self.website = website
    self.franchise = franchise
    self.selected = selected
    self.rank = rank
    self.points = points
    self.games_played = games_played
    self.goal_difference = goal_difference
    self.goals_for = goals_for


  def __str__(self):
    if self.selected:
      fmt = '**%s**|**[%s](%s)**|**%s**|**%s**|**%s**|**%s**'
    else:
      fmt = '%s|[%s](%s)|%s|%s|%s|%s'

    return fmt % (self.rank, self.abbreviation, self.subreddit, self.points,
        self.games_played, self.goal_difference, self.goals_for)



def __strip_text(text):
  return text.get_text().strip()

<commit_msg>chore: update documentation for __init__<commit_after>import bs4
import datetime
import json
import requests
import sys

MLS_URL = 'http://www.mlssoccer.com'
MLS_STANDINGS_URL = 'http://www.mlssoccer.com/standings'
MLS_STATS_URL = 'https://www.mlssoccer.com/stats/season'
ALL_CLUBS = set()



class Club:
  """
  A MLS Club

  Required Attributes:
    name: The name of the club.
    abbreviation: The common abbreviation for the club.
    conference: The conferences of the club.
    subreddit: The subreddit (per /r/mls) for the club.
    website: The club's official website.
    franchise: The unique ID of the club used for querying statistics
    selected: Whether this club was specified by input.
  Optional Attributes:
    rank: The club's rank.
    points: Total accumulated points.
    games_played: Number of games played.
    goal_difference: The positive or negative goal difference. This is the sum
      of goals for and goals against.
    goals_for: Total number of goals scored.
  """
  def __init__(self, name, abbreviation, conference, subreddit, website,
      franchise, selected, rank=0, points=0, games_played=0, goal_difference=0,
      goals_for=0):
    self.name = name
    self.abbreviation = abbreviation
    self.conference = conference
    self.subreddit = subreddit
    self.website = website
    self.franchise = franchise
    self.selected = selected
    self.rank = rank
    self.points = points
    self.games_played = games_played
    self.goal_difference = goal_difference
    self.goals_for = goals_for

  def __str__(self):
    if self.selected:
      fmt = '**%s**|**[%s](%s)**|**%s**|**%s**|**%s**|**%s**'
    else:
      fmt = '%s|[%s](%s)|%s|%s|%s|%s'

    return fmt % (self.rank, self.abbreviation, self.subreddit, self.points,
        self.games_played, self.goal_difference, self.goals_for)



def __strip_text(text):
  return text.get_text().strip()


{'fraction_non_alphanumeric': 0.11574468085106383, 'fraction_numerical': 0.003404255319148936, 'mean_word_length': 3.537966537966538, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, 'lorem ipsum': 0, 'www.': 6, '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': '991567', 'n_tokens_mistral': 1217, 'n_tokens_neox': 1159, 'n_words': 318}