<commit_before><!DOCTYPE html>
<html lang='en' prefix="og: http://ogp.me/ns#">
<head>

<meta charset="utf-8"/>
<meta name='og:image' content='http://bridge.thomasoandrews.com/graphics/falling_small.jpg'/>
<meta name='og:title' content='Bridge Hand Evaluator'/>
<meta name='og:site_name' content='Thomas&#39;s Bridge Fantasia'/>
<meta name='og:url' content='http://bridge.thomasoandrews.com/evaluator/mobile.html'/>
<meta name="viewport"
      content="width=device-width, initial-scale=1">
<meta name="apple-mobile-web-app-title" content="Hand Evaluator">
<link rel='apple-touch-icon' 
     href='graphics/falling_small_216.jpg'>
<link rel='manifest' href='manifest.json?ver=1'>
<link rel="image_src" href='graphics/falling_small.jpg'>
<title>Interactive Bridge Hand Evaluator (BETA)</title>
<link rel="stylesheet" type="text/css" href='css/mobile.css?ver=3'/>
<link rel="stylesheet"
      href="http://code.jquery.com/mobile/1.4.5/jquery.mobile-1.4.5.min.css" />
<script type="text/javascript"
        src="http://code.jquery.com/jquery-2.1.3.min.js">
</script>
<script type="text/javascript"
        src="http://code.jquery.com/mobile/1.4.5/jquery.mobile-1.4.5.min.js">
</script>
<script type="text/javascript" src="js/bridge.js"></script>
<script type="text/javascript" src="js/evaluators.js"></script>
<script type="text/javascript" src="js/app.model.js"></script>
<script type="text/javascript" src="js/app.mobile.js"></script>
<body>
<div data-role='page' id='handFormPage'>
<div data-role='panel'  id='handForm'>
<form id='handentry'>
<div>Enter a hand:</div>
<div class='holding ui-field-contain'><label for='handS'>&spades;</label><input type='text' data-suit='S' id='handS' class='holding' autocomplete='off' autocapitalize='characters' name='suitS'/></div>
<div class='holding ui-field-contain'><label for='handH' class='red'>&hearts;</label><input type='text' data-suit='H' id='handH' class='holding' autocomplete='off' autocapitalize='characters'/></div>
<div class='holding ui-field-contain'><label for='handD' class='red'>&diams;</label><input type='text' data-suit='D' id='handD' class='holding' autocomplete='off' autocapitalize='characters'/></div>
<div class='holding ui-field-contain'><label for='handC'>&clubs;</label><input type='text' data-suit='C' id='handC' class='holding' autocomplete='off' autocapitalize='characters'/></div>
<div class='error'>&nbps;</div>
<div class="ui-field-contain">
    <input type="submit" name="evaluate" value="Evaluate" disabled='disabled' />
</div>

<div class="ui-field-contain">
    <input type='button' name='clear' id='clear' value='Clear' tabindex='-1'/>
</div>
</form>
</div> <!-- end panel --> 

<div data-role='header'>
<a href='http://bridge.thomasoandrews.com/valuations/' data-icon='home' rel='external'>Site</a> 
<h1>Mobile Hand Evaluator</h1>
<a href='#notesPage' data-icon='info'>Info</a>
</div>
<div data-role='content' id='evaluationsMain'>
<div id='evaluationscontainer'>
<table data-role='table' data-mode='columntoggle' id='evaluations' class='ui-responsive' data-column-btn-text='Evaluators...'>
<thead>
<tr><th class='key'>&nbsp;</th><th data-priority='1' id='CCCC' class='value'>CCCC</th><th data-priority='2' id='hcp' class='value'>HCP</th><th data-priority='3' id='fifths' class='value'>Fifths</th><th data-priority='4'id="bumrap" class='value'>BUM-RAP</th><th data-priority='5' id="bissell" class='value'>Bissell</th></tr>
</thead>
<tbody>
<tr class='total'>
    <td class='key'>Total</td>
    <td class='cccc'>&nbsp;</td>
    <td class='hcp'>&nbsp;</td>
    <td class='fifths'>&nbsp;</td>
    <td class='bumrap'>&nbsp;</td>
    <td class='bissell'>&nbsp;</td>
</tr>
<tr class='shape'>
    <td class='key'>4-4-3-2</td>
    <td class='cccc'>&nbsp;</td>
    <td class='hcp'>&nbsp;</td>
    <td class='fifths'>&nbsp;</td>
    <td class='bumrap'>&nbsp;</td>
    <td class='bissell'>&nbsp;</td>
</tr>
<tr class='suitS'>
    <td class='key'>&spades; <span class='holding'>&nbsp;</span></td>
    <td class='cccc'>&nbsp;</td>
    <td class='hcp'>&nbsp;</td>
    <td class='fifths'>&nbsp;</td>
    <td class='bumrap'>&nbsp;</td>
    <td class='bissell'>&nbsp;</td>
