<commit_before>import webapp2
import json
import urllib2
import base64
import time

xTransmissionSessionId = None

torrent_fields = [
    "id",
    "name",
    "error",
    "errorString",
    "status",
    "totalSize",
    "downloadedEver",
    "rateDownload",
    "isFinished",
    "rateUpload",
    "rateDownload",
    "uploadedEver",
    "uploadRatio"
]

with open("config.json") as data:
    load = json.load(data)
    url = load["url"]
    user = load["user"]
    pw = load["pw"]

class Transmission():
    def post(self, data):
        global xTransmissionSessionId, url, user, pw<commit_msg>Added addedDate to torrent fields<commit_after>import webapp2
import json
import urllib2
import base64
import time

xTransmissionSessionId = None

torrent_fields = [
    "addedDate",
    "id",
    "name",
    "error",
    "errorString",
    "status",
    "totalSize",
    "downloadedEver",
    "rateDownload",
    "isFinished",
    "rateUpload",
    "rateDownload",
    "uploadedEver",
    "uploadRatio"
]

with open("config.json") as data:
    load = json.load(data)
    url = load["url"]
    user = load["user"]
    pw = load["pw"]

class Transmission():
    def post(self, data):
        global xTransmissionSessionId, url, user, pw
{'fraction_non_alphanumeric': 0.1321978913219789, 'fraction_numerical': 0.006488240064882401, 'mean_word_length': 3.2260273972602738, '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': 6, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3454309', 'n_tokens_mistral': 421, 'n_tokens_neox': 409, 'n_words': 100}