<commit_before><!DOCTYPE html      PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:rsf="http://ponder.org.uk/rsf">
<head>
<title>Polls: Results</title>
<link rsf:id="scr=portal-matter"  href="https://vula.uct.ac.za/library/skin/tool_base.css" type="text/css" rel="stylesheet" media="all"/>
<link rsf:id="scr=portal-matter" href="https://vula.uct.ac.za/library/skin/default/tool.css" type="text/css" rel="stylesheet" media="all"/>
<link href="../css/poll_base.css" type="text/css" rel="stylesheet" media="all"/>
<script rsf:id="scr=portal-matter" type="text/javascript" language="JavaScript" src="/library/js/headscripts.js"></script>
<script language="javascript" type="text/javascript" src="../js/jquery-1.2.6.js"></script>
<script language="javascript" type="text/javascript" src="../js/jquery.tablesorter.min.js"></script>
<script type="text/javascript">
$(document).ready(function() { 
	$("#sortableTable").tablesorter({ 
		// sort on the first column
		sortList: [[0,0]]
	}); 
    $("#reset-order-link").click(function() { 
        // set sorting column and direction, this will sort on the first column index starts at zero
  			//Highlight effect to notify user of that action has been performed
			//$("#reset-order-link").parent().parent().effect("highlight", {}, 1000);
        var sorting = [[0,0]]; 
        // sort on the first column 
        $("#sortableTable").trigger("sorton",[sorting]); 
       // return false to stop default link action 
        return false; 
    }); 
});
</script>
</head>
<body rsf:id="scr=sakai-body">
<div class="portletBody">
<h3 rsf:id="msg=results_title">Results</h3>
<div rsf:id="message-for:*" class="alertMessage">
	<span>Message for user here</span>
</div>
<p rsf:id="question">poll question</p>
<p rsf:id="poll-size">Num votes</p>
  <table id="sortableTable" class="listHier lines nolines" border="0" cellspacing="0">
	<caption class="skip" rsf:id="msg=results_summary"></caption>
    <thead>
  <tr>
    <th style="display:none"><a title="Sort by Option number" href="#" rsf:id="answers-count">Number</a></th>
    <th width="15px"><div title="Sort by default order" class="reset-order" rsf:id="answers-default:"><a href="#" id="reset-order-link"><span rsf:id="msg=results_answers_reset_ordering">Reset Order</span></a></div></th>
    <th><a title="Sort by Answers" href="#" rsf:id="answers-title">Answers</a></th>
    <th><a title="Sort by the number of Votes" href="#" rsf:id="answers-votes">Votes</a></th>
    <th><a href="#" title="Sort by the Percentage value" rsf:id="answers-percent">%</a></th>
  </tr>
</thead>
<tbody>
  <tr rsf:id="answer-row:">
    <td style="display:none" rsf:id="answer-count">1</td>
    <td></td>
    <td rsf:id="answer-option">Option 1</td>
    <td valign="middle" rsf:id="answer-numVotes">10</td>
    <td valign="middle" rsf:id="answer-percVotes">100%</td>
  </tr>
  <tfoot>
  <tr>
  	<td style="display:none"></td>
  	<td></td>
    <td><strong rsf:id="msg=results_answers_total">Total</strong></td>
    <td><strong rsf:id="votes-total">10</strong></td>
    <td><strong rsf:id="total-percent">100%</strong></td>
  </tr> 
  </tfoot>
</tbody>
</table>
<form rsf:id="actform">
<p class="act">
  <input type="submit" name="cancel" id="reset" value="Cancel"  accesskey="x" rsf:id="cancel" class="active"/>
