<commit_before><div class="container-fluid">
<div class="row">
            <h2 class="col-sm-12">
            {{entity.label}}: {{raw.shorthand}}
            <span ng-if="parentLink">under
                <a ui-sref="{{kirraNG.toState(parentRelationship.typeRef.fullName, 'show')}}({ objectId: '{{parentLink.objectId}}' })">
                    {{parentRelationship.label}} {{parentLink.shorthand}}
                </a>
            </span>
            </h2>
</div>
<div class="row">
<div class="col-sm-8">

    <div ng-show="raw">
            <div class="panel panel-default">
                <div class="panel-body">
                      <div class="btn-group" role="group">
                          <button type="button" class="btn btn-default" ng-click="edit()" ng-if="editable && instanceCapabilities.instance.indexOf('Update') >= 0">
                              {{kirraNG.getAppLabel('edit')}} <span class="glyphicon glyphicon-edit"></span>
                          </button>
                          <button type="button" class="btn btn-default" ng-click="delete()" ng-if="instanceCapabilities.instance.indexOf('Delete') >= 0">
                              {{kirraNG.getAppLabel('delete')}} <span class="glyphicon glyphicon-remove"></span>
                          </button>
                      </div>
                      <instance-actions class="form-horizontal"
                          embedded-instance="raw"
                          embedded-entity="entity"
                          embedded-instance-actions="instanceActions"
                          embedded-instance-capabilities="instanceCapabilities"
                          embedded-action-enablement="actionEnablement"
                          embedded-perform-action="performAction(action)">
                      </instance-actions>
                </div>
                <div class="panel-body">
                    <instance-details class="form-horizontal"
                        embedded-instance="raw"
                        embedded-field-values="fieldValues"
                        embedded-view-fields="viewFields"
                        embedded-entity="entity"
                        embedded-object-id="objectId"
                        embedded-type-ref="typeRef">
                    </instance-details>
                </div>
            </div>
            
    
            <div ng-repeat="edge in edges | filter:{ relationshipStyle: 'CHILD'}">
                <h3>
                    {{edge.relationshipLabel}}            
                    <span class="badge">{{edge.rows.length}}</span>
                    <a ng-click="createChild(edge.relationship, edge.relatedEntity)" ng-if="edge.relationship.editable">
                        <span class="glyphicon glyphicon-plus"></span>
                    </a>
                </h3>
    
                <div ng-repeat="child in edge.rows" class="panel panel-default">
                  <div class="panel-body">
                  
                        <div class="btn-group" role="group">
                            <button type="button" class="btn btn-default" ng-if="edge.relationship.editable" ui-sref="{{kirraNG.toState(edge.relatedEntity.fullName, 'edit')}}({ objectId: '{{child.raw.objectId}}' })">
                                {{kirraNG.getAppLabel('child_edit', { relationshipName: edge.relationship.label })}} <span class="glyphicon glyphicon-edit"></span>
                            </button>
                            <button type="button" class="btn btn-default" ng-if="edge.relationship.editable" ng-click="unlink(edge.relationship, child.raw.typeRef.fullName, child.raw.objectId)">
                                {{kirraNG.getAppLabel('child_delete', { relationshipName: edge.relationship.label })}} <span class="glyphicon glyphicon-remove"></span>
                            </button>
                        </div>
                  
                        <instance-actions
                            embedded-instance="child.raw"
                            embedded-entity="edge.relatedEntity"
                            embedded-instance-actions="edge.relatedInstanceActions"
                            embedded-instance-capabilities="child.instanceCapabilities"
                            embedded-action-enablement="child.actionEnablement"
                            embedded-perform-action="edge.performInstanceActionOnRow(child, action)">
                        </instance-actions>
                        <instance-details
                            embedded-instance="child.raw"
                            embedded-field-values="child.data"
                            embedded-view-fields="edge.relatedViewFields"
                            embedded-entity="edge.relatedEntity"<commit_msg>broken layout with multiple children #58<commit_after><div class="container-fluid">
