<commit_before>Examples
========

Here are some contrived examples that you can run.  


*github_status.json* 
- connects to status.github.com on port 80 and expects to be redirected to https://status.github.com/ with a 301.  
- then tests https://status.github.com/ and FAILs if github is reporting issues on their status page.  
- Expect the final test of site speed to fail as 200ms is typically about half the normal page load time for https://status.github.com.

```
smolder-cli status.github.com github_status.json
```

*aws_status.json*
- another contrived status page example

```
smolder-cli status.aws.amazon.com aws_status.json
```

*example_test.json*
- tests an RFC1918 (won't work out of the box) address by trying to PUT data to it and verifying the result. 

```
smolder-cli 10.0.0.1 example_test.json --force
```


*soa_test.json*
- tests an https endpoint which has an issue with it's certificate<commit_msg>updating README<commit_after>Examples
========

Here are some contrived examples that you can run.  


[github_status.json](github_status.json)
- connects to status.github.com on port 80 and expects to be redirected to https://status.github.com/ with a 301.  
- then tests https://status.github.com/ and FAILs if github is reporting issues on their status page.  
- Expect the final test of site speed to fail as 200ms is typically about half the normal page load time for https://status.github.com.

```
smolder-cli status.github.com github_status.json
```

[aws_status.json](aws_status.json)
- another contrived status page example

```
smolder-cli status.aws.amazon.com aws_status.json
```

[example_test.json](example_test.json)
- tests an RFC1918 (won't work out of the box) address by trying to PUT data to it and verifying the result. 

```
smolder-cli 10.0.0.1 example_test.json --force
```


[soa_test.json](soa_test.json)
- tests an https endpoint which has an issue with it's certificate
{'fraction_non_alphanumeric': 0.10083160083160084, 'fraction_numerical': 0.017671517671517672, 'mean_word_length': 4.0, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 6, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 2, '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': '1258661', 'n_tokens_mistral': 630, 'n_tokens_neox': 569, 'n_words': 226}