<commit_before>﻿using System;
using System.Linq.Expressions;

namespace FakeHttpService
{
    internal static class ExpressionExtensions
    {
        public static Expression<Func<TFirstParam, TResult>>
            Compose<TFirstParam, TIntermediate, TResult>(
                this Expression<Func<TFirstParam, TIntermediate>> first,
                Expression<Func<TIntermediate, TResult>> second, string parameterName = null)
        {
            var param = Expression.Parameter(typeof(TFirstParam), parameterName ?? "param");

            var newFirst = first.Body.Replace(first.Parameters[0], param);<commit_msg>move expression extension to different namespace<commit_after>﻿using System;
using System.Linq.Expressions;

namespace FakeHttpService.FilterBuilders
{
    internal static class ExpressionExtensions
    {
        public static Expression<Func<TFirstParam, TResult>>
            Compose<TFirstParam, TIntermediate, TResult>(
                this Expression<Func<TFirstParam, TIntermediate>> first,
                Expression<Func<TIntermediate, TResult>> second, string parameterName = null)
        {
            var param = Expression.Parameter(typeof(TFirstParam), parameterName ?? "param");

            var newFirst = first.Body.Replace(first.Parameters[0], param);
{'fraction_non_alphanumeric': 0.08928571428571429, 'fraction_numerical': 0.0015527950310559005, 'mean_word_length': 3.429553264604811, 'pattern_counts': {'":': 0, '<': 17, '<?xml version=': 0, '>': 17, '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': '5310560', 'n_tokens_mistral': 322, 'n_tokens_neox': 317, 'n_words': 76}