<commit_before>#include <iostream>
#include <string>
#include <fstream>
#include <ctime>
#include <cstdlib>
using namespace std;
//벻Ҫ²ע  T T
string instrn[8][20] = {{"1","addu","subu","slt","sltu","sllv","srlv","srav","and","or","xor","nor","end"},
                        {"0","addiu","subiu","slti","sltiu","andi","ori","xori","end"},
                        {"1","beq","bne","end"},
                        {"0","sb","sh","sw","end"},
                        {"0","mthi","mtlo","end"},
                        {"1","mult","multu","div","divu","end"},
                        {"0","blez","bgtz","bltz","bgez","end"},
                        {"0","sll","sra","srl","end"}};

string instrf[6][20] = {{"addu","subu","slt","sltu","srl","sllv","srlv","srav","and","or","xor","nor","end"},
                        {"addiu","subiu","slti","sltiu","andi","ori","xori","end"},
                        {"lb","lbu","lh","lhu","lw","end"},
                        {"mfhi","mflo","end"},
                        {"lui","end"},
                        {"sll","sra","srl","end"}};

int label = 0;
int offset = 0;

int rdmnum(int width)
{
    return rand()%width;             //rand趨Χ
}

void Nowinstr(string instr, int tag, int type)
{
    ofstream code;
    int rdm1, rdm2, rdm3;
    rdm1 = rdmnum(6);
    rdm2 = rdmnum(6);              //0-6<commit_msg>v0.4 solve little errors<commit_after>#include <iostream>
#include <string>
#include <fstream>
#include <ctime>
#include <cstdlib>
using namespace std;
//벻Ҫ²ע  T T
string instrn[8][20] = {{"1","addu","subu","slt","sltu","sllv","srlv","srav","and","or","xor","nor","end"},
                        {"0","addiu","subiu","slti","sltiu","andi","ori","xori","end"},
                        {"1","beq","bne","end"},
                        {"0","sb","sh","sw","end"},
                        {"0","mthi","mtlo","end"},
                        {"1","mult","multu","div","divu","end"},
                        {"0","blez","bgtz","bltz","bgez","end"},
                        {"0","sll","sra","srl","end"}};

string instrf[6][20] = {{"addu","subu","slt","sltu","sllv","srlv","srav","and","or","xor","nor","end"},
                        {"addiu","subiu","slti","sltiu","andi","ori","xori","end"},
                        {"lb","lbu","lh","lhu","lw","end"},
                        {"mfhi","mflo","end"},
                        {"lui","end"},
                        {"sll","sra","srl","end"}};

int label = 0;
int offset = 0;

int rdmnum(int width)
{
    return rand()%width;             //rand趨Χ
}

void Nowinstr(string instr, int tag, int type)
{
    ofstream code;
    int rdm1, rdm2, rdm3;
    rdm1 = rdmnum(6);
    rdm2 = rdmnum(6);              //0-6
{'fraction_non_alphanumeric': 0.2677575306805504, 'fraction_numerical': 0.019338043882484196, 'mean_word_length': 2.206197854588796, 'pattern_counts': {'":': 0, '<': 13, '<?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': '1281262', 'n_tokens_mistral': 976, 'n_tokens_neox': 931, 'n_words': 130}