<commit_before>#!/usr/bin/python
# -*- coding: utf-8 -*-

import sys
import os
import yaml
from huTools.structured import dict2et 
from xml.etree import ElementTree
from xml.dom import minidom

def transform_pom_yaml_to_xml(yaml="pom.yaml", modelVersion="4.0.0", indent="    ", encoding="utf-8"):
    path =  os.getcwd() + os.sep + yaml 
    try:
        with open(path, "r") as f:
            content = f.read()
    except IOError:
        sys.exit("POM not fount at '%s'" % path)
    pom = yaml.load(content)
    if not "project" in pom:<commit_msg>fixec onflict name with two variables<commit_after>#!/usr/bin/python
# -*- coding: utf-8 -*-

import sys
import os
import yaml
from huTools.structured import dict2et 
from xml.etree import ElementTree
from xml.dom import minidom

def transform_pom_yaml_to_xml(fileName="pom.yaml", modelVersion="4.0.0", indent="    ", encoding="utf-8"):
    path =  os.getcwd() + os.sep + fileName 
    try:
        with open(path, "r") as f:
            content = f.read()
    except IOError:
        sys.exit("POM not fount at '%s'" % path)
    pom = yaml.load(content)
    if not "project" in pom:
{'fraction_non_alphanumeric': 0.13580246913580246, 'fraction_numerical': 0.010582010582010581, 'mean_word_length': 3.024822695035461, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 6}, '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': '5745015', 'n_tokens_mistral': 400, 'n_tokens_neox': 392, 'n_words': 110}