<commit_before><nav class="navbar navbar-global" role="navigation" id="NavbarGlobal">
	<div class="container-fluid">
		<div class="navbar-header">

			<a class="navbar-menu js-nav-trigger hidden-xs hidden-sm">
				<span class="sr-only">Site Navigation</span>
				<span class="icon ion-navicon-round"></span>
			</a>

			<div class="navbar-brand">
				<h1 class="brand-name">
					<a class="logo" title="SilverStripe" href="$Scope.Level(1).Link">
						<img class="global-logo" src="{$ToolbarHostname}/themes/ssv3/img/global-logo-<% if $Scope.Level(1) %>{$Scope.Level(1).URLSegment}<% else %>open-source<% end_if %>.svg" alt="{$Scope.Menu(1).Title}">
					</a>
				</h1>
			</div>

			<a class="js-nav-expander navbar-menu nav-expander fixed visible-xs visible-sm">
				<span class="icon ion-navicon-round"></span>
				<span class="sr-only">Mobile site navigation</span>
			</a>
		</div>

		<%-- Profile menu --%>
		<ul id="profile-menu" class="nav navbar-nav global-right pull-right" style="display:none;">
			<li class="nav-search">
				<a class="search" href="javascript:void(0)" title="Search">
					<% include SearchSvg %>
					<span class="sr-only">Search site</span>
				</a>
			</li>

			<li class="hidden-xs hidden-sm">
				<iframe id="toolbar-iframe" src="{$ToolbarHostname}/toolbar/profile" frameborder="0" width="0" scrolling="no"></iframe>
			</li>
		</ul>
		<i id="loader-menu" class="loader-profile pull-right icon icon-xs ion-ios-reloading"></i>
		<%-- Navigation top level --%>
		<ul class="nav navbar-nav global-nav hidden-xs hidden-sm" role="navigation">						
			<% loop $Scope.Menu(2) %><li class="dropdown-hover <% if $Top.ActivePage.ID == $ID %>current<% else_if $Top.ActivePage.InNode($ID) %>section<% end_if %>"><a href="$GlobalNavLink" title="Go to the $Title.XML page" class="dropdown-toggle">$MenuTitle.XML</a><% include GlobalNav_secondary_pages ActivePageID=$Top.ActivePage.ID, ActiveParentID=$Top.ActivePage.ParentID, Pages=$GlobalNavChildren %></li><% end_loop %>
		</ul>

		<nav class="slide-menu visible-xs visible-sm" role="navigation">
			<ul class="nav">
				<li class="mobile-nav-login pull-left">
					<iframe id="toolbar-iframe-mobile" src="{$ToolbarHostname}/toolbar/profile" frameborder="0" width="0" scrolling="no"></iframe>
				</li>
				<li class="text-right"><a id="nav-close" class="ion-ios-close-empty"></a></li>
				<% loop $Scope.Menu(1) %>
				<li class="$LinkingMode<% if $GlobalNavChildren %> children<% end_if %><% if $Top.ActivePage.ID == $ID %> current<% else_if $Top.ActivePage.ParentID == $ID %> section<% end_if %>">
					<% if $GlobalNavChildren %><span data-toggle="collapse" data-target="#nav-{$ID}" class="icon ion-ios-arrow-down"></span><% end_if %>
					<a href="$GlobalNavLink" title="Go to the $Title.XML page">$MenuTitle.XML<% if $GlobalNavChildren %><% else %><span class="icon ion-ios-arrow-right"></span><% end_if %></a>
					<% if $GlobalNavChildren %>
					<ul class="collapse list-unstyled" id="nav-{$ID}" role="menu">
						<% loop Children %>
						<li class="$LinkingMode sub-nav<% if $GlobalNavChildren %> children<% end_if %><% if $Top.ActivePage.ID == $ID %> current<% else_if $Top.ActivePage.ParentID == $ID %> section<% end_if %>">
							<% if $GlobalNavChildren %><span data-toggle="collapse" data-target="#nav-{$ID}" class="icon ion-ios-arrow-down"></span><% end_if %>
							<a href="$GlobalNavLink" title="Go to the $Title.XML page">$MenuTitle.XML<% if $GlobalNavChildren %><% else %><span class="icon ion-ios-arrow-right"></span><% end_if %></a>
							<% if $GlobalNavChildren %>
							<ul class="collapse list-unstyled" id="nav-{$ID}" role="menu">
								<% loop Children %>
								<li class="$LinkingMode sub-nav<% if $GlobalNavChildren %> children<% end_if %><% if $Top.ActivePage.ID == $ID %> current<% else_if $Top.ActivePage.ParentID == $ID %> section<% end_if %>">
									<% if $GlobalNavChildren %><span data-toggle="collapse" data-target="#nav-{$ID}" class="icon ion-ios-arrow-down"></span><% end_if %>
									<a href="$GlobalNavLink" title="Go to the $Title.XML page">$MenuTitle.XML<% if $GlobalNavChildren %><% else %><span class="icon ion-ios-arrow-right"></span><% end_if %></a>
									<% if $GlobalNavChildren %>
									<ul class="collapse list-unstyled" id="nav-{$ID}" role="menu">
										<% loop Children %>
										<li class="$LinkingMode sub-nav<% if $GlobalNavChildren %> children<% end_if %><% if $Top.ActivePage.ID == $ID %> current<% else_if $Top.ActivePage.ParentID == $ID %> section<% end_if %>">
											<a href="$GlobalNavLink" title="Go to the $Title.XML page">$MenuTitle.XML</a><commit_msg>added show children when in section<commit_after><nav class="navbar navbar-global" role="navigation" id="NavbarGlobal">
	<div class="container-fluid">
		<div class="navbar-header">

			<a class="navbar-menu js-nav-trigger hidden-xs hidden-sm">
				<span class="sr-only">Site Navigation</span>
				<span class="icon ion-navicon-round"></span>
			</a>

			<div class="navbar-brand">
				<h1 class="brand-name">
					<a class="logo" title="SilverStripe" href="$Scope.Level(1).Link">
						<img class="global-logo" src="{$ToolbarHostname}/themes/ssv3/img/global-logo-<% if $Scope.Level(1) %>{$Scope.Level(1).URLSegment}<% else %>open-source<% end_if %>.svg" alt="{$Scope.Menu(1).Title}">
					</a>
				</h1>
			</div>

			<a class="js-nav-expander navbar-menu nav-expander fixed visible-xs visible-sm">
				<span class="icon ion-navicon-round"></span>
				<span class="sr-only">Mobile site navigation</span>
			</a>
		</div>

		<%-- Profile menu --%>
		<ul id="profile-menu" class="nav navbar-nav global-right pull-right" style="display:none;">
			<li class="nav-search">
				<a class="search" href="javascript:void(0)" title="Search">
					<% include SearchSvg %>
					<span class="sr-only">Search site</span>
				</a>
			</li>

			<li class="hidden-xs hidden-sm">
				<iframe id="toolbar-iframe" src="{$ToolbarHostname}/toolbar/profile" frameborder="0" width="0" scrolling="no"></iframe>
			</li>
		</ul>
		<i id="loader-menu" class="loader-profile pull-right icon icon-xs ion-ios-reloading"></i>
		<%-- Navigation top level --%>
		<ul class="nav navbar-nav global-nav hidden-xs hidden-sm" role="navigation">						
			<% loop $Scope.Menu(2) %><li class="dropdown-hover <% if $Top.ActivePage.ID == $ID %>current<% else_if $Top.ActivePage.InNode($ID) %>section<% end_if %>"><a href="$GlobalNavLink" title="Go to the $Title.XML page" class="dropdown-toggle">$MenuTitle.XML</a><% include GlobalNav_secondary_pages ActivePageID=$Top.ActivePage.ID, ActiveParentID=$Top.ActivePage.ParentID, Pages=$GlobalNavChildren %></li><% end_loop %>
		</ul>

		<nav class="slide-menu visible-xs visible-sm" role="navigation">
			<ul class="nav">
				<li class="mobile-nav-login pull-left">
					<iframe id="toolbar-iframe-mobile" src="{$ToolbarHostname}/toolbar/profile" frameborder="0" width="0" scrolling="no"></iframe>
				</li>
				<li class="text-right"><a id="nav-close" class="ion-ios-close-empty"></a></li>
				<% loop $Scope.Menu(1) %>
				<li class="$LinkingMode<% if $GlobalNavChildren %> children<% end_if %><% if $Top.ActivePage.ID == $ID %> current<% else_if $Top.ActivePage.ParentID == $ID %> section<% end_if %>">
					<% if $GlobalNavChildren %><span data-toggle="collapse" data-target="#nav-{$ID}" class="icon ion-ios-arrow-down"></span><% end_if %>
					<a href="$GlobalNavLink" title="Go to the $Title.XML page">$MenuTitle.XML<% if $GlobalNavChildren %><% else %><span class="icon ion-ios-arrow-right"></span><% end_if %></a>
					<% if $GlobalNavChildren %>
					<ul class="<% if $Top.ActivePage.ID == $ID || $Top.ActivePage.ParentID == $ID %> collapsed in<% else %> collapse<% end_if %> list-unstyled" id="nav-{$ID}" role="menu">
						<% loop Children %>
						<li class="$LinkingMode sub-nav<% if $GlobalNavChildren %> children<% end_if %><% if $Top.ActivePage.ID == $ID %> current<% else_if $Top.ActivePage.ParentID == $ID %> section<% end_if %>">
							<% if $GlobalNavChildren %><span data-toggle="collapse" data-target="#nav-{$ID}" class="icon ion-ios-arrow-down"></span><% end_if %>
							<a href="$GlobalNavLink" title="Go to the $Title.XML page">$MenuTitle.XML<% if $GlobalNavChildren %><% else %><span class="icon ion-ios-arrow-right"></span><% end_if %></a>
							<% if $GlobalNavChildren %>
							<ul class="<% if $Top.ActivePage.ID == $ID || $Top.ActivePage.ParentID == $ID %> collapsed in<% else %> collapse<% end_if %> list-unstyled" id="nav-{$ID}" role="menu">
								<% loop Children %>
								<li class="$LinkingMode sub-nav<% if $GlobalNavChildren %> children<% end_if %><% if $Top.ActivePage.ID == $ID %> current<% else_if $Top.ActivePage.ParentID == $ID %> section<% end_if %>">
									<% if $GlobalNavChildren %><span data-toggle="collapse" data-target="#nav-{$ID}" class="icon ion-ios-arrow-down"></span><% end_if %>
									<a href="$GlobalNavLink" title="Go to the $Title.XML page">$MenuTitle.XML<% if $GlobalNavChildren %><% else %><span class="icon ion-ios-arrow-right"></span><% end_if %></a>
									<% if $GlobalNavChildren %>
									<ul class="collapse list-unstyled" id="nav-{$ID}" role="menu">
										<% loop Children %>
										<li class="$LinkingMode sub-nav<% if $GlobalNavChildren %> children<% end_if %><% if $Top.ActivePage.ID == $ID %> current<% else_if $Top.ActivePage.ParentID == $ID %> section<% end_if %>">
											<a href="$GlobalNavLink" title="Go to the $Title.XML page">$MenuTitle.XML</a>
{'fraction_non_alphanumeric': 0.2088167053364269, 'fraction_numerical': 0.002952963509808057, 'mean_word_length': 4.2800668151447665, 'pattern_counts': {'":': 0, '<': 277, '<?xml version=': 0, '>': 277, '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': '3712199', 'n_tokens_mistral': 3767, 'n_tokens_neox': 3114, 'n_words': 676}