<commit_before>import * as chai from 'chai'
const expect = chai.expect

import { groupRepositories } from '../../src/ui/repositories-list/group-repositories'
import { Repository } from '../../src/models/repository'
import { GitHubRepository } from '../../src/models/github-repository'
import { Owner } from '../../src/models/owner'
import { getDotComAPIEndpoint } from '../../src/lib/api'
import { CloningRepository } from '../../src/lib/dispatcher'

describe('Repository grouping', () => {
  const repositories: Array<Repository | CloningRepository> = [
    new Repository('repo1', 1, null, false),
    new Repository(
      'repo2',
      2,
      new GitHubRepository(
        'my-repo2',
        new Owner('', getDotComAPIEndpoint()),
        1
      ),
      false
    ),
    new Repository(
      'repo3',<commit_msg>rename test suite<commit_after>import * as chai from 'chai'
const expect = chai.expect

import { groupRepositories } from '../../src/ui/repositories-list/group-repositories'
import { Repository } from '../../src/models/repository'
import { GitHubRepository } from '../../src/models/github-repository'
import { Owner } from '../../src/models/owner'
import { getDotComAPIEndpoint } from '../../src/lib/api'
import { CloningRepository } from '../../src/lib/dispatcher'

describe('repository list grouping', () => {
  const repositories: Array<Repository | CloningRepository> = [
    new Repository('repo1', 1, null, false),
    new Repository(
      'repo2',
      2,
      new GitHubRepository(
        'my-repo2',
        new Owner('', getDotComAPIEndpoint()),
        1
      ),
      false
    ),
    new Repository(
      'repo3',
{'fraction_non_alphanumeric': 0.1607250755287009, 'fraction_numerical': 0.008459214501510574, 'mean_word_length': 2.8511627906976744, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 7, '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': '6606460', 'n_tokens_mistral': 492, 'n_tokens_neox': 480, 'n_words': 118}