<commit_before>import { observable } from "mobx";
import Test from "../../models/Test";

export default class ProjectStore {
  @observable name = "";
  @observable tests = [];
  @observable suites = [];

  constructor(name) {
    this.name = name;
    this.addTest = this.addTest.bind(this);
  }

  createTest(...argv) {<commit_msg>createSuite function added<commit_after>import { observable } from "mobx";
import Test from "../../models/Test";
import Suite from "../../models/Suite";

export default class ProjectStore {
  @observable name = "";
  @observable tests = [];
  @observable suites = [];

  constructor(name) {
    this.name = name;
    this.addTest = this.addTest.bind(this);
  }

  createSuite(...argv) {
    const suite = new Suite(undefined, ...argv);
    this.suites.push(suite);

    return suite;
  }

  createTest(...argv) {
{'fraction_non_alphanumeric': 0.1646919431279621, 'fraction_numerical': 0.0, 'mean_word_length': 3.225, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '3816156', 'n_tokens_mistral': 266, 'n_tokens_neox': 258, 'n_words': 63}