<commit_before><?php
/* This file is part of the XP framework's experiments
 *
 * $Id$
 */

  /**
   * Enumeration of US coins
   *
   * @purpose  Enumeration
   */
  enum Coin {
    PENNY(1), NICKEL(5), DIME(10), QUARTER(25);
    
    /**
     * Returns color of a specified coin
     *
     * @model   static
     * @access  public
     * @param   int c
     * @return  string color
     * @throws  lang.IllegalArgumentException
     */
    function colorOf($c) {
      switch ($c) {
        case Coin_PENNY:    return 'COPPER';
        case Coin_NICKEL:   return 'NICKEL';
        case Coin_DIME:
        case Coind_QUARTER: return 'SILVER';
        default: throw(new IllegalArgumentException('Unknown coin '.$c));
      }
    }
  }
?><commit_msg>- Fix typo in switch block<commit_after><?php
/* This file is part of the XP framework's experiments
 *
 * $Id$
 */

  /**
   * Enumeration of US coins
   *
   * @purpose  Enumeration
   */
  enum Coin {
    PENNY(1), NICKEL(5), DIME(10), QUARTER(25);
    
    /**
     * Returns color of a specified coin
     *
     * @model   static
     * @access  public
     * @param   int c
     * @return  string color
     * @throws  lang.IllegalArgumentException
     */
    function colorOf($c) {
      switch ($c) {
        case Coin_PENNY:    return 'COPPER';
        case Coin_NICKEL:   return 'NICKEL';
        case Coin_DIME:
        case Coin_QUARTER: return 'SILVER';
        default: throw(new IllegalArgumentException('Unknown coin '.$c));
      }
    }
  }
?>
{'fraction_non_alphanumeric': 0.11955085865257596, 'fraction_numerical': 0.007926023778071334, 'mean_word_length': 2.0606060606060606, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '2748620', 'n_tokens_mistral': 525, 'n_tokens_neox': 494, 'n_words': 133}