<commit_before>export interface User {
  id: number
  name: string
  home: string
  email: string
  hash: string
  status: 'v' | 'd'
  admin: boolean
  profile: string
  cdate: Date
  adate: Date
  pdate: Date
}

export function newUser(_user?: Object): User {
  const now = new Date()
  return {
    id: 0,
    name: '',
    home: '',
    email: '',
    hash: '',
    status: 'v',
    admin: false,
    profile: '',
    cdate: now,
    adate: now,
    pdate: new Date(2000, 0, 1),
    ..._user
  }
}
<commit_msg>change newUser() param name<commit_after>export interface User {
  id: number
  name: string
  home: string
  email: string
  hash: string
  status: 'v' | 'd'
  admin: boolean
  profile: string
  cdate: Date
  adate: Date
  pdate: Date
}

export function newUser(params?: Object): User {
  const now = new Date()
  return {
    id: 0,
    name: '',
    home: '',
    email: '',
    hash: '',
    status: 'v',
    admin: false,
    profile: '',
    cdate: now,
    adate: now,
    pdate: new Date(2000, 0, 1),
    ...params
  }
}

{'fraction_non_alphanumeric': 0.14395393474088292, 'fraction_numerical': 0.013435700575815739, 'mean_word_length': 2.4309210526315788, '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': '3379275', 'n_tokens_mistral': 389, 'n_tokens_neox': 376, 'n_words': 117}