<commit_before><?php

if(defined('INSIDE'))
{
    $_Vars_ResProduction = array
    (
        // Metal Mine
        1 => array
        (
            'metal' => 40,
            'crystal' => 10,
            'deuterium' => 0,
            'energy' => 0,
            'factor' => 1.5,
            'production' => function ($params) {
                $level = $params['level'];
                $productionFactor = $params['productionFactor'];

                return [
                    'metal' => ((30 * $level * pow((1.1), $level)) * (0.1 * $productionFactor)),
                    'energy' => (-1 * ((10 * $level * pow((1.1), $level)) * (0.1 * $productionFactor)))
                ];
            },
            'formule' => array
            (
                'metal'        => 'return (30 * $BuildLevel * pow((1.1), $BuildLevel)) * (0.1 * $BuildLevelFactor);',
                'crystal'    => 'return "0";',
                'deuterium' => 'return "0";',
                'energy'    => 'return - (10 * $BuildLevel * pow((1.1), $BuildLevel)) * (0.1 * $BuildLevelFactor);'
            )
        ),
        // Crystal Mine
        2 => array
        (
            'metal' => 30,
            'crystal' => 15,
            'deuterium' => 0,
            'energy' => 0,
            'factor' => 1.6,
            'production' => function ($params) {
                $level = $params['level'];
                $productionFactor = $params['productionFactor'];

                return [
                    'crystal' => ((20 * $level * pow((1.1), $level)) * (0.1 * $productionFactor)),
                    'energy' => (-1 * ((10 * $level * pow((1.1), $level)) * (0.1 * $productionFactor)))
                ];
            },
            'formule' => array
            (
                'metal'        => 'return "0";',
                'crystal'    => 'return (20 * $BuildLevel * pow((1.1), $BuildLevel)) * (0.1 * $BuildLevelFactor);',
                'deuterium' => 'return "0";',
                'energy'    => 'return - (10 * $BuildLevel * pow((1.1), $BuildLevel)) * (0.1 * $BuildLevelFactor);'
            )
        ),
        // Deuterium Extractor
        3 => array
        (
            'metal' => 150,
            'crystal' => 50,
            'deuterium' => 0,
            'energy' => 0,
            'factor' => 1.5,
            'production' => function ($params) {
                $level = $params['level'];
                $productionFactor = $params['productionFactor'];
                $planetTemp = $params['planetTemp'];

                return [
                    'deuterium' => (((10 * $level * pow((1.1), $level)) * (-0.002 * $planetTemp + 1.28)) * (0.1 * $productionFactor)),
                    'energy' => (-1 * ((20 * $level * pow((1.1), $level)) * (0.1 * $productionFactor)))
                ];
            },
            'formule' => array
            (
                'metal'        => 'return "0";',
                'crystal'    => 'return "0";',
                'deuterium' => 'return ((10 * $BuildLevel * pow((1.1), $BuildLevel)) * (-0.002 * $BuildTemp + 1.28)) * (0.1 * $BuildLevelFactor);',
                'energy'    => 'return - (20 * $BuildLevel * pow((1.1), $BuildLevel)) * (0.1 * $BuildLevelFactor);'
            )
        ),
        // Solar Energy Plant
        4 => array
        (
            'metal' => 50,
            'crystal' => 20,
            'deuterium' => 0,
            'energy' => 0,
            'factor' => 1.5,
            'production' => function ($params) {
                $level = $params['level'];
                $productionFactor = $params['productionFactor'];

                return [
                    'energy' => ((20 * $level * pow((1.1), $level)) * (0.1 * $productionFactor))
                ];
            },
            'formule' => array
            (
                'metal'        => 'return "0";',
                'crystal'    => 'return "0";',
                'deuterium' => 'return "0";',
                'energy'    => 'return (20 * $BuildLevel * pow((1.1), $BuildLevel)) * (0.1 * $BuildLevelFactor);'
            )
        ),
        // Fusion Energy Planet
        12 => array
        (
            'metal' => 500,
            'crystal' => 200,
            'deuterium' => 100,
            'energy' => 0,
            'factor' => 1.8,
            'production' => function ($params) {
                $level = $params['level'];
                $productionFactor = $params['productionFactor'];

                return [
                    'deuterium' => (-1 * ((10 * $level * pow((1.1), $level)) * (0.1 * $productionFactor))),
                    'energy' => ((50 * $level * pow((1.1), $level)) * (0.1 * $productionFactor))
                ];
            },
            'formule' => array
            (
                'metal'        => 'return "0";',
                'crystal'    => 'return "0";',
                'deuterium' => 'return ((10 * $BuildLevel * pow((1.1), $BuildLevel)) * (0.1 * $BuildLevelFactor) * (-1));',
                'energy'    => 'return (50 * $BuildLevel * pow((1.1), $BuildLevel)) * (0.1 * $BuildLevelFactor);'
            )
        ),
        // Solar Satelite
        212 => array
        (
            'metal' => 0,
            'crystal' => 2000,
            'deuterium' => 500,
            'energy' => 0,
            'factor' => 0.5,
            'production' => function ($params) {
                // In this case, "level" means "count"
                $level = $params['level'];
                $productionFactor = $params['productionFactor'];
                $planetTemp = $params['planetTemp'];

                return [
                    'energy' => ((($planetTemp / 4) + 20) * $level * (0.1 * $productionFactor))
                ];
            },
            'formule' => array
            (
                'metal'        => 'return "0";',
                'crystal'    => 'return "0";',
                'deuterium' => 'return "0";',
                'energy'    => 'return (($BuildTemp / 4) + 20) * $BuildLevel * (0.1 * $BuildLevelFactor);'
            )
        )
    );
}

