<commit_before>/* Example assumes your firepad is at the root of your firebase. */
{
  "rules": {
    "history": {
      ".read": "auth != null",
      "$revision": {
        /* Allow writing a revision as long as it doesn't already exist and  you write your auth.id as the 'a' field. */
        ".write": "data.val() === null && newData.child('a').val() === auth.id"
      }
    },
    "users": {
      ".read": "auth != null",
      "$userid": {
        /* You may freely modify your own user info. */
        ".write": "$userid === auth.id"
      }
    },
    "checkpoint": {
      ".read": "auth != null",
      /* You may write a checkpoint as long as you're writing your auth.id as the 'a' field and you
         also wrote the revision that you're checkpointing. */
      ".write": "newData.child('a').val() === auth.id && root.child('history').child(newData.child('id').val()).child('a').val() === auth.id"
    }
  }
}<commit_msg>Update validate-auth.json<commit_after>/* Example assumes your firepad is at the root of your firebase. */
{
  "rules": {
    "history": {
      ".read": "auth != null",
      "$revision": {
        /* Allow writing a revision as long as it doesn't already exist and  you write your auth.uid as the 'a' field. */
        ".write": "data.val() === null && newData.child('a').val() === auth.uid"
      }
    },
    "users": {
      ".read": "auth != null",
      "$userid": {
        /* You may freely modify your own user info. */
        ".write": "$userid === auth.uid"
      }
    },
    "checkpoint": {
      ".read": "auth != null",
      /* You may write a checkpoint as long as you're writing your auth.uid as the 'a' field and you
         also wrote the revision that you're checkpointing. */
      ".write": "newData.child('a').val() === auth.uid && root.child('history').child(newData.child('id').val()).child('a').val() === auth.uid"
    }
  }
}
{'fraction_non_alphanumeric': 0.191129883843717, 'fraction_numerical': 0.0, 'mean_word_length': 2.336267605633803, 'pattern_counts': {'":': 24, '<': 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': '1064263', 'n_tokens_mistral': 588, 'n_tokens_neox': 580, 'n_words': 187}