<commit_before><?php

use yii\helpers\Console;

$environments = [
  'local' => 'Local', 'dev' => 'Development', 'prod' => 'Production'
];

return [

  'deployiiVersion' => '0.2.0',

  'require' => [
    'test--recipe',
  ],

  'params' => [
    'environments' => $environments,
    'username' => 'user',
  ],

  'targets' => [

    'default' => [
      ['target', 'init'],
    ],

    'clean' => [
      ['rm', '@workspace/index.php'],
      ['rm', '@workspace/config-local.php'],
      ['recipe', 'test', 'clean'], // user defined recipe (clean target)
    ],

    'init' => [
      ['prompt', 'username', 'What is your name?'],
      ['out', 'Welcome {{username}}!', Console::BOLD],
      ['out', 'Thank you for trying DeploYii :)', Console::FG_BLUE],
      ['loadJson', '@buildScripts/stored.json', 'stored', [ // default values:
        'lastRunTimestamp' => 0,
        'lastRunDatetime'  => 'now',
      ]],
      ['if', '(time() - $params["stored_lastRunTimestamp"] > 30)', [
        ['out', 'Your last run this task more than 30 seconds ago: {{stored_lastRunDatetime}}!'],<commit_msg>Fixed typo<commit_after><?php

use yii\helpers\Console;

$environments = [
  'local' => 'Local', 'dev' => 'Development', 'prod' => 'Production'
];

return [

  'deployiiVersion' => '0.2.0',

  'require' => [
    'test--recipe',
  ],

  'params' => [
    'environments' => $environments,
    'username' => 'user',
  ],

  'targets' => [

    'default' => [
      ['target', 'init'],
    ],

    'clean' => [
      ['rm', '@workspace/index.php'],
      ['rm', '@workspace/config-local.php'],
      ['recipe', 'test', 'clean'], // user defined recipe (clean target)
    ],

    'init' => [
      ['prompt', 'username', 'What is your name?'],
      ['out', 'Welcome {{username}}!', Console::BOLD],
      ['out', 'Thank you for trying DeploYii :)', Console::FG_BLUE],
      ['loadJson', '@buildScripts/stored.json', 'stored', [ // default values:
        'lastRunTimestamp' => 0,
        'lastRunDatetime'  => 'now',
      ]],
      ['if', '(time() - $params["stored_lastRunTimestamp"] > 30)', [
        ['out', 'You last run this task more than 30 seconds ago: {{stored_lastRunDatetime}}!'],
{'fraction_non_alphanumeric': 0.23048668503213957, 'fraction_numerical': 0.0073461891643709825, 'mean_word_length': 2.961818181818182, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 33, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4016506', 'n_tokens_mistral': 779, 'n_tokens_neox': 746, 'n_words': 160}