{"action":"created","comment":{"url":"https://api.github.com/repos/jgheerardyn/yields/pulls/comments/24675350","id":24675350,"diff_hunk":"@@ -0,0 +1,151 @@\n+/*\n+ * Copyright 2015 by Yields.\n+ *\n+ * Licensed under the Apache License, Version 2.0 (the \"License\");\n+ * you may not use this file except in compliance with the License.\n+ * You may obtain a copy of the License at\n+ *\n+ *        http://www.apache.org/licenses/LICENSE-2.0\n+ *\n+ * Unless required by applicable law or agreed to in writing, software\n+ * distributed under the License is distributed on an \"AS IS\" BASIS,\n+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n+ * See the License for the specific language governing permissions and\n+ * limitations under the License.\n+ */\n+\n+package io.yields.math.concepts.operator;\n+\n+import org.apache.commons.math3.random.MersenneTwister;\n+import org.apache.commons.math3.stat.descriptive.DescriptiveStatistics;\n+import org.fest.assertions.Delta;\n+import org.junit.Test;\n+import org.junit.runner.RunWith;\n+\n+import java.util.List;\n+import java.util.stream.Collectors;\n+import java.util.stream.IntStream;\n+\n+import io.yields.math.framework.Functional;\n+import io.yields.math.framework.FunctionalContext;\n+import io.yields.math.framework.RandomSequence;\n+import io.yields.math.framework.Variable;\n+import io.yields.math.framework.assertions.Assertions;\n+import io.yields.math.framework.data.CommonsMathDoubleRandomSequence;\n+import io.yields.math.framework.functional.DoubleIdentity;\n+import io.yields.math.framework.junit.Spec;\n+import io.yields.math.framework.junit.SpecRunner;\n+import io.yields.math.framework.property.Properties;\n+\n+import static org.fest.assertions.Assertions.assertThat;\n+\n+@RunWith(SpecRunner.class)\n+public class SmoothnessTest {\n+\n+    @Test(expected = IllegalArgumentException.class)\n+    public void constructor_orderShouldBeStrictlyPositive() {\n+        new Smoothness(0);\n+    }\n+\n+    public static class LinearData extends Functional<List<Tuple>> {\n+\n+        private static final double SCALE = 1e5;\n+        @Variable(\"[-1000,1000\") public double a;","path":"concepts/src/test/java/io/yields/math/concepts/operator/SmoothnessTest.java","position":53,"original_position":53,"commit_id":"61beae457d7d7ef48dc414dba381fa4dd7400155","original_commit_id":"61beae457d7d7ef48dc414dba381fa4dd7400155","user":{"login":"jgheerardyn","id":6535557,"avatar_url":"https://avatars.githubusercontent.com/u/6535557?v=3","gravatar_id":"","url":"https://api.github.com/users/jgheerardyn","html_url":"https://github.com/jgheerardyn","followers_url":"https://api.github.com/users/jgheerardyn/followers","following_url":"https://api.github.com/users/jgheerardyn/following{/other_user}","gists_url":"https://api.github.com/users/jgheerardyn/gists{/gist_id}","starred_url":"https://api.github.com/users/jgheerardyn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jgheerardyn/subscriptions","organizations_url":"https://api.github.com/users/jgheerardyn/orgs","repos_url":"https://api.github.com/users/jgheerardyn/repos","events_url":"https://api.github.com/users/jgheerardyn/events{/privacy}","received_events_url":"https://api.github.com/users/jgheerardyn/received_events","type":"User","site_admin":false},"body":"robust parsing indeed :-)","created_at":"2015-02-13T16:21:08Z","updated_at":"2015-02-13T16:21:08Z","html_url":"https://github.com/jgheerardyn/yields/pull/66#discussion_r24675350","pull_request_url":"https://api.github.com/repos/jgheerardyn/yields/pulls/66","_links":{"self":{"href":"https://api.github.com/repos/jgheerardyn/yields/pulls/comments/24675350"},"html":{"href":"https://github.com/jgheerardyn/yields/pull/66#discussion_r24675350"},"pull_request":{"href":"https://api.github.com/repos/jgheerardyn/yields/pulls/66"}}},"pull_request":{"url":"https://api.github.com/repos/jgheerardyn/yields/pulls/66","id":29270787,"html_url":"https://github.com/jgheerardyn/yields/pull/66","diff_url":"https://github.com/jgheerardyn/yields/pull/66.diff","patch_url":"https://github.com/jgheerardyn/yields/pull/66.patch","issue_url":"https://api.github.com/repos/jgheerardyn/yields/issues/66","number":66,"state":"open","locked":false,"title":"#65: creating measure of smoothness","user":{"login":"jgheerardyn","id":6535557,"avatar_url":"https://avatars.githubusercontent.com/u/6535557?v=3","gravatar_id":"","url":"https://api.github.com/users/jgheerardyn","html_url":"https://github.com/jgheerardyn","followers_url":"https://api.github.com/users/jgheerardyn/followers","following_url":"https://api.github.com/users/jgheerardyn/following{/other_user}","gists_url":"https://api.github.com/users/jgheerardyn/gists{/gist_id}","starred_url":"https://api.github.com/users/jgheerardyn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jgheerardyn/subscriptions","organizations_url":"https://api.github.com/users/jgheerardyn/orgs","repos_url":"https://api.github.com/users/jgheerardyn/repos","events_url":"https://api.github.com/users/jgheerardyn/events{/privacy}","received_events_url":"https://api.github.com/users/jgheerardyn/received_events","type":"User","site_admin":false},"body":"@rombautt Could you quickly review this code  - when working with Apache Math Common Matrix objects it is a bit hard to combine with Java 8...","created_at":"2015-02-13T15:04:38Z","updated_at":"2015-02-13T16:21:08Z","closed_at":null,"merged_at":null,"merge_commit_sha":"d916c54adf9dd8430d758d38052907f7ef6b40c7","assignee":{"login":"rombautt","id":462553,"avatar_url":"https://avatars.githubusercontent.com/u/462553?v=3","gravatar_id":"","url":"https://api.github.com/users/rombautt","html_url":"https://github.com/rombautt","followers_url":"https://api.github.com/users/rombautt/followers","following_url":"https://api.github.com/users/rombautt/following{/other_user}","gists_url":"https://api.github.com/users/rombautt/gists{/gist_id}","starred_url":"https://api.github.com/users/rombautt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rombautt/subscriptions","organizations_url":"https://api.github.com/users/rombautt/orgs","repos_url":"https://api.github.com/users/rombautt/repos","events_url":"https://api.github.com/users/rombautt/events{/privacy}","received_events_url":"https://api.github.com/users/rombautt/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/jgheerardyn/yields/pulls/66/commits","review_comments_url":"https://api.github.com/repos/jgheerardyn/yields/pulls/66/comments","review_comment_url":"https://api.github.com/repos/jgheerardyn/yields/pulls/comments/{number}","comments_url":"https://api.github.com/repos/jgheerardyn/yields/issues/66/comments","statuses_url":"https://api.github.com/repos/jgheerardyn/yields/statuses/61beae457d7d7ef48dc414dba381fa4dd7400155","head":{"label":"jgheerardyn:65","ref":"65","sha":"61beae457d7d7ef48dc414dba381fa4dd7400155","user":{"login":"jgheerardyn","id":6535557,"avatar_url":"https://avatars.githubusercontent.com/u/6535557?v=3","gravatar_id":"","url":"https://api.github.com/users/jgheerardyn","html_url":"https://github.com/jgheerardyn","followers_url":"https://api.github.com/users/jgheerardyn/followers","following_url":"https://api.github.com/users/jgheerardyn/following{/other_user}","gists_url":"https://api.github.com/users/jgheerardyn/gists{/gist_id}","starred_url":"https://api.github.com/users/jgheerardyn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jgheerardyn/subscriptions","organizations_url":"https://api.github.com/users/jgheerardyn/orgs","repos_url":"https://api.github.com/users/jgheerardyn/repos","events_url":"https://api.github.com/users/jgheerardyn/events{/privacy}","received_events_url":"https://api.github.com/users/jgheerardyn/received_events","type":"User","site_admin":false},"repo":{"id":24840606,"name":"yields","full_name":"jgheerardyn/yields","owner":{"login":"jgheerardyn","id":6535557,"avatar_url":"https://avatars.githubusercontent.com/u/6535557?v=3","gravatar_id":"","url":"https://api.github.com/users/jgheerardyn","html_url":"https://github.com/jgheerardyn","followers_url":"https://api.github.com/users/jgheerardyn/followers","following_url":"https://api.github.com/users/jgheerardyn/following{/other_user}","gists_url":"https://api.github.com/users/jgheerardyn/gists{/gist_id}","starred_url":"https://api.github.com/users/jgheerardyn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jgheerardyn/subscriptions","organizations_url":"https://api.github.com/users/jgheerardyn/orgs","repos_url":"https://api.github.com/users/jgheerardyn/repos","events_url":"https://api.github.com/users/jgheerardyn/events{/privacy}","received_events_url":"https://api.github.com/users/jgheerardyn/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jgheerardyn/yields","description":"Mathematic software testing framework","fork":false,"url":"https://api.github.com/repos/jgheerardyn/yields","forks_url":"https://api.github.com/repos/jgheerardyn/yields/forks","keys_url":"https://api.github.com/repos/jgheerardyn/yields/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jgheerardyn/yields/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jgheerardyn/yields/teams","hooks_url":"https://api.github.com/repos/jgheerardyn/yields/hooks","issue_events_url":"https://api.github.com/repos/jgheerardyn/yields/issues/events{/number}","events_url":"https://api.github.com/repos/jgheerardyn/yields/events","assignees_url":"https://api.github.com/repos/jgheerardyn/yields/assignees{/user}","branches_url":"https://api.github.com/repos/jgheerardyn/yields/branches{/branch}","tags_url":"https://api.github.com/repos/jgheerardyn/yields/tags","blobs_url":"https://api.github.com/repos/jgheerardyn/yields/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jgheerardyn/yields/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jgheerardyn/yields/git/refs{/sha}","trees_url":"https://api.github.com/repos/jgheerardyn/yields/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jgheerardyn/yields/statuses/{sha}","languages_url":"https://api.github.com/repos/jgheerardyn/yields/languages","stargazers_url":"https://api.github.com/repos/jgheerardyn/yields/stargazers","contributors_url":"https://api.github.com/repos/jgheerardyn/yields/contributors","subscribers_url":"https://api.github.com/repos/jgheerardyn/yields/subscribers","subscription_url":"https://api.github.com/repos/jgheerardyn/yields/subscription","commits_url":"https://api.github.com/repos/jgheerardyn/yields/commits{/sha}","git_commits_url":"https://api.github.com/repos/jgheerardyn/yields/git/commits{/sha}","comments_url":"https://api.github.com/repos/jgheerardyn/yields/comments{/number}","issue_comment_url":"https://api.github.com/repos/jgheerardyn/yields/issues/comments/{number}","contents_url":"https://api.github.com/repos/jgheerardyn/yields/contents/{+path}","compare_url":"https://api.github.com/repos/jgheerardyn/yields/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jgheerardyn/yields/merges","archive_url":"https://api.github.com/repos/jgheerardyn/yields/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jgheerardyn/yields/downloads","issues_url":"https://api.github.com/repos/jgheerardyn/yields/issues{/number}","pulls_url":"https://api.github.com/repos/jgheerardyn/yields/pulls{/number}","milestones_url":"https://api.github.com/repos/jgheerardyn/yields/milestones{/number}","notifications_url":"https://api.github.com/repos/jgheerardyn/yields/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jgheerardyn/yields/labels{/name}","releases_url":"https://api.github.com/repos/jgheerardyn/yields/releases{/id}","created_at":"2014-10-06T09:45:19Z","updated_at":"2015-02-11T08:19:24Z","pushed_at":"2015-02-13T15:03:16Z","git_url":"git://github.com/jgheerardyn/yields.git","ssh_url":"git@github.com:jgheerardyn/yields.git","clone_url":"https://github.com/jgheerardyn/yields.git","svn_url":"https://github.com/jgheerardyn/yields","homepage":null,"size":1992,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":3,"forks":0,"open_issues":3,"watchers":0,"default_branch":"master"}},"base":{"label":"jgheerardyn:master","ref":"master","sha":"79591f0b421c97de56bd0a6a7b535cd719f9c10e","user":{"login":"jgheerardyn","id":6535557,"avatar_url":"https://avatars.githubusercontent.com/u/6535557?v=3","gravatar_id":"","url":"https://api.github.com/users/jgheerardyn","html_url":"https://github.com/jgheerardyn","followers_url":"https://api.github.com/users/jgheerardyn/followers","following_url":"https://api.github.com/users/jgheerardyn/following{/other_user}","gists_url":"https://api.github.com/users/jgheerardyn/gists{/gist_id}","starred_url":"https://api.github.com/users/jgheerardyn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jgheerardyn/subscriptions","organizations_url":"https://api.github.com/users/jgheerardyn/orgs","repos_url":"https://api.github.com/users/jgheerardyn/repos","events_url":"https://api.github.com/users/jgheerardyn/events{/privacy}","received_events_url":"https://api.github.com/users/jgheerardyn/received_events","type":"User","site_admin":false},"repo":{"id":24840606,"name":"yields","full_name":"jgheerardyn/yields","owner":{"login":"jgheerardyn","id":6535557,"avatar_url":"https://avatars.githubusercontent.com/u/6535557?v=3","gravatar_id":"","url":"https://api.github.com/users/jgheerardyn","html_url":"https://github.com/jgheerardyn","followers_url":"https://api.github.com/users/jgheerardyn/followers","following_url":"https://api.github.com/users/jgheerardyn/following{/other_user}","gists_url":"https://api.github.com/users/jgheerardyn/gists{/gist_id}","starred_url":"https://api.github.com/users/jgheerardyn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jgheerardyn/subscriptions","organizations_url":"https://api.github.com/users/jgheerardyn/orgs","repos_url":"https://api.github.com/users/jgheerardyn/repos","events_url":"https://api.github.com/users/jgheerardyn/events{/privacy}","received_events_url":"https://api.github.com/users/jgheerardyn/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jgheerardyn/yields","description":"Mathematic software testing framework","fork":false,"url":"https://api.github.com/repos/jgheerardyn/yields","forks_url":"https://api.github.com/repos/jgheerardyn/yields/forks","keys_url":"https://api.github.com/repos/jgheerardyn/yields/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jgheerardyn/yields/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jgheerardyn/yields/teams","hooks_url":"https://api.github.com/repos/jgheerardyn/yields/hooks","issue_events_url":"https://api.github.com/repos/jgheerardyn/yields/issues/events{/number}","events_url":"https://api.github.com/repos/jgheerardyn/yields/events","assignees_url":"https://api.github.com/repos/jgheerardyn/yields/assignees{/user}","branches_url":"https://api.github.com/repos/jgheerardyn/yields/branches{/branch}","tags_url":"https://api.github.com/repos/jgheerardyn/yields/tags","blobs_url":"https://api.github.com/repos/jgheerardyn/yields/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jgheerardyn/yields/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jgheerardyn/yields/git/refs{/sha}","trees_url":"https://api.github.com/repos/jgheerardyn/yields/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jgheerardyn/yields/statuses/{sha}","languages_url":"https://api.github.com/repos/jgheerardyn/yields/languages","stargazers_url":"https://api.github.com/repos/jgheerardyn/yields/stargazers","contributors_url":"https://api.github.com/repos/jgheerardyn/yields/contributors","subscribers_url":"https://api.github.com/repos/jgheerardyn/yields/subscribers","subscription_url":"https://api.github.com/repos/jgheerardyn/yields/subscription","commits_url":"https://api.github.com/repos/jgheerardyn/yields/commits{/sha}","git_commits_url":"https://api.github.com/repos/jgheerardyn/yields/git/commits{/sha}","comments_url":"https://api.github.com/repos/jgheerardyn/yields/comments{/number}","issue_comment_url":"https://api.github.com/repos/jgheerardyn/yields/issues/comments/{number}","contents_url":"https://api.github.com/repos/jgheerardyn/yields/contents/{+path}","compare_url":"https://api.github.com/repos/jgheerardyn/yields/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jgheerardyn/yields/merges","archive_url":"https://api.github.com/repos/jgheerardyn/yields/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jgheerardyn/yields/downloads","issues_url":"https://api.github.com/repos/jgheerardyn/yields/issues{/number}","pulls_url":"https://api.github.com/repos/jgheerardyn/yields/pulls{/number}","milestones_url":"https://api.github.com/repos/jgheerardyn/yields/milestones{/number}","notifications_url":"https://api.github.com/repos/jgheerardyn/yields/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jgheerardyn/yields/labels{/name}","releases_url":"https://api.github.com/repos/jgheerardyn/yields/releases{/id}","created_at":"2014-10-06T09:45:19Z","updated_at":"2015-02-11T08:19:24Z","pushed_at":"2015-02-13T15:03:16Z","git_url":"git://github.com/jgheerardyn/yields.git","ssh_url":"git@github.com:jgheerardyn/yields.git","clone_url":"https://github.com/jgheerardyn/yields.git","svn_url":"https://github.com/jgheerardyn/yields","homepage":null,"size":1992,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":3,"forks":0,"open_issues":3,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/jgheerardyn/yields/pulls/66"},"html":{"href":"https://github.com/jgheerardyn/yields/pull/66"},"issue":{"href":"https://api.github.com/repos/jgheerardyn/yields/issues/66"},"comments":{"href":"https://api.github.com/repos/jgheerardyn/yields/issues/66/comments"},"review_comments":{"href":"https://api.github.com/repos/jgheerardyn/yields/pulls/66/comments"},"review_comment":{"href":"https://api.github.com/repos/jgheerardyn/yields/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/jgheerardyn/yields/pulls/66/commits"},"statuses":{"href":"https://api.github.com/repos/jgheerardyn/yields/statuses/61beae457d7d7ef48dc414dba381fa4dd7400155"}}}}