</tr>
<tr class='suitH'>
    <td class='key'><span class='red'>&hearts;</span> <span class='holding'>&nbsp;</span></td>
    <td class='cccc'>&nbsp;</td>
    <td class='hcp'>&nbsp;</td>
    <td class='fifths'>&nbsp;</td>
    <td class='bumrap'>&nbsp;</td>
    <td class='bissell'>&nbsp;</td>
</tr>
<tr class='suitD'>
    <td class='key'><span class='red'>&diams;</span> <span class='holding'>&nbsp;</span></td>
    <td class='cccc'>&nbsp;</td>
    <td class='hcp'>&nbsp;</td>
    <td class='fifths'>&nbsp;</td>
    <td class='bumrap'>&nbsp;</td>
    <td class='bissell'>&nbsp;</td>
</tr>
<tr class='suitC'>
    <td class='key'>&clubs; <span class='holding'>&nbsp;</span></td>
    <td class='cccc'>&nbsp;</td>
    <td class='hcp'>&nbsp;</td>
    <td class='fifths'>&nbsp;</td>
    <td class='bumrap'>&nbsp;</td>
    <td class='bissell'>&nbsp;</td>
</tr>
</tbody>
</table>
</div> <!-- end evaluationscontainer--> 
 <a href="#handForm" data-role="button">Enter another hand</a>

</div><!-- end content -->
</div>
<div data-role='page' id='notesPage'>
<div data-role='header'>
<a data-rel="back" data-icon='home' rel='external'>Back</a> 
<h1>Notes</h1>
</div>
<div class='notes' data-role='content'>
<h4 id='about'>About</h4>
<div class='section'>
<h5>Intro</h5>
<p>This is an intereactive bridge hand evaluator.</p>
<p><a href='#AK873,Q1098,AT2,6' data-ajax='false'>Example</a></p>
<p>Enter your hand, click "evaluate," and it applies a number of evaluators to the hand.
<h5>Why doesn't it always let me evaluate?</h5>
<ul>
<li>The button will usually tell you why it is disabled. Additionally, if any holding is invalid, that holding's field will be marked in red.
<li>Because this is currently a work in progress, where the code is changing, you might have to do a full reload. Hold down the shift key and hit the reload button.
</ul>
</div>
<h4 id='todo'>To Do</h4>
<div class='section'>
<ul>
<li>Implement more evaluators (specifically, "Binky.")
<li>Improve look-and-feel.<commit_msg>Add welcome text<commit_after><!DOCTYPE html>
<html lang='en' prefix="og: http://ogp.me/ns#">
<head>

<meta charset="utf-8"/>
<meta name='og:image' content='http://bridge.thomasoandrews.com/graphics/falling_small.jpg'/>
<meta name='og:title' content='Bridge Hand Evaluator'/>
<meta name='og:site_name' content='Thomas&#39;s Bridge Fantasia'/>
<meta name='og:url' content='http://bridge.thomasoandrews.com/evaluator/mobile.html'/>
<meta name="viewport"
      content="width=device-width, initial-scale=1">
<meta name="apple-mobile-web-app-title" content="Hand Evaluator">
<link rel='apple-touch-icon' 
     href='graphics/falling_small_216.jpg'>
<link rel='manifest' href='manifest.json?ver=1'>
<link rel="image_src" href='graphics/falling_small.jpg'>
<title>Interactive Bridge Hand Evaluator (BETA)</title>
<link rel="stylesheet" type="text/css" href='css/mobile.css?ver=3'/>
<link rel="stylesheet"
      href="http://code.jquery.com/mobile/1.4.5/jquery.mobile-1.4.5.min.css" />
<script type="text/javascript"
        src="http://code.jquery.com/jquery-2.1.3.min.js">
</script>
<script type="text/javascript"
        src="http://code.jquery.com/mobile/1.4.5/jquery.mobile-1.4.5.min.js">
</script>
<script type="text/javascript" src="js/bridge.js"></script>
<script type="text/javascript" src="js/evaluators.js"></script>
<script type="text/javascript" src="js/app.model.js"></script>
<script type="text/javascript" src="js/app.mobile.js"></script>
<body>
<div data-role='page' id='handFormPage'>
<div data-role='panel'  id='handForm'>
<form id='handentry'>
<div>Enter a hand:</div>
<div class='holding ui-field-contain'><label for='handS'>&spades;</label><input type='text' data-suit='S' id='handS' class='holding' autocomplete='off' autocapitalize='characters' name='suitS'/></div>
<div class='holding ui-field-contain'><label for='handH' class='red'>&hearts;</label><input type='text' data-suit='H' id='handH' class='holding' autocomplete='off' autocapitalize='characters'/></div>
<div class='holding ui-field-contain'><label for='handD' class='red'>&diams;</label><input type='text' data-suit='D' id='handD' class='holding' autocomplete='off' autocapitalize='characters'/></div>
<div class='holding ui-field-contain'><label for='handC'>&clubs;</label><input type='text' data-suit='C' id='handC' class='holding' autocomplete='off' autocapitalize='characters'/></div>
<div class='error'>&nbps;</div>
<div class="ui-field-contain">
    <input type="submit" name="evaluate" value="Evaluate" disabled='disabled' />
