<commit_before><body ng-app="teamApp">
    <style>
table,th, td {
    border: 1px solid black;
}
</style>
         <h1>Search Event</h1>
         <div ng-controller="eventSearch">
           
Please select the event below: <br>
<select ng-model="selectedName" ng-options="x.name for x in event">
</select>
<br><br><br>
 Input the name of the team: <input type="text" ng-model="searchText" placeholder="Type to search"><br><br> <h3>List of Team: </h3><br>

 <div data-ng-repeat="q in event" data-ng-if="q.name == selectedName.name ">
     <table width="400"><tr align="center"><td align="center"><b>Name:</b></td><td align="center"><b>Intro.</b></td></tr>
         <tr data-ng-repeat="g in q.Team" ng-if="g.name.indexOf(searchText) > -1 || !searchText">
         <td align="center">{{g.name}}</td><td align="center">{{g.intro}}</td></tr>
        
         </table>
         </div>
        
         </div>
         
    </body>   <commit_msg>Search fulfill private/public requirement<commit_after><body ng-app="teamApp">
    <style>
table,th, td {
    border: 1px solid black;
}
</style>
         <h1>Search Event</h1>
         <div ng-controller="eventSearch">
           
Please select the event below: <br>
<select ng-model="selectedName" ng-options="x.name for x in event">
</select>
<br><br><br>
 Input the name of the team: <input type="text" ng-model="searchText" placeholder="Type to search"><br><br> <h3>List of Team: </h3><br>

 <div data-ng-repeat="q in event" data-ng-if="q.name == selectedName.name ">
     <table width="400"><tr align="center"><td align="center"><b>Name:</b></td><td align="center"><b>Intro.</b></td></tr>
         <tr data-ng-repeat="g in q.Team" ng-if="(g.name.indexOf(searchText) > -1 && g.openness == true) || (!searchText && g.openness == true)">
         <td align="center">{{g.name}}</td><td align="center">{{g.intro}}</td></tr>
        
         </table>
         </div>
        
         </div>
         
    </body>   
{'fraction_non_alphanumeric': 0.20990806945863125, 'fraction_numerical': 0.009193054136874362, 'mean_word_length': 2.973630831643002, 'pattern_counts': {'":': 0, '<': 83, '<?xml version=': 0, '>': 85, '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': '4843622', 'n_tokens_mistral': 679, 'n_tokens_neox': 661, 'n_words': 147}