<commit_before>﻿using System;
using System.Collections.Generic;
using Newtonsoft.Json;
using Microsoft.AspNetCore.Mvc.Filters;
using Microsoft.AspNetCore.Mvc;

namespace Skyward.Popcorn
{
    public class ExpandResultAttribute : ActionFilterAttribute
    {
        static Expander _expander;
        static Dictionary<string, object> _context;
        static Func<object, object, Exception, object> _inspector,,

        public ExpandResultAttribute() { }

        public ExpandResultAttribute(Expander expander, Dictionary<string, object> expandContext = null, Func<object, object, Exception, object> inspector = null) :
            base()
        {
            _expander = expander;
            _context = expandContext;<commit_msg>Update ExpandResultAttribute.cs - reverting an edit that broke everything.<commit_after>﻿using System;
using System.Collections.Generic;
using Newtonsoft.Json;
using Microsoft.AspNetCore.Mvc.Filters;
using Microsoft.AspNetCore.Mvc;

namespace Skyward.Popcorn
{
    public class ExpandResultAttribute : ActionFilterAttribute
    {
        static Expander _expander;
        static Dictionary<string, object> _context;
        static Func<object, object, Exception, object> _inspector;

        public ExpandResultAttribute() { }

        public ExpandResultAttribute(Expander expander, Dictionary<string, object> expandContext = null, Func<object, object, Exception, object> inspector = null) :
            base()
        {
            _expander = expander;
            _context = expandContext;
{'fraction_non_alphanumeric': 0.07853403141361257, 'fraction_numerical': 0.0, 'mean_word_length': 3.5236686390532546, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 11, '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': '2890241', 'n_tokens_mistral': 391, 'n_tokens_neox': 393, 'n_words': 104}