<commit_before>(function (d, origin) {
  var
    sns = {
      twitter: {
        api_path: 'https://twitter.com/intent/tweet',
        title_param: 'text',
        url_param: 'url',
        display: 'シェア'
      },
      facebook: {
        api_path: 'https://www.facebook.com/share.php',
        title_param: 'title',
        url_param: 'url',
        display: 'シェア'
      },
      google: {
        api_path: 'https://plus.google.com/share',
        url_param: 'url',
        display: '+1'
      },
      hatena: {
        api_path: 'https://b.hatena.ne.jp/add',
        title_param: 'title',
        url_param: 'url',
        display: 'ブクマ'
      },
      pocket: {
        api_path: 'https://getpocket.com/edit',
        title_param: 'title',
        url_param: 'url',
        display: 'Pocket'
      },
      line: {
        api_path: 'https://line.me/R/msg/text/?',
        display: 'Line'
      },
      slack: {
        api_path: 'http://slackbutton.herokuapp.com/post/new/',
        url_param: 'url',
        display: 'シェア'
      },
      mixi: {
        api_path: 'https://mixi.jp/recent_voice.pl',
        url_param: 'status',
        display: 'つぶやく'
      },
      chatwork: {
        api_path: 'https://www.chatwork.com/packages/share/new.php',
        title_param: 'title',
        url_param: 'url',
        display: 'シェア'
      },
      evernote: {
        api_path: 'https://www.evernote.com/noteit.action',
        title_param: 'title',
        url_param: 'url',
        display: 'clip'
      },
      feedly: {
        api_path: 'https://feedly.com/i/subscription/feed/' + origin + '/feed',
        title_param: 'title',
        url_param: 'url',
        display: 'シェア'
      }
    };

  _a_tag_generator = function (title, href) {<commit_msg>url title それぞれURLエンコードするか判定を追加<commit_after>(function (d, origin) {
  var
    sns = {
      twitter: {
        api_path:     'https://twitter.com/intent/tweet',
        title_param:  'text',
        url_param:    'url',
        title_encode: false,
        url_encode:   false,
        display:      'シェア'
      },
      facebook: {
        api_path:     'https://www.facebook.com/share.php',
        title_param:  'title',
        url_param:    'url',
        title_encode: false,
        url_encode:   true,
        display:      'シェア'
      },
      google: {
        api_path:     'https://plus.google.com/share',
        url_param:    'url',
        title_encode: false,
        url_encode:   false,
        display:      '+1'
      },
      hatena: {
        api_path:     'https://b.hatena.ne.jp/add',
        title_param:  'title',
        url_param:    'url',
        title_encode: true,
        url_encode:   false,
        display:      'ブクマ'
      },
      pocket: {
        api_path:     'https://getpocket.com/edit',
        title_param:  'title',
        url_param:    'url',
        title_encode: false,
        url_encode:   true,
        display:      'Pocket'
      },
      line: {
        api_path:     'https://line.me/R/msg/text/?',
        title_encode: false,
        url_encode:   false,
        url_param:    '',
        display:      'Line'
      },
      slack: {
        api_path:     'http://slackbutton.herokuapp.com/post/new/',
        url_param:    'url',
        title_encode: false,
        url_encode:   true,
        display:      'シェア'
      },
      mixi: {
        api_path:     'https://mixi.jp/recent_voice.pl',
        url_param:    'status',
        title_encode: false,
        url_encode:   false,
        display:      'つぶやく'
      },
      chatwork: {
        api_path:     'https://www.chatwork.com/packages/share/new.php',
        title_param:  'title',
        url_param:    'url',
        title_encode: true,
        url_encode:   true,
        display:      'シェア'
      },
      evernote: {
        api_path:     'https://www.evernote.com/noteit.action',
        title_param:  'title',
        url_param:    'url',
        title_encode: false,
        url_encode:   false,
        display:      'clip'
      },
      feedly: {
        api_path:     'https://feedly.com/i/subscription/feed/' + origin + '/feed',
        title_encode: false,
        url_encode:   false,
        display:      'シェア'
      }
    };

  _a_tag_generator = function (title, href) {
{'fraction_non_alphanumeric': 0.1446290662298151, 'fraction_numerical': 0.000468055230517201, 'mean_word_length': 1.5501193317422435, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 20, 'lorem ipsum': 0, 'www.': 6, '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': '53230', 'n_tokens_mistral': 1475, 'n_tokens_neox': 1456, 'n_words': 243}