<commit_before>uniform float rnd_;

float last_rnd = .1231;
float random() {
  float a = fract(sin(dot(plain_pixel ,vec2(12.9898,78.233))) * 43758.5453);
  float b = mod(last_rnd*plain_pixel.y*54.21,1.32);
  last_rnd = mod(a+b+a+sin(b)+b*sin(dot(plain_pixel, vec2(232.121+rnd_,2232.11))+last_rnd*121.11)*129.12+rnd_,1.);
  return last_rnd;
  
  //return mod(a+b+rnd_, 1.);
}<commit_msg>better random approach<commit_after>uniform float rnd_;

float last_rnd = .1231;
float random() {
  float a = fract(sin(mod(dot(plain_pixel,           vec2(12.9898,78.233) ), 3.1415)) * 43758.5453);
  float b = fract(sin(mod(dot(plain_pixel, 12345.678*vec2(last_rnd, rnd_) ), 3.1415)) * 21231.1231221);
  float c = rnd_+last_rnd;
  last_rnd = fract(a+b+c);
  return last_rnd;
  
  //return mod(a+b+rnd_, 1.);
}
{'fraction_non_alphanumeric': 0.18467336683417085, 'fraction_numerical': 0.14321608040201006, 'mean_word_length': 4.692857142857143, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '4607942', 'n_tokens_mistral': 428, 'n_tokens_neox': 356, 'n_words': 57}