<commit_before>// Copyright 2016, University of Colorado Boulder

/**
 *
 * @author <NAME> (PhET Interactive Simulations)
 * @author <NAME>
 */
define( function( require ) {
  'use strict';

  // modules
  var assertInstanceOf = require( 'PHET_IO/assertions/assertInstanceOf' );
  var phetioInherit = require( 'PHET_IO/phetioInherit' );
  var phetioNamespace = require( 'PHET_IO/phetioNamespace' );
  var TFunctionWrapper = require( 'PHET_IO/types/TFunctionWrapper' );
  var TObject = require( 'PHET_IO/types/TObject' );
  var TString = require( 'PHET_IO/types/TString' );
  var TVoid = require( 'PHET_IO/types/TVoid' );
  var phetioEvents = require( 'PHET_IO/phetioEvents' );

  // The supported events have this structure:
  // object: {event1:[{argName:argName,argType:argType},{}},...}
  // Here is code that tests it out:
  //  var events = new TEvents();
  //phet-io && phetio.addInstance( 'concentrationScreen.testEvents', events );
  //
  //events.trigger( 'personBorn', 'larry', 123 );
  //events.trigger( 'purchasedSolute', Solute.DRINK_MIX );

  // With this for the API file
  //'concentrationScreen.testEvents': TEvents( {
  //    personBorn: [ { arg: 'name', type: TString }, { arg: 'length', type: TNumber } ],
  //    purchasedSolute: [ { arg: 'solute', type: Solute } ],
  //    personAteLunch: []
  //  } )<commit_msg>Rename type to phetioValueType (https://github.com/phetsims/phet-io/issues/517)<commit_after>// Copyright 2016, University of Colorado Boulder

/**
 *
 * @author <NAME> (PhET Interactive Simulations)
 * @author <NAME>
 */
define( function( require ) {
  'use strict';

  // modules
  var assertInstanceOf = require( 'PHET_IO/assertions/assertInstanceOf' );
  var phetioInherit = require( 'PHET_IO/phetioInherit' );
  var phetioNamespace = require( 'PHET_IO/phetioNamespace' );
  var TFunctionWrapper = require( 'PHET_IO/types/TFunctionWrapper' );
  var TObject = require( 'PHET_IO/types/TObject' );
  var TString = require( 'PHET_IO/types/TString' );
  var TVoid = require( 'PHET_IO/types/TVoid' );
  var phetioEvents = require( 'PHET_IO/phetioEvents' );

  // The supported events have this structure:
  // object: {event1:[{argName:argName,argType:argType},{}},...}
  // Here is code that tests it out:
  //  var events = new TEvents();
  //phet-io && phetio.addInstance( 'concentrationScreen.testEvents', events );
  //
  //events.trigger( 'personBorn', 'larry', 123 );
  //events.trigger( 'purchasedSolute', Solute.DRINK_MIX );

  // With this for the API file
  //'concentrationScreen.testEvents': TEvents( {
  //    personBorn: [ { arg: 'name', phetioValueType: TString }, { arg: 'length', phetioValueType: TNumber } ],
  //    purchasedSolute: [ { arg: 'solute', type: Solute } ],
  //    personAteLunch: []
  //  } )
{'fraction_non_alphanumeric': 0.15905797101449276, 'fraction_numerical': 0.006884057971014493, 'mean_word_length': 3.8017391304347825, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 1, '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': '7426929', 'n_tokens_mistral': 1010, 'n_tokens_neox': 967, 'n_words': 214}