{"action":"created","comment":{"url":"https://api.github.com/repos/fact-project/fact-tools/pulls/comments/227301343","pull_request_review_id":167308935,"id":227301343,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIyNzMwMTM0Mw==","diff_hunk":"@@ -0,0 +1,159 @@\n+package fact.TriggerEmulation;\n+\n+import fact.Constants;\n+import fact.Utils;\n+import org.slf4j.Logger;\n+import org.slf4j.LoggerFactory;\n+import stream.Data;\n+import stream.Processor;\n+import stream.annotations.Parameter;\n+\n+import java.util.ArrayList;\n+import java.util.Collections;\n+\n+\n+/**\n+ * Emulate the n-out-of-4 trigger logic of the trigger unit\n+ * and the n-out-of-40 logic of the trigger master\n+ * by applying it to the array of trigger primitives.\n+ *\n+ *  ﻿A trigger decision is taken when N out of the 40 primitives\n+ *  * have a rising edge within a time-window adjustable from 8 ns to 68 ns in steps of 4 ns.\n+ *\n+ *  * Created by jbuss on 26.08.18.\n+ */\n+public class EmulateLogic implements Processor {\n+\n+    static Logger log = LoggerFactory.getLogger(EmulateDiscriminator.class);\n+\n+    @Parameter(required = false, description = \"decision of the logic [bool]\")\n+    public String outKey;\n+\n+    @Parameter(required = false,\n+            description = \"boolean array [number of patches] flagging if patch triggered \")\n+    public String primitivesKey = \"TriggerPrimitives\";\n+\n+    @Parameter(required = false,\n+            description = \"int array [number of patches] containing each the first slice above threshold \")\n+    public String triggerSliceKey = \"TriggerSlice\";\n+\n+    @Parameter(required = false,\n+            description = \"minimum number of trigger patches per trigger unit to have a signal above threshold\")\n+    public int nOutOf4 = 1;\n+\n+    @Parameter(required = false,\n+            description = \"minimum number of trigger units to have a signal above threshold\")\n+    public int nOutOf40 = 1;\n+\n+    @Parameter(required = false,\n+            description = \"size of the time window within which the rising edges of the triggerprimitives should be\")\n+    public int timeWindowSize = 12;\n+\n+    @Override\n+    public Data process(Data item) {\n+\n+        Utils.isKeyValid(item, primitivesKey, boolean[].class);\n+        Utils.isKeyValid(item, triggerSliceKey, int[].class);\n+\n+        boolean[] triggerPrimitives = (boolean[]) item.get(primitivesKey);\n+        int[] patchTriggerSlice = (int[]) item.get(triggerSliceKey);\n+\n+        boolean triggerDecision = hasTriggered(\n+                triggerPrimitives,\n+                patchTriggerSlice,\n+                nOutOf4,\n+                nOutOf40,\n+                timeWindowSize);\n+        item.put(outKey, triggerDecision);\n+\n+        return item;\n+    }\n+\n+    public static ArrayList<Integer> getPatchesOfFTU(int ftu_id)\n+    {\n+        ArrayList<Integer> ftus = new ArrayList<>();\n+        int first_patch_of_ftu = ftu_id*Constants.N_PATCHES_FTU;\n+        for (int patch = first_patch_of_ftu; patch < first_patch_of_ftu+Constants.N_PATCHES_FTU; patch++) {\n+            ftus.add(patch);\n+        }\n+        return ftus;\n+    }\n+\n+    /**\n+     * Iterate over patches and decide weather the event has triggered for the given trigger properties\n+     * @param triggerPrimitives Array with discriminator trigger decisions\n+     * @param patchTriggerSlice Array with discriminator trigger times\n+     * @param nOutOf4 numper of necessary trigger patches to have a signal\n+     * @param nOutOf40 numper of necessary trigger units to have a signal\n+     * @param timeWindowSize duration of coincidence of the triggered patches\n+     * @return\n+     */\n+    public static boolean hasTriggered(\n+            boolean[] triggerPrimitives,\n+            int[] patchTriggerSlice,\n+            int nOutOf4,\n+            int nOutOf40,\n+            int timeWindowSize\n+    ) {\n+        ArrayList<Integer> triggerTimes = new ArrayList<>();\n+\n+        int n_units = 0;\n+        for (int ftu = 0; ftu < Constants.N_FTUS; ftu++) {\n+            int n_trigger_patches = 0;\n+\n+            for (Integer patch :\n+                    getPatchesOfFTU(ftu)) {\n+\n+                if (triggerPrimitives[patch] && patchTriggerSlice[patch] > 0){\n+                    insertToArrayListSorted(patchTriggerSlice[patch], triggerTimes);\n+                    n_trigger_patches++;\n+                }\n+                if (n_trigger_patches >= nOutOf4){\n+                    n_units++;\n+                    break;\n+                }\n+            }\n+            if (n_units >= nOutOf40){\n+                if (areEnoughTriggersInOneTimeWindow(triggerTimes, nOutOf40, timeWindowSize)){\n+                    return true;\n+                }\n+            }\n+        }\n+        return false;\n+    }\n+\n+    /**\n+     * sorted insert of int value into an int array\n+     * @param x\n+     * @param list\n+     */\n+    public static void insertToArrayListSorted(int x, ArrayList<Integer> list) {","path":"src/main/java/fact/TriggerEmulation/EmulateLogic.java","position":130,"original_position":130,"commit_id":"d7266b18980ba63c4643cbeeedb2e50723ec4994","original_commit_id":"d7266b18980ba63c4643cbeeedb2e50723ec4994","user":{"login":"MaxNoe","id":5488440,"node_id":"MDQ6VXNlcjU0ODg0NDA=","avatar_url":"https://avatars3.githubusercontent.com/u/5488440?v=4","gravatar_id":"","url":"https://api.github.com/users/MaxNoe","html_url":"https://github.com/MaxNoe","followers_url":"https://api.github.com/users/MaxNoe/followers","following_url":"https://api.github.com/users/MaxNoe/following{/other_user}","gists_url":"https://api.github.com/users/MaxNoe/gists{/gist_id}","starred_url":"https://api.github.com/users/MaxNoe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MaxNoe/subscriptions","organizations_url":"https://api.github.com/users/MaxNoe/orgs","repos_url":"https://api.github.com/users/MaxNoe/repos","events_url":"https://api.github.com/users/MaxNoe/events{/privacy}","received_events_url":"https://api.github.com/users/MaxNoe/received_events","type":"User","site_admin":false},"body":"This silently ignores the case `>0`, maybe it should throw an error?","created_at":"2018-10-23T09:20:13Z","updated_at":"2018-10-23T09:20:14Z","html_url":"https://github.com/fact-project/fact-tools/pull/263#discussion_r227301343","pull_request_url":"https://api.github.com/repos/fact-project/fact-tools/pulls/263","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/fact-project/fact-tools/pulls/comments/227301343"},"html":{"href":"https://github.com/fact-project/fact-tools/pull/263#discussion_r227301343"},"pull_request":{"href":"https://api.github.com/repos/fact-project/fact-tools/pulls/263"}}},"pull_request":{"url":"https://api.github.com/repos/fact-project/fact-tools/pulls/263","id":153033101,"node_id":"MDExOlB1bGxSZXF1ZXN0MTUzMDMzMTAx","html_url":"https://github.com/fact-project/fact-tools/pull/263","diff_url":"https://github.com/fact-project/fact-tools/pull/263.diff","patch_url":"https://github.com/fact-project/fact-tools/pull/263.patch","issue_url":"https://api.github.com/repos/fact-project/fact-tools/issues/263","number":263,"state":"open","locked":false,"title":"Add trigger emulation","user":{"login":"jebuss","id":7489182,"node_id":"MDQ6VXNlcjc0ODkxODI=","avatar_url":"https://avatars0.githubusercontent.com/u/7489182?v=4","gravatar_id":"","url":"https://api.github.com/users/jebuss","html_url":"https://github.com/jebuss","followers_url":"https://api.github.com/users/jebuss/followers","following_url":"https://api.github.com/users/jebuss/following{/other_user}","gists_url":"https://api.github.com/users/jebuss/gists{/gist_id}","starred_url":"https://api.github.com/users/jebuss/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jebuss/subscriptions","organizations_url":"https://api.github.com/users/jebuss/orgs","repos_url":"https://api.github.com/users/jebuss/repos","events_url":"https://api.github.com/users/jebuss/events{/privacy}","received_events_url":"https://api.github.com/users/jebuss/received_events","type":"User","site_admin":false},"body":"This is an implementation of an Emulation of the Trigger used in FACT. I intend to use this to search for data and MC mismatches on Trigger level.\r\n\r\nThis package supports:\r\n\r\n* signal shaping\r\n  * Shaping only on the valid range of the time series (exclude noisy ranges)\r\n  * shape pixel by pixel (don't shift full time series)\r\n* summation of pixel's time series for each patch\r\n* discrimination of the patch signals\r\n* a pseudo ratescan on the patches\r\n* handles stars in FOV and excludes their pixels them from the trigger decission\r\n* handles faulty pixels and excludes them from the trigger decission\r\n* N-out-of-4 logic\r\n* N-out-of-40 logic\r\n\r\n\r\nFeel free to comment!\r\n","created_at":"2017-11-16T12:53:56Z","updated_at":"2018-10-23T09:20:14Z","closed_at":null,"merged_at":null,"merge_commit_sha":"1ec3bf2a9d571ec3ae5cf625c0486070b6109eb8","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":{"url":"https://api.github.com/repos/fact-project/fact-tools/milestones/8","html_url":"https://github.com/fact-project/fact-tools/milestone/8","labels_url":"https://api.github.com/repos/fact-project/fact-tools/milestones/8/labels","id":3746417,"node_id":"MDk6TWlsZXN0b25lMzc0NjQxNw==","number":8,"title":"FACT-Tools 1.1","description":"With all the recent changes, I think we should (have to) call it 1.1","creator":{"login":"MaxNoe","id":5488440,"node_id":"MDQ6VXNlcjU0ODg0NDA=","avatar_url":"https://avatars3.githubusercontent.com/u/5488440?v=4","gravatar_id":"","url":"https://api.github.com/users/MaxNoe","html_url":"https://github.com/MaxNoe","followers_url":"https://api.github.com/users/MaxNoe/followers","following_url":"https://api.github.com/users/MaxNoe/following{/other_user}","gists_url":"https://api.github.com/users/MaxNoe/gists{/gist_id}","starred_url":"https://api.github.com/users/MaxNoe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MaxNoe/subscriptions","organizations_url":"https://api.github.com/users/MaxNoe/orgs","repos_url":"https://api.github.com/users/MaxNoe/repos","events_url":"https://api.github.com/users/MaxNoe/events{/privacy}","received_events_url":"https://api.github.com/users/MaxNoe/received_events","type":"User","site_admin":false},"open_issues":3,"closed_issues":2,"state":"open","created_at":"2018-10-17T13:25:07Z","updated_at":"2018-10-20T21:51:40Z","due_on":"2018-10-19T07:00:00Z","closed_at":null},"commits_url":"https://api.github.com/repos/fact-project/fact-tools/pulls/263/commits","review_comments_url":"https://api.github.com/repos/fact-project/fact-tools/pulls/263/comments","review_comment_url":"https://api.github.com/repos/fact-project/fact-tools/pulls/comments{/number}","comments_url":"https://api.github.com/repos/fact-project/fact-tools/issues/263/comments","statuses_url":"https://api.github.com/repos/fact-project/fact-tools/statuses/d7266b18980ba63c4643cbeeedb2e50723ec4994","head":{"label":"fact-project:addTriggerEmulation","ref":"addTriggerEmulation","sha":"d7266b18980ba63c4643cbeeedb2e50723ec4994","user":{"login":"fact-project","id":16599974,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE2NTk5OTc0","avatar_url":"https://avatars3.githubusercontent.com/u/16599974?v=4","gravatar_id":"","url":"https://api.github.com/users/fact-project","html_url":"https://github.com/fact-project","followers_url":"https://api.github.com/users/fact-project/followers","following_url":"https://api.github.com/users/fact-project/following{/other_user}","gists_url":"https://api.github.com/users/fact-project/gists{/gist_id}","starred_url":"https://api.github.com/users/fact-project/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fact-project/subscriptions","organizations_url":"https://api.github.com/users/fact-project/orgs","repos_url":"https://api.github.com/users/fact-project/repos","events_url":"https://api.github.com/users/fact-project/events{/privacy}","received_events_url":"https://api.github.com/users/fact-project/received_events","type":"Organization","site_admin":false},"repo":{"id":50855465,"node_id":"MDEwOlJlcG9zaXRvcnk1MDg1NTQ2NQ==","name":"fact-tools","full_name":"fact-project/fact-tools","private":false,"owner":{"login":"fact-project","id":16599974,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE2NTk5OTc0","avatar_url":"https://avatars3.githubusercontent.com/u/16599974?v=4","gravatar_id":"","url":"https://api.github.com/users/fact-project","html_url":"https://github.com/fact-project","followers_url":"https://api.github.com/users/fact-project/followers","following_url":"https://api.github.com/users/fact-project/following{/other_user}","gists_url":"https://api.github.com/users/fact-project/gists{/gist_id}","starred_url":"https://api.github.com/users/fact-project/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fact-project/subscriptions","organizations_url":"https://api.github.com/users/fact-project/orgs","repos_url":"https://api.github.com/users/fact-project/repos","events_url":"https://api.github.com/users/fact-project/events{/privacy}","received_events_url":"https://api.github.com/users/fact-project/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/fact-project/fact-tools","description":"The fact-tools are an extension to the streams framework to analyse the data of the First G-APD Cherenkov Telescope.","fork":false,"url":"https://api.github.com/repos/fact-project/fact-tools","forks_url":"https://api.github.com/repos/fact-project/fact-tools/forks","keys_url":"https://api.github.com/repos/fact-project/fact-tools/keys{/key_id}","collaborators_url":"https://api.github.com/repos/fact-project/fact-tools/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/fact-project/fact-tools/teams","hooks_url":"https://api.github.com/repos/fact-project/fact-tools/hooks","issue_events_url":"https://api.github.com/repos/fact-project/fact-tools/issues/events{/number}","events_url":"https://api.github.com/repos/fact-project/fact-tools/events","assignees_url":"https://api.github.com/repos/fact-project/fact-tools/assignees{/user}","branches_url":"https://api.github.com/repos/fact-project/fact-tools/branches{/branch}","tags_url":"https://api.github.com/repos/fact-project/fact-tools/tags","blobs_url":"https://api.github.com/repos/fact-project/fact-tools/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/fact-project/fact-tools/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/fact-project/fact-tools/git/refs{/sha}","trees_url":"https://api.github.com/repos/fact-project/fact-tools/git/trees{/sha}","statuses_url":"https://api.github.com/repos/fact-project/fact-tools/statuses/{sha}","languages_url":"https://api.github.com/repos/fact-project/fact-tools/languages","stargazers_url":"https://api.github.com/repos/fact-project/fact-tools/stargazers","contributors_url":"https://api.github.com/repos/fact-project/fact-tools/contributors","subscribers_url":"https://api.github.com/repos/fact-project/fact-tools/subscribers","subscription_url":"https://api.github.com/repos/fact-project/fact-tools/subscription","commits_url":"https://api.github.com/repos/fact-project/fact-tools/commits{/sha}","git_commits_url":"https://api.github.com/repos/fact-project/fact-tools/git/commits{/sha}","comments_url":"https://api.github.com/repos/fact-project/fact-tools/comments{/number}","issue_comment_url":"https://api.github.com/repos/fact-project/fact-tools/issues/comments{/number}","contents_url":"https://api.github.com/repos/fact-project/fact-tools/contents/{+path}","compare_url":"https://api.github.com/repos/fact-project/fact-tools/compare/{base}...{head}","merges_url":"https://api.github.com/repos/fact-project/fact-tools/merges","archive_url":"https://api.github.com/repos/fact-project/fact-tools/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/fact-project/fact-tools/downloads","issues_url":"https://api.github.com/repos/fact-project/fact-tools/issues{/number}","pulls_url":"https://api.github.com/repos/fact-project/fact-tools/pulls{/number}","milestones_url":"https://api.github.com/repos/fact-project/fact-tools/milestones{/number}","notifications_url":"https://api.github.com/repos/fact-project/fact-tools/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/fact-project/fact-tools/labels{/name}","releases_url":"https://api.github.com/repos/fact-project/fact-tools/releases{/id}","deployments_url":"https://api.github.com/repos/fact-project/fact-tools/deployments","created_at":"2016-02-01T17:04:04Z","updated_at":"2018-10-19T08:55:59Z","pushed_at":"2018-10-22T21:52:10Z","git_url":"git://github.com/fact-project/fact-tools.git","ssh_url":"git@github.com:fact-project/fact-tools.git","clone_url":"https://github.com/fact-project/fact-tools.git","svn_url":"https://github.com/fact-project/fact-tools","homepage":"http://sfb876.tu-dortmund.de/FACT/","size":418072,"stargazers_count":5,"watchers_count":5,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":1,"mirror_url":null,"archived":false,"open_issues_count":18,"license":{"key":"gpl-3.0","name":"GNU General Public License v3.0","spdx_id":"GPL-3.0","url":"https://api.github.com/licenses/gpl-3.0","node_id":"MDc6TGljZW5zZTk="},"forks":1,"open_issues":18,"watchers":5,"default_branch":"master"}},"base":{"label":"fact-project:master","ref":"master","sha":"7c675d6ea21ec9b2f1f0e854984b571a3c02a1dc","user":{"login":"fact-project","id":16599974,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE2NTk5OTc0","avatar_url":"https://avatars3.githubusercontent.com/u/16599974?v=4","gravatar_id":"","url":"https://api.github.com/users/fact-project","html_url":"https://github.com/fact-project","followers_url":"https://api.github.com/users/fact-project/followers","following_url":"https://api.github.com/users/fact-project/following{/other_user}","gists_url":"https://api.github.com/users/fact-project/gists{/gist_id}","starred_url":"https://api.github.com/users/fact-project/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fact-project/subscriptions","organizations_url":"https://api.github.com/users/fact-project/orgs","repos_url":"https://api.github.com/users/fact-project/repos","events_url":"https://api.github.com/users/fact-project/events{/privacy}","received_events_url":"https://api.github.com/users/fact-project/received_events","type":"Organization","site_admin":false},"repo":{"id":50855465,"node_id":"MDEwOlJlcG9zaXRvcnk1MDg1NTQ2NQ==","name":"fact-tools","full_name":"fact-project/fact-tools","private":false,"owner":{"login":"fact-project","id":16599974,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE2NTk5OTc0","avatar_url":"https://avatars3.githubusercontent.com/u/16599974?v=4","gravatar_id":"","url":"https://api.github.com/users/fact-project","html_url":"https://github.com/fact-project","followers_url":"https://api.github.com/users/fact-project/followers","following_url":"https://api.github.com/users/fact-project/following{/other_user}","gists_url":"https://api.github.com/users/fact-project/gists{/gist_id}","starred_url":"https://api.github.com/users/fact-project/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fact-project/subscriptions","organizations_url":"https://api.github.com/users/fact-project/orgs","repos_url":"https://api.github.com/users/fact-project/repos","events_url":"https://api.github.com/users/fact-project/events{/privacy}","received_events_url":"https://api.github.com/users/fact-project/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/fact-project/fact-tools","description":"The fact-tools are an extension to the streams framework to analyse the data of the First G-APD Cherenkov Telescope.","fork":false,"url":"https://api.github.com/repos/fact-project/fact-tools","forks_url":"https://api.github.com/repos/fact-project/fact-tools/forks","keys_url":"https://api.github.com/repos/fact-project/fact-tools/keys{/key_id}","collaborators_url":"https://api.github.com/repos/fact-project/fact-tools/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/fact-project/fact-tools/teams","hooks_url":"https://api.github.com/repos/fact-project/fact-tools/hooks","issue_events_url":"https://api.github.com/repos/fact-project/fact-tools/issues/events{/number}","events_url":"https://api.github.com/repos/fact-project/fact-tools/events","assignees_url":"https://api.github.com/repos/fact-project/fact-tools/assignees{/user}","branches_url":"https://api.github.com/repos/fact-project/fact-tools/branches{/branch}","tags_url":"https://api.github.com/repos/fact-project/fact-tools/tags","blobs_url":"https://api.github.com/repos/fact-project/fact-tools/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/fact-project/fact-tools/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/fact-project/fact-tools/git/refs{/sha}","trees_url":"https://api.github.com/repos/fact-project/fact-tools/git/trees{/sha}","statuses_url":"https://api.github.com/repos/fact-project/fact-tools/statuses/{sha}","languages_url":"https://api.github.com/repos/fact-project/fact-tools/languages","stargazers_url":"https://api.github.com/repos/fact-project/fact-tools/stargazers","contributors_url":"https://api.github.com/repos/fact-project/fact-tools/contributors","subscribers_url":"https://api.github.com/repos/fact-project/fact-tools/subscribers","subscription_url":"https://api.github.com/repos/fact-project/fact-tools/subscription","commits_url":"https://api.github.com/repos/fact-project/fact-tools/commits{/sha}","git_commits_url":"https://api.github.com/repos/fact-project/fact-tools/git/commits{/sha}","comments_url":"https://api.github.com/repos/fact-project/fact-tools/comments{/number}","issue_comment_url":"https://api.github.com/repos/fact-project/fact-tools/issues/comments{/number}","contents_url":"https://api.github.com/repos/fact-project/fact-tools/contents/{+path}","compare_url":"https://api.github.com/repos/fact-project/fact-tools/compare/{base}...{head}","merges_url":"https://api.github.com/repos/fact-project/fact-tools/merges","archive_url":"https://api.github.com/repos/fact-project/fact-tools/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/fact-project/fact-tools/downloads","issues_url":"https://api.github.com/repos/fact-project/fact-tools/issues{/number}","pulls_url":"https://api.github.com/repos/fact-project/fact-tools/pulls{/number}","milestones_url":"https://api.github.com/repos/fact-project/fact-tools/milestones{/number}","notifications_url":"https://api.github.com/repos/fact-project/fact-tools/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/fact-project/fact-tools/labels{/name}","releases_url":"https://api.github.com/repos/fact-project/fact-tools/releases{/id}","deployments_url":"https://api.github.com/repos/fact-project/fact-tools/deployments","created_at":"2016-02-01T17:04:04Z","updated_at":"2018-10-19T08:55:59Z","pushed_at":"2018-10-22T21:52:10Z","git_url":"git://github.com/fact-project/fact-tools.git","ssh_url":"git@github.com:fact-project/fact-tools.git","clone_url":"https://github.com/fact-project/fact-tools.git","svn_url":"https://github.com/fact-project/fact-tools","homepage":"http://sfb876.tu-dortmund.de/FACT/","size":418072,"stargazers_count":5,"watchers_count":5,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":1,"mirror_url":null,"archived":false,"open_issues_count":18,"license":{"key":"gpl-3.0","name":"GNU General Public License v3.0","spdx_id":"GPL-3.0","url":"https://api.github.com/licenses/gpl-3.0","node_id":"MDc6TGljZW5zZTk="},"forks":1,"open_issues":18,"watchers":5,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/fact-project/fact-tools/pulls/263"},"html":{"href":"https://github.com/fact-project/fact-tools/pull/263"},"issue":{"href":"https://api.github.com/repos/fact-project/fact-tools/issues/263"},"comments":{"href":"https://api.github.com/repos/fact-project/fact-tools/issues/263/comments"},"review_comments":{"href":"https://api.github.com/repos/fact-project/fact-tools/pulls/263/comments"},"review_comment":{"href":"https://api.github.com/repos/fact-project/fact-tools/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/fact-project/fact-tools/pulls/263/commits"},"statuses":{"href":"https://api.github.com/repos/fact-project/fact-tools/statuses/d7266b18980ba63c4643cbeeedb2e50723ec4994"}},"author_association":"MEMBER"}}
{"actor":{"display_login":"MaxNoe"}}