<commit_before>#!/bin/bash

source /vagrant/script/dev-env-functions
source ./environment.sh
create_virtual_env "matching"

python manage.py create_role --name 'CITIZEN'
python manage.py create_role --name 'CONVEYANCER'

python manage.py create_user --name='<NAME>' --dob='1959-09-07' --gender='M' --current_address='1 High St, London, N1 4LT' --previous_address='2 High St, London, SW2 1LT'

python manage.py create_user --name='<NAME>' --dob='1970-08-11' --gender='F' --current_address='100 Somewhere Far, End Of The Earth, X1 4LT' --previous_address='2 High St, London, SW2 1LT'

python manage.py create_user --name='<NAME>' --dob='1970-01-01' --gender='M' --current_address='123 Bad Place, Rottentown, ABC 123' --previous_address='981 A Worse Place, Grottytown, XYZ 123'

python manage.py add_role_to_user --username='Walter White' --rolename='CITIZEN'
python manage.py add_role_to_user --username='Skyler White' --rolename='CITIZEN'
python manage.py add_role_to_user --username='Tuco Salamanca' --rolename='CONVEYANCER'

deactivate<commit_msg>Update create scripts to make users and add roles<commit_after>#!/bin/bash

source /vagrant/script/dev-env-functions
source ./environment.sh
create_virtual_env "matching"

python manage.py create_role --name 'CITIZEN'
python manage.py create_role --name 'CONVEYANCER'

python manage.py create_user --name '<NAME>' --dob '1959-09-07' --gender 'M' --current_address '1 High St, London, N1 4LT' --previous_address '2 High St, London, SW2 1LT'

python manage.py create_user --name 'Sky<NAME>' --dob '1970-08-11' --gender 'F' --current_address '100 Somewhere Far, End Of The Earth, X1 4LT' --previous_address '2 High St, London, SW2 1LT'

python manage.py create_user --name '<NAME>' --dob '1970-01-01' --gender='M' --current_address '123 Bad Place, Rottentown, ABC 123' --previous_address '981 A Worse Place, Grottytown, XYZ 123'

python manage.py add_role_to_user --username 'Walter White' --rolename 'CITIZEN'
python manage.py add_role_to_user --username 'Skyler White' --rolename 'CITIZEN'
python manage.py add_role_to_user --username 'Tuco Salamanca' --rolename 'CONVEYANCER'

deactivate
{'fraction_non_alphanumeric': 0.14238875878220142, 'fraction_numerical': 0.0468384074941452, 'mean_word_length': 4.788617886178862, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, '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': '1026399', 'n_tokens_mistral': 813, 'n_tokens_neox': 733, 'n_words': 215}