<commit_before><%
  title 'About Incident Reports'

  description 'Incident Reports are records of events that occur in immigration detention, recorded by detention centre staff for the Australian Government.'

  breadcrumb :about_incidents

  github_edit_url = "https://github.com/DetentionLogs/detentionlogs/blob/Development/app/views/incidents/about.html.erb"
%>

<header class="article-header">
  <h1>About Incident Reports</h1>

  <% if defined? github_edit_url %>
    <%= link_to "Edit", github_edit_url, :class => "btn-supporting", :title => "Edit this page on Github." %>
  <% end %>
</header>

<p class="lede">Incident Reports are records of events that occur in immigration detention, recorded by detention centre staff for the Australian Government.</p>

<aside class="box msg-notice secondary">
  <h3>Published by Detention&nbsp;Logs</h3>

  <dl>
    <dt>Reports available</dt>
      <dd><%= Incident.count %></dd>
    <dt>Current available period</dt>
      <dd><%= Incident.order('occured_on').first.occured_on.strftime("%e %b %Y") %> &ndash; <%= Incident.order('occured_on').last.occured_on.strftime("%e %b %Y") %></dd>

    <dt>Current available Locations</dt>
      <dd>All onshore detention facilities open during the period (includes those on Christmas Island). Note that Nauru and Manus Island facilities were not operating between early 2008 and late 2012 and would be considered &ldquo;offshore&rdquo;</dd>
  </dl>
</aside>


<p>Each Incident Report is identified by a unique ‘Incident Number’. Examples include <%= link_to "Incident Report 1-4ELSKF", incident_path(49445), title: 'see Incident Report 1-4ELSKF Use of Observation Rm &gt; 24 hrs at Villawood IDC, 30 Jul 2010.'%>, <%= link_to "Incident Report 1-643EG4", incident_path(46264), title: 'see Incident Report 1-643EG4, Transfer between facilities at Northern IDC, 19 Feb 2011' %> and <%= link_to "Incident 1-3H0HFJ", incident_path(50281), title: 'see Incident Report 1-3H0HFJ, Use of Force at SA Detention Operations, 23 Mar 2010' %>.</p>

<p>The reports cover a wide range of events that may be called an &quot;incident&quot;: from <%= link_to "births", incidents_path(incident_type: 'Birth of a child'), title: 'see 28 Birth of a child incident reports between 03 Oct 2009 and 26 May 2011.' %> and <%= link_to "deaths", incidents_path(incident_type: 'Death'), title: 'see 6 Death incident reports between 03 Oct 2009 and 26 May 2011.' %> to <%= link_to "IT failures", incidents_path(incident_type: 'Failure - IT Systems'), title: 'see 219 Failure - IT Systems incident reports between 03 Oct 2009 and 26 May 2011.' %>, <%= link_to "injuries", incidents_path(incident_type: 'Accident/Injury - Serious'), title: 'See 877 Accident/Injury - Serious incident reports between 03 Oct 2009 and 26 May 2011.' %>, <%= link_to "complaints", incidents_path(incident_type: 'Complaint - re MinorIncident'), title: 'see 308 Complaint - re MinorIncident incident reports between 03 Oct 2009 and 26 May 2011.' %>, <%= link_to "self-harm", incidents_path(incident_type: 'Self Harm - Actual'), title: '336 Self Harm - Actual incident reports between 03 Oct 2009 and 26 May 2011.' %>, and <%= link_to "escapes", incidents_path(incident_type: 'Escape'), title: '77 Escape incident reports between 03 Oct 2009 and 26 May 2011.' %>.</p>

<p>The private contractors that run the detention network, including companies <%= link_to "Serco", glossary_path(anchor: 'Serco') %>, <%= link_to "IHMS", glossary_path(anchor: 'IHMS') %> and <%= link_to "G4S", 'http://en.wikipedia.org/wiki/G4S' %>, are required to file incident reports to the Department of Immigration and Border Protection (DIBP, formerly Department of Immigration and Citizenship or DIAC). The department collects them in a centralised database: the <cite>Compliance, Case Management, Detention and Settlement Portal</cite>.</p>

<p>The records are incomplete, sometimes unclear, redacted, and often raise more questions than they answer about what occurred. Nevertheless, they are the most detailed record of the situation faced by people detained and working within Australia's immigration detention network.</p>

<p>The Australian Government is ultimately responsible for the welfare of people held in the detention network. They use the incident reports as one way to understand and track events and conditions in their facilities.</p>

<p>The incident data and any attached Incident Detail Reports published here have been provided by the DIBP, released under the <a href="http://www.oaic.gov.au/foi-portal/about_foi.html">Freedom of Information Act 1982 (Cth)</a>. The Freedom of Information (FOI) system allows any member of the public to access government information.</p>

<p>The data we have managed to publish so far does not reflect the more up-to-date data held by the immigration department. If you would like to help us make more of this information accessible to the public, see the <%= link_to "contribute", contribute_path, title: 'How you can help.' %>.</p>

<p><%= link_to "Explore the incident reports", incidents_path, title: 'Explore official reports of events in immigration detention, recorded by detention centre staff.'%>.</p>

<p><a href="https://s3.amazonaws.com/detention_logs/Dataset+for+incident+database.csv">Download the available incidents reports in spreadsheet format.</a></p><commit_msg>impve copy in about incidents info box<commit_after><%
  title 'About Incident Reports'

  description 'Incident Reports are records of events that occur in immigration detention, recorded by detention centre staff for the Australian Government.'

  breadcrumb :about_incidents

  github_edit_url = "https://github.com/DetentionLogs/detentionlogs/blob/Development/app/views/incidents/about.html.erb"
