<commit_before>
class Lists(object)

  def __init__(self, lists, page=1, last="", comments=False, fav=False, key=""):
    self.__parameters = {}

  @property
  def hostname()
    return("https://derpiboo.ru")

  @property
  def parameters(self):
    return(self.__parameters)

  @property
  def lists():
    lists = {
      0: "index",
      1: "scoring_scoring",
      2: "all_time_top_scoring",
      3: "top_commented"
    }

    return(lists)

  @property
  def page(self):
    return(self.parameters["page"])

  @page.setter
  def page(self, page=1):
    if not isinstance(page, int):
      raise TypeError("page number must be an int")

    if page < 1:
      raise ValueError("page number must be greater than 1")

    self.__parameters["page"] = page

  @property
  def comments(self):
    return(self.parameters["comments"])

  @comments.setter
  def comments(self, comments=True):
    if not isinstance(comments, bool):
      raise TypeError("comments must be either True or False")

    self.__parameters["comments"] = comments
<commit_msg>Add fav property and setter to Lists<commit_after>
class Lists(object)

  def __init__(self, lists, page=1, last="", comments=False, fav=False, key=""):
    self.__parameters = {}

  @property
  def hostname()
    return("https://derpiboo.ru")

  @property
  def parameters(self):
    return(self.__parameters)

  @property
  def lists():
    lists = {
      0: "index",
      1: "scoring_scoring",
      2: "all_time_top_scoring",
      3: "top_commented"
    }

    return(lists)

  @property
  def page(self):
    return(self.parameters["page"])

  @page.setter
  def page(self, page=1):
    if not isinstance(page, int):
      raise TypeError("page number must be an int")

    if page < 1:
      raise ValueError("page number must be greater than 1")

    self.__parameters["page"] = page

  @property
  def comments(self):
    return(self.parameters["comments"])

  @comments.setter
  def comments(self, comments=True):
    if not isinstance(comments, bool):
      raise TypeError("comments must be either True or False")

    self.__parameters["comments"] = comments

  @property
  def fav(self):
    return(self.parameters["fav"])

  @fav.setter
  def fav(self, fav=True):
    if not isinstance(fav, bool):
      raise TypeError("favorites must be either True or False")

    self.__parameters["fav"] = fav

{'fraction_non_alphanumeric': 0.13102282333051563, 'fraction_numerical': 0.006762468300929839, 'mean_word_length': 3.3351648351648353, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 3, 'https://': 2, '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': '4397208', 'n_tokens_mistral': 765, 'n_tokens_neox': 731, 'n_words': 202}