<commit_before>function PathDbMods() {
  console.log("PathDbMods()...");
  // put the auth jwt in cookie as token
  fetch("/jwt/token", {
    method: 'GET',
    credentials: 'include'
  }).then(x => x.json()).then(x => {
    console.log(x)
    if (x.hasOwnProperty('token') && x.token) {
      document.cookie = "token=" + x.token + ";"
    }
  })

  function convertPathDbSlide(data){
    let x={}
    x["_raw"] = data
    x.mpp = 1e9
    x.source="pathdb"
    let pathdbid = data.nid[0].value
    // default dislpay name
    x.name = pathdbid
    x["_id"] = {"$oid": pathdbid}
    x.location = data.field_iip_path[0].value
    if (data.field_mpp_y && data.field_mpp_y.length >= 1) {
      this.mpp_y = data.field_mpp_y[0].value
      this.mpp = this.mpp_y<commit_msg>hotfix<commit_after>function PathDbMods() {
  console.log("PathDbMods()...");
  // put the auth jwt in cookie as token
  fetch("/jwt/token", {
    method: 'GET',
    credentials: 'include'
  }).then(x => x.json()).then(x => {
    console.log(x)
    if (x.hasOwnProperty('token') && x.token) {
      document.cookie = "token=" + x.token + ";"
    }
  })

  function convertPathDbSlide(data){
    let x={}
    x["_raw"] = data
    x.mpp = 1e9
    x.source="pathdb"
    let pathdbid = data.nid[0].value
    // default dislpay name
    x.name = pathdbid
    x["_id"] = {"$oid": pathdbid}
    // x.location = data.field_iip_path[0].value
    if (data.field_mpp_y && data.field_mpp_y.length >= 1) {
      this.mpp_y = data.field_mpp_y[0].value
      this.mpp = this.mpp_y
{'fraction_non_alphanumeric': 0.18122555410691005, 'fraction_numerical': 0.007822685788787484, 'mean_word_length': 2.707729468599034, 'pattern_counts': {'":': 2, '<': 3, '<?xml version=': 0, '>': 9, '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': '2234364', 'n_tokens_mistral': 607, 'n_tokens_neox': 604, 'n_words': 109}