<commit_before>#include "rain.h"
#include <gc.h>
#include <string.h>


// magic methods

void rain_binary_magic(box *ret, box *lhs, box *rhs, char *meth) {
  box key;
  box val;
  rain_set_str(&key, meth);
  rain_set_null(&val);
  rain_get(&val, lhs->env, &key);<commit_msg>core: Fix bug with overloaded binary operators<commit_after>#include "rain.h"
#include <gc.h>
#include <string.h>


// magic methods

void rain_binary_magic(box *ret, box *lhs, box *rhs, char *meth) {
  box key;
  box val;
  if(lhs->env == NULL) {
    return;
  }

  rain_set_str(&key, meth);
  rain_set_null(&val);
  rain_get(&val, lhs->env, &key);
{'fraction_non_alphanumeric': 0.16693418940609953, 'fraction_numerical': 0.0, 'mean_word_length': 4.333333333333333, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 10, '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': '1505759', 'n_tokens_mistral': 259, 'n_tokens_neox': 251, 'n_words': 62}