</div>

<div class="ui-field-contain">
    <input type='button' name='clear' id='clear' value='Clear' tabindex='-1'/>
</div>
</form>
</div> <!-- end panel --> 

<div data-role='header'>
<a href='http://bridge.thomasoandrews.com/valuations/' data-icon='home' rel='external'>Site</a> 
<h1>Mobile Hand Evaluator</h1>
<a href='#notesPage' data-icon='info'>Info</a>
</div>
<div data-role='content' id='evaluationsMain'>
<div id='blanksection'>
<p>Welcome to the Mobile Bridge Hand Evaluator.</p>
</div>
<div id='evaluationscontainer'>
<table data-role='table' data-mode='columntoggle' id='evaluations' class='ui-responsive' data-column-btn-text='Evaluators...'>
<thead>
<tr><th class='key'>&nbsp;</th><th data-priority='1' id='CCCC' class='value'>CCCC</th><th data-priority='2' id='hcp' class='value'>HCP</th><th data-priority='3' id='fifths' class='value'>Fifths</th><th data-priority='4'id="bumrap" class='value'>BUM-RAP</th><th data-priority='5' id="bissell" class='value'>Bissell</th></tr>
</thead>
<tbody>
<tr class='total'>
    <td class='key'>Total</td>
    <td class='cccc'>&nbsp;</td>
    <td class='hcp'>&nbsp;</td>
    <td class='fifths'>&nbsp;</td>
    <td class='bumrap'>&nbsp;</td>
    <td class='bissell'>&nbsp;</td>
</tr>
<tr class='shape'>
    <td class='key'>4-4-3-2</td>
    <td class='cccc'>&nbsp;</td>
    <td class='hcp'>&nbsp;</td>
    <td class='fifths'>&nbsp;</td>
    <td class='bumrap'>&nbsp;</td>
    <td class='bissell'>&nbsp;</td>
</tr>
<tr class='suitS'>
    <td class='key'>&spades; <span class='holding'>&nbsp;</span></td>
    <td class='cccc'>&nbsp;</td>
    <td class='hcp'>&nbsp;</td>
    <td class='fifths'>&nbsp;</td>
    <td class='bumrap'>&nbsp;</td>
    <td class='bissell'>&nbsp;</td>
</tr>
<tr class='suitH'>
    <td class='key'><span class='red'>&hearts;</span> <span class='holding'>&nbsp;</span></td>
    <td class='cccc'>&nbsp;</td>
    <td class='hcp'>&nbsp;</td>
    <td class='fifths'>&nbsp;</td>
    <td class='bumrap'>&nbsp;</td>
    <td class='bissell'>&nbsp;</td>
</tr>
<tr class='suitD'>
    <td class='key'><span class='red'>&diams;</span> <span class='holding'>&nbsp;</span></td>
    <td class='cccc'>&nbsp;</td>
    <td class='hcp'>&nbsp;</td>
    <td class='fifths'>&nbsp;</td>
    <td class='bumrap'>&nbsp;</td>
    <td class='bissell'>&nbsp;</td>
</tr>
<tr class='suitC'>
    <td class='key'>&clubs; <span class='holding'>&nbsp;</span></td>
    <td class='cccc'>&nbsp;</td>
    <td class='hcp'>&nbsp;</td>
    <td class='fifths'>&nbsp;</td>
    <td class='bumrap'>&nbsp;</td>
    <td class='bissell'>&nbsp;</td>
</tr>
</tbody>
</table>
</div> <!-- end evaluationscontainer--> 
 <a href="#handForm" data-role="button">Enter a bridge hand</a>

</div><!-- end content -->
</div>
<div data-role='page' id='notesPage'>
<div data-role='header'>
<a data-rel="back" data-icon='home' rel='external'>Back</a> 
<h1>Notes</h1>
</div>
<div class='notes' data-role='content'>
<h4 id='about'>About</h4>
<div class='section'>
<h5>Intro</h5>
<p>This is an intereactive bridge hand evaluator.</p>
<p><a href='#AK873,Q1098,AT2,6' data-ajax='false'>Example</a></p>
<p>Enter your hand, click "evaluate," and it applies a number of evaluators to the hand.
<h5>Why doesn't it always let me evaluate?</h5>
<ul>
<li>The button will usually tell you why it is disabled. Additionally, if any holding is invalid, that holding's field will be marked in red.
<li>Because this is currently a work in progress, where the code is changing, you might have to do a full reload. Hold down the shift key and hit the reload button.
</ul>
</div>
<h4 id='todo'>To Do</h4>
<div class='section'>
<ul>
<li>Implement more evaluators (specifically, "Binky.")
<li>Improve look-and-feel.
{'fraction_non_alphanumeric': 0.2343686643419025, 'fraction_numerical': 0.008920606601248885, 'mean_word_length': 5.705818379554105, 'pattern_counts': {'":': 0, '<': 471, '<?xml version=': 0, '>': 471, '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': '2581551', 'n_tokens_mistral': 4646, 'n_tokens_neox': 4508, 'n_words': 874}