<commit_before><?php
/**
 * Interface for services responses implementations.
 *
 * User: <NAME> <<EMAIL>>
 */

namespace Praxigento\Core\Service;

/**
 * Interface for processes (services that can be chained one-by-one, like promises in JavaScript).
 */
interface IProcess
{
    /**
     * Execute some operation in the given context ($ctx). Input & output data are placed in the context.
     *
     * @param \Praxigento\Core\Data $ctx
     */
    public function exec(\Praxigento\Core\Data $ctx);
}<commit_msg>MOBI-867 - Refactor period service<commit_after><?php
/**
 * Interface for services responses implementations.
 *
 * User: <NAME> <<EMAIL>>
 */

namespace Praxigento\Core\Service;

/**
 * Interface for processes (services that can be chained one-by-one, like promises in JavaScript).
 */
interface IProcess
{


    /**
     * Context path to success processing flag.
     *
     * if($ctx->get(CTX_OUT_SUCCESS)) => "process is complete successfully"
     */
    const CTX_OUT_SUCCESS = 'out.success';

    /**
     * Execute some operation in the given context ($ctx). Input & output data are placed in the context.
     *
     * @param \Praxigento\Core\Data $ctx
     */
    public function exec(\Praxigento\Core\Data $ctx);
}
{'fraction_non_alphanumeric': 0.125, 'fraction_numerical': 0.0024193548387096775, 'mean_word_length': 3.0822368421052633, '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': '7625986', 'n_tokens_mistral': 376, 'n_tokens_neox': 362, 'n_words': 115}