?>
<commit_msg>Remove unused eval formulas<commit_after><?php

if(defined('INSIDE'))
{
    $_Vars_ResProduction = array
    (
        // Metal Mine
        1 => array
        (
            'metal' => 40,
            'crystal' => 10,
            'deuterium' => 0,
            'energy' => 0,
            'factor' => 1.5,
            'production' => function ($params) {
                $level = $params['level'];
                $productionFactor = $params['productionFactor'];

                return [
                    'metal' => ((30 * $level * pow((1.1), $level)) * (0.1 * $productionFactor)),
                    'energy' => (-1 * ((10 * $level * pow((1.1), $level)) * (0.1 * $productionFactor)))
                ];
            }
        ),
        // Crystal Mine
        2 => array
        (
            'metal' => 30,
            'crystal' => 15,
            'deuterium' => 0,
            'energy' => 0,
            'factor' => 1.6,
            'production' => function ($params) {
                $level = $params['level'];
                $productionFactor = $params['productionFactor'];

                return [
                    'crystal' => ((20 * $level * pow((1.1), $level)) * (0.1 * $productionFactor)),
                    'energy' => (-1 * ((10 * $level * pow((1.1), $level)) * (0.1 * $productionFactor)))
                ];
            }
        ),
        // Deuterium Extractor
        3 => array
        (
            'metal' => 150,
            'crystal' => 50,
            'deuterium' => 0,
            'energy' => 0,
            'factor' => 1.5,
            'production' => function ($params) {
                $level = $params['level'];
                $productionFactor = $params['productionFactor'];
                $planetTemp = $params['planetTemp'];

                return [
                    'deuterium' => (((10 * $level * pow((1.1), $level)) * (-0.002 * $planetTemp + 1.28)) * (0.1 * $productionFactor)),
                    'energy' => (-1 * ((20 * $level * pow((1.1), $level)) * (0.1 * $productionFactor)))
                ];
            }
        ),
        // Solar Energy Plant
        4 => array
        (
            'metal' => 50,
            'crystal' => 20,
            'deuterium' => 0,
            'energy' => 0,
            'factor' => 1.5,
            'production' => function ($params) {
                $level = $params['level'];
                $productionFactor = $params['productionFactor'];

                return [
                    'energy' => ((20 * $level * pow((1.1), $level)) * (0.1 * $productionFactor))
                ];
            }
        ),
        // Fusion Energy Planet
        12 => array
        (
            'metal' => 500,
            'crystal' => 200,
            'deuterium' => 100,
            'energy' => 0,
            'factor' => 1.8,
            'production' => function ($params) {
                $level = $params['level'];
                $productionFactor = $params['productionFactor'];

                return [
                    'deuterium' => (-1 * ((10 * $level * pow((1.1), $level)) * (0.1 * $productionFactor))),
                    'energy' => ((50 * $level * pow((1.1), $level)) * (0.1 * $productionFactor))
                ];
            }
        ),
        // Solar Satelite
        212 => array
        (
            'metal' => 0,
            'crystal' => 2000,
            'deuterium' => 500,
            'energy' => 0,
            'factor' => 0.5,
            'production' => function ($params) {
                // In this case, "level" means "count"
                $level = $params['level'];
                $productionFactor = $params['productionFactor'];
                $planetTemp = $params['planetTemp'];

                return [
                    'energy' => ((($planetTemp / 4) + 20) * $level * (0.1 * $productionFactor))
                ];
            }
        )
    );
}

?>

{'fraction_non_alphanumeric': 0.18091610704620628, 'fraction_numerical': 0.035180916107046205, 'mean_word_length': 1.2158560959360427, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 139, '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': '5605871', 'n_tokens_mistral': 3107, 'n_tokens_neox': 2795, 'n_words': 591}