%>

<header class="article-header">
  <h1>About Incident Reports</h1>

  <% if defined? github_edit_url %>
    <%= link_to "Edit", github_edit_url, :class => "btn-supporting", :title => "Edit this page on Github." %>
  <% end %>
</header>

<p class="lede">Incident Reports are records of events that occur in immigration detention, recorded by detention centre staff for the Australian Government.</p>

<aside class="box msg-notice secondary">
  <h3>Published by Detention&nbsp;Logs</h3>

  <dl>
    <dt>Incident Reports available</dt>
      <dd><%= Incident.count %></dd>
    <dt>Current available period</dt>
      <dd><%= Incident.order('occured_on').first.occured_on.strftime("%e %b %Y") %> &ndash; <%= Incident.order('occured_on').last.occured_on.strftime("%e %b %Y") %></dd>

    <dt>Current available Locations</dt>
      <dd>All onshore detention facilities open during the period (includes those on Christmas Island). Note that Nauru and Manus Island facilities were not operating between early 2008 and late 2012 and would be considered &ldquo;offshore&rdquo; in Australian Government documents.</dd>
  </dl>
</aside>


<p>Each Incident Report is identified by a unique ‘Incident Number’. Examples include <%= link_to "Incident Report 1-4ELSKF", incident_path(49445), title: 'see Incident Report 1-4ELSKF Use of Observation Rm &gt; 24 hrs at Villawood IDC, 30 Jul 2010.'%>, <%= link_to "Incident Report 1-643EG4", incident_path(46264), title: 'see Incident Report 1-643EG4, Transfer between facilities at Northern IDC, 19 Feb 2011' %> and <%= link_to "Incident 1-3H0HFJ", incident_path(50281), title: 'see Incident Report 1-3H0HFJ, Use of Force at SA Detention Operations, 23 Mar 2010' %>.</p>

<p>The reports cover a wide range of events that may be called an &quot;incident&quot;: from <%= link_to "births", incidents_path(incident_type: 'Birth of a child'), title: 'see 28 Birth of a child incident reports between 03 Oct 2009 and 26 May 2011.' %> and <%= link_to "deaths", incidents_path(incident_type: 'Death'), title: 'see 6 Death incident reports between 03 Oct 2009 and 26 May 2011.' %> to <%= link_to "IT failures", incidents_path(incident_type: 'Failure - IT Systems'), title: 'see 219 Failure - IT Systems incident reports between 03 Oct 2009 and 26 May 2011.' %>, <%= link_to "injuries", incidents_path(incident_type: 'Accident/Injury - Serious'), title: 'See 877 Accident/Injury - Serious incident reports between 03 Oct 2009 and 26 May 2011.' %>, <%= link_to "complaints", incidents_path(incident_type: 'Complaint - re MinorIncident'), title: 'see 308 Complaint - re MinorIncident incident reports between 03 Oct 2009 and 26 May 2011.' %>, <%= link_to "self-harm", incidents_path(incident_type: 'Self Harm - Actual'), title: '336 Self Harm - Actual incident reports between 03 Oct 2009 and 26 May 2011.' %>, and <%= link_to "escapes", incidents_path(incident_type: 'Escape'), title: '77 Escape incident reports between 03 Oct 2009 and 26 May 2011.' %>.</p>

<p>The private contractors that run the detention network, including companies <%= link_to "Serco", glossary_path(anchor: 'Serco') %>, <%= link_to "IHMS", glossary_path(anchor: 'IHMS') %> and <%= link_to "G4S", 'http://en.wikipedia.org/wiki/G4S' %>, are required to file incident reports to the Department of Immigration and Border Protection (DIBP, formerly Department of Immigration and Citizenship or DIAC). The department collects them in a centralised database: the <cite>Compliance, Case Management, Detention and Settlement Portal</cite>.</p>

<p>The records are incomplete, sometimes unclear, redacted, and often raise more questions than they answer about what occurred. Nevertheless, they are the most detailed record of the situation faced by people detained and working within Australia's immigration detention network.</p>

<p>The Australian Government is ultimately responsible for the welfare of people held in the detention network. They use the incident reports as one way to understand and track events and conditions in their facilities.</p>

<p>The incident data and any attached Incident Detail Reports published here have been provided by the DIBP, released under the <a href="http://www.oaic.gov.au/foi-portal/about_foi.html">Freedom of Information Act 1982 (Cth)</a>. The Freedom of Information (FOI) system allows any member of the public to access government information.</p>

<p>The data we have managed to publish so far does not reflect the more up-to-date data held by the immigration department. If you would like to help us make more of this information accessible to the public, see the <%= link_to "contribute", contribute_path, title: 'How you can help.' %>.</p>

<p><%= link_to "Explore the incident reports", incidents_path, title: 'Explore official reports of events in immigration detention, recorded by detention centre staff.'%>.</p>

<p><a href="https://s3.amazonaws.com/detention_logs/Dataset+for+incident+database.csv">Download the available incidents reports in spreadsheet format.</a></p>
{'fraction_non_alphanumeric': 0.10992380598401784, 'fraction_numerical': 0.032521836089946105, 'mean_word_length': 5.174985656913368, 'pattern_counts': {'":': 0, '<': 143, '<?xml version=': 0, '>': 147, 'https://': 4, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 4, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4103480', 'n_tokens_mistral': 3495, 'n_tokens_neox': 2944, 'n_words': 1270}