diff --git a/sharness/__snapshots__/example-github-load/data/sourcecred/example-github/graph.json b/sharness/__snapshots__/example-github-load/data/sourcecred/example-github/graph.json new file mode 100644 index 0000000..37b51f2 --- /dev/null +++ b/sharness/__snapshots__/example-github-load/data/sourcecred/example-github/graph.json @@ -0,0 +1 @@ +[{"type":"sourcecred/graph","version":"0.4.0"},{"edges":[{"address":["sourcecred","git","HAS_PARENT","2","COMMIT","0a223346b4e6dec0127b1e6aa892c4ee0424b66a","2","COMMIT","ec91adb718a6045b492303f00d8e8beb957dc780"],"dstIndex":4,"srcIndex":0},{"address":["sourcecred","git","HAS_PARENT","2","COMMIT","0a223346b4e6dec0127b1e6aa892c4ee0424b66a","2","COMMIT","ecc889dc94cf6da17ae6eab5bb7b7155f577519d"],"dstIndex":5,"srcIndex":0},{"address":["sourcecred","git","HAS_PARENT","2","COMMIT","6bd1b4c0b719c22c688a74863be07a699b7b9b34","2","COMMIT","c430bd74455105f77215ece51945094ceeee6c86"],"dstIndex":3,"srcIndex":1},{"address":["sourcecred","git","HAS_PARENT","2","COMMIT","6d5b3aa31ebb68a06ceb46bbd6cf49b6ccd6f5e6","2","COMMIT","0a223346b4e6dec0127b1e6aa892c4ee0424b66a"],"dstIndex":0,"srcIndex":2},{"address":["sourcecred","git","HAS_PARENT","2","COMMIT","c430bd74455105f77215ece51945094ceeee6c86","2","COMMIT","6d5b3aa31ebb68a06ceb46bbd6cf49b6ccd6f5e6"],"dstIndex":2,"srcIndex":3},{"address":["sourcecred","git","HAS_PARENT","2","COMMIT","ecc889dc94cf6da17ae6eab5bb7b7155f577519d","2","COMMIT","ec91adb718a6045b492303f00d8e8beb957dc780"],"dstIndex":4,"srcIndex":5},{"address":["sourcecred","github","AUTHORS","5","sourcecred","github","USERLIKE","BOT","credbot","4","sourcecred","github","COMMIT","MDY6Q29tbWl0MTIzMjU1MDA2OmM0MzBiZDc0NDU1MTA1Zjc3MjE1ZWNlNTE5NDUwOTRjZWVlZTZjODY="],"dstIndex":28,"srcIndex":47},{"address":["sourcecred","github","AUTHORS","5","sourcecred","github","USERLIKE","BOT","credbot","8","sourcecred","github","COMMENT","ISSUE","sourcecred","example-github","6","417104047"],"dstIndex":21,"srcIndex":47},{"address":["sourcecred","github","AUTHORS","5","sourcecred","github","USERLIKE","USER","decentralion","4","sourcecred","github","COMMIT","MDY6Q29tbWl0MTIzMjU1MDA2OjBhMjIzMzQ2YjRlNmRlYzAxMjdiMWU2YWE4OTJjNGVlMDQyNGI2NmE="],"dstIndex":25,"srcIndex":48},{"address":["sourcecred","github","AUTHORS","5","sourcecred","github","USERLIKE","USER","decentralion","4","sourcecred","github","COMMIT","MDY6Q29tbWl0MTIzMjU1MDA2OjZkNWIzYWEzMWViYjY4YTA2Y2ViNDZiYmQ2Y2Y0OWI2Y2NkNmY1ZTY="],"dstIndex":27,"srcIndex":48},{"address":["sourcecred","github","AUTHORS","5","sourcecred","github","USERLIKE","USER","decentralion","4","sourcecred","github","COMMIT","MDY6Q29tbWl0MTIzMjU1MDA2OmVjOTFhZGI3MThhNjA0NWI0OTIzMDNmMDBkOGU4YmViOTU3ZGM3ODA="],"dstIndex":29,"srcIndex":48},{"address":["sourcecred","github","AUTHORS","5","sourcecred","github","USERLIKE","USER","decentralion","4","sourcecred","github","COMMIT","MDY6Q29tbWl0MTIzMjU1MDA2OmVjYzg4OWRjOTRjZjZkYTE3YWU2ZWFiNWJiN2I3MTU1ZjU3NzUxOWQ="],"dstIndex":30,"srcIndex":48},{"address":["sourcecred","github","AUTHORS","5","sourcecred","github","USERLIKE","USER","decentralion","6","sourcecred","github","ISSUE","sourcecred","example-github","1"],"dstIndex":31,"srcIndex":48},{"address":["sourcecred","github","AUTHORS","5","sourcecred","github","USERLIKE","USER","decentralion","6","sourcecred","github","ISSUE","sourcecred","example-github","10"],"dstIndex":32,"srcIndex":48},{"address":["sourcecred","github","AUTHORS","5","sourcecred","github","USERLIKE","USER","decentralion","6","sourcecred","github","ISSUE","sourcecred","example-github","12"],"dstIndex":34,"srcIndex":48},{"address":["sourcecred","github","AUTHORS","5","sourcecred","github","USERLIKE","USER","decentralion","6","sourcecred","github","ISSUE","sourcecred","example-github","13"],"dstIndex":35,"srcIndex":48},{"address":["sourcecred","github","AUTHORS","5","sourcecred","github","USERLIKE","USER","decentralion","6","sourcecred","github","ISSUE","sourcecred","example-github","2"],"dstIndex":36,"srcIndex":48},{"address":["sourcecred","github","AUTHORS","5","sourcecred","github","USERLIKE","USER","decentralion","6","sourcecred","github","ISSUE","sourcecred","example-github","4"],"dstIndex":37,"srcIndex":48},{"address":["sourcecred","github","AUTHORS","5","sourcecred","github","USERLIKE","USER","decentralion","6","sourcecred","github","ISSUE","sourcecred","example-github","6"],"dstIndex":38,"srcIndex":48},{"address":["sourcecred","github","AUTHORS","5","sourcecred","github","USERLIKE","USER","decentralion","6","sourcecred","github","ISSUE","sourcecred","example-github","7"],"dstIndex":39,"srcIndex":48},{"address":["sourcecred","github","AUTHORS","5","sourcecred","github","USERLIKE","USER","decentralion","6","sourcecred","github","ISSUE","sourcecred","example-github","8"],"dstIndex":40,"srcIndex":48},{"address":["sourcecred","github","AUTHORS","5","sourcecred","github","USERLIKE","USER","decentralion","6","sourcecred","github","PULL","sourcecred","example-github","3"],"dstIndex":41,"srcIndex":48},{"address":["sourcecred","github","AUTHORS","5","sourcecred","github","USERLIKE","USER","decentralion","6","sourcecred","github","PULL","sourcecred","example-github","5"],"dstIndex":42,"srcIndex":48},{"address":["sourcecred","github","AUTHORS","5","sourcecred","github","USERLIKE","USER","decentralion","6","sourcecred","github","PULL","sourcecred","example-github","9"],"dstIndex":43,"srcIndex":48},{"address":["sourcecred","github","AUTHORS","5","sourcecred","github","USERLIKE","USER","decentralion","8","sourcecred","github","COMMENT","ISSUE","sourcecred","example-github","11","420813621"],"dstIndex":9,"srcIndex":48},{"address":["sourcecred","github","AUTHORS","5","sourcecred","github","USERLIKE","USER","decentralion","8","sourcecred","github","COMMENT","ISSUE","sourcecred","example-github","2","373768703"],"dstIndex":10,"srcIndex":48},{"address":["sourcecred","github","AUTHORS","5","sourcecred","github","USERLIKE","USER","decentralion","8","sourcecred","github","COMMENT","ISSUE","sourcecred","example-github","2","373768850"],"dstIndex":11,"srcIndex":48},{"address":["sourcecred","github","AUTHORS","5","sourcecred","github","USERLIKE","USER","decentralion","8","sourcecred","github","COMMENT","ISSUE","sourcecred","example-github","2","385576185"],"dstIndex":12,"srcIndex":48},{"address":["sourcecred","github","AUTHORS","5","sourcecred","github","USERLIKE","USER","decentralion","8","sourcecred","github","COMMENT","ISSUE","sourcecred","example-github","2","385576220"],"dstIndex":13,"srcIndex":48},{"address":["sourcecred","github","AUTHORS","5","sourcecred","github","USERLIKE","USER","decentralion","8","sourcecred","github","COMMENT","ISSUE","sourcecred","example-github","2","385576248"],"dstIndex":14,"srcIndex":48},{"address":["sourcecred","github","AUTHORS","5","sourcecred","github","USERLIKE","USER","decentralion","8","sourcecred","github","COMMENT","ISSUE","sourcecred","example-github","2","385576273"],"dstIndex":15,"srcIndex":48},{"address":["sourcecred","github","AUTHORS","5","sourcecred","github","USERLIKE","USER","decentralion","8","sourcecred","github","COMMENT","ISSUE","sourcecred","example-github","2","385576920"],"dstIndex":16,"srcIndex":48},{"address":["sourcecred","github","AUTHORS","5","sourcecred","github","USERLIKE","USER","decentralion","8","sourcecred","github","COMMENT","ISSUE","sourcecred","example-github","2","385576936"],"dstIndex":17,"srcIndex":48},{"address":["sourcecred","github","AUTHORS","5","sourcecred","github","USERLIKE","USER","decentralion","8","sourcecred","github","COMMENT","ISSUE","sourcecred","example-github","6","373768442"],"dstIndex":18,"srcIndex":48},{"address":["sourcecred","github","AUTHORS","5","sourcecred","github","USERLIKE","USER","decentralion","8","sourcecred","github","COMMENT","ISSUE","sourcecred","example-github","6","373768538"],"dstIndex":19,"srcIndex":48},{"address":["sourcecred","github","AUTHORS","5","sourcecred","github","USERLIKE","USER","decentralion","8","sourcecred","github","COMMENT","ISSUE","sourcecred","example-github","6","385223316"],"dstIndex":20,"srcIndex":48},{"address":["sourcecred","github","AUTHORS","5","sourcecred","github","USERLIKE","USER","decentralion","8","sourcecred","github","COMMENT","PULL","sourcecred","example-github","3","369162222"],"dstIndex":22,"srcIndex":48},{"address":["sourcecred","github","AUTHORS","5","sourcecred","github","USERLIKE","USER","wchargin","6","sourcecred","github","ISSUE","sourcecred","example-github","10"],"dstIndex":32,"srcIndex":49},{"address":["sourcecred","github","AUTHORS","5","sourcecred","github","USERLIKE","USER","wchargin","6","sourcecred","github","ISSUE","sourcecred","example-github","11"],"dstIndex":33,"srcIndex":49},{"address":["sourcecred","github","AUTHORS","5","sourcecred","github","USERLIKE","USER","wchargin","6","sourcecred","github","PULL","sourcecred","example-github","9"],"dstIndex":43,"srcIndex":49},{"address":["sourcecred","github","AUTHORS","5","sourcecred","github","USERLIKE","USER","wchargin","7","sourcecred","github","REVIEW","sourcecred","example-github","5","100313899"],"dstIndex":45,"srcIndex":49},{"address":["sourcecred","github","AUTHORS","5","sourcecred","github","USERLIKE","USER","wchargin","7","sourcecred","github","REVIEW","sourcecred","example-github","5","100314038"],"dstIndex":46,"srcIndex":49},{"address":["sourcecred","github","AUTHORS","5","sourcecred","github","USERLIKE","USER","wchargin","8","sourcecred","github","COMMENT","ISSUE","sourcecred","example-github","11","420813013"],"dstIndex":7,"srcIndex":49},{"address":["sourcecred","github","AUTHORS","5","sourcecred","github","USERLIKE","USER","wchargin","8","sourcecred","github","COMMENT","PULL","sourcecred","example-github","5","396430464"],"dstIndex":23,"srcIndex":49},{"address":["sourcecred","github","AUTHORS","5","sourcecred","github","USERLIKE","USER","wchargin","9","sourcecred","github","COMMENT","REVIEW","sourcecred","example-github","5","100313899","171460198"],"dstIndex":24,"srcIndex":49},{"address":["sourcecred","github","CORRESPONDS_TO_COMMIT_TYPE","4","sourcecred","github","COMMIT","MDY6Q29tbWl0MTIzMjU1MDA2OjBhMjIzMzQ2YjRlNmRlYzAxMjdiMWU2YWE4OTJjNGVlMDQyNGI2NmE="],"dstIndex":0,"srcIndex":25},{"address":["sourcecred","github","CORRESPONDS_TO_COMMIT_TYPE","4","sourcecred","github","COMMIT","MDY6Q29tbWl0MTIzMjU1MDA2OjZiZDFiNGMwYjcxOWMyMmM2ODhhNzQ4NjNiZTA3YTY5OWI3YjliMzQ="],"dstIndex":1,"srcIndex":26},{"address":["sourcecred","github","CORRESPONDS_TO_COMMIT_TYPE","4","sourcecred","github","COMMIT","MDY6Q29tbWl0MTIzMjU1MDA2OjZkNWIzYWEzMWViYjY4YTA2Y2ViNDZiYmQ2Y2Y0OWI2Y2NkNmY1ZTY="],"dstIndex":2,"srcIndex":27},{"address":["sourcecred","github","CORRESPONDS_TO_COMMIT_TYPE","4","sourcecred","github","COMMIT","MDY6Q29tbWl0MTIzMjU1MDA2OmM0MzBiZDc0NDU1MTA1Zjc3MjE1ZWNlNTE5NDUwOTRjZWVlZTZjODY="],"dstIndex":3,"srcIndex":28},{"address":["sourcecred","github","CORRESPONDS_TO_COMMIT_TYPE","4","sourcecred","github","COMMIT","MDY6Q29tbWl0MTIzMjU1MDA2OmVjOTFhZGI3MThhNjA0NWI0OTIzMDNmMDBkOGU4YmViOTU3ZGM3ODA="],"dstIndex":4,"srcIndex":29},{"address":["sourcecred","github","CORRESPONDS_TO_COMMIT_TYPE","4","sourcecred","github","COMMIT","MDY6Q29tbWl0MTIzMjU1MDA2OmVjYzg4OWRjOTRjZjZkYTE3YWU2ZWFiNWJiN2I3MTU1ZjU3NzUxOWQ="],"dstIndex":5,"srcIndex":30},{"address":["sourcecred","github","HAS_PARENT","6","sourcecred","github","ISSUE","sourcecred","example-github","1"],"dstIndex":44,"srcIndex":31},{"address":["sourcecred","github","HAS_PARENT","6","sourcecred","github","ISSUE","sourcecred","example-github","10"],"dstIndex":44,"srcIndex":32},{"address":["sourcecred","github","HAS_PARENT","6","sourcecred","github","ISSUE","sourcecred","example-github","11"],"dstIndex":44,"srcIndex":33},{"address":["sourcecred","github","HAS_PARENT","6","sourcecred","github","ISSUE","sourcecred","example-github","12"],"dstIndex":44,"srcIndex":34},{"address":["sourcecred","github","HAS_PARENT","6","sourcecred","github","ISSUE","sourcecred","example-github","13"],"dstIndex":44,"srcIndex":35},{"address":["sourcecred","github","HAS_PARENT","6","sourcecred","github","ISSUE","sourcecred","example-github","2"],"dstIndex":44,"srcIndex":36},{"address":["sourcecred","github","HAS_PARENT","6","sourcecred","github","ISSUE","sourcecred","example-github","4"],"dstIndex":44,"srcIndex":37},{"address":["sourcecred","github","HAS_PARENT","6","sourcecred","github","ISSUE","sourcecred","example-github","6"],"dstIndex":44,"srcIndex":38},{"address":["sourcecred","github","HAS_PARENT","6","sourcecred","github","ISSUE","sourcecred","example-github","7"],"dstIndex":44,"srcIndex":39},{"address":["sourcecred","github","HAS_PARENT","6","sourcecred","github","ISSUE","sourcecred","example-github","8"],"dstIndex":44,"srcIndex":40},{"address":["sourcecred","github","HAS_PARENT","6","sourcecred","github","PULL","sourcecred","example-github","3"],"dstIndex":44,"srcIndex":41},{"address":["sourcecred","github","HAS_PARENT","6","sourcecred","github","PULL","sourcecred","example-github","5"],"dstIndex":44,"srcIndex":42},{"address":["sourcecred","github","HAS_PARENT","6","sourcecred","github","PULL","sourcecred","example-github","9"],"dstIndex":44,"srcIndex":43},{"address":["sourcecred","github","HAS_PARENT","7","sourcecred","github","REVIEW","sourcecred","example-github","5","100313899"],"dstIndex":42,"srcIndex":45},{"address":["sourcecred","github","HAS_PARENT","7","sourcecred","github","REVIEW","sourcecred","example-github","5","100314038"],"dstIndex":42,"srcIndex":46},{"address":["sourcecred","github","HAS_PARENT","8","sourcecred","github","COMMENT","ISSUE","sourcecred","example-github","11","420811872"],"dstIndex":33,"srcIndex":6},{"address":["sourcecred","github","HAS_PARENT","8","sourcecred","github","COMMENT","ISSUE","sourcecred","example-github","11","420813013"],"dstIndex":33,"srcIndex":7},{"address":["sourcecred","github","HAS_PARENT","8","sourcecred","github","COMMENT","ISSUE","sourcecred","example-github","11","420813206"],"dstIndex":33,"srcIndex":8},{"address":["sourcecred","github","HAS_PARENT","8","sourcecred","github","COMMENT","ISSUE","sourcecred","example-github","11","420813621"],"dstIndex":33,"srcIndex":9},{"address":["sourcecred","github","HAS_PARENT","8","sourcecred","github","COMMENT","ISSUE","sourcecred","example-github","2","373768703"],"dstIndex":36,"srcIndex":10},{"address":["sourcecred","github","HAS_PARENT","8","sourcecred","github","COMMENT","ISSUE","sourcecred","example-github","2","373768850"],"dstIndex":36,"srcIndex":11},{"address":["sourcecred","github","HAS_PARENT","8","sourcecred","github","COMMENT","ISSUE","sourcecred","example-github","2","385576185"],"dstIndex":36,"srcIndex":12},{"address":["sourcecred","github","HAS_PARENT","8","sourcecred","github","COMMENT","ISSUE","sourcecred","example-github","2","385576220"],"dstIndex":36,"srcIndex":13},{"address":["sourcecred","github","HAS_PARENT","8","sourcecred","github","COMMENT","ISSUE","sourcecred","example-github","2","385576248"],"dstIndex":36,"srcIndex":14},{"address":["sourcecred","github","HAS_PARENT","8","sourcecred","github","COMMENT","ISSUE","sourcecred","example-github","2","385576273"],"dstIndex":36,"srcIndex":15},{"address":["sourcecred","github","HAS_PARENT","8","sourcecred","github","COMMENT","ISSUE","sourcecred","example-github","2","385576920"],"dstIndex":36,"srcIndex":16},{"address":["sourcecred","github","HAS_PARENT","8","sourcecred","github","COMMENT","ISSUE","sourcecred","example-github","2","385576936"],"dstIndex":36,"srcIndex":17},{"address":["sourcecred","github","HAS_PARENT","8","sourcecred","github","COMMENT","ISSUE","sourcecred","example-github","6","373768442"],"dstIndex":38,"srcIndex":18},{"address":["sourcecred","github","HAS_PARENT","8","sourcecred","github","COMMENT","ISSUE","sourcecred","example-github","6","373768538"],"dstIndex":38,"srcIndex":19},{"address":["sourcecred","github","HAS_PARENT","8","sourcecred","github","COMMENT","ISSUE","sourcecred","example-github","6","385223316"],"dstIndex":38,"srcIndex":20},{"address":["sourcecred","github","HAS_PARENT","8","sourcecred","github","COMMENT","ISSUE","sourcecred","example-github","6","417104047"],"dstIndex":38,"srcIndex":21},{"address":["sourcecred","github","HAS_PARENT","8","sourcecred","github","COMMENT","PULL","sourcecred","example-github","3","369162222"],"dstIndex":41,"srcIndex":22},{"address":["sourcecred","github","HAS_PARENT","8","sourcecred","github","COMMENT","PULL","sourcecred","example-github","5","396430464"],"dstIndex":42,"srcIndex":23},{"address":["sourcecred","github","HAS_PARENT","9","sourcecred","github","COMMENT","REVIEW","sourcecred","example-github","5","100313899","171460198"],"dstIndex":45,"srcIndex":24},{"address":["sourcecred","github","MENTIONS_AUTHOR","6","sourcecred","github","PULL","sourcecred","example-github","5","8","sourcecred","github","COMMENT","PULL","sourcecred","example-github","5","396430464","5","sourcecred","github","USERLIKE","USER","wchargin"],"dstIndex":23,"srcIndex":42},{"address":["sourcecred","github","MERGED_AS","6","sourcecred","github","PULL","sourcecred","example-github","3"],"dstIndex":25,"srcIndex":41},{"address":["sourcecred","github","MERGED_AS","6","sourcecred","github","PULL","sourcecred","example-github","5"],"dstIndex":27,"srcIndex":42},{"address":["sourcecred","github","REACTS","HEART","5","sourcecred","github","USERLIKE","USER","decentralion","6","sourcecred","github","ISSUE","sourcecred","example-github","1"],"dstIndex":31,"srcIndex":48},{"address":["sourcecred","github","REACTS","HEART","5","sourcecred","github","USERLIKE","USER","decentralion","6","sourcecred","github","ISSUE","sourcecred","example-github","13"],"dstIndex":35,"srcIndex":48},{"address":["sourcecred","github","REACTS","HEART","5","sourcecred","github","USERLIKE","USER","decentralion","6","sourcecred","github","PULL","sourcecred","example-github","9"],"dstIndex":43,"srcIndex":48},{"address":["sourcecred","github","REACTS","HEART","5","sourcecred","github","USERLIKE","USER","decentralion","8","sourcecred","github","COMMENT","PULL","sourcecred","example-github","5","396430464"],"dstIndex":23,"srcIndex":48},{"address":["sourcecred","github","REACTS","HEART","5","sourcecred","github","USERLIKE","USER","decentralion","9","sourcecred","github","COMMENT","REVIEW","sourcecred","example-github","5","100313899","171460198"],"dstIndex":24,"srcIndex":48},{"address":["sourcecred","github","REACTS","HEART","5","sourcecred","github","USERLIKE","USER","wchargin","9","sourcecred","github","COMMENT","REVIEW","sourcecred","example-github","5","100313899","171460198"],"dstIndex":24,"srcIndex":49},{"address":["sourcecred","github","REACTS","HOORAY","5","sourcecred","github","USERLIKE","USER","decentralion","6","sourcecred","github","ISSUE","sourcecred","example-github","13"],"dstIndex":35,"srcIndex":48},{"address":["sourcecred","github","REACTS","HOORAY","5","sourcecred","github","USERLIKE","USER","decentralion","8","sourcecred","github","COMMENT","ISSUE","sourcecred","example-github","11","420813206"],"dstIndex":8,"srcIndex":48},{"address":["sourcecred","github","REACTS","HOORAY","5","sourcecred","github","USERLIKE","USER","decentralion","9","sourcecred","github","COMMENT","REVIEW","sourcecred","example-github","5","100313899","171460198"],"dstIndex":24,"srcIndex":48},{"address":["sourcecred","github","REACTS","HOORAY","5","sourcecred","github","USERLIKE","USER","wchargin","9","sourcecred","github","COMMENT","REVIEW","sourcecred","example-github","5","100313899","171460198"],"dstIndex":24,"srcIndex":49},{"address":["sourcecred","github","REACTS","ROCKET","5","sourcecred","github","USERLIKE","USER","decentralion","6","sourcecred","github","ISSUE","sourcecred","example-github","13"],"dstIndex":35,"srcIndex":48},{"address":["sourcecred","github","REACTS","THUMBS_UP","5","sourcecred","github","USERLIKE","USER","decentralion","6","sourcecred","github","ISSUE","sourcecred","example-github","12"],"dstIndex":34,"srcIndex":48},{"address":["sourcecred","github","REACTS","THUMBS_UP","5","sourcecred","github","USERLIKE","USER","decentralion","6","sourcecred","github","ISSUE","sourcecred","example-github","13"],"dstIndex":35,"srcIndex":48},{"address":["sourcecred","github","REACTS","THUMBS_UP","5","sourcecred","github","USERLIKE","USER","decentralion","6","sourcecred","github","PULL","sourcecred","example-github","9"],"dstIndex":43,"srcIndex":48},{"address":["sourcecred","github","REACTS","THUMBS_UP","5","sourcecred","github","USERLIKE","USER","decentralion","8","sourcecred","github","COMMENT","ISSUE","sourcecred","example-github","11","420813206"],"dstIndex":8,"srcIndex":48},{"address":["sourcecred","github","REACTS","THUMBS_UP","5","sourcecred","github","USERLIKE","USER","decentralion","9","sourcecred","github","COMMENT","REVIEW","sourcecred","example-github","5","100313899","171460198"],"dstIndex":24,"srcIndex":48},{"address":["sourcecred","github","REACTS","THUMBS_UP","5","sourcecred","github","USERLIKE","USER","wchargin","9","sourcecred","github","COMMENT","REVIEW","sourcecred","example-github","5","100313899","171460198"],"dstIndex":24,"srcIndex":49},{"address":["sourcecred","github","REFERENCES","4","sourcecred","github","COMMIT","MDY6Q29tbWl0MTIzMjU1MDA2OjBhMjIzMzQ2YjRlNmRlYzAxMjdiMWU2YWE4OTJjNGVlMDQyNGI2NmE=","6","sourcecred","github","PULL","sourcecred","example-github","3"],"dstIndex":41,"srcIndex":25},{"address":["sourcecred","github","REFERENCES","4","sourcecred","github","COMMIT","MDY6Q29tbWl0MTIzMjU1MDA2OjZiZDFiNGMwYjcxOWMyMmM2ODhhNzQ4NjNiZTA3YTY5OWI3YjliMzQ=","5","sourcecred","github","USERLIKE","USER","wchargin"],"dstIndex":49,"srcIndex":26},{"address":["sourcecred","github","REFERENCES","4","sourcecred","github","COMMIT","MDY6Q29tbWl0MTIzMjU1MDA2OjZkNWIzYWEzMWViYjY4YTA2Y2ViNDZiYmQ2Y2Y0OWI2Y2NkNmY1ZTY=","6","sourcecred","github","PULL","sourcecred","example-github","5"],"dstIndex":42,"srcIndex":27},{"address":["sourcecred","github","REFERENCES","4","sourcecred","github","COMMIT","MDY6Q29tbWl0MTIzMjU1MDA2OmM0MzBiZDc0NDU1MTA1Zjc3MjE1ZWNlNTE5NDUwOTRjZWVlZTZjODY=","5","sourcecred","github","USERLIKE","USER","wchargin"],"dstIndex":49,"srcIndex":28},{"address":["sourcecred","github","REFERENCES","6","sourcecred","github","ISSUE","sourcecred","example-github","10","6","sourcecred","github","ISSUE","sourcecred","example-github","10"],"dstIndex":32,"srcIndex":32},{"address":["sourcecred","github","REFERENCES","6","sourcecred","github","ISSUE","sourcecred","example-github","10","6","sourcecred","github","ISSUE","sourcecred","example-github","2"],"dstIndex":36,"srcIndex":32},{"address":["sourcecred","github","REFERENCES","6","sourcecred","github","ISSUE","sourcecred","example-github","12","4","sourcecred","github","COMMIT","MDY6Q29tbWl0MTIzMjU1MDA2OmVjOTFhZGI3MThhNjA0NWI0OTIzMDNmMDBkOGU4YmViOTU3ZGM3ODA="],"dstIndex":29,"srcIndex":34},{"address":["sourcecred","github","REFERENCES","6","sourcecred","github","ISSUE","sourcecred","example-github","12","4","sourcecred","github","COMMIT","MDY6Q29tbWl0MTIzMjU1MDA2OmVjYzg4OWRjOTRjZjZkYTE3YWU2ZWFiNWJiN2I3MTU1ZjU3NzUxOWQ="],"dstIndex":30,"srcIndex":34},{"address":["sourcecred","github","REFERENCES","6","sourcecred","github","ISSUE","sourcecred","example-github","2","6","sourcecred","github","ISSUE","sourcecred","example-github","1"],"dstIndex":31,"srcIndex":36},{"address":["sourcecred","github","REFERENCES","6","sourcecred","github","PULL","sourcecred","example-github","5","5","sourcecred","github","USERLIKE","USER","wchargin"],"dstIndex":49,"srcIndex":42},{"address":["sourcecred","github","REFERENCES","8","sourcecred","github","COMMENT","ISSUE","sourcecred","example-github","2","373768703","6","sourcecred","github","ISSUE","sourcecred","example-github","6"],"dstIndex":38,"srcIndex":10},{"address":["sourcecred","github","REFERENCES","8","sourcecred","github","COMMENT","ISSUE","sourcecred","example-github","2","373768850","8","sourcecred","github","COMMENT","ISSUE","sourcecred","example-github","6","373768538"],"dstIndex":19,"srcIndex":11},{"address":["sourcecred","github","REFERENCES","8","sourcecred","github","COMMENT","ISSUE","sourcecred","example-github","2","385576185","6","sourcecred","github","PULL","sourcecred","example-github","5"],"dstIndex":42,"srcIndex":12},{"address":["sourcecred","github","REFERENCES","8","sourcecred","github","COMMENT","ISSUE","sourcecred","example-github","2","385576220","7","sourcecred","github","REVIEW","sourcecred","example-github","5","100313899"],"dstIndex":45,"srcIndex":13},{"address":["sourcecred","github","REFERENCES","8","sourcecred","github","COMMENT","ISSUE","sourcecred","example-github","2","385576248","9","sourcecred","github","COMMENT","REVIEW","sourcecred","example-github","5","100313899","171460198"],"dstIndex":24,"srcIndex":14},{"address":["sourcecred","github","REFERENCES","8","sourcecred","github","COMMENT","ISSUE","sourcecred","example-github","2","385576273","5","sourcecred","github","USERLIKE","USER","wchargin"],"dstIndex":49,"srcIndex":15},{"address":["sourcecred","github","REFERENCES","8","sourcecred","github","COMMENT","ISSUE","sourcecred","example-github","2","385576920","6","sourcecred","github","ISSUE","sourcecred","example-github","1"],"dstIndex":31,"srcIndex":16},{"address":["sourcecred","github","REFERENCES","8","sourcecred","github","COMMENT","ISSUE","sourcecred","example-github","2","385576920","6","sourcecred","github","ISSUE","sourcecred","example-github","2"],"dstIndex":36,"srcIndex":16},{"address":["sourcecred","github","REFERENCES","8","sourcecred","github","COMMENT","ISSUE","sourcecred","example-github","2","385576920","6","sourcecred","github","PULL","sourcecred","example-github","3"],"dstIndex":41,"srcIndex":16},{"address":["sourcecred","github","REFERENCES","8","sourcecred","github","COMMENT","ISSUE","sourcecred","example-github","2","385576920","7","sourcecred","github","REVIEW","sourcecred","example-github","5","100313899"],"dstIndex":45,"srcIndex":16},{"address":["sourcecred","github","REFERENCES","8","sourcecred","github","COMMENT","ISSUE","sourcecred","example-github","2","385576920","9","sourcecred","github","COMMENT","REVIEW","sourcecred","example-github","5","100313899","171460198"],"dstIndex":24,"srcIndex":16},{"address":["sourcecred","github","REFERENCES","8","sourcecred","github","COMMENT","ISSUE","sourcecred","example-github","6","385223316","6","sourcecred","github","ISSUE","sourcecred","example-github","2"],"dstIndex":36,"srcIndex":20},{"address":["sourcecred","github","REFERENCES","8","sourcecred","github","COMMENT","PULL","sourcecred","example-github","3","369162222","6","sourcecred","github","ISSUE","sourcecred","example-github","2"],"dstIndex":36,"srcIndex":22}],"nodes":[["sourcecred","git","COMMIT","0a223346b4e6dec0127b1e6aa892c4ee0424b66a"],["sourcecred","git","COMMIT","6bd1b4c0b719c22c688a74863be07a699b7b9b34"],["sourcecred","git","COMMIT","6d5b3aa31ebb68a06ceb46bbd6cf49b6ccd6f5e6"],["sourcecred","git","COMMIT","c430bd74455105f77215ece51945094ceeee6c86"],["sourcecred","git","COMMIT","ec91adb718a6045b492303f00d8e8beb957dc780"],["sourcecred","git","COMMIT","ecc889dc94cf6da17ae6eab5bb7b7155f577519d"],["sourcecred","github","COMMENT","ISSUE","sourcecred","example-github","11","420811872"],["sourcecred","github","COMMENT","ISSUE","sourcecred","example-github","11","420813013"],["sourcecred","github","COMMENT","ISSUE","sourcecred","example-github","11","420813206"],["sourcecred","github","COMMENT","ISSUE","sourcecred","example-github","11","420813621"],["sourcecred","github","COMMENT","ISSUE","sourcecred","example-github","2","373768703"],["sourcecred","github","COMMENT","ISSUE","sourcecred","example-github","2","373768850"],["sourcecred","github","COMMENT","ISSUE","sourcecred","example-github","2","385576185"],["sourcecred","github","COMMENT","ISSUE","sourcecred","example-github","2","385576220"],["sourcecred","github","COMMENT","ISSUE","sourcecred","example-github","2","385576248"],["sourcecred","github","COMMENT","ISSUE","sourcecred","example-github","2","385576273"],["sourcecred","github","COMMENT","ISSUE","sourcecred","example-github","2","385576920"],["sourcecred","github","COMMENT","ISSUE","sourcecred","example-github","2","385576936"],["sourcecred","github","COMMENT","ISSUE","sourcecred","example-github","6","373768442"],["sourcecred","github","COMMENT","ISSUE","sourcecred","example-github","6","373768538"],["sourcecred","github","COMMENT","ISSUE","sourcecred","example-github","6","385223316"],["sourcecred","github","COMMENT","ISSUE","sourcecred","example-github","6","417104047"],["sourcecred","github","COMMENT","PULL","sourcecred","example-github","3","369162222"],["sourcecred","github","COMMENT","PULL","sourcecred","example-github","5","396430464"],["sourcecred","github","COMMENT","REVIEW","sourcecred","example-github","5","100313899","171460198"],["sourcecred","github","COMMIT","MDY6Q29tbWl0MTIzMjU1MDA2OjBhMjIzMzQ2YjRlNmRlYzAxMjdiMWU2YWE4OTJjNGVlMDQyNGI2NmE="],["sourcecred","github","COMMIT","MDY6Q29tbWl0MTIzMjU1MDA2OjZiZDFiNGMwYjcxOWMyMmM2ODhhNzQ4NjNiZTA3YTY5OWI3YjliMzQ="],["sourcecred","github","COMMIT","MDY6Q29tbWl0MTIzMjU1MDA2OjZkNWIzYWEzMWViYjY4YTA2Y2ViNDZiYmQ2Y2Y0OWI2Y2NkNmY1ZTY="],["sourcecred","github","COMMIT","MDY6Q29tbWl0MTIzMjU1MDA2OmM0MzBiZDc0NDU1MTA1Zjc3MjE1ZWNlNTE5NDUwOTRjZWVlZTZjODY="],["sourcecred","github","COMMIT","MDY6Q29tbWl0MTIzMjU1MDA2OmVjOTFhZGI3MThhNjA0NWI0OTIzMDNmMDBkOGU4YmViOTU3ZGM3ODA="],["sourcecred","github","COMMIT","MDY6Q29tbWl0MTIzMjU1MDA2OmVjYzg4OWRjOTRjZjZkYTE3YWU2ZWFiNWJiN2I3MTU1ZjU3NzUxOWQ="],["sourcecred","github","ISSUE","sourcecred","example-github","1"],["sourcecred","github","ISSUE","sourcecred","example-github","10"],["sourcecred","github","ISSUE","sourcecred","example-github","11"],["sourcecred","github","ISSUE","sourcecred","example-github","12"],["sourcecred","github","ISSUE","sourcecred","example-github","13"],["sourcecred","github","ISSUE","sourcecred","example-github","2"],["sourcecred","github","ISSUE","sourcecred","example-github","4"],["sourcecred","github","ISSUE","sourcecred","example-github","6"],["sourcecred","github","ISSUE","sourcecred","example-github","7"],["sourcecred","github","ISSUE","sourcecred","example-github","8"],["sourcecred","github","PULL","sourcecred","example-github","3"],["sourcecred","github","PULL","sourcecred","example-github","5"],["sourcecred","github","PULL","sourcecred","example-github","9"],["sourcecred","github","REPO","sourcecred","example-github"],["sourcecred","github","REVIEW","sourcecred","example-github","5","100313899"],["sourcecred","github","REVIEW","sourcecred","example-github","5","100314038"],["sourcecred","github","USERLIKE","BOT","credbot"],["sourcecred","github","USERLIKE","USER","decentralion"],["sourcecred","github","USERLIKE","USER","wchargin"]]}] \ No newline at end of file diff --git a/sharness/__snapshots__/example-github-load/data/sourcecred/example-github/pagerankGraph.json b/sharness/__snapshots__/example-github-load/data/sourcecred/example-github/pagerankGraph.json deleted file mode 100644 index 37b995b..0000000 --- a/sharness/__snapshots__/example-github-load/data/sourcecred/example-github/pagerankGraph.json +++ /dev/null @@ -1 +0,0 @@ -[{"type":"sourcecred/pagerankGraph","version":"0.1.0"},{"froWeights":[2,2,2,2,2,2,0.25,0.25,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,1,1,1,0.25,0.25,0.25,0.25,0.25,0.25,0.25,0.25,0.25,0.25,0.25,0.25,0.25,0.25,0.25,0.25,0.25,0.25,0.25,0.25,0.25,0,4,4,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],"graphJSON":[{"type":"sourcecred/graph","version":"0.4.0"},{"edges":[{"address":["sourcecred","git","HAS_PARENT","2","COMMIT","0a223346b4e6dec0127b1e6aa892c4ee0424b66a","2","COMMIT","ec91adb718a6045b492303f00d8e8beb957dc780"],"dstIndex":4,"srcIndex":0},{"address":["sourcecred","git","HAS_PARENT","2","COMMIT","0a223346b4e6dec0127b1e6aa892c4ee0424b66a","2","COMMIT","ecc889dc94cf6da17ae6eab5bb7b7155f577519d"],"dstIndex":5,"srcIndex":0},{"address":["sourcecred","git","HAS_PARENT","2","COMMIT","6bd1b4c0b719c22c688a74863be07a699b7b9b34","2","COMMIT","c430bd74455105f77215ece51945094ceeee6c86"],"dstIndex":3,"srcIndex":1},{"address":["sourcecred","git","HAS_PARENT","2","COMMIT","6d5b3aa31ebb68a06ceb46bbd6cf49b6ccd6f5e6","2","COMMIT","0a223346b4e6dec0127b1e6aa892c4ee0424b66a"],"dstIndex":0,"srcIndex":2},{"address":["sourcecred","git","HAS_PARENT","2","COMMIT","c430bd74455105f77215ece51945094ceeee6c86","2","COMMIT","6d5b3aa31ebb68a06ceb46bbd6cf49b6ccd6f5e6"],"dstIndex":2,"srcIndex":3},{"address":["sourcecred","git","HAS_PARENT","2","COMMIT","ecc889dc94cf6da17ae6eab5bb7b7155f577519d","2","COMMIT","ec91adb718a6045b492303f00d8e8beb957dc780"],"dstIndex":4,"srcIndex":5},{"address":["sourcecred","github","AUTHORS","5","sourcecred","github","USERLIKE","BOT","credbot","4","sourcecred","github","COMMIT","MDY6Q29tbWl0MTIzMjU1MDA2OmM0MzBiZDc0NDU1MTA1Zjc3MjE1ZWNlNTE5NDUwOTRjZWVlZTZjODY="],"dstIndex":28,"srcIndex":47},{"address":["sourcecred","github","AUTHORS","5","sourcecred","github","USERLIKE","BOT","credbot","8","sourcecred","github","COMMENT","ISSUE","sourcecred","example-github","6","417104047"],"dstIndex":21,"srcIndex":47},{"address":["sourcecred","github","AUTHORS","5","sourcecred","github","USERLIKE","USER","decentralion","4","sourcecred","github","COMMIT","MDY6Q29tbWl0MTIzMjU1MDA2OjBhMjIzMzQ2YjRlNmRlYzAxMjdiMWU2YWE4OTJjNGVlMDQyNGI2NmE="],"dstIndex":25,"srcIndex":48},{"address":["sourcecred","github","AUTHORS","5","sourcecred","github","USERLIKE","USER","decentralion","4","sourcecred","github","COMMIT","MDY6Q29tbWl0MTIzMjU1MDA2OjZkNWIzYWEzMWViYjY4YTA2Y2ViNDZiYmQ2Y2Y0OWI2Y2NkNmY1ZTY="],"dstIndex":27,"srcIndex":48},{"address":["sourcecred","github","AUTHORS","5","sourcecred","github","USERLIKE","USER","decentralion","4","sourcecred","github","COMMIT","MDY6Q29tbWl0MTIzMjU1MDA2OmVjOTFhZGI3MThhNjA0NWI0OTIzMDNmMDBkOGU4YmViOTU3ZGM3ODA="],"dstIndex":29,"srcIndex":48},{"address":["sourcecred","github","AUTHORS","5","sourcecred","github","USERLIKE","USER","decentralion","4","sourcecred","github","COMMIT","MDY6Q29tbWl0MTIzMjU1MDA2OmVjYzg4OWRjOTRjZjZkYTE3YWU2ZWFiNWJiN2I3MTU1ZjU3NzUxOWQ="],"dstIndex":30,"srcIndex":48},{"address":["sourcecred","github","AUTHORS","5","sourcecred","github","USERLIKE","USER","decentralion","6","sourcecred","github","ISSUE","sourcecred","example-github","1"],"dstIndex":31,"srcIndex":48},{"address":["sourcecred","github","AUTHORS","5","sourcecred","github","USERLIKE","USER","decentralion","6","sourcecred","github","ISSUE","sourcecred","example-github","10"],"dstIndex":32,"srcIndex":48},{"address":["sourcecred","github","AUTHORS","5","sourcecred","github","USERLIKE","USER","decentralion","6","sourcecred","github","ISSUE","sourcecred","example-github","12"],"dstIndex":34,"srcIndex":48},{"address":["sourcecred","github","AUTHORS","5","sourcecred","github","USERLIKE","USER","decentralion","6","sourcecred","github","ISSUE","sourcecred","example-github","13"],"dstIndex":35,"srcIndex":48},{"address":["sourcecred","github","AUTHORS","5","sourcecred","github","USERLIKE","USER","decentralion","6","sourcecred","github","ISSUE","sourcecred","example-github","2"],"dstIndex":36,"srcIndex":48},{"address":["sourcecred","github","AUTHORS","5","sourcecred","github","USERLIKE","USER","decentralion","6","sourcecred","github","ISSUE","sourcecred","example-github","4"],"dstIndex":37,"srcIndex":48},{"address":["sourcecred","github","AUTHORS","5","sourcecred","github","USERLIKE","USER","decentralion","6","sourcecred","github","ISSUE","sourcecred","example-github","6"],"dstIndex":38,"srcIndex":48},{"address":["sourcecred","github","AUTHORS","5","sourcecred","github","USERLIKE","USER","decentralion","6","sourcecred","github","ISSUE","sourcecred","example-github","7"],"dstIndex":39,"srcIndex":48},{"address":["sourcecred","github","AUTHORS","5","sourcecred","github","USERLIKE","USER","decentralion","6","sourcecred","github","ISSUE","sourcecred","example-github","8"],"dstIndex":40,"srcIndex":48},{"address":["sourcecred","github","AUTHORS","5","sourcecred","github","USERLIKE","USER","decentralion","6","sourcecred","github","PULL","sourcecred","example-github","3"],"dstIndex":41,"srcIndex":48},{"address":["sourcecred","github","AUTHORS","5","sourcecred","github","USERLIKE","USER","decentralion","6","sourcecred","github","PULL","sourcecred","example-github","5"],"dstIndex":42,"srcIndex":48},{"address":["sourcecred","github","AUTHORS","5","sourcecred","github","USERLIKE","USER","decentralion","6","sourcecred","github","PULL","sourcecred","example-github","9"],"dstIndex":43,"srcIndex":48},{"address":["sourcecred","github","AUTHORS","5","sourcecred","github","USERLIKE","USER","decentralion","8","sourcecred","github","COMMENT","ISSUE","sourcecred","example-github","11","420813621"],"dstIndex":9,"srcIndex":48},{"address":["sourcecred","github","AUTHORS","5","sourcecred","github","USERLIKE","USER","decentralion","8","sourcecred","github","COMMENT","ISSUE","sourcecred","example-github","2","373768703"],"dstIndex":10,"srcIndex":48},{"address":["sourcecred","github","AUTHORS","5","sourcecred","github","USERLIKE","USER","decentralion","8","sourcecred","github","COMMENT","ISSUE","sourcecred","example-github","2","373768850"],"dstIndex":11,"srcIndex":48},{"address":["sourcecred","github","AUTHORS","5","sourcecred","github","USERLIKE","USER","decentralion","8","sourcecred","github","COMMENT","ISSUE","sourcecred","example-github","2","385576185"],"dstIndex":12,"srcIndex":48},{"address":["sourcecred","github","AUTHORS","5","sourcecred","github","USERLIKE","USER","decentralion","8","sourcecred","github","COMMENT","ISSUE","sourcecred","example-github","2","385576220"],"dstIndex":13,"srcIndex":48},{"address":["sourcecred","github","AUTHORS","5","sourcecred","github","USERLIKE","USER","decentralion","8","sourcecred","github","COMMENT","ISSUE","sourcecred","example-github","2","385576248"],"dstIndex":14,"srcIndex":48},{"address":["sourcecred","github","AUTHORS","5","sourcecred","github","USERLIKE","USER","decentralion","8","sourcecred","github","COMMENT","ISSUE","sourcecred","example-github","2","385576273"],"dstIndex":15,"srcIndex":48},{"address":["sourcecred","github","AUTHORS","5","sourcecred","github","USERLIKE","USER","decentralion","8","sourcecred","github","COMMENT","ISSUE","sourcecred","example-github","2","385576920"],"dstIndex":16,"srcIndex":48},{"address":["sourcecred","github","AUTHORS","5","sourcecred","github","USERLIKE","USER","decentralion","8","sourcecred","github","COMMENT","ISSUE","sourcecred","example-github","2","385576936"],"dstIndex":17,"srcIndex":48},{"address":["sourcecred","github","AUTHORS","5","sourcecred","github","USERLIKE","USER","decentralion","8","sourcecred","github","COMMENT","ISSUE","sourcecred","example-github","6","373768442"],"dstIndex":18,"srcIndex":48},{"address":["sourcecred","github","AUTHORS","5","sourcecred","github","USERLIKE","USER","decentralion","8","sourcecred","github","COMMENT","ISSUE","sourcecred","example-github","6","373768538"],"dstIndex":19,"srcIndex":48},{"address":["sourcecred","github","AUTHORS","5","sourcecred","github","USERLIKE","USER","decentralion","8","sourcecred","github","COMMENT","ISSUE","sourcecred","example-github","6","385223316"],"dstIndex":20,"srcIndex":48},{"address":["sourcecred","github","AUTHORS","5","sourcecred","github","USERLIKE","USER","decentralion","8","sourcecred","github","COMMENT","PULL","sourcecred","example-github","3","369162222"],"dstIndex":22,"srcIndex":48},{"address":["sourcecred","github","AUTHORS","5","sourcecred","github","USERLIKE","USER","wchargin","6","sourcecred","github","ISSUE","sourcecred","example-github","10"],"dstIndex":32,"srcIndex":49},{"address":["sourcecred","github","AUTHORS","5","sourcecred","github","USERLIKE","USER","wchargin","6","sourcecred","github","ISSUE","sourcecred","example-github","11"],"dstIndex":33,"srcIndex":49},{"address":["sourcecred","github","AUTHORS","5","sourcecred","github","USERLIKE","USER","wchargin","6","sourcecred","github","PULL","sourcecred","example-github","9"],"dstIndex":43,"srcIndex":49},{"address":["sourcecred","github","AUTHORS","5","sourcecred","github","USERLIKE","USER","wchargin","7","sourcecred","github","REVIEW","sourcecred","example-github","5","100313899"],"dstIndex":45,"srcIndex":49},{"address":["sourcecred","github","AUTHORS","5","sourcecred","github","USERLIKE","USER","wchargin","7","sourcecred","github","REVIEW","sourcecred","example-github","5","100314038"],"dstIndex":46,"srcIndex":49},{"address":["sourcecred","github","AUTHORS","5","sourcecred","github","USERLIKE","USER","wchargin","8","sourcecred","github","COMMENT","ISSUE","sourcecred","example-github","11","420813013"],"dstIndex":7,"srcIndex":49},{"address":["sourcecred","github","AUTHORS","5","sourcecred","github","USERLIKE","USER","wchargin","8","sourcecred","github","COMMENT","PULL","sourcecred","example-github","5","396430464"],"dstIndex":23,"srcIndex":49},{"address":["sourcecred","github","AUTHORS","5","sourcecred","github","USERLIKE","USER","wchargin","9","sourcecred","github","COMMENT","REVIEW","sourcecred","example-github","5","100313899","171460198"],"dstIndex":24,"srcIndex":49},{"address":["sourcecred","github","CORRESPONDS_TO_COMMIT_TYPE","4","sourcecred","github","COMMIT","MDY6Q29tbWl0MTIzMjU1MDA2OjBhMjIzMzQ2YjRlNmRlYzAxMjdiMWU2YWE4OTJjNGVlMDQyNGI2NmE="],"dstIndex":0,"srcIndex":25},{"address":["sourcecred","github","CORRESPONDS_TO_COMMIT_TYPE","4","sourcecred","github","COMMIT","MDY6Q29tbWl0MTIzMjU1MDA2OjZiZDFiNGMwYjcxOWMyMmM2ODhhNzQ4NjNiZTA3YTY5OWI3YjliMzQ="],"dstIndex":1,"srcIndex":26},{"address":["sourcecred","github","CORRESPONDS_TO_COMMIT_TYPE","4","sourcecred","github","COMMIT","MDY6Q29tbWl0MTIzMjU1MDA2OjZkNWIzYWEzMWViYjY4YTA2Y2ViNDZiYmQ2Y2Y0OWI2Y2NkNmY1ZTY="],"dstIndex":2,"srcIndex":27},{"address":["sourcecred","github","CORRESPONDS_TO_COMMIT_TYPE","4","sourcecred","github","COMMIT","MDY6Q29tbWl0MTIzMjU1MDA2OmM0MzBiZDc0NDU1MTA1Zjc3MjE1ZWNlNTE5NDUwOTRjZWVlZTZjODY="],"dstIndex":3,"srcIndex":28},{"address":["sourcecred","github","CORRESPONDS_TO_COMMIT_TYPE","4","sourcecred","github","COMMIT","MDY6Q29tbWl0MTIzMjU1MDA2OmVjOTFhZGI3MThhNjA0NWI0OTIzMDNmMDBkOGU4YmViOTU3ZGM3ODA="],"dstIndex":4,"srcIndex":29},{"address":["sourcecred","github","CORRESPONDS_TO_COMMIT_TYPE","4","sourcecred","github","COMMIT","MDY6Q29tbWl0MTIzMjU1MDA2OmVjYzg4OWRjOTRjZjZkYTE3YWU2ZWFiNWJiN2I3MTU1ZjU3NzUxOWQ="],"dstIndex":5,"srcIndex":30},{"address":["sourcecred","github","HAS_PARENT","6","sourcecred","github","ISSUE","sourcecred","example-github","1"],"dstIndex":44,"srcIndex":31},{"address":["sourcecred","github","HAS_PARENT","6","sourcecred","github","ISSUE","sourcecred","example-github","10"],"dstIndex":44,"srcIndex":32},{"address":["sourcecred","github","HAS_PARENT","6","sourcecred","github","ISSUE","sourcecred","example-github","11"],"dstIndex":44,"srcIndex":33},{"address":["sourcecred","github","HAS_PARENT","6","sourcecred","github","ISSUE","sourcecred","example-github","12"],"dstIndex":44,"srcIndex":34},{"address":["sourcecred","github","HAS_PARENT","6","sourcecred","github","ISSUE","sourcecred","example-github","13"],"dstIndex":44,"srcIndex":35},{"address":["sourcecred","github","HAS_PARENT","6","sourcecred","github","ISSUE","sourcecred","example-github","2"],"dstIndex":44,"srcIndex":36},{"address":["sourcecred","github","HAS_PARENT","6","sourcecred","github","ISSUE","sourcecred","example-github","4"],"dstIndex":44,"srcIndex":37},{"address":["sourcecred","github","HAS_PARENT","6","sourcecred","github","ISSUE","sourcecred","example-github","6"],"dstIndex":44,"srcIndex":38},{"address":["sourcecred","github","HAS_PARENT","6","sourcecred","github","ISSUE","sourcecred","example-github","7"],"dstIndex":44,"srcIndex":39},{"address":["sourcecred","github","HAS_PARENT","6","sourcecred","github","ISSUE","sourcecred","example-github","8"],"dstIndex":44,"srcIndex":40},{"address":["sourcecred","github","HAS_PARENT","6","sourcecred","github","PULL","sourcecred","example-github","3"],"dstIndex":44,"srcIndex":41},{"address":["sourcecred","github","HAS_PARENT","6","sourcecred","github","PULL","sourcecred","example-github","5"],"dstIndex":44,"srcIndex":42},{"address":["sourcecred","github","HAS_PARENT","6","sourcecred","github","PULL","sourcecred","example-github","9"],"dstIndex":44,"srcIndex":43},{"address":["sourcecred","github","HAS_PARENT","7","sourcecred","github","REVIEW","sourcecred","example-github","5","100313899"],"dstIndex":42,"srcIndex":45},{"address":["sourcecred","github","HAS_PARENT","7","sourcecred","github","REVIEW","sourcecred","example-github","5","100314038"],"dstIndex":42,"srcIndex":46},{"address":["sourcecred","github","HAS_PARENT","8","sourcecred","github","COMMENT","ISSUE","sourcecred","example-github","11","420811872"],"dstIndex":33,"srcIndex":6},{"address":["sourcecred","github","HAS_PARENT","8","sourcecred","github","COMMENT","ISSUE","sourcecred","example-github","11","420813013"],"dstIndex":33,"srcIndex":7},{"address":["sourcecred","github","HAS_PARENT","8","sourcecred","github","COMMENT","ISSUE","sourcecred","example-github","11","420813206"],"dstIndex":33,"srcIndex":8},{"address":["sourcecred","github","HAS_PARENT","8","sourcecred","github","COMMENT","ISSUE","sourcecred","example-github","11","420813621"],"dstIndex":33,"srcIndex":9},{"address":["sourcecred","github","HAS_PARENT","8","sourcecred","github","COMMENT","ISSUE","sourcecred","example-github","2","373768703"],"dstIndex":36,"srcIndex":10},{"address":["sourcecred","github","HAS_PARENT","8","sourcecred","github","COMMENT","ISSUE","sourcecred","example-github","2","373768850"],"dstIndex":36,"srcIndex":11},{"address":["sourcecred","github","HAS_PARENT","8","sourcecred","github","COMMENT","ISSUE","sourcecred","example-github","2","385576185"],"dstIndex":36,"srcIndex":12},{"address":["sourcecred","github","HAS_PARENT","8","sourcecred","github","COMMENT","ISSUE","sourcecred","example-github","2","385576220"],"dstIndex":36,"srcIndex":13},{"address":["sourcecred","github","HAS_PARENT","8","sourcecred","github","COMMENT","ISSUE","sourcecred","example-github","2","385576248"],"dstIndex":36,"srcIndex":14},{"address":["sourcecred","github","HAS_PARENT","8","sourcecred","github","COMMENT","ISSUE","sourcecred","example-github","2","385576273"],"dstIndex":36,"srcIndex":15},{"address":["sourcecred","github","HAS_PARENT","8","sourcecred","github","COMMENT","ISSUE","sourcecred","example-github","2","385576920"],"dstIndex":36,"srcIndex":16},{"address":["sourcecred","github","HAS_PARENT","8","sourcecred","github","COMMENT","ISSUE","sourcecred","example-github","2","385576936"],"dstIndex":36,"srcIndex":17},{"address":["sourcecred","github","HAS_PARENT","8","sourcecred","github","COMMENT","ISSUE","sourcecred","example-github","6","373768442"],"dstIndex":38,"srcIndex":18},{"address":["sourcecred","github","HAS_PARENT","8","sourcecred","github","COMMENT","ISSUE","sourcecred","example-github","6","373768538"],"dstIndex":38,"srcIndex":19},{"address":["sourcecred","github","HAS_PARENT","8","sourcecred","github","COMMENT","ISSUE","sourcecred","example-github","6","385223316"],"dstIndex":38,"srcIndex":20},{"address":["sourcecred","github","HAS_PARENT","8","sourcecred","github","COMMENT","ISSUE","sourcecred","example-github","6","417104047"],"dstIndex":38,"srcIndex":21},{"address":["sourcecred","github","HAS_PARENT","8","sourcecred","github","COMMENT","PULL","sourcecred","example-github","3","369162222"],"dstIndex":41,"srcIndex":22},{"address":["sourcecred","github","HAS_PARENT","8","sourcecred","github","COMMENT","PULL","sourcecred","example-github","5","396430464"],"dstIndex":42,"srcIndex":23},{"address":["sourcecred","github","HAS_PARENT","9","sourcecred","github","COMMENT","REVIEW","sourcecred","example-github","5","100313899","171460198"],"dstIndex":45,"srcIndex":24},{"address":["sourcecred","github","MENTIONS_AUTHOR","6","sourcecred","github","PULL","sourcecred","example-github","5","8","sourcecred","github","COMMENT","PULL","sourcecred","example-github","5","396430464","5","sourcecred","github","USERLIKE","USER","wchargin"],"dstIndex":23,"srcIndex":42},{"address":["sourcecred","github","MERGED_AS","6","sourcecred","github","PULL","sourcecred","example-github","3"],"dstIndex":25,"srcIndex":41},{"address":["sourcecred","github","MERGED_AS","6","sourcecred","github","PULL","sourcecred","example-github","5"],"dstIndex":27,"srcIndex":42},{"address":["sourcecred","github","REACTS","HEART","5","sourcecred","github","USERLIKE","USER","decentralion","6","sourcecred","github","ISSUE","sourcecred","example-github","1"],"dstIndex":31,"srcIndex":48},{"address":["sourcecred","github","REACTS","HEART","5","sourcecred","github","USERLIKE","USER","decentralion","6","sourcecred","github","ISSUE","sourcecred","example-github","13"],"dstIndex":35,"srcIndex":48},{"address":["sourcecred","github","REACTS","HEART","5","sourcecred","github","USERLIKE","USER","decentralion","6","sourcecred","github","PULL","sourcecred","example-github","9"],"dstIndex":43,"srcIndex":48},{"address":["sourcecred","github","REACTS","HEART","5","sourcecred","github","USERLIKE","USER","decentralion","8","sourcecred","github","COMMENT","PULL","sourcecred","example-github","5","396430464"],"dstIndex":23,"srcIndex":48},{"address":["sourcecred","github","REACTS","HEART","5","sourcecred","github","USERLIKE","USER","decentralion","9","sourcecred","github","COMMENT","REVIEW","sourcecred","example-github","5","100313899","171460198"],"dstIndex":24,"srcIndex":48},{"address":["sourcecred","github","REACTS","HEART","5","sourcecred","github","USERLIKE","USER","wchargin","9","sourcecred","github","COMMENT","REVIEW","sourcecred","example-github","5","100313899","171460198"],"dstIndex":24,"srcIndex":49},{"address":["sourcecred","github","REACTS","HOORAY","5","sourcecred","github","USERLIKE","USER","decentralion","6","sourcecred","github","ISSUE","sourcecred","example-github","13"],"dstIndex":35,"srcIndex":48},{"address":["sourcecred","github","REACTS","HOORAY","5","sourcecred","github","USERLIKE","USER","decentralion","8","sourcecred","github","COMMENT","ISSUE","sourcecred","example-github","11","420813206"],"dstIndex":8,"srcIndex":48},{"address":["sourcecred","github","REACTS","HOORAY","5","sourcecred","github","USERLIKE","USER","decentralion","9","sourcecred","github","COMMENT","REVIEW","sourcecred","example-github","5","100313899","171460198"],"dstIndex":24,"srcIndex":48},{"address":["sourcecred","github","REACTS","HOORAY","5","sourcecred","github","USERLIKE","USER","wchargin","9","sourcecred","github","COMMENT","REVIEW","sourcecred","example-github","5","100313899","171460198"],"dstIndex":24,"srcIndex":49},{"address":["sourcecred","github","REACTS","ROCKET","5","sourcecred","github","USERLIKE","USER","decentralion","6","sourcecred","github","ISSUE","sourcecred","example-github","13"],"dstIndex":35,"srcIndex":48},{"address":["sourcecred","github","REACTS","THUMBS_UP","5","sourcecred","github","USERLIKE","USER","decentralion","6","sourcecred","github","ISSUE","sourcecred","example-github","12"],"dstIndex":34,"srcIndex":48},{"address":["sourcecred","github","REACTS","THUMBS_UP","5","sourcecred","github","USERLIKE","USER","decentralion","6","sourcecred","github","ISSUE","sourcecred","example-github","13"],"dstIndex":35,"srcIndex":48},{"address":["sourcecred","github","REACTS","THUMBS_UP","5","sourcecred","github","USERLIKE","USER","decentralion","6","sourcecred","github","PULL","sourcecred","example-github","9"],"dstIndex":43,"srcIndex":48},{"address":["sourcecred","github","REACTS","THUMBS_UP","5","sourcecred","github","USERLIKE","USER","decentralion","8","sourcecred","github","COMMENT","ISSUE","sourcecred","example-github","11","420813206"],"dstIndex":8,"srcIndex":48},{"address":["sourcecred","github","REACTS","THUMBS_UP","5","sourcecred","github","USERLIKE","USER","decentralion","9","sourcecred","github","COMMENT","REVIEW","sourcecred","example-github","5","100313899","171460198"],"dstIndex":24,"srcIndex":48},{"address":["sourcecred","github","REACTS","THUMBS_UP","5","sourcecred","github","USERLIKE","USER","wchargin","9","sourcecred","github","COMMENT","REVIEW","sourcecred","example-github","5","100313899","171460198"],"dstIndex":24,"srcIndex":49},{"address":["sourcecred","github","REFERENCES","4","sourcecred","github","COMMIT","MDY6Q29tbWl0MTIzMjU1MDA2OjBhMjIzMzQ2YjRlNmRlYzAxMjdiMWU2YWE4OTJjNGVlMDQyNGI2NmE=","6","sourcecred","github","PULL","sourcecred","example-github","3"],"dstIndex":41,"srcIndex":25},{"address":["sourcecred","github","REFERENCES","4","sourcecred","github","COMMIT","MDY6Q29tbWl0MTIzMjU1MDA2OjZiZDFiNGMwYjcxOWMyMmM2ODhhNzQ4NjNiZTA3YTY5OWI3YjliMzQ=","5","sourcecred","github","USERLIKE","USER","wchargin"],"dstIndex":49,"srcIndex":26},{"address":["sourcecred","github","REFERENCES","4","sourcecred","github","COMMIT","MDY6Q29tbWl0MTIzMjU1MDA2OjZkNWIzYWEzMWViYjY4YTA2Y2ViNDZiYmQ2Y2Y0OWI2Y2NkNmY1ZTY=","6","sourcecred","github","PULL","sourcecred","example-github","5"],"dstIndex":42,"srcIndex":27},{"address":["sourcecred","github","REFERENCES","4","sourcecred","github","COMMIT","MDY6Q29tbWl0MTIzMjU1MDA2OmM0MzBiZDc0NDU1MTA1Zjc3MjE1ZWNlNTE5NDUwOTRjZWVlZTZjODY=","5","sourcecred","github","USERLIKE","USER","wchargin"],"dstIndex":49,"srcIndex":28},{"address":["sourcecred","github","REFERENCES","6","sourcecred","github","ISSUE","sourcecred","example-github","10","6","sourcecred","github","ISSUE","sourcecred","example-github","10"],"dstIndex":32,"srcIndex":32},{"address":["sourcecred","github","REFERENCES","6","sourcecred","github","ISSUE","sourcecred","example-github","10","6","sourcecred","github","ISSUE","sourcecred","example-github","2"],"dstIndex":36,"srcIndex":32},{"address":["sourcecred","github","REFERENCES","6","sourcecred","github","ISSUE","sourcecred","example-github","12","4","sourcecred","github","COMMIT","MDY6Q29tbWl0MTIzMjU1MDA2OmVjOTFhZGI3MThhNjA0NWI0OTIzMDNmMDBkOGU4YmViOTU3ZGM3ODA="],"dstIndex":29,"srcIndex":34},{"address":["sourcecred","github","REFERENCES","6","sourcecred","github","ISSUE","sourcecred","example-github","12","4","sourcecred","github","COMMIT","MDY6Q29tbWl0MTIzMjU1MDA2OmVjYzg4OWRjOTRjZjZkYTE3YWU2ZWFiNWJiN2I3MTU1ZjU3NzUxOWQ="],"dstIndex":30,"srcIndex":34},{"address":["sourcecred","github","REFERENCES","6","sourcecred","github","ISSUE","sourcecred","example-github","2","6","sourcecred","github","ISSUE","sourcecred","example-github","1"],"dstIndex":31,"srcIndex":36},{"address":["sourcecred","github","REFERENCES","6","sourcecred","github","PULL","sourcecred","example-github","5","5","sourcecred","github","USERLIKE","USER","wchargin"],"dstIndex":49,"srcIndex":42},{"address":["sourcecred","github","REFERENCES","8","sourcecred","github","COMMENT","ISSUE","sourcecred","example-github","2","373768703","6","sourcecred","github","ISSUE","sourcecred","example-github","6"],"dstIndex":38,"srcIndex":10},{"address":["sourcecred","github","REFERENCES","8","sourcecred","github","COMMENT","ISSUE","sourcecred","example-github","2","373768850","8","sourcecred","github","COMMENT","ISSUE","sourcecred","example-github","6","373768538"],"dstIndex":19,"srcIndex":11},{"address":["sourcecred","github","REFERENCES","8","sourcecred","github","COMMENT","ISSUE","sourcecred","example-github","2","385576185","6","sourcecred","github","PULL","sourcecred","example-github","5"],"dstIndex":42,"srcIndex":12},{"address":["sourcecred","github","REFERENCES","8","sourcecred","github","COMMENT","ISSUE","sourcecred","example-github","2","385576220","7","sourcecred","github","REVIEW","sourcecred","example-github","5","100313899"],"dstIndex":45,"srcIndex":13},{"address":["sourcecred","github","REFERENCES","8","sourcecred","github","COMMENT","ISSUE","sourcecred","example-github","2","385576248","9","sourcecred","github","COMMENT","REVIEW","sourcecred","example-github","5","100313899","171460198"],"dstIndex":24,"srcIndex":14},{"address":["sourcecred","github","REFERENCES","8","sourcecred","github","COMMENT","ISSUE","sourcecred","example-github","2","385576273","5","sourcecred","github","USERLIKE","USER","wchargin"],"dstIndex":49,"srcIndex":15},{"address":["sourcecred","github","REFERENCES","8","sourcecred","github","COMMENT","ISSUE","sourcecred","example-github","2","385576920","6","sourcecred","github","ISSUE","sourcecred","example-github","1"],"dstIndex":31,"srcIndex":16},{"address":["sourcecred","github","REFERENCES","8","sourcecred","github","COMMENT","ISSUE","sourcecred","example-github","2","385576920","6","sourcecred","github","ISSUE","sourcecred","example-github","2"],"dstIndex":36,"srcIndex":16},{"address":["sourcecred","github","REFERENCES","8","sourcecred","github","COMMENT","ISSUE","sourcecred","example-github","2","385576920","6","sourcecred","github","PULL","sourcecred","example-github","3"],"dstIndex":41,"srcIndex":16},{"address":["sourcecred","github","REFERENCES","8","sourcecred","github","COMMENT","ISSUE","sourcecred","example-github","2","385576920","7","sourcecred","github","REVIEW","sourcecred","example-github","5","100313899"],"dstIndex":45,"srcIndex":16},{"address":["sourcecred","github","REFERENCES","8","sourcecred","github","COMMENT","ISSUE","sourcecred","example-github","2","385576920","9","sourcecred","github","COMMENT","REVIEW","sourcecred","example-github","5","100313899","171460198"],"dstIndex":24,"srcIndex":16},{"address":["sourcecred","github","REFERENCES","8","sourcecred","github","COMMENT","ISSUE","sourcecred","example-github","6","385223316","6","sourcecred","github","ISSUE","sourcecred","example-github","2"],"dstIndex":36,"srcIndex":20},{"address":["sourcecred","github","REFERENCES","8","sourcecred","github","COMMENT","PULL","sourcecred","example-github","3","369162222","6","sourcecred","github","ISSUE","sourcecred","example-github","2"],"dstIndex":36,"srcIndex":22}],"nodes":[["sourcecred","git","COMMIT","0a223346b4e6dec0127b1e6aa892c4ee0424b66a"],["sourcecred","git","COMMIT","6bd1b4c0b719c22c688a74863be07a699b7b9b34"],["sourcecred","git","COMMIT","6d5b3aa31ebb68a06ceb46bbd6cf49b6ccd6f5e6"],["sourcecred","git","COMMIT","c430bd74455105f77215ece51945094ceeee6c86"],["sourcecred","git","COMMIT","ec91adb718a6045b492303f00d8e8beb957dc780"],["sourcecred","git","COMMIT","ecc889dc94cf6da17ae6eab5bb7b7155f577519d"],["sourcecred","github","COMMENT","ISSUE","sourcecred","example-github","11","420811872"],["sourcecred","github","COMMENT","ISSUE","sourcecred","example-github","11","420813013"],["sourcecred","github","COMMENT","ISSUE","sourcecred","example-github","11","420813206"],["sourcecred","github","COMMENT","ISSUE","sourcecred","example-github","11","420813621"],["sourcecred","github","COMMENT","ISSUE","sourcecred","example-github","2","373768703"],["sourcecred","github","COMMENT","ISSUE","sourcecred","example-github","2","373768850"],["sourcecred","github","COMMENT","ISSUE","sourcecred","example-github","2","385576185"],["sourcecred","github","COMMENT","ISSUE","sourcecred","example-github","2","385576220"],["sourcecred","github","COMMENT","ISSUE","sourcecred","example-github","2","385576248"],["sourcecred","github","COMMENT","ISSUE","sourcecred","example-github","2","385576273"],["sourcecred","github","COMMENT","ISSUE","sourcecred","example-github","2","385576920"],["sourcecred","github","COMMENT","ISSUE","sourcecred","example-github","2","385576936"],["sourcecred","github","COMMENT","ISSUE","sourcecred","example-github","6","373768442"],["sourcecred","github","COMMENT","ISSUE","sourcecred","example-github","6","373768538"],["sourcecred","github","COMMENT","ISSUE","sourcecred","example-github","6","385223316"],["sourcecred","github","COMMENT","ISSUE","sourcecred","example-github","6","417104047"],["sourcecred","github","COMMENT","PULL","sourcecred","example-github","3","369162222"],["sourcecred","github","COMMENT","PULL","sourcecred","example-github","5","396430464"],["sourcecred","github","COMMENT","REVIEW","sourcecred","example-github","5","100313899","171460198"],["sourcecred","github","COMMIT","MDY6Q29tbWl0MTIzMjU1MDA2OjBhMjIzMzQ2YjRlNmRlYzAxMjdiMWU2YWE4OTJjNGVlMDQyNGI2NmE="],["sourcecred","github","COMMIT","MDY6Q29tbWl0MTIzMjU1MDA2OjZiZDFiNGMwYjcxOWMyMmM2ODhhNzQ4NjNiZTA3YTY5OWI3YjliMzQ="],["sourcecred","github","COMMIT","MDY6Q29tbWl0MTIzMjU1MDA2OjZkNWIzYWEzMWViYjY4YTA2Y2ViNDZiYmQ2Y2Y0OWI2Y2NkNmY1ZTY="],["sourcecred","github","COMMIT","MDY6Q29tbWl0MTIzMjU1MDA2OmM0MzBiZDc0NDU1MTA1Zjc3MjE1ZWNlNTE5NDUwOTRjZWVlZTZjODY="],["sourcecred","github","COMMIT","MDY6Q29tbWl0MTIzMjU1MDA2OmVjOTFhZGI3MThhNjA0NWI0OTIzMDNmMDBkOGU4YmViOTU3ZGM3ODA="],["sourcecred","github","COMMIT","MDY6Q29tbWl0MTIzMjU1MDA2OmVjYzg4OWRjOTRjZjZkYTE3YWU2ZWFiNWJiN2I3MTU1ZjU3NzUxOWQ="],["sourcecred","github","ISSUE","sourcecred","example-github","1"],["sourcecred","github","ISSUE","sourcecred","example-github","10"],["sourcecred","github","ISSUE","sourcecred","example-github","11"],["sourcecred","github","ISSUE","sourcecred","example-github","12"],["sourcecred","github","ISSUE","sourcecred","example-github","13"],["sourcecred","github","ISSUE","sourcecred","example-github","2"],["sourcecred","github","ISSUE","sourcecred","example-github","4"],["sourcecred","github","ISSUE","sourcecred","example-github","6"],["sourcecred","github","ISSUE","sourcecred","example-github","7"],["sourcecred","github","ISSUE","sourcecred","example-github","8"],["sourcecred","github","PULL","sourcecred","example-github","3"],["sourcecred","github","PULL","sourcecred","example-github","5"],["sourcecred","github","PULL","sourcecred","example-github","9"],["sourcecred","github","REPO","sourcecred","example-github"],["sourcecred","github","REVIEW","sourcecred","example-github","5","100313899"],["sourcecred","github","REVIEW","sourcecred","example-github","5","100314038"],["sourcecred","github","USERLIKE","BOT","credbot"],["sourcecred","github","USERLIKE","USER","decentralion"],["sourcecred","github","USERLIKE","USER","wchargin"]]}],"scores":[0.015979570860160434,0.003270448110432993,0.008322689385414835,0.006358218709817499,0.014381715262507568,0.014381715262507568,0.001307964551655821,0.0034180314613932615,0.006159065562134632,0.001792775956508242,0.0012738373746395823,0.0012739010537241129,0.0012737645985429697,0.0012739010537241129,0.0012739010537241129,0.0012739010537241129,0.0012736806261237927,0.0012740071855316523,0.001366995828347641,0.001685497382773213,0.0013668136231272032,0.000990153832353218,0.0022522154677408505,0.015361487759738487,0.04004931826525328,0.006301977523036958,0.001090166126426326,0.006673439529734364,0.0013798712884196453,0.006095469491496587,0.006095469491496587,0.02758015533268084,0.0267641810128188,0.031380707399669076,0.019132246952205872,0.03271235000874535,0.028396912257029276,0.01719348150369817,0.021163679777712493,0.01719348150369817,0.01719348150369817,0.04064867188354657,0.07465086438757786,0.0544643132809489,0.2595576433649108,0.02480719002565119,0.004372328653059505,0.00021629705406971155,0.0693370972528534,0.05696295211321166],"syntheticLoopWeight":0.001,"toWeights":[2,2,2,2,2,2,0.5,0.5,0.5,0.5,0.5,0.5,1,1,1,1,1,1,1,1,1,2,2,2,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,1,1,2,0.5,0.5,0.5,0.5,0.5,2,2,2,2,2,2,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,4,4,1,1,0.5,0.5,4,4,8,2,2,2,8,4,4,4,2,2,2,4,1,1,1,4,1,4,1,2,2,1,1,2,1,2,1,4,1,1,1,2,2,4,1,1,2,2]}] \ No newline at end of file diff --git a/sharness/__snapshots__/example-github-load/data/sourcecred/example-github/timestamps.json b/sharness/__snapshots__/example-github-load/data/sourcecred/example-github/timestamps.json deleted file mode 100644 index a772e36..0000000 --- a/sharness/__snapshots__/example-github-load/data/sourcecred/example-github/timestamps.json +++ /dev/null @@ -1 +0,0 @@ -{"N\u0000sourcecred\u0000git\u0000COMMIT\u00000a223346b4e6dec0127b1e6aa892c4ee0424b66a\u0000":1519807427000,"N\u0000sourcecred\u0000git\u0000COMMIT\u00006bd1b4c0b719c22c688a74863be07a699b7b9b34\u0000":1536806901000,"N\u0000sourcecred\u0000git\u0000COMMIT\u00006d5b3aa31ebb68a06ceb46bbd6cf49b6ccd6f5e6\u0000":1519878354000,"N\u0000sourcecred\u0000git\u0000COMMIT\u0000c430bd74455105f77215ece51945094ceeee6c86\u0000":1536788634000,"N\u0000sourcecred\u0000git\u0000COMMIT\u0000ec91adb718a6045b492303f00d8e8beb957dc780\u0000":1519807271000,"N\u0000sourcecred\u0000git\u0000COMMIT\u0000ecc889dc94cf6da17ae6eab5bb7b7155f577519d\u0000":1519807329000,"N\u0000sourcecred\u0000github\u0000COMMENT\u0000ISSUE\u0000sourcecred\u0000example-github\u000011\u0000420811872\u0000":1536789545000,"N\u0000sourcecred\u0000github\u0000COMMENT\u0000ISSUE\u0000sourcecred\u0000example-github\u000011\u0000420813013\u0000":1536789813000,"N\u0000sourcecred\u0000github\u0000COMMENT\u0000ISSUE\u0000sourcecred\u0000example-github\u000011\u0000420813206\u0000":1536789858000,"N\u0000sourcecred\u0000github\u0000COMMENT\u0000ISSUE\u0000sourcecred\u0000example-github\u000011\u0000420813621\u0000":1536789965000,"N\u0000sourcecred\u0000github\u0000COMMENT\u0000ISSUE\u0000sourcecred\u0000example-github\u00002\u0000373768703\u0000":1521217693000,"N\u0000sourcecred\u0000github\u0000COMMENT\u0000ISSUE\u0000sourcecred\u0000example-github\u00002\u0000373768850\u0000":1521217725000,"N\u0000sourcecred\u0000github\u0000COMMENT\u0000ISSUE\u0000sourcecred\u0000example-github\u00002\u0000385576185\u0000":1525137909000,"N\u0000sourcecred\u0000github\u0000COMMENT\u0000ISSUE\u0000sourcecred\u0000example-github\u00002\u0000385576220\u0000":1525137925000,"N\u0000sourcecred\u0000github\u0000COMMENT\u0000ISSUE\u0000sourcecred\u0000example-github\u00002\u0000385576248\u0000":1525137939000,"N\u0000sourcecred\u0000github\u0000COMMENT\u0000ISSUE\u0000sourcecred\u0000example-github\u00002\u0000385576273\u0000":1525137951000,"N\u0000sourcecred\u0000github\u0000COMMENT\u0000ISSUE\u0000sourcecred\u0000example-github\u00002\u0000385576920\u0000":1525138231000,"N\u0000sourcecred\u0000github\u0000COMMENT\u0000ISSUE\u0000sourcecred\u0000example-github\u00002\u0000385576936\u0000":1525138238000,"N\u0000sourcecred\u0000github\u0000COMMENT\u0000ISSUE\u0000sourcecred\u0000example-github\u00006\u0000373768442\u0000":1521217642000,"N\u0000sourcecred\u0000github\u0000COMMENT\u0000ISSUE\u0000sourcecred\u0000example-github\u00006\u0000373768538\u0000":1521217661000,"N\u0000sourcecred\u0000github\u0000COMMENT\u0000ISSUE\u0000sourcecred\u0000example-github\u00006\u0000385223316\u0000":1524973307000,"N\u0000sourcecred\u0000github\u0000COMMENT\u0000ISSUE\u0000sourcecred\u0000example-github\u00006\u0000417104047\u0000":1535576390000,"N\u0000sourcecred\u0000github\u0000COMMENT\u0000PULL\u0000sourcecred\u0000example-github\u00003\u0000369162222\u0000":1519807420000,"N\u0000sourcecred\u0000github\u0000COMMENT\u0000PULL\u0000sourcecred\u0000example-github\u00005\u0000396430464\u0000":1528764380000,"N\u0000sourcecred\u0000github\u0000COMMENT\u0000REVIEW\u0000sourcecred\u0000example-github\u00005\u0000100313899\u0000171460198\u0000":1519878210000,"N\u0000sourcecred\u0000github\u0000COMMIT\u0000MDY6Q29tbWl0MTIzMjU1MDA2OjBhMjIzMzQ2YjRlNmRlYzAxMjdiMWU2YWE4OTJjNGVlMDQyNGI2NmE=\u0000":null,"N\u0000sourcecred\u0000github\u0000COMMIT\u0000MDY6Q29tbWl0MTIzMjU1MDA2OjZiZDFiNGMwYjcxOWMyMmM2ODhhNzQ4NjNiZTA3YTY5OWI3YjliMzQ=\u0000":null,"N\u0000sourcecred\u0000github\u0000COMMIT\u0000MDY6Q29tbWl0MTIzMjU1MDA2OjZkNWIzYWEzMWViYjY4YTA2Y2ViNDZiYmQ2Y2Y0OWI2Y2NkNmY1ZTY=\u0000":null,"N\u0000sourcecred\u0000github\u0000COMMIT\u0000MDY6Q29tbWl0MTIzMjU1MDA2OmM0MzBiZDc0NDU1MTA1Zjc3MjE1ZWNlNTE5NDUwOTRjZWVlZTZjODY=\u0000":null,"N\u0000sourcecred\u0000github\u0000COMMIT\u0000MDY6Q29tbWl0MTIzMjU1MDA2OmVjOTFhZGI3MThhNjA0NWI0OTIzMDNmMDBkOGU4YmViOTU3ZGM3ODA=\u0000":null,"N\u0000sourcecred\u0000github\u0000COMMIT\u0000MDY6Q29tbWl0MTIzMjU1MDA2OmVjYzg4OWRjOTRjZjZkYTE3YWU2ZWFiNWJiN2I3MTU1ZjU3NzUxOWQ=\u0000":null,"N\u0000sourcecred\u0000github\u0000ISSUE\u0000sourcecred\u0000example-github\u00001\u0000":1519807088000,"N\u0000sourcecred\u0000github\u0000ISSUE\u0000sourcecred\u0000example-github\u000010\u0000":1530297021000,"N\u0000sourcecred\u0000github\u0000ISSUE\u0000sourcecred\u0000example-github\u000011\u0000":1536789479000,"N\u0000sourcecred\u0000github\u0000ISSUE\u0000sourcecred\u0000example-github\u000012\u0000":1536878086000,"N\u0000sourcecred\u0000github\u0000ISSUE\u0000sourcecred\u0000example-github\u000013\u0000":1536878137000,"N\u0000sourcecred\u0000github\u0000ISSUE\u0000sourcecred\u0000example-github\u00002\u0000":1519807129000,"N\u0000sourcecred\u0000github\u0000ISSUE\u0000sourcecred\u0000example-github\u00004\u0000":1519807454000,"N\u0000sourcecred\u0000github\u0000ISSUE\u0000sourcecred\u0000example-github\u00006\u0000":1521217624000,"N\u0000sourcecred\u0000github\u0000ISSUE\u0000sourcecred\u0000example-github\u00007\u0000":1521569949000,"N\u0000sourcecred\u0000github\u0000ISSUE\u0000sourcecred\u0000example-github\u00008\u0000":1521570243000,"N\u0000sourcecred\u0000github\u0000PULL\u0000sourcecred\u0000example-github\u00003\u0000":1519807399000,"N\u0000sourcecred\u0000github\u0000PULL\u0000sourcecred\u0000example-github\u00005\u0000":1519807636000,"N\u0000sourcecred\u0000github\u0000PULL\u0000sourcecred\u0000example-github\u00009\u0000":1525373595000,"N\u0000sourcecred\u0000github\u0000REPO\u0000sourcecred\u0000example-github\u0000":null,"N\u0000sourcecred\u0000github\u0000REVIEW\u0000sourcecred\u0000example-github\u00005\u0000100313899\u0000":1519878210000,"N\u0000sourcecred\u0000github\u0000REVIEW\u0000sourcecred\u0000example-github\u00005\u0000100314038\u0000":1519878296000,"N\u0000sourcecred\u0000github\u0000USERLIKE\u0000BOT\u0000credbot\u0000":null,"N\u0000sourcecred\u0000github\u0000USERLIKE\u0000USER\u0000decentralion\u0000":null,"N\u0000sourcecred\u0000github\u0000USERLIKE\u0000USER\u0000wchargin\u0000":null} \ No newline at end of file diff --git a/src/cli/load.js b/src/cli/load.js index 74ecd62..9862df9 100644 --- a/src/cli/load.js +++ b/src/cli/load.js @@ -4,6 +4,7 @@ import mkdirp from "mkdirp"; import path from "path"; +import fs from "fs-extra"; import stringify from "json-stable-stringify"; import * as RepoIdRegistry from "../core/repoIdRegistry"; import {repoIdToString, stringToRepoId, type RepoId} from "../core/repoId"; @@ -12,10 +13,6 @@ import type {Command} from "./command"; import * as Common from "./common"; import {loadGraph, type LoadGraphResult} from "../analysis/loadGraph"; import {type IBackendAdapterLoader} from "../analysis/analysisAdapter"; -import { - createTimestampMap, - writeTimestampMap, -} from "../analysis/temporal/timestampMap"; import execDependencyGraph from "../tools/execDependencyGraph"; import {loadGithubData} from "../plugins/github/loadGithubData"; @@ -170,7 +167,7 @@ export function makeLoadCommand( }; } -export type SaveTimestamps = ( +export type SaveGraph = ( $ReadOnlyArray, RepoId ) => Promise; @@ -178,11 +175,11 @@ export type SaveTimestamps = ( /** * A wrapper around the default plugin loader. * - * We wrap so that we can dependency inject saveTimestamps for testability. - * (saveTimestamps depends on the directory state that's generated by running + * We wrap so that we can dependency inject saveGraph for testability. + * (saveGraph depends on the directory state that's generated by running * load.) */ -export const makeLoadDefaultPlugins = (saveTimestamps: SaveTimestamps) => { +export const makeLoadDefaultPlugins = (saveGraph: SaveGraph) => { return async (options: LoadOptions) => { const sourcecredCommand = (args) => [ process.execPath, @@ -212,33 +209,7 @@ export const makeLoadDefaultPlugins = (saveTimestamps: SaveTimestamps) => { throw new Error("Load tasks failed."); } addToRepoIdRegistry(options.output); - await saveTimestamps(defaultAdapterLoaders(), options.output); - // HACK: Logically, we should have the PagerankTask be included in the - // first execDependencyGraph run, depending on the other tasks completing. - // - // However, running pagerank depends on loading the graph - // (analysis/loadGraph), which depends on the relevant repo being present - // in the RepoIdRegistry. And it is only in the RepoIdRegistry after the - // call to execDependencyGraph has been successful. - // - // As a simple hack, we just call execDependencyGraph again with the - // pagerank command after the first one has been successful. This does have - // the awkward effect that CLI users will see two blocks of "task: SUCCESS" - // information from execDependencyGraph. - const pagerankTask = { - id: "run-pagerank", - cmd: sourcecredCommand(["pagerank", repoIdToString(options.output)]), - deps: [], - }; - const {success: pagerankSuccess} = await execDependencyGraph( - [pagerankTask], - { - taskPassLabel: "DONE", - } - ); - if (!pagerankSuccess) { - throw new Error("Pagerank task failed."); - } + await saveGraph(defaultAdapterLoaders(), options.output); return; }; }; @@ -289,14 +260,10 @@ function addToRepoIdRegistry(repoId) { } /** - * Load timestamp data for every node in the serialized graph, - * then write the timestamps to disk. - * - * Note: This function calls well-tested code, but is not itself tested, except - * by the sharness load snapshot test. + * Load the graph (really generate it by merging from the plugins) and then save to disk. * Modify with caution. */ -export async function saveTimestamps( +export async function saveGraph( adapterLoaders: $ReadOnlyArray, repoId: RepoId ) { @@ -309,14 +276,14 @@ export async function saveTimestamps( throw new Error(`Unable to load graph: ${stringify(loadGraphResult)}`); } const {graph} = loadGraphResult; - // We load all the adapters twice (once in loadGraph, once here). - // Could de-duplicate, but it's marginal overhead compared to loading the data. - const adapters = await Promise.all( - adapterLoaders.map((a) => a.load(Common.sourcecredDirectory(), repoId)) + const graphFile = path.join( + Common.sourcecredDirectory(), + "data", + repoIdToString(repoId), + "graph.json" ); - const nodeAddresses = Array.from(graph.nodes()); - const timestampMap = createTimestampMap(nodeAddresses, adapters); - writeTimestampMap(timestampMap, Common.sourcecredDirectory(), repoId); + const graphJSON = graph.toJSON(); + await fs.writeFile(graphFile, stringify(graphJSON)); } export const help: Command = async (args, std) => { @@ -329,7 +296,7 @@ export const help: Command = async (args, std) => { } }; -const loadDefaultPlugins = makeLoadDefaultPlugins(saveTimestamps); +const loadDefaultPlugins = makeLoadDefaultPlugins(saveGraph); const load = makeLoadCommand(loadIndividualPlugin, loadDefaultPlugins); export default load; diff --git a/src/cli/load.test.js b/src/cli/load.test.js index 9f12815..08ec440 100644 --- a/src/cli/load.test.js +++ b/src/cli/load.test.js @@ -474,7 +474,7 @@ describe("cli/load", () => { output: fooCombined, repoIds: [fooBar, fooBaz], }); - expect(execDependencyGraph).toHaveBeenCalledTimes(2); + expect(execDependencyGraph).toHaveBeenCalledTimes(1); const loadTasks = execDependencyGraph.mock.calls[0][0]; expect(loadTasks).toHaveLength(["git", "github"].length); expect(loadTasks.map((task) => task.id)).toEqual( @@ -496,29 +496,6 @@ describe("cli/load", () => { } }); - it("creates a pagerank task after load is successful", async () => { - execDependencyGraph.mockResolvedValue({success: true}); - await loadDefaultPlugins({ - output: fooCombined, - repoIds: [fooBar, fooBaz], - }); - expect(execDependencyGraph).toHaveBeenCalledTimes(2); - const pagerankTasks = execDependencyGraph.mock.calls[1][0]; - expect(pagerankTasks).toHaveLength(1); - const task = pagerankTasks[0]; - expect(task).toEqual({ - id: "run-pagerank", - deps: [], - cmd: [ - expect.stringMatching(/\bnode\b/), - expect.stringMatching(/--max_old_space_size=/), - process.argv[1], - "pagerank", - "foo/combined", - ], - }); - }); - it("updates RepoIdRegistry on success", async () => { const directory = newSourcecredDirectory(); expect(RepoIdRegistry.getRegistry(directory)).toEqual( @@ -538,16 +515,16 @@ describe("cli/load", () => { expect(RepoIdRegistry.getRegistry(directory)).toEqual(expectedRegistry); }); - it("calls saveTimestamps on success", async () => { - const saveTimestamps = jest.fn(); - const loadDefaultPlugins = makeLoadDefaultPlugins(saveTimestamps); + it("calls saveGraph on success", async () => { + const saveGraph = jest.fn(); + const loadDefaultPlugins = makeLoadDefaultPlugins(saveGraph); execDependencyGraph.mockResolvedValue({success: true}); await loadDefaultPlugins({ output: fooCombined, repoIds: [fooBar, fooBaz], }); - expect(saveTimestamps).toHaveBeenCalledTimes(1); - expect(saveTimestamps).toHaveBeenCalledWith( + expect(saveGraph).toHaveBeenCalledTimes(1); + expect(saveGraph).toHaveBeenCalledWith( defaultAdapterLoaders(), fooCombined ); @@ -562,16 +539,5 @@ describe("cli/load", () => { expect(result).rejects.toThrow("Load tasks failed."); }); - - it("throws an pagerank error on second execDependencyGraph failure", async () => { - execDependencyGraph.mockResolvedValueOnce({success: true}); - execDependencyGraph.mockResolvedValueOnce({success: false}); - const result = loadDefaultPlugins({ - output: fooCombined, - repoIds: [fooBar, fooBaz], - }); - - expect(result).rejects.toThrow("Pagerank task failed."); - }); }); });