<commit_before>use ladspa::Data;

use bincode::SizeLimit;
use bincode::rustc_serialize::{encode, decode};

pub const BUFFER_SIZE: usize = 1024;
pub const BYTE_BUFFER_SIZE: usize = BUFFER_SIZE * 4 * 2 + 8 * 2 + 8; // data + data size + timestamp

#[derive(RustcEncodable, RustcDecodable, Clone)]
pub struct Packet {
    ldata: Vec<Data>,
    rdata: Vec<Data>,
    timestamp: u64,
}<commit_msg>revert, it didn't work<commit_after>use ladspa::Data;

use bincode::SizeLimit;
use bincode::rustc_serialize::{encode, decode};

pub const BUFFER_SIZE: usize = 1024;
pub const BYTE_BUFFER_SIZE: usize = 8216; // data + data size + timestamp

#[derive(RustcEncodable, RustcDecodable, Clone)]
pub struct Packet {
    ldata: Vec<Data>,
    rdata: Vec<Data>,
    timestamp: u64,
}
{'fraction_non_alphanumeric': 0.12924281984334204, 'fraction_numerical': 0.02741514360313316, 'mean_word_length': 5.087301587301587, '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': 1, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1401378', 'n_tokens_mistral': 294, 'n_tokens_neox': 283, 'n_words': 74}