<commit_before>﻿using System.Collections.Generic;
using System.Linq;
using TechTalk.SpecFlow;
using YAGLi.Tests.Utils;

namespace YAGLi.Specs.Common.Transforms
{
    [Binding]
    public class VertexTransforms
    {
        private const string VERTEX_NAME_PROPERTY_NAME = nameof(Vertex.Name);

        [StepArgumentTransformation]
        public Vertex VertexTransform(string name)
        {
            return name;
        }

        [StepArgumentTransformation]
        public Vertex VertexTransform(Table table)
        {
            var firstRow = table.Rows[0];

            return firstRow[VERTEX_NAME_PROPERTY_NAME];
        }

        [StepArgumentTransformation]
        public IEnumerable<Vertex> VerticesTransforms(Table table)
        {<commit_msg>Removed unused transformation<commit_after>﻿using System.Collections.Generic;
using System.Linq;
using TechTalk.SpecFlow;
using YAGLi.Tests.Utils;

namespace YAGLi.Specs.Common.Transforms
{
    [Binding]
    public class VertexTransforms
    {
        private const string VERTEX_NAME_PROPERTY_NAME = nameof(Vertex.Name);

        [StepArgumentTransformation]
        public Vertex VertexTransform(string name)
        {
            return name;
        }

        [StepArgumentTransformation]
        public IEnumerable<Vertex> VerticesTransforms(Table table)
        {
{'fraction_non_alphanumeric': 0.07057057057057058, 'fraction_numerical': 0.0007507507507507507, 'mean_word_length': 2.819484240687679, 'pattern_counts': {'":': 0, '<': 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': '2556739', 'n_tokens_mistral': 369, 'n_tokens_neox': 365, 'n_words': 74}