<div class="row">
            <h2 class="col-sm-12">
            {{entity.label}}: {{raw.shorthand}}
            <span ng-if="parentLink">under
                <a ui-sref="{{kirraNG.toState(parentRelationship.typeRef.fullName, 'show')}}({ objectId: '{{parentLink.objectId}}' })">
                    {{parentRelationship.label}} {{parentLink.shorthand}}
                </a>
            </span>
            </h2>
</div>
<div class="row">
<div class="col-sm-8">

    <div ng-show="raw">
            <div class="panel panel-default">
                <div class="panel-body">
                      <div class="btn-group" role="group">
                          <button type="button" class="btn btn-default" ng-click="edit()" ng-if="editable && instanceCapabilities.instance.indexOf('Update') >= 0">
                              {{kirraNG.getAppLabel('edit')}} <span class="glyphicon glyphicon-edit"></span>
                          </button>
                          <button type="button" class="btn btn-default" ng-click="delete()" ng-if="instanceCapabilities.instance.indexOf('Delete') >= 0">
                              {{kirraNG.getAppLabel('delete')}} <span class="glyphicon glyphicon-remove"></span>
                          </button>
                      </div>
                      <instance-actions class="form-horizontal"
                          embedded-instance="raw"
                          embedded-entity="entity"
                          embedded-instance-actions="instanceActions"
                          embedded-instance-capabilities="instanceCapabilities"
                          embedded-action-enablement="actionEnablement"
                          embedded-perform-action="performAction(action)">
                      </instance-actions>
                </div>
                <div class="panel-body">
                    <instance-details class="form-horizontal"
                        embedded-instance="raw"
                        embedded-field-values="fieldValues"
                        embedded-view-fields="viewFields"
                        embedded-entity="entity"
                        embedded-object-id="objectId"
                        embedded-type-ref="typeRef">
                    </instance-details>
                </div>
            </div>
            
    
            <div ng-repeat="edge in edges | filter:{ relationshipStyle: 'CHILD'}" class="col-sm-10">
                <h3 class="row">
                    {{edge.relationshipLabel}}            
                    <span class="badge">{{edge.rows.length}}</span>
                    <a ng-click="createChild(edge.relationship, edge.relatedEntity)" ng-if="edge.relationship.editable">
                        <span class="glyphicon glyphicon-plus"></span>
                    </a>
                </h3>
    
                <div ng-repeat="child in edge.rows" class="panel panel-default row">
                  <div class="panel-body">
                  
                        <div class="btn-group" role="group">
                            <button type="button" class="btn btn-default" ng-if="edge.relationship.editable" ui-sref="{{kirraNG.toState(edge.relatedEntity.fullName, 'edit')}}({ objectId: '{{child.raw.objectId}}' })">
                                {{kirraNG.getAppLabel('child_edit', { relationshipName: '' })}} <span class="glyphicon glyphicon-edit"></span>
                            </button>
                            <button type="button" class="btn btn-default" ng-if="edge.relationship.editable" ng-click="unlink(edge.relationship, child.raw.typeRef.fullName, child.raw.objectId)">
                                {{kirraNG.getAppLabel('child_delete', { relationshipName: '' })}} <span class="glyphicon glyphicon-remove"></span>
                            </button>
                        </div>
                  
                        <instance-actions
                            embedded-instance="child.raw"
                            embedded-entity="edge.relatedEntity"
                            embedded-instance-actions="edge.relatedInstanceActions"
                            embedded-instance-capabilities="child.instanceCapabilities"
                            embedded-action-enablement="child.actionEnablement"
                            embedded-perform-action="edge.performInstanceActionOnRow(child, action)">
                        </instance-actions>
                        <instance-details
                            embedded-instance="child.raw"
                            embedded-field-values="child.data"
                            embedded-view-fields="edge.relatedViewFields"
                            embedded-entity="edge.relatedEntity"
{'fraction_non_alphanumeric': 0.12894161723384326, 'fraction_numerical': 0.0022895202414403163, 'mean_word_length': 1.4521561622862975, 'pattern_counts': {'":': 0, '<': 115, '<?xml version=': 0, '>': 117, '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': '7433828', 'n_tokens_mistral': 2350, 'n_tokens_neox': 2224, 'n_words': 327}