<commit_before>#include <stdlib.h>
#include <stdio.h>

#include "procDiskStats.h"

#include "diskStats.h"
#include "utils.h"

int keepRunning = 1;

int main() {

  unsigned int major, minor;
  char s[1001];
  
  while (fgets(s, 1000, stdin) != NULL) {
    s[strlen(s)-1] = 0;
    majorAndMinorFromFilename(s, &major, &minor);
    fprintf(stderr,"%s\t%s\n", s, getFieldFromUdev(major, minor, "E:ID_SERIAL="));
  }
  
  exit(0);
}

  <commit_msg>to stdout<commit_after>#include <stdlib.h>
#include <stdio.h>

#include "procDiskStats.h"

#include "diskStats.h"
#include "utils.h"

int keepRunning = 1;

int main() {

  unsigned int major, minor;
  char s[1001];
  
  while (fgets(s, 1000, stdin) != NULL) {
    s[strlen(s)-1] = 0;
    majorAndMinorFromFilename(s, &major, &minor);
    fprintf(stdout,"%s\t%s\n", s, getFieldFromUdev(major, minor, "E:ID_SERIAL="));
  }
  
  exit(0);
}

  
{'fraction_non_alphanumeric': 0.1832579185520362, 'fraction_numerical': 0.027149321266968326, 'mean_word_length': 3.9719101123595504, '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': '3346685', 'n_tokens_mistral': 395, 'n_tokens_neox': 370, 'n_words': 75}