<commit_before>!define TEST_SYSTEM {slim}

!3 Login userA 
!|Table: Rest Fixture | $baseURL  |
| setBody | {"password" : "<PASSWORD>"}|
| setHeader|Content-Type:application/json|
| POST | /v1/users/$userA/login |200|  Content-Type: application/json ||
|let|userASessionId|js|response.jsonbody.response[0].result[0].sessionId||

!3 Delete userA 
!|Table: Rest Fixture | $baseURL  |
| GET | /v1/users/$userA/delete?&sid=$userASessionId |200|  Content-Type: application/json |jsonbody.error === ''|

!3 Login userB 
!|Table: Rest Fixture | $baseURL  |
| setBody | {"password" : "<PASSWORD>"}|
| setHeader|Content-Type:application/json|
| POST | /v1/users/$userB/login |200|  Content-Type: application/json ||
|let|userBSessionId|js|response.jsonbody.response[0].result[0].sessionId||

!3 Delete userB 
!|Table: Rest Fixture | $baseURL  |
| GET | /v1/users/$userB/delete?&sid=$userBSessionId |200|  Content-Type: application/json |jsonbody.error === ''|

#uncomment after delete is implemented
#!3 Delete User
#!|Table: Rest Fixture | $baseURL  |
#| GET | /v1/users/$user/delete?&sid=$sessionId |200|  Content-Type: application/json ||
<commit_msg>Test: deleted global variableSet<commit_after>!define TEST_SYSTEM {slim}

!3 Login userA 
!|Table: Rest Fixture | $baseURL  |
| setBody | {"password" : "<PASSWORD>"}|
| setHeader|Content-Type:application/json|
| POST | /v1/users/$userA/login |200|  Content-Type: application/json ||
|let|userASessionId|js|response.jsonbody.response[0].result[0].sessionId||

!3 Delete userA 
!|Table: Rest Fixture | $baseURL  |
| GET | /v1/users/$userA/delete?&sid=$userASessionId |200|  Content-Type: application/json |jsonbody.error === ''|

!3 Login userB 
!|Table: Rest Fixture | $baseURL  |
| setBody | {"password" : "<PASSWORD>"}|
| setHeader|Content-Type:application/json|
| POST | /v1/users/$userB/login |200|  Content-Type: application/json ||
|let|userBSessionId|js|response.jsonbody.response[0].result[0].sessionId||

!3 Delete userB 
!|Table: Rest Fixture | $baseURL  |
| GET | /v1/users/$userB/delete?&sid=$userBSessionId |200|  Content-Type: application/json |jsonbody.error === ''|

!3 Delete Global Variable Set  
!|Table: Rest Fixture  | $baseURL |
| GET | /v1/variableset/$gVariableSetId/delete?sid=$sessionId&projectId=$projectId |200| Content-Type : application/json|jsonbody.error === ''|

#uncomment after delete is implemented
#!3 Delete User
#!|Table: Rest Fixture | $baseURL  |
#| GET | /v1/users/$user/delete?&sid=$sessionId |200|  Content-Type: application/json ||

{'fraction_non_alphanumeric': 0.1746031746031746, 'fraction_numerical': 0.025, 'mean_word_length': 5.4311224489795915, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 1, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7394852', 'n_tokens_mistral': 922, 'n_tokens_neox': 898, 'n_words': 177}