</p>
</form>
</div>
</body>
</html>
<commit_msg>SAK-16218 applied patch from gonzalo<commit_after><!DOCTYPE html      PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:rsf="http://ponder.org.uk/rsf">
<head>
<title>Polls: Results</title>
<link rsf:id="scr=portal-matter"  href="https://vula.uct.ac.za/library/skin/tool_base.css" type="text/css" rel="stylesheet" media="all"/>
<link rsf:id="scr=portal-matter" href="https://vula.uct.ac.za/library/skin/default/tool.css" type="text/css" rel="stylesheet" media="all"/>
<link href="../css/poll_base.css" type="text/css" rel="stylesheet" media="all"/>
<script rsf:id="scr=portal-matter" type="text/javascript" language="JavaScript" src="/library/js/headscripts.js"></script>
<script language="javascript" type="text/javascript" src="../js/jquery-1.2.6.js"></script>
<script language="javascript" type="text/javascript" src="../js/jquery.tablesorter.min.js"></script>
<script type="text/javascript">
$(document).ready(function() { 
	$("#sortableTable").tablesorter({ 
		// sort on the first column
		sortList: [[0,0]]
	}); 
    $("#reset-order-link").click(function() { 
        // set sorting column and direction, this will sort on the first column index starts at zero
  			//Highlight effect to notify user of that action has been performed
			//$("#reset-order-link").parent().parent().effect("highlight", {}, 1000);
        var sorting = [[0,0]]; 
        // sort on the first column 
        $("#sortableTable").trigger("sorton",[sorting]); 
       // return false to stop default link action 
        return false; 
    }); 
});
</script>
</head>
<body rsf:id="scr=sakai-body">
<div class="portletBody">
<h3 rsf:id="msg=results_title">Results</h3>
<div rsf:id="message-for:*" class="alertMessage">
	<span>Message for user here</span>
</div>
<p rsf:id="question">poll question</p>
<p rsf:id="poll-size">Num votes</p>
  <table id="sortableTable" class="listHier lines nolines" border="0" cellspacing="0">
	<caption class="skip"><span class="skip" rsf:id="msg=results_summary"></span></caption>
    <thead>
  <tr>
    <th style="display:none"><a title="Sort by Option number" href="#" rsf:id="answers-count">Number</a></th>
    <th width="15px"><div title="Sort by default order" class="reset-order" rsf:id="answers-default:"><a href="#" id="reset-order-link"><span rsf:id="msg=results_answers_reset_ordering">Reset Order</span></a></div></th>
    <th><a title="Sort by Answers" href="#" rsf:id="answers-title">Answers</a></th>
    <th><a title="Sort by the number of Votes" href="#" rsf:id="answers-votes">Votes</a></th>
    <th><a href="#" title="Sort by the Percentage value" rsf:id="answers-percent">%</a></th>
  </tr>
</thead>
<tbody>
  <tr rsf:id="answer-row:">
    <td style="display:none" rsf:id="answer-count">1</td>
    <td></td>
    <td rsf:id="answer-option">Option 1</td>
    <td valign="middle" rsf:id="answer-numVotes">10</td>
    <td valign="middle" rsf:id="answer-percVotes">100%</td>
  </tr>
  <tfoot>
  <tr>
  	<td style="display:none"></td>
  	<td></td>
    <td><strong rsf:id="msg=results_answers_total">Total</strong></td>
    <td><strong rsf:id="votes-total">10</strong></td>
    <td><strong rsf:id="total-percent">100%</strong></td>
  </tr> 
  </tfoot>
</tbody>
</table>
<form rsf:id="actform">
<p class="act">
  <input type="submit" name="cancel" id="reset" value="Cancel"  accesskey="x" rsf:id="cancel" class="active"/>
</p>
</form>
</div>
</body>
</html>

{'fraction_non_alphanumeric': 0.2188780556733079, 'fraction_numerical': 0.012010739013706372, 'mean_word_length': 4.297904191616767, 'pattern_counts': {'":': 0, '<': 211, '<?xml version=': 0, '>': 211, 'https://': 4, 'lorem ipsum': 0, 'www.': 4, 'xml': 4}, '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': '6123489', 'n_tokens_mistral': 2620, 'n_tokens_neox': 2562, 'n_words': 467}