<commit_before>
  <ul data-ng-if="warpvndService.is3D()" class="nav nav-tabs">
    <li role="presentation" data-ng-class="{active: ! is3dPreview }"><a class="srw-tab" href data-ng-click="toggle3dPreview()"><strong>Layout</strong></a></li>
    <li role="presentation" data-ng-class="{active: is3dPreview }"><a class="srw-tab" href data-ng-click="toggle3dPreview()"><strong><span class="glyphicon glyphicon-option-vertical"></span> 3D Preview</strong></a></li>
  </ul>

<div data-ng-show="! is3dPreview || ! warpvndService.is3D()">
  <p class="lead text-center" style="margin-bottom: 0"><small><em>drag and drop conductor types here to layout the simulation grid</em></small></p>
  <span data-ng-show="warpvndService.is3D()"><a href="" data-ng-click="toggleTiledDomain()"><span class="glyphicon" data-ng-class="{'glyphicon-check': isDomainTiled, 'glyphicon-unchecked': ! isDomainTiled}"></span></a> <span>Show periodic domain</span></span>
  <div>
    <!-- NOTE: the <div> and <svg> must be on the same line for the png code to work! -->
    <div style="-webkit-user-select: none"><svg class="sr-plot">
        <g data-ng-attr-transform="translate({{ margin.left }}, {{ margin.top }})">
            <g data-ng-attr-transform="translate(0, {{ tileOffset() }})">
              <text class="focus-text" text-anchor="end" data-ng-attr-x="{{ width }}" y="-10" dy=".35em"></text>
              <g class="x axis" data-ng-attr-transform="translate(0, {{ height }})"></g>
              <g class="x axis grid" data-ng-attr-transform="translate(0, {{ height }})"></g>
              <g class="y axis"></g>
              <g class="y axis grid"></g>
              <text class="y-axis-label" transform="rotate(-90)" data-ng-attr-x="{{ -height / 2 }}" data-ng-attr-y="-{{ margin.left }}" dy="1em"></text>
              <text class="x-axis-label" ng-attr-x="{{ width / 2 }}" ng-attr-y="{{ height + 26 }}" dy="1em"></text>
              <text class="x-base" text-anchor="end" ng-attr-x="{{ width + margin.right - 5 }}" ng-attr-y="{{ height + 40 }}"></text>
              <svg class="plot-viewport" data-ng-attr-width="{{ width }}" data-ng-attr-height="{{ height }}" data-ng-drop="true" data-ng-drag-move="dragMove($data, $event)" data-ng-drop-success="dropSuccess($data, $event)">
                  <defs>
                      <pattern id="reflectionPattern-anode" x="0" y="0" width="20" height="20" patternUnits="userSpaceOnUse">
                          <!--<path d="M0,0 l20,20" stroke="{{  source.conductorColors.nonZero }}" stroke-width="1.5" stroke-opacity="{{ source.getReflectOpacity('anode', 's') }}"></path>-->
                          <circle cx="2" cy="12" r="2" fill="{{  source.conductorColors.nonZero }}" fill-opacity="{{ source.getReflectOpacity('anode', 'd') }}"></circle>
                      </pattern>
                      <pattern data-ng-repeat="conductorType in source.conductorTypes() track by conductorType.id" id="reflectionPattern-{{ conductorType.id }}" x="0" y="0" width="20" height="20" patternUnits="userSpaceOnUse">
                          <!--<path d="M0,0 l20,20" stroke="{{ conductorType.color }}" stroke-width="1.5" stroke-opacity="{{ source.getReflectOpacity(conductorType.id, 's') }}"></path>-->
                          <circle cx="2" cy="12" r="2" fill="{{ conductorType.color }}" fill-opacity="{{ source.getReflectOpacity(conductorType.id, 'd') }}"></circle>
                      </pattern>
                  </defs>
                  <rect class="overlay mouse-zoom" data-ng-attr-width="{{ width }}" data-ng-attr-height="{{ height }}"></rect>
              </svg>
            </g>
            <g data-ng-show="warpvndService.is3D()" data-ng-attr-transform="translate(0, {{ margin.top + height + zMargin() + tileOffset() }})">
              <defs>
                <clippath id="zx-grid-clip">
                  <rect ng-attr-width="{{ width + 1 }}" ng-attr-height="{{ zHeight }}"></rect>
                </clippath>
              </defs>
              <text class="focus-text" text-anchor="end" ng-attr-x="{{ width }}" y="-10" dy=".35em"></text>
              <g class="z axis"></g>
              <g class="z axis grid"></g>
              <g clip-path="url(#zx-grid-clip)">
                  <g class="zx axis grid" ng-attr-transform="translate(0, {{ zHeight }})"></g>
              </g>
              <text class="z-axis-label" transform="rotate(-90)" ng-attr-x="{{ - zHeight / 2 }}" ng-attr-y="-{{ margin.left }}" dy="1em"></text>
              <svg class="z-plot-viewport" ng-attr-width="{{ width }}" ng-attr-height="{{ zHeight }}"><commit_msg>Changed reflection pattern<commit_after>
  <ul data-ng-if="warpvndService.is3D()" class="nav nav-tabs">
    <li role="presentation" data-ng-class="{active: ! is3dPreview }"><a class="srw-tab" href data-ng-click="toggle3dPreview()"><strong>Layout</strong></a></li>
    <li role="presentation" data-ng-class="{active: is3dPreview }"><a class="srw-tab" href data-ng-click="toggle3dPreview()"><strong><span class="glyphicon glyphicon-option-vertical"></span> 3D Preview</strong></a></li>
  </ul>

