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

int main(void) {
int wordLen;
char word[30];
char scramble[30];
char fileName[30];
int i, j;
srand (time(NULL));
int randomNumber = 0;
int randomThing = 0;
FILE *ifp;

printf("enter file name\n");
scanf("%s", fileName);

ifp = fopen(fileName, "r");

if (ifp == NULL) {
printf("Sorry, file does not exist");
return 0;
}

while (fscanf(ifp, "%s", word) != EOF){
wordLen = strlen(word);
if (wordLen <= 3) {
printf("%s ", word);
} else {
    for (i = 0; i < wordLen; i++) {
	if (i == 0 || i == wordLen) {
	printf("%c", word[i]);
	} else {
 //      if (i > 0 && i < wordLen) {
	 randomNumber = (rand() % wordLen);
     	 randomThing = i + randomNumber;
	 printf("%c", word[randomThing]);
for (i = 0; i < wordLen; i++) {
if (i == 0 || i == wordLen) {
printf("%c", word[i]);
} else {
printf("%c", word[i]);
}
}

printf(" ");
}
}
printf("\n");
return 0;
}<commit_msg>stuff<commit_after>#include<stdio.h>
#include<string.h>
#include<stdlib.h>
#include<time.h>

int main(void) {
int wordLen;
char word[30];
char scramble[30];
char fileName[30];
int i, j;
srand (time(NULL));
int randomNumber = 0;
int randomThing = 0;
FILE *ifp;

printf("enter file name\n");
scanf("%s", fileName);

ifp = fopen(fileName, "r");

if (ifp == NULL) {
printf("Sorry, file does not exist");
return 0;
}

while (fscanf(ifp, "%s", word) != EOF){
wordLen = strlen(word);
if (wordLen <= 3) {
printf("%s ", word);
} else {
    for (i = 0; i < wordLen; i++) {
	if (i == 0 || i == wordLen) {
	printf("%c", word[i]);
	} else {
 //      if (i > 0 && i < wordLen) {
	 randomNumber = (rand() % wordLen);
     	 randomThing = i + randomNumber;
	 printf("%c", word[randomThing]);
}
}
printf(" ");
}
}
printf("\n");
return 0;
}
{'fraction_non_alphanumeric': 0.2271186440677966, 'fraction_numerical': 0.01694915254237288, 'mean_word_length': 4.01699716713881, 'pattern_counts': {'":': 0, '<': 18, '<?xml version=': 0, '>': 13, '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': '606997', 'n_tokens_mistral': 743, 'n_tokens_neox': 712, 'n_words': 194}