<commit_before>functions {
  real relative_diff(real x, real y, real max, real min) {
    real abs_diff;
    real avg_scale;
    abs_diff <- fabs(x - y);
    avg_scale <- (fabs(x) + fabs(y)) / 2;
    if ((abs_diff / avg_scale) > max)
      reject("user-specified rejection, difference above ",max," x:",x," y:",y);
    if ((abs_diff / avg_scale) < min)
      reject("user-specified rejection, difference below ",min," x:",x," y:",y);
    return abs_diff / avg_scale;
  }    
}
transformed data {
  real a;
  real b;
  real mx;
  real mn;
  a <- -9.0;
  b <- -1.0;
  mx <- 1.2;
  mn <- 1.1;
}
parameters {
  real y;
}
model {
  real c;
  c <- relative_diff(a,b,mx,mn);
  y ~ normal(0,1);
}<commit_msg>update syntax in test model<commit_after>functions {
  real relative_diff(real x, real y, real max, real min) {
    real abs_diff;
    real avg_scale;
    abs_diff = fabs(x - y);
    avg_scale = (fabs(x) + fabs(y)) / 2;
    if ((abs_diff / avg_scale) > max)
      reject("user-specified rejection, difference above ",max," x:",x," y:",y);
    if ((abs_diff / avg_scale) < min)
      reject("user-specified rejection, difference below ",min," x:",x," y:",y);
    return abs_diff / avg_scale;
  }    
}
transformed data {
  real a =  -9.0;
  real b = -1.0;
  real mx = 1.2;
  real mn = 1.1;
}
parameters {
  real y;
}
model {
  real c = relative_diff(a,b,mx,mn);
  y ~ normal(0,1);
}
{'fraction_non_alphanumeric': 0.17089065894279507, 'fraction_numerical': 0.015930485155684286, 'mean_word_length': 2.7759562841530054, 'pattern_counts': {'":': 0, '<': 12, '<?xml version=': 0, '>': 5, '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': '6982337', 'n_tokens_mistral': 572, 'n_tokens_neox': 546, 'n_words': 147}