<commit_before>package cal;

import java.util.Scanner;

/**
 * The Class Calculator to read infix expression input and then output the
 * calculated result.
 * 
 * It act as the <client> object in simple factory pattern
 * 
 * @author Cal
 * @version 1.0
 */
public class Calculator {

    private Parser parser;

    /**
     * This is the main method which initializes a Calculator Class and keep
     * looping to scan user input, transform into a input expression and then
     * execute to calculate the answer until the user input "quit".
     * 
     * @param args
     *            Unused
     */
    public static void main(String[] args) {

	Scanner in = new Scanner(System.in);

	Calculator cal = new Calculator();<commit_msg>Update version from 1.0 to 2.0<commit_after>package cal;

import java.util.Scanner;

/**
 * The Class Calculator to read infix expression input and then output the
 * calculated result.
 * 
 * It act as the <client> object in simple factory pattern
 * 
 * @author Cal
 * @version 2.0
 */
public class Calculator {

    private Parser parser;

    /**
     * This is the main method which initializes a Calculator Class and keep
     * looping to scan user input, transform into a input expression and then
     * execute to calculate the answer until the user input "quit".
     * 
     * @param args
     *            Unused
     */
    public static void main(String[] args) {

	Scanner in = new Scanner(System.in);

	Calculator cal = new Calculator();
{'fraction_non_alphanumeric': 0.07780013413816231, 'fraction_numerical': 0.0053655264922870555, 'mean_word_length': 2.748743718592965, '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': '5865618', 'n_tokens_mistral': 432, 'n_tokens_neox': 401, 'n_words': 180}