<commit_before>"""
    lamipy project - laminated composites calculations in Python.

    Run_FailureTest.py - Module containing functions for testing 
    composite layups.

    version_0.1: <NAME> - September 2017
"""

import numpy as np
import CLT
import Failure_Criteria as FC

def Test_A():
# This temporary function tests the implementation.
    
    # Material 1 - Dictionary of properties
    mat1 = {
     "E1"  : 156.4e9,
     "E2"  : 7.786e9,
     "n12" : 0.354,
     "G12" : 3.762e9,
     "Xt" : 1826e6,
     "Xc" : 1134e6,
     "Yt" : 19e6,
     "Yc" : 131e6,
     "S12" : 75e6,
     "S32" : 41e6 }

    # Assembles material list
    mat = [mat1, []]

    # Initializes dictionary of the laminate layup configurations
    # thk = thickness; ang = angle; mat_id = material id
    lam = {"thk": [], "ang": [], "mat_id" : []}

    # Adds 12 layers of 0.127mm thickness and material id 0
    for i in range(12):
        lam["thk"].append(0.127e-3)
        lam["mat_id"].append(0)
    lam["ang"].extend((45, -45, 45, -45, 45, -45, -45, 45, -45, 45, -45, 45))

    # Vector F with the applied generalized stress (unit N/m2 / N.m/m2)
    F = [   2277,   # Nx
            284.6,   # Ny
            0e6,   # Nxy
            0e6,   # Mx<commit_msg>Minor correction (unit)<commit_after>"""
    lamipy project - laminated composites calculations in Python.

    Run_FailureTest.py - Module containing functions for testing 
    composite layups.

    version_0.1: <NAME> - September 2017
"""

import numpy as np
import CLT
import Failure_Criteria as FC

def Test_A():
# This temporary function tests the implementation.
    
    # Material 1 - Dictionary of properties
    mat1 = {
     "E1"  : 156.4e9,
     "E2"  : 7.786e9,
     "n12" : 0.354,
     "G12" : 3.762e9,
     "Xt" : 1826e6,
     "Xc" : 1134e6,
     "Yt" : 19e6,
     "Yc" : 131e6,
     "S12" : 75e6,
     "S32" : 41e6 }

    # Assembles material list
    mat = [mat1, []]

    # Initializes dictionary of the laminate layup configurations
    # thk = thickness; ang = angle; mat_id = material id
    lam = {"thk": [], "ang": [], "mat_id" : []}

    # Adds 12 layers of 0.127mm thickness and material id 0
    for i in range(12):
        lam["thk"].append(0.127e-3)
        lam["mat_id"].append(0)
    lam["ang"].extend((45, -45, 45, -45, 45, -45, -45, 45, -45, 45, -45, 45))

    # Vector F with the applied generalized stress (unit N/m / N.m/m)
    F = [   2277,   # Nx
            284.6,   # Ny
            0e6,   # Nxy
            0e6,   # Mx
{'fraction_non_alphanumeric': 0.13705179282868526, 'fraction_numerical': 0.0900398406374502, 'mean_word_length': 2.150564617314931, 'pattern_counts': {'":': 4, '<': 5, '<?xml version=': 0, '>': 5, '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': '7416335', 'n_tokens_mistral': 1084, 'n_tokens_neox': 918, 'n_words': 269}