<commit_before>---
apiVersion: apps/v1
kind: Deployment
metadata:
  name: securitywiki
  labels:
    app: securitywiki
spec:
  selector:
    matchLabels:
      app: securitywiki
  replicas: 2
  template:
    metadata:
      labels:
        app: securitywiki
    spec:
      volumes:
        - name: securitywiki-fs
          persistentVolumeClaim:
            claimName: securitywiki-shared
      initContainers:
        - name: migrate
          image: itsre/securitywiki:master-latest
          command: [ "/bin/bash", "-c", "chown www-data:www-data /data/securitywiki && find /data/securitywiki \\! -user www-data -exec chown -R www-data:www-data {} \\;" ]
          resources:
            requests:
              memory: 128Mi
              cpu: "128m"
            limits:
              memory: 128Mi
              cpu: "128m"
            volumeMounts:
              - name: securitywiki-fs
                mountPath: /data/securitywiki
      containers:
        - name: web
          image: itsre/securitywiki:master-latest
          imagePullPolicy: IfNotPresent
          ports:
            - containerPort: 443
              name: https
            - containerPort: 80
              name: http
          resources:
            requests:
              memory: 256Mi
              cpu: "256m"<commit_msg>Fixing indents<commit_after>---
apiVersion: apps/v1
kind: Deployment
metadata:
  name: securitywiki
  labels:
    app: securitywiki
spec:
  selector:
    matchLabels:
      app: securitywiki
  replicas: 2
  template:
    metadata:
      labels:
        app: securitywiki
    spec:
      volumes:
        - name: securitywiki-fs
          persistentVolumeClaim:
            claimName: securitywiki-shared
      initContainers:
        - name: migrate
          image: itsre/securitywiki:master-latest
          command: [ "/bin/bash", "-c", "chown www-data:www-data /data/securitywiki && find /data/securitywiki \\! -user www-data -exec chown -R www-data:www-data {} \\;" ]
          resources:
            requests:
              memory: 128Mi
              cpu: "128m"
            limits:
              memory: 128Mi
              cpu: "128m"
          volumeMounts:
            - name: securitywiki-fs
              mountPath: /data/securitywiki
      containers:
        - name: web
          image: itsre/securitywiki:master-latest
          imagePullPolicy: IfNotPresent
          ports:
            - containerPort: 443
              name: https
            - containerPort: 80
              name: http
          resources:
            requests:
              memory: 256Mi
              cpu: "256m"
{'fraction_non_alphanumeric': 0.08718929254302103, 'fraction_numerical': 0.019120458891013385, 'mean_word_length': 1.4772727272727273, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 10, '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': '3595939', 'n_tokens_mistral': 753, 'n_tokens_neox': 703, 'n_words': 174}