forked from clarkerubber/engine-evaluator
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.php
More file actions
50 lines (37 loc) · 1.52 KB
/
config.php
File metadata and controls
50 lines (37 loc) · 1.52 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
<?php
//-----ACTION THRESHOLDS---------------
$REPORT_THRESHOLD = 60;
$MARK_THRESHOLD = 101;
//-----Globals-------------------------
$SAMPLE_SIZE = 10; //amount of games to sample
$DEEP_MOVE_THRESHOLD = 10;
$DEEP_SAMPLE_SIZE = 100;
$DEEP_SELECTION_SIZE = 10;
$DEEP_SEARCH_THRESHOLD = 60;
//-----Standard Deviation--------------
$POINTS_TOTAL['SD'] = 50; //Total amount of points from standard deviation to be assigned towards cheating index
$CD_CONST_MIN_MOVES = 2; //Minimum amount of moves that can be played in a game for it to be counted
$SD_CONST_TRESHOLD = 100; //Standard Deviation / Mean, minimum threshold
$SD_CONST_ADJ = 15; //Adjustment constant for minimum reachable SD/Mean ratio
$SD_PRE_MOVE_CORRECTION = -100;
$SD_PRE_MOVE_TIME = 5;
$SD_REMOVE_OUTLIERS = TRUE;
$SD_OUTLIER_PERCENTAGE = 0.05;
$SD_AVERAGE_DIVISOR = 5;
$SD_RANGE_LOWER_LIMIT = 20;
$SD_RANGE_UPPER_LIMIT = 600;
//-----Blurs---------------------------
$POINTS_TOTAL['BL'] = 50; //Total points from BL -> Cheat Index
$BL_CONST_MIN_MOVES = 2;
//-----Computer Analysis---------------
$POINTS_TOTAL['CA'] = 50; //Total points from CA -> Cheat Index
$CA_CONST_MIN_MOVES = 2;
$CA_CONST_INACCURACY = 0.5; //Rate at which cheat index is diminished for inaccuracy rate
$CA_CONST_MISTAKE = 2;
$CA_CONST_BLUNDER = 3;
//-----Rating Increase-----------------
$POINTS_TOTAL['RI'] = 25; //Total points from RI -> Cheat Index
$RI_CONST_MIN = 10;
$RI_CONST_MAX = 200;
//-----Relation To Engine IP-----------
$POINTS_TOTAL['IP'] = 25; //Total points from IP -> Cheat Index