<commit_before><% @subject = "subject: Ragios Status Report" %> 

Ragios Status Report

From <%= @time_since_last_status_report.to_s(:short) %> to <%= Time.now.to_s(:short) %>
 <%=@jobs.length.to_s %> monitors running on the system
    <% count = 0 %>
<% @jobs.each do |monitor|  %>
    <% count = count + 1 %>
    <%= count %>. <%= monitor.test_description %>
 
    Running since: <%= monitor.creation_date.to_s(:short) %>
       
    Last test was performed on: <%= monitor.time_of_last_test.to_s(:short) %>
    Last Test Result:
                 <%= monitor.describe_test_result %> = <%= monitor.test_result %>

    Total number of tests performed: <%= monitor.total_num_tests.to_s %>

                   PASSED <%= monitor.num_tests_passed.to_s %> tests
                   FAILED <%= monitor.num_tests_failed.to_s %> tests

    Tests are performed every: <%= monitor.time_interval %>
    Notification Interval for failed tests: <%= monitor.notification_interval %> 
<% end  %><commit_msg>Add Uptime percentage value to status report<commit_after><% @subject = "subject: Ragios Status Report" %> 

Ragios Status Report

From <%= @time_since_last_status_report.to_s(:short) %> to <%= Time.now.to_s(:short) %>
 <%=@jobs.length.to_s %> monitors running on the system
    <% count = 0 %>
<% @jobs.each do |monitor|  %>
    <% count = count + 1 %>
    <%= count %>. <%= monitor.test_description %>
 
    Running since: <%= monitor.creation_date.to_s(:short) %>
       
    Last test was performed on: <%= monitor.time_of_last_test.to_s(:short) %>
    Last Test Result:
                 <%= monitor.describe_test_result %> = <%= monitor.test_result %>

    Total number of tests performed: <%= monitor.total_num_tests.to_s %>

                   PASSED <%= monitor.num_tests_passed.to_s %> tests
                   FAILED <%= monitor.num_tests_failed.to_s %> tests
                   <% uptime = (monitor.num_tests_passed / monitor.total_num_tests) * 100 %>
                   UPTIME <%= uptime.to_s(:short) %>%

    Tests are performed every: <%= monitor.time_interval %>
    Notification Interval for failed tests: <%= monitor.notification_interval %> 
<% end  %>
{'fraction_non_alphanumeric': 0.14569842738205366, 'fraction_numerical': 0.0032377428307123032, 'mean_word_length': 2.9907749077490773, 'pattern_counts': {'":': 0, '<': 43, '<?xml version=': 0, '>': 43, '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': '4610132', 'n_tokens_mistral': 770, 'n_tokens_neox': 627, 'n_words': 146}