<commit_before>-module(concomp).
-export([concomp/2]).

concomp(Fname1, Fname2) ->
    Sizes=pfile_size([Fname1, Fname2]),
    Size1 = proplists:get_value(Fname1, Sizes),
    Size2 = proplists:get_value(Fname2, Sizes),
    
    if 
        Size1 > Size2 ->
            io:format("The first file is bigger~n");
        Size2 > Size1 ->
            io:format("The second file is bigger~n");
        true ->
            io:format("The files are the same size~n")
    end.
 
pfile_size(Files) -><commit_msg>name largest file in output<commit_after>-module(concomp).
-export([concomp/2]).

concomp(Fname1, Fname2) ->
    Sizes=pfile_size([Fname1, Fname2]),
    Size1 = proplists:get_value(Fname1, Sizes),
    Size2 = proplists:get_value(Fname2, Sizes),
    
    if 
        Size1 > Size2 ->
            io:format("~p is bigger~n", [Fname1]);
        Size2 > Size1 ->
            io:format("~p is bigger~n", [Fname2]);
        true ->
            io:format("The files are the same size~n")
    end.
 
pfile_size(Files) ->
{'fraction_non_alphanumeric': 0.1477832512315271, 'fraction_numerical': 0.027586206896551724, 'mean_word_length': 2.491408934707904, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 17, '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': '3053494', 'n_tokens_mistral': 371, 'n_tokens_neox': 364, 'n_words': 74}