<commit_before>/**
 * Created by <NAME> on 2014/8/5.
 */
var notice_template = require('../../config/notice_template');
var redis_notice_wrapper = require('../nosql/redis_notice_wrapper');

var notice_wrapper = function() {
    this.init(notice_template);
};

notice_wrapper.prototype.init = function(notice_template){
    redis_notice_wrapper.init_notice('template','1.2.8',notice_template);
    redis_notice_wrapper.init_notice('template','1.2.6',notice_template);
    redis_notice_wrapper.init_notice('template','1.2.4',notice_template);
    redis_notice_wrapper.init_notice('template','1.2.2',notice_template);
    redis_notice_wrapper.init_notice('template','1.2.0',notice_template);
};

notice_wrapper.prototype.get = function(channel,version,cb){
    redis_notice_wrapper.get_notice(channel,version,function(reply){
        if(reply){<commit_msg>update notice_template<commit_after>/**
 * Created by <NAME> on 2014/8/5.
 */
var notice_template = require('../../config/notice_template');
var redis_notice_wrapper = require('../nosql/redis_notice_wrapper');

var notice_wrapper = function() {
    this.init(notice_template);
};

notice_wrapper.prototype.init = function(notice_template){
    redis_notice_wrapper.init_notice('template','1.3.0',notice_template);
    redis_notice_wrapper.init_notice('template','1.2.8',notice_template);
    redis_notice_wrapper.init_notice('template','1.2.6',notice_template);
    redis_notice_wrapper.init_notice('template','1.2.4',notice_template);
    redis_notice_wrapper.init_notice('template','1.2.2',notice_template);
    redis_notice_wrapper.init_notice('template','1.2.0',notice_template);
};

notice_wrapper.prototype.get = function(channel,version,cb){
    redis_notice_wrapper.get_notice(channel,version,function(reply){
        if(reply){
{'fraction_non_alphanumeric': 0.15539407490218, 'fraction_numerical': 0.02515371716042482, 'mean_word_length': 6.5210084033613445, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '6257976', 'n_tokens_mistral': 581, 'n_tokens_neox': 572, 'n_words': 55}