<commit_before>describe "An unsigned integer" do
  it "should not modify an int when converted" do
    forall int x . (to_int (of_int x)) should = x
  done;

  it "should not modify an int32 when converted" do
    forall int32 x . (to_int32 (of_int32 x)) should = x
  done;

  it "should not modify strings when converted" do
    forall int32 x . (to_string (of_int32 x)) should = (Int32.to_string x)
  done;

  it "should perform logical and correctly" do
    forall int x . forall int y .
      (to_int (logand (of_int x) (of_int y))) should = (x land y)
  done;

  it "should perform logical or correctly" do
    forall int x . forall int y .
      (to_int (logor (of_int x) (of_int y))) should = (x lor y)
  done;
<commit_msg>Add max_int string test as a special case.<commit_after>describe "An unsigned integer" do
  it "should not modify an int when converted" do
    forall int x . (to_int (of_int x)) should = x
  done;

  it "should not modify an int32 when converted" do
    forall int32 x . (to_int32 (of_int32 x)) should = x
  done;

  it "should not modify strings when converted" do
    (of_string (to_string max_int)) should = max_int;
    forall int32 x . (to_string (of_int32 x)) should = (Int32.to_string x)
  done;

  it "should perform logical and correctly" do
    forall int x . forall int y .
      (to_int (logand (of_int x) (of_int y))) should = (x land y)
  done;

  it "should perform logical or correctly" do
    forall int x . forall int y .
      (to_int (logor (of_int x) (of_int y))) should = (x lor y)
  done;

{'fraction_non_alphanumeric': 0.09138042773817238, 'fraction_numerical': 0.01814646791963707, 'mean_word_length': 3.0103896103896104, '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': '7411066', 'n_tokens_mistral': 556, 'n_tokens_neox': 521, 'n_words': 226}