<commit_before>#include <stdio.h>
#include <stdbool.h>
#include "src/logicalc.h"

int main() {
  bool allFalse[3] = {false, false, false};
  bool oneTrue[3]  = {true, false, false};
  bool someTrue[3] = {true, true, false};
  bool allTrue[3]  = {true, true, true};

  printf("Variables:\n");
  printf("bool allFalse[3] = {false, false, false};\n");
  printf("bool oneTrue[3]  = {true, false, false};\n");
  printf("bool someTrue[3] = {true, true, false};\n");
  printf("bool allTrue[3]  = {true, true, true};\n\n\n");

  printf("AND:\n");

  // and example
  printf("and(3, false, false, false): %d\n", and(3, false, false, false));
  printf("and(3, true, false, false): %d\n", and(3, true, false, false));
  printf("and(3, true, true, false): %d\n", and(3, true, true, false));
  printf("and(3, true, true, false): %d\n\n", and(3, true, true, true));

  // andList example
  printf("andList({false, false, false}): %d\n", andList(allFalse));
  printf("andList({true, false, false}): %d\n", andList(oneTrue));
  printf("andList({true, true, false}): %d\n", andList(someTrue));
  printf("andList({true, true, true}): %d\n\n", andList(allTrue));

  // AND example<commit_msg>COMMIT A ELIMINAR<commit_after>#include <stdio.h>
#include <stdbool.h>
#include "src/logicalc.h"


int main() {
  bool allFalse[3] = {false, false, false};
  bool oneTrue[3]  = {true, false, false};
  bool someTrue[3] = {true, true, false};
  bool allTrue[3]  = {true, true, true};

  printf("Variables:\n");
  printf("bool allFalse[3] = {false, false, false};\n");
  printf("bool oneTrue[3]  = {true, false, false};\n");
  printf("bool someTrue[3] = {true, true, false};\n");
  printf("bool allTrue[3]  = {true, true, true};\n\n\n");

  printf("AND:\n");

  // and example
  printf("and(3, false, false, false): %d\n", and(3, false, false, false));
  printf("and(3, true, false, false): %d\n", and(3, true, false, false));
  printf("and(3, true, true, false): %d\n", and(3, true, true, false));
  printf("and(3, true, true, false): %d\n\n", and(3, true, true, true));

  // andList example
  printf("andList({false, false, false}): %d\n", andList(allFalse));
  printf("andList({true, false, false}): %d\n", andList(oneTrue));
  printf("andList({true, true, false}): %d\n", andList(someTrue));
  printf("andList({true, true, true}): %d\n\n", andList(allTrue));

  // AND example
{'fraction_non_alphanumeric': 0.2339430029774564, 'fraction_numerical': 0.013611229264142918, 'mean_word_length': 4.736585365853658, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, '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': '426828', 'n_tokens_mistral': 922, 'n_tokens_neox': 900, 'n_words': 225}