<commit_before><tabset>
  <tab heading="Settings">
  <div class="info_container">
    <label class="info_label">Scenario Template</label>
      <select ui-select2   ng-model="current_template_index" class='template_select' ng-change="scenario_select(current_template_index)">
        <option  ng-repeat="scenario in allScenarios" value="{{ $index }}" ng-selected="{{ $index == current_template_index }}">{{ scenario.name }},{{ $index }},{{current_template_index}}</option>
      </select>
      <label class="info_label">Overview</label>
      <table class="table table-hover">
        <tr>
          <td>Trips Planned</td><td>{{ trip_table.length | number }}</td>
        </tr>
        <tr>
          <td>Number of Tracts </td><td>{{ tracts.length | number }}</td>
        </tr>
      </table>
      <div class="btn-group">
        <button class="btn btn-info" ng-click="tt_choropleth('outbound_trips')">Map Outbound Trips</button>
        <button class="btn btn-info" ng-click="tt_choropleth('inbound_trips')">Map Inbound Trips</button>
      </div>
      <label>Model Type</label>
      <select ui-select2   ng-model="model_type" class='template_select'>
       <option value="lehd" selected>LEHD 5%</option>
       <option value="lehdbus" selected>LEHD + ACS % Bus Trips</option>
       <option value="ctpp" selected>CTPP 2010 Bus Trips</option>
       <option value="survey">Atlantic City Survey</option>
      </select>
      <div ng-show="showOD(model_type)">
        <label>OD Source</label>
        <select ui-select2   ng-model="model_od" class='template_select' ng-change="update_od(model_od)">
         <option value="stops">Bus Stops</option>
         <option value="survey">Survey</option>
        </select>
        {{model_od}}
      </div>
       <label>Model Time</label>
      <select ui-select2   ng-model="model_time" class='template_select'>
       <option value="am" selected>AM Peak</option>
       <option value="pm">PM Peak</option>
      </select>
      <br><br>
      <a class="btn btn-info" ng-click="newTripTable(model_type)">Update Trip Table</a>
      <a class="btn btn-info" ng-click="newModel()" ng-disabled="active_run">Run Model</a>
      <br><br>
      
      <div ng-show="active_run">
       {{run_progress}} / {{run_max}}
       <progressbar value="run_progress" max="run_max"><span style="color:black; white-space:nowrap;"></span></progressbar>
      </div>
  </div>
  </tab>
  <tab heading="Trip Table">
    <a class="btn btn-info" ng-click="mapTripTable()">Show Trips on Map</a>
     <div class="info_container">
      <label class="info_label">Trips</label>
        <table class="table table-striped table-hover trip-display">
            <tr>
              <td>Id</td>
              <td >Time</td>
              <td colspan=2>From</td><commit_msg>stuff<commit_after><tabset>
  <tab heading="Settings">
  <div class="info_container">
    <label class="info_label">Scenario Template</label>
      <select ui-select2   ng-model="current_template_index" class='template_select' ng-change="scenario_select(current_template_index)">
        <option  ng-repeat="scenario in allScenarios" value="{{ $index }}" ng-selected="{{ $index == current_template_index }}">{{ scenario.name }},{{ $index }},{{current_template_index}}</option>
      </select>
      <label class="info_label">Overview</label>
      <table class="table table-hover">
        <tr>
          <td>Trips Planned</td><td>{{ trip_table.length | number }}</td>
        </tr>
        <tr>
          <td>Number of Tracts </td><td>{{ tracts.length | number }}</td>
        </tr>
      </table>
      <div class="btn-group">
        <button class="btn btn-info" ng-click="tt_choropleth('outbound_trips')">Map Outbound Trips</button>
        <button class="btn btn-info" ng-click="tt_choropleth('inbound_trips')">Map Inbound Trips</button>
      </div>
      <label>Model Type</label>
      <select ui-select2   ng-model="model_type" class='template_select'>
       <option value="lehd" selected>LEHD 5%</option>
       <option value="lehdbus" selected>LEHD + ACS % Bus Trips</option>
       <option value="ctpp" selected>CTPP 2010 Bus Trips</option>
       <option value="survey">Atlantic City Survey</option>
      </select>
      <div ng-show="showOD(model_type)">
        <label>OD Source</label>
        <select ui-select2   ng-model="model_od" class='template_select' ng-change="update_od(model_od)">
         <option value="stops">Bus Stops</option>
         <option value="survey">Survey</option>
        </select>
        {{model_od}}
      </div>
       <label>Model Time</label>
      <select ui-select2   ng-model="model_time" class='template_select'>
       <option value="am" selected>AM Peak</option>
       <option value="pm">PM Peak</option>
      </select>
      <br><br>
      <a class="btn btn-info" ng-click="saveScenario">Save Current Scenario</a>

      <a class="btn btn-info" ng-click="newTripTable(model_type)">Update Trip Table</a>
      <a class="btn btn-info" ng-click="newModel()" ng-disabled="active_run">Run Model</a>
      <br><br>
      

      <div ng-show="active_run">
       {{run_progress}} / {{run_max}}
       <progressbar value="run_progress" max="run_max"><span style="color:black; white-space:nowrap;"></span></progressbar>
      </div>
  </div>
  </tab>
  <tab heading="Trip Table">
    <a class="btn btn-info" ng-click="mapTripTable()">Show Trips on Map</a>
     <div class="info_container">
      <label class="info_label">Trips</label>
        <table class="table table-striped table-hover trip-display">
            <tr>
              <td>Id</td>
              <td >Time</td>
              <td colspan=2>From</td>
{'fraction_non_alphanumeric': 0.17167609618104668, 'fraction_numerical': 0.003536067892503536, 'mean_word_length': 3.1534508076358296, 'pattern_counts': {'":': 0, '<': 187, '<?xml version=': 0, '>': 187, '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': '4319819', 'n_tokens_mistral': 1851, 'n_tokens_neox': 1805, 'n_words': 349}