<commit_before>{% set django_superuser_account = salt.pillar.get('devstack:edx:django:django_superuser_account', 'devstack') %}
{% set django_superuser_password = salt.pillar.get('devstack:edx:django:django_superuser_password', '<PASSWORD>') %}

create_django_superuser_account:
  cmd.run:
    - name: /edx/bin/python.edxapp /edx/bin/manage.edxapp lms manage_user {{ django_superuser_account }} {{ django_superuser_account }}@<EMAIL> --staff --superuser --settings=devstack
    - cwd: /edx/app/edxapp/edx-platform/
    - runas: edxapp

create_django_staff_account:
  cmd.run:
    - name: /edx/bin/python.edxapp /edx/bin/manage.edxapp lms create_user -u staff -e <EMAIL> -p {{ django_superuser_password }} --staff --settings=devstack
    - cwd: /edx/app/edxapp/edx-platform/
    - runas: edxapp

{% for account in [audit, honor, verified] %}
create_django_{{ account }}_account:
  cmd.run:
    - name: /edx/bin/python.edxapp /edx/bin/manage.edxapp lms create_user -u {{ account }} -e {{ account }}<EMAIL> -p {{ django_superuser_password }} --settings=devstack
    - cwd: /edx/app/edxapp/edx-platform/
    - runas: edxapp
{% endfor %}<commit_msg>Added quotes around accounts since they are undefined<commit_after>{% set django_superuser_account = salt.pillar.get('devstack:edx:django:django_superuser_account', 'devstack') %}
{% set django_superuser_password = salt.pillar.get('devstack:edx:django:django_superuser_password', '<PASSWORD>') %}

create_django_superuser_account:
  cmd.run:
    - name: /edx/bin/python.edxapp /edx/bin/manage.edxapp lms manage_user {{ django_superuser_account }} {{ django_superuser_account }}@<EMAIL> --staff --superuser --settings=devstack
    - cwd: /edx/app/edxapp/edx-platform/
    - runas: edxapp

create_django_staff_account:
  cmd.run:
    - name: /edx/bin/python.edxapp /edx/bin/manage.edxapp lms create_user -u staff -e <EMAIL> -p {{ django_superuser_password }} --staff --settings=devstack
    - cwd: /edx/app/edxapp/edx-platform/
    - runas: edxapp

{% for account in ["audit", "honor", "verified"] %}
create_django_{{ account }}_account:
  cmd.run:
    - name: /edx/bin/python.edxapp /edx/bin/manage.edxapp lms create_user -u {{ account }} -e {{ account }}@example.<EMAIL> -p {{ django_superuser_password }} --settings=devstack
    - cwd: /edx/app/edxapp/edx-platform/
    - runas: edxapp
{% endfor %}
{'fraction_non_alphanumeric': 0.15364916773367476, 'fraction_numerical': 0.0, 'mean_word_length': 4.197339246119734, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 11, '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': '5252810', 'n_tokens_mistral': 886, 'n_tokens_neox': 859, 'n_words': 153}