<commit_before>[defaults]
testvalue=1

[test2-fail]
type=fail

[http]
type=http
url=http://www.google.com

[https]
type=http
url=https://www.google.com

[https-fail]
type=http
url=https://expired.badssl.com

[https-regexp]
type=http
regexp=Google
url=https://www.google.com

[https-404]
type=http
url=https://google.com/404
allowed_codes=404

[https-404-fail]
type=http
url=https://google.com/404
allowed_codes=200,302

[https-noverify]
type=http
url=https://wrong.host.badssl.com
verify_hostname=false

[filestat]
type=filestat
filename=simplemonitor/monitor.py

[filestat2]
type=filestat
filename=simplemonitor/monitor.py
minsize=1

[filestat3]
type=filestat
filename=simplemonitor/monitor.py
maxage=525600

[filestat-fail]
type=filestat
filename=missing.txt

[filestat2-fail]
type=filestat
filename=simplemonitor/monitor.py
minsize=10G

[filestat3-fail]
type=filestat
filename=simplemonitor/monitor.py
maxage=1

[filestat4]
type=filestat
filename=simplemonitor/monitor.py
maxsize=10G

[filestat4-fail]
type=filestat
filename=simplemonitor/monitor.py
maxsize=1

[null]
type=null

[tcp]
type=tcp
host=www.google.com
port=80

[tcp-fail]
type=tcp
host=www.google.com
port=81
group=a

[ping]
type=host
host=127.0.0.1

[ping-fail]
type=host
host=bad.jamesoff.net

[not-this-host]
type=null
runon=some-unlikely-hostname

[memory]
type=memory
percent_free=0

[memory-fail]
type=memory
percent_free=100

[service]
type=service
service=W32Time

[service1-fail]
type=service
service=fakeservice

[service2-fail]
type=service
service=W32Time
state=STOPPED

[swap]
type=swap
percent_free=0

[swap-fail]
type=swap
percent_free=100<commit_msg>Fix integration test for swap<commit_after>[defaults]
testvalue=1

[test2-fail]
type=fail

[http]
type=http
url=http://www.google.com

[https]
type=http
url=https://www.google.com

[https-fail]
type=http
url=https://expired.badssl.com

[https-regexp]
type=http
regexp=Google
url=https://www.google.com

[https-404]
type=http
url=https://google.com/404
allowed_codes=404

[https-404-fail]
type=http
url=https://google.com/404
allowed_codes=200,302

[https-noverify]
type=http
url=https://wrong.host.badssl.com
verify_hostname=false

[filestat]
type=filestat
filename=simplemonitor/monitor.py

[filestat2]
type=filestat
filename=simplemonitor/monitor.py
minsize=1

[filestat3]
type=filestat
filename=simplemonitor/monitor.py
maxage=525600

[filestat-fail]
type=filestat
filename=missing.txt

[filestat2-fail]
type=filestat
filename=simplemonitor/monitor.py
minsize=10G

[filestat3-fail]
type=filestat
filename=simplemonitor/monitor.py
maxage=1

[filestat4]
type=filestat
filename=simplemonitor/monitor.py
maxsize=10G

[filestat4-fail]
type=filestat
filename=simplemonitor/monitor.py
maxsize=1

[null]
type=null

[tcp]
type=tcp
host=www.google.com
port=80

[tcp-fail]
type=tcp
host=www.google.com
port=81
group=a

[ping]
type=host
host=127.0.0.1

[ping-fail]
type=host
host=bad.jamesoff.net

[not-this-host]
type=null
runon=some-unlikely-hostname

[memory]
type=memory
percent_free=0

[memory-fail]
type=memory
percent_free=100

[service]
type=service
service=W32Time

[service1-fail]
type=service
service=fakeservice

[service2-fail]
type=service
service=W32Time
state=STOPPED

[swap]
type=swap
percent_free=0

[swap-fail]
type=swap
percent_free=101
{'fraction_non_alphanumeric': 0.13178767541183647, 'fraction_numerical': 0.040268456375838924, 'mean_word_length': 6.978102189781022, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 12, 'lorem ipsum': 0, 'www.': 10, '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': '7028535', 'n_tokens_mistral': 1403, 'n_tokens_neox': 1344, 'n_words': 205}