<commit_before>#!/bin/bash
# -*- coding: utf-8 -*-
# -*- mode: python; -*-
"""exec" "`dirname \"$0\"`/call.sh" "$0" "$@"; """
from __future__ import print_function

import time
import datetime
import shelve
from datetime import datetime,timedelta
import sys
import csv
import json
import os.path

import util

__doc__ = """
Created on Mon Oct 13 11:44:00 2014

@author: joschi
@author: razavian
"""

debugOutput = False

def toEntry(id, pid, name, desc, alias=None):
    res = {
        "id": id,
        "parent": pid,
        "name": name,
        "desc": desc<commit_msg>try vim set<commit_after>#!/bin/bash
# -*- coding: utf-8 -*-
# -*- mode: python; -*-
# vim: set filetype=python:
# vim: set ft=py:
"""exec" "`dirname \"$0\"`/call.sh" "$0" "$@"; """
from __future__ import print_function

import time
import datetime
import shelve
from datetime import datetime,timedelta
import sys
import csv
import json
import os.path

import util

__doc__ = """
Created on Mon Oct 13 11:44:00 2014

@author: joschi
@author: razavian
"""

debugOutput = False

def toEntry(id, pid, name, desc, alias=None):
    res = {
        "id": id,
        "parent": pid,
        "name": name,
        "desc": desc
{'fraction_non_alphanumeric': 0.1610738255033557, 'fraction_numerical': 0.025167785234899327, 'mean_word_length': 3.306859205776173, 'pattern_counts': {'":': 8, '<': 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': '6771519', 'n_tokens_mistral': 437, 'n_tokens_neox': 406, 'n_words': 131}