<commit_before>﻿using System.Threading.Tasks;

namespace Core2D.Interfaces
{
    /// <summary>
    /// Executes code scripts.
    /// </summary>
    public interface IScriptRunner
    {
        /// <summary>
        /// Executes code script.
        /// </summary>
        /// <param name="code">The script code.</param>
        Task<object> Execute(string code);

        /// <summary>
        /// Executes code script and return current script state.
        /// </summary>
        /// <param name="code">The script code.</param>
        /// <param name="state">The script state to continue execution from a previous state.</param>
        /// <returns>The next script state.</returns>
        Task<object> Execute(string code, object state);
    }
}<commit_msg>Update IScriptRunner.cs<commit_after>﻿using System.Threading.Tasks;

namespace Core2D.Interfaces
{
    /// <summary>
    /// Executes code scripts.
    /// </summary>
    public interface IScriptRunner
    {
        /// <summary>
        /// Executes code script and return current script state.
        /// </summary>
        /// <param name="code">The script code.</param>
        /// <param name="state">The script state to continue execution from a previous state.</param>
        /// <returns>The next script state.</returns>
        Task<object> Execute(string code, object state);
    }
}
{'fraction_non_alphanumeric': 0.1434878587196468, 'fraction_numerical': 0.0014716703458425313, 'mean_word_length': 2.133640552995392, 'pattern_counts': {'":': 0, '<': 30, '<?xml version=': 0, '>': 30, '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': '1681057', 'n_tokens_mistral': 358, 'n_tokens_neox': 357, 'n_words': 105}