<commit_before>#!/usr/bin/ruby

require 'rrd_fetch.rb'

$chart_url= %{http://chart.apis.google.com/chart
?chxl=0:|0%3A00|4%3A00|8%3A00|12%3A00|16%3A00|20%3A00|24%3A00
&chxp=0,0,16,32,48,64,80,96
&chxs=0,676767,11.5,-1,l,676767
&chxt=x,y<commit_msg>escape '%' in google chart url<commit_after>#!/usr/bin/ruby

require 'rrd_fetch.rb'

$chart_url= %{http://chart.apis.google.com/chart
?chxl=0:|0%%3A00|4%%3A00|8%%3A00|12%%3A00|16%%3A00|20%%3A00|24%%3A00
&chxp=0,0,16,32,48,64,80,96
&chxs=0,676767,11.5,-1,l,676767
&chxt=x,y
{'fraction_non_alphanumeric': 0.25, 'fraction_numerical': 0.24615384615384617, 'mean_word_length': 9.42, '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': '2304030', 'n_tokens_mistral': 349, 'n_tokens_neox': 294, 'n_words': 21}