{"comment":{"url":"https://api.github.com/repos/VoyagerOne/Stockfish/comments/30318010","html_url":"https://github.com/VoyagerOne/Stockfish/commit/9a678c2310a7215eec3ba0cb02d7c5c0fda911d8#commitcomment-30318010","id":30318010,"node_id":"MDEzOkNvbW1pdENvbW1lbnQzMDMxODAxMA==","user":{"login":"GuardianRM","id":23148603,"node_id":"MDQ6VXNlcjIzMTQ4NjAz","avatar_url":"https://avatars3.githubusercontent.com/u/23148603?v=4","gravatar_id":"","url":"https://api.github.com/users/GuardianRM","html_url":"https://github.com/GuardianRM","followers_url":"https://api.github.com/users/GuardianRM/followers","following_url":"https://api.github.com/users/GuardianRM/following{/other_user}","gists_url":"https://api.github.com/users/GuardianRM/gists{/gist_id}","starred_url":"https://api.github.com/users/GuardianRM/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GuardianRM/subscriptions","organizations_url":"https://api.github.com/users/GuardianRM/orgs","repos_url":"https://api.github.com/users/GuardianRM/repos","events_url":"https://api.github.com/users/GuardianRM/events{/privacy}","received_events_url":"https://api.github.com/users/GuardianRM/received_events","type":"User","site_admin":false},"position":null,"line":null,"path":null,"commit_id":"9a678c2310a7215eec3ba0cb02d7c5c0fda911d8","created_at":"2018-08-28T19:10:38Z","updated_at":"2018-08-28T19:10:38Z","author_association":"NONE","body":"Can it be tuned, something like\r\n\r\n int k1 = 0;\r\n        int k2 = 5;\r\n        int k3 = 0;\r\n        int k4 = 5;\r\n        int k5 = 0;\r\n        int k6 = 1;\r\n        int k7 = 1;\r\n        int k8 = 2;\r\n        int k9 = 2;\r\n        int k10 = 2;\r\n        int k11 = 10;\r\n        \r\n         TUNE(SetRange(-16, 16), k1, k2, k3, k4, k5, k6, k7, k8, k9, k10, k11);\r\n        \r\n        int p1 = k6 * (ss-1)->statScore / 256 * k9;\r\n        int p2 = k7 * (ss-1)->statScore / 256 * k10;\r\n        \r\n        int malus = p1 > (k1) ? (p1 + k2) : p2 < (k3) ? (p2 - k4) : k5;\r\n\r\n        malus -= ((ss - 1)->staticEval > (ss - 3)->staticEval) * k11;\r\n\r\n         ss->staticEval = eval = (ss-1)->currentMove != MOVE_NULL ? (pureStaticEval = evaluate(pos)) - malus\r\n                                                                 : (pureStaticEval = -(ss-1)->staticEval + 2 * Eval::Tempo);\r\n                                                                 : (pureStaticEval = -(ss-1)->staticEval + k8 * Eval::Tempo);\r\n\r\n\r\nI tried to build a version for tunes, but I was not able to compile a stable version"}}
{"actor":{"display_login":"GuardianRM"}}