<commit_before>#version: "v0.6.0-845fe29"
version: "v0.5.0"


hub:
  db:
    type: postgres
  extraConfig: |
    from kubespawner import KubeSpawner
    from tornado import gen
    import yaml
    import os

    class CustomAttrSpawner(KubeSpawner):
      # TEMP Hack to work around users with leading _ in names
      @gen.coroutine
      def get_pod_manifest(self):
        pod = yield super().get_pod_manifest()

        if pod.metadata.labels['hub.jupyter.org/username'].startswith('_'):
          pod.metadata.labels['hub.jupyter.org/username'] = 'user' + pod.metadata.labels['hub.jupyter.org/username']

        return pod

      @gen.coroutine
      def start(self):
        with open('/etc/jupyterhub/config/custom.memory') as f:<commit_msg>Try a new v0.6.0 beta.<commit_after>version: "v0.6.0-a3007b2"

hub:
  db:
    type: postgres
  extraConfig: |
    from kubespawner import KubeSpawner
    from tornado import gen
    import yaml
    import os

    class CustomAttrSpawner(KubeSpawner):
      # TEMP Hack to work around users with leading _ in names
      @gen.coroutine
      def get_pod_manifest(self):
        pod = yield super().get_pod_manifest()

        if pod.metadata.labels['hub.jupyter.org/username'].startswith('_'):
          pod.metadata.labels['hub.jupyter.org/username'] = 'user' + pod.metadata.labels['hub.jupyter.org/username']

        return pod

      @gen.coroutine
      def start(self):
        with open('/etc/jupyterhub/config/custom.memory') as f:
{'fraction_non_alphanumeric': 0.11499663752521856, 'fraction_numerical': 0.014794889038332213, 'mean_word_length': 2.8251928020565553, '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': '2533980', 'n_tokens_mistral': 524, 'n_tokens_neox': 510, 'n_words': 107}