<commit_before>import sys
import os
if len(sys.argv) <=2:
	print "Usage: DirectoryName progName"
	sys.exit(0)
#Create directory
newpath = r'src/'+sys.argv[1] 
if not os.path.exists(newpath): 
	os.makedirs(newpath)
#Create c++ file
cppFile = open(newpath+"/"+sys.argv[2]+".cpp",'w')
content="\
/*\n\
ID: your_id_here\n\
PROG: "+sys.argv[2]+"\n\
LANG: C++\n\
*/\n\
#include <iostream>\n\
#include <fstream>\n\
#include <string>\n\
using namespace std;\n\
int main() {\n\
    ofstream fout (\""+sys.argv[2]+"\");\n\
    ifstream fin (\""+sys.argv[2]+"\");\n\
    return 0;\n\
}"
cppFile.write(content)
cppFile.close()
inputFile = open(newpath+"/"+sys.argv[2]+".in",'w')
inputFile.close()
<commit_msg>correct the information of the template<commit_after>import sys
import os
if len(sys.argv) <=2:
	print "Usage: DirectoryName progName"
	sys.exit(0)
#Create directory
newpath = r'src/'+sys.argv[1] 
if not os.path.exists(newpath): 
	os.makedirs(newpath)
#Create c++ file
cppFile = open(newpath+"/"+sys.argv[2]+".cpp",'w')
content="\
/*\n\
ID: hwchiu1\n\
PROG: "+sys.argv[2]+"\n\
LANG: C++\n\
*/\n\
#include <iostream>\n\
#include <fstream>\n\
#include <string>\n\
using namespace std;\n\
int main() {\n\
    ofstream fout (\""+sys.argv[2]+"\");\n\
    ifstream fin (\""+sys.argv[2]+"\");\n\
    return 0;\n\
}"
cppFile.write(content)
cppFile.close()
inputFile = open(newpath+"/"+sys.argv[2]+".in",'w')
inputFile.close()

{'fraction_non_alphanumeric': 0.23886925795053005, 'fraction_numerical': 0.01342756183745583, 'mean_word_length': 4.2444444444444445, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 9, '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': '5057880', 'n_tokens_mistral': 607, 'n_tokens_neox': 590, 'n_words': 123}