<div data-ng-show="! is3dPreview || ! warpvndService.is3D()">
  <p class="lead text-center" style="margin-bottom: 0"><small><em>drag and drop conductor types here to layout the simulation grid</em></small></p>
  <span data-ng-show="warpvndService.is3D()"><a href="" data-ng-click="toggleTiledDomain()"><span class="glyphicon" data-ng-class="{'glyphicon-check': isDomainTiled, 'glyphicon-unchecked': ! isDomainTiled}"></span></a> <span>Show periodic domain</span></span>
  <div>
    <!-- NOTE: the <div> and <svg> must be on the same line for the png code to work! -->
    <div style="-webkit-user-select: none"><svg class="sr-plot">
        <g data-ng-attr-transform="translate({{ margin.left }}, {{ margin.top }})">
            <g data-ng-attr-transform="translate(0, {{ tileOffset() }})">
              <text class="focus-text" text-anchor="end" data-ng-attr-x="{{ width }}" y="-10" dy=".35em"></text>
              <g class="x axis" data-ng-attr-transform="translate(0, {{ height }})"></g>
              <g class="x axis grid" data-ng-attr-transform="translate(0, {{ height }})"></g>
              <g class="y axis"></g>
              <g class="y axis grid"></g>
              <text class="y-axis-label" transform="rotate(-90)" data-ng-attr-x="{{ -height / 2 }}" data-ng-attr-y="-{{ margin.left }}" dy="1em"></text>
              <text class="x-axis-label" ng-attr-x="{{ width / 2 }}" ng-attr-y="{{ height + 26 }}" dy="1em"></text>
              <text class="x-base" text-anchor="end" ng-attr-x="{{ width + margin.right - 5 }}" ng-attr-y="{{ height + 40 }}"></text>
              <svg class="plot-viewport" data-ng-attr-width="{{ width }}" data-ng-attr-height="{{ height }}" data-ng-drop="true" data-ng-drag-move="dragMove($data, $event)" data-ng-drop-success="dropSuccess($data, $event)">
                  <defs>
                      <pattern id="reflectionPattern-anode" x="0" y="0" width="20" height="20" patternUnits="userSpaceOnUse">
                          <path d="M0,0 l20,20" stroke="{{  source.conductorColors.nonZero }}" stroke-width="1.5" stroke-opacity="{{ source.getReflectOpacity('anode', 'd') }}"></path>
                          <!--<circle cx="2" cy="12" r="2" fill="{{  source.conductorColors.nonZero }}" fill-opacity="{{ source.getReflectOpacity('anode', 'd') }}"></circle>-->
                      </pattern>
                      <pattern data-ng-repeat="conductorType in source.conductorTypes() track by conductorType.id" id="reflectionPattern-{{ conductorType.id }}" x="0" y="0" width="20" height="20" patternUnits="userSpaceOnUse">
                          <path d="M0,0 l20,20" stroke="{{ conductorType.color }}" stroke-width="1.5" stroke-opacity="{{ source.getReflectOpacity(conductorType.id, 'd') }}"></path>
                          <!--<circle cx="2" cy="12" r="2" fill="{{ conductorType.color }}" fill-opacity="{{ source.getReflectOpacity(conductorType.id, 'd') }}"></circle>-->
                      </pattern>
                  </defs>
                  <rect class="overlay mouse-zoom" data-ng-attr-width="{{ width }}" data-ng-attr-height="{{ height }}"></rect>
              </svg>
            </g>
            <g data-ng-show="warpvndService.is3D()" data-ng-attr-transform="translate(0, {{ margin.top + height + zMargin() + tileOffset() }})">
              <defs>
                <clippath id="zx-grid-clip">
                  <rect ng-attr-width="{{ width + 1 }}" ng-attr-height="{{ zHeight }}"></rect>
                </clippath>
              </defs>
              <text class="focus-text" text-anchor="end" ng-attr-x="{{ width }}" y="-10" dy=".35em"></text>
              <g class="z axis"></g>
              <g class="z axis grid"></g>
              <g clip-path="url(#zx-grid-clip)">
                  <g class="zx axis grid" ng-attr-transform="translate(0, {{ zHeight }})"></g>
              </g>
              <text class="z-axis-label" transform="rotate(-90)" ng-attr-x="{{ - zHeight / 2 }}" ng-attr-y="-{{ margin.left }}" dy="1em"></text>
              <svg class="z-plot-viewport" ng-attr-width="{{ width }}" ng-attr-height="{{ zHeight }}">
{'fraction_non_alphanumeric': 0.21991927566270317, 'fraction_numerical': 0.016581215228537144, 'mean_word_length': 2.7743927542198437, 'pattern_counts': {'":': 0, '<': 195, '<?xml version=': 0, '>': 195, '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': '3626575', 'n_tokens_mistral': 3022, 'n_tokens_neox': 2879, 'n_words': 574}