<commit_before>from ..base import *


@Js
def console():
    pass


@Js
def log():
    print(arguments[0])


console.put('log', log)<commit_msg>console: add methods debug,info,warn,error<commit_after>from ..base import *

@Js
def console():
    pass

@Js
def log():
    print(arguments[0])

console.put('log', log)
console.put('debug', log)
console.put('info', log)
console.put('warn', log)
console.put('error', log)
{'fraction_non_alphanumeric': 0.18269230769230768, 'fraction_numerical': 0.004807692307692308, 'mean_word_length': 4.712328767123288, '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': '7019162', 'n_tokens_mistral': 150, 'n_tokens_neox': 145, 'n_words': 36}