{"action":"created","issue":{"url":"https://api.github.com/repos/official-stockfish/Stockfish/issues/531","labels_url":"https://api.github.com/repos/official-stockfish/Stockfish/issues/531/labels{/name}","comments_url":"https://api.github.com/repos/official-stockfish/Stockfish/issues/531/comments","events_url":"https://api.github.com/repos/official-stockfish/Stockfish/issues/531/events","html_url":"https://github.com/official-stockfish/Stockfish/pull/531","id":122638493,"number":531,"title":"Changes to support dynamic material values","user":{"login":"stephenhouser","id":1867488,"avatar_url":"https://avatars.githubusercontent.com/u/1867488?v=3","gravatar_id":"","url":"https://api.github.com/users/stephenhouser","html_url":"https://github.com/stephenhouser","followers_url":"https://api.github.com/users/stephenhouser/followers","following_url":"https://api.github.com/users/stephenhouser/following{/other_user}","gists_url":"https://api.github.com/users/stephenhouser/gists{/gist_id}","starred_url":"https://api.github.com/users/stephenhouser/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stephenhouser/subscriptions","organizations_url":"https://api.github.com/users/stephenhouser/orgs","repos_url":"https://api.github.com/users/stephenhouser/repos","events_url":"https://api.github.com/users/stephenhouser/events{/privacy}","received_events_url":"https://api.github.com/users/stephenhouser/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-12-17T00:58:32Z","updated_at":"2015-12-17T06:37:51Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/official-stockfish/Stockfish/pulls/531","html_url":"https://github.com/official-stockfish/Stockfish/pull/531","diff_url":"https://github.com/official-stockfish/Stockfish/pull/531.diff","patch_url":"https://github.com/official-stockfish/Stockfish/pull/531.patch"},"body":"These changes allow for setting material values either as an option (setoption command) or via environment variables. The original purpose for these changes was to enable the use of stockfish in a machine learning environment and evaluate the \"best\" material values by experimentation and iteration. It changes material values from an enumeration to first-class integer variables. They can then be modified at runtime.\r\n\r\nThere may be performance implications to this change. Compiler optimizations will by necessity work differently with non-constant integers vs constant enums."},"comment":{"url":"https://api.github.com/repos/official-stockfish/Stockfish/issues/comments/165356955","html_url":"https://github.com/official-stockfish/Stockfish/pull/531#issuecomment-165356955","issue_url":"https://api.github.com/repos/official-stockfish/Stockfish/issues/531","id":165356955,"user":{"login":"mcostalba","id":1099265,"avatar_url":"https://avatars.githubusercontent.com/u/1099265?v=3","gravatar_id":"","url":"https://api.github.com/users/mcostalba","html_url":"https://github.com/mcostalba","followers_url":"https://api.github.com/users/mcostalba/followers","following_url":"https://api.github.com/users/mcostalba/following{/other_user}","gists_url":"https://api.github.com/users/mcostalba/gists{/gist_id}","starred_url":"https://api.github.com/users/mcostalba/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mcostalba/subscriptions","organizations_url":"https://api.github.com/users/mcostalba/orgs","repos_url":"https://api.github.com/users/mcostalba/repos","events_url":"https://api.github.com/users/mcostalba/events{/privacy}","received_events_url":"https://api.github.com/users/mcostalba/received_events","type":"User","site_admin":false},"created_at":"2015-12-17T06:37:51Z","updated_at":"2015-12-17T06:37:51Z","body":"There is no need to test for regression. We don't need this patch. "}}