<commit_before>% Modules
-record(module,      {line, name, functions}).

% Functions
-record(function,    {line, name, args=[], block={var,1,'_'}, body}).

% Terminals
-record(integer,     {line, value}).
-record(float,       {line, value}).
-record(var,         {line, name}).
-record(bound_var,   {line, name}).
-record(string,      {line, characters}).
-record(dstring,     {line, elements}).
-record(regexp,      {line, pattern}).
-record(module_name, {line, name}).
-record(atom,        {line, name}).
-record(true,        {line}).
-record(false,       {line}).
-record(nil,         {line}).

% Function calls
-record(local_call,  {line, name, args=[], block={nil, 1}}).
-record(remote_call, {line, receiver, name, args=[], block={nil, 1}}).
-record(native_call, {line, module, function, args=[]}).
-record(var_call,    {line, receiver, args=[], block={nil, 1}}).

% Operators
-record(unary_op,    {line, type, expr}).
-record(binary_op,   {line, type, left, right}).

% Other Expressions
-record(match,       {line, left, right}).
-record(cons,        {line, expr, tail}).
-record(empty,       {line}).
-record(tuple,       {line, elements}).
-record(binary,      {line, elements}).
-record(bin_element, {line, expression, size=default, type_list=default}).
-record(range,       {line, from, to}).
-record(dict,        {line, elements}).
-record(lambda,      {line, args, body}).
-record(block,       {line, exprs}).
-record(lc,          {line, expr, generators}).
-record(generate,    {line, pattern, source}).
-record(clause,      {line, patterns, exprs}).
-record('case',      {line, expr, clauses}).
-record('if',        {line, clauses}).
-record('try',       {line, body, clauses}).
-record('catch',     {line, pattern, body}).<commit_msg>Set default arguments of lambdas to an empty list<commit_after>% Modules
-record(module,      {line, name, functions}).

% Functions
-record(function,    {line, name, args=[], block={var,1,'_'}, body}).

% Terminals
-record(integer,     {line, value}).
-record(float,       {line, value}).
-record(var,         {line, name}).
-record(bound_var,   {line, name}).
-record(string,      {line, characters}).
-record(dstring,     {line, elements}).
-record(regexp,      {line, pattern}).
-record(module_name, {line, name}).
-record(atom,        {line, name}).
-record(true,        {line}).
-record(false,       {line}).
-record(nil,         {line}).

% Function calls
-record(local_call,  {line, name, args=[], block={nil, 1}}).
-record(remote_call, {line, receiver, name, args=[], block={nil, 1}}).
-record(native_call, {line, module, function, args=[]}).
-record(var_call,    {line, receiver, args=[], block={nil, 1}}).

% Operators
-record(unary_op,    {line, type, expr}).
-record(binary_op,   {line, type, left, right}).

% Other Expressions
-record(match,       {line, left, right}).
-record(cons,        {line, expr, tail}).
-record(empty,       {line}).
-record(tuple,       {line, elements}).
-record(binary,      {line, elements}).
-record(bin_element, {line, expression, size=default, type_list=default}).
-record(range,       {line, from, to}).
-record(dict,        {line, elements}).
-record(lambda,      {line, args=[], body}).
-record(block,       {line, exprs}).
-record(lc,          {line, expr, generators}).
-record(generate,    {line, pattern, source}).
-record(clause,      {line, patterns, exprs}).
-record('case',      {line, expr, clauses}).
-record('if',        {line, clauses}).
-record('try',       {line, body, clauses}).
-record('catch',     {line, pattern, body}).
{'fraction_non_alphanumeric': 0.211641706696807, 'fraction_numerical': 0.0022605255721955355, 'mean_word_length': 3.3542435424354244, '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': '2105405', 'n_tokens_mistral': 1188, 'n_tokens_neox': 1172, 'n_words': 301}