<commit_before>import * as mocha from 'mocha';

declare var describe: mocha.IContextDefinition;

// tslint:disable-next-line max-line-length variable-name
function Suite<T>(suite: (tests: (utils: T) => void, opts?: any) => void, _describe: mocha.IContextDefinition = describe) {
  return Suite.build((modifier) => (description, opts, tests?) => {
    [opts, tests] = tests ? [opts, tests] : [, opts];
    Suite.run(modifier, _describe, description, () => suite(tests, opts));
  });
};

namespace Suite {
  // tslint:disable-next-line max-line-length
  export type Builder = (modifier?: Suite.Modifier) => <T>(description: string, optsOrTests: Suite.Tests | object | any[], tests?: Suite.Tests) => void;
  export type Tests = <T>(utils: T) => void;
  export type Modifier = 'only' | 'skip';<commit_msg>fix(types): remove object type<commit_after>import * as mocha from 'mocha';

declare var describe: mocha.IContextDefinition;

// tslint:disable-next-line max-line-length variable-name
function Suite<T>(suite: (tests: (utils: T) => void, opts?: any) => void, _describe: mocha.IContextDefinition = describe) {
  return Suite.build((modifier) => (description, opts, tests?) => {
    [opts, tests] = tests ? [opts, tests] : [, opts];
    Suite.run(modifier, _describe, description, () => suite(tests, opts));
  });
};

namespace Suite {
  // tslint:disable-next-line max-line-length
  export type Builder = (modifier?: Suite.Modifier) => <T>(description: string, optsOrTests: Suite.Tests | { [key: string]: any } | any[], tests?: Suite.Tests) => void;
  export type Tests = <T>(utils: T) => void;
  export type Modifier = 'only' | 'skip';
{'fraction_non_alphanumeric': 0.1743119266055046, 'fraction_numerical': 0.0, 'mean_word_length': 4.72027972027972, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 25, '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': '1143334', 'n_tokens_mistral': 526, 'n_tokens_neox': 521, 'n_words': 142}