-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #259 from se-sic/dev
Version 4.4 Merged-by: Thomas Bock <[email protected]>
- Loading branch information
Showing
36 changed files
with
2,656 additions
and
876 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,7 +11,8 @@ | |
## with this program; if not, write to the Free Software Foundation, Inc., | ||
## 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. | ||
## | ||
## Copyright 2023 by Maximilian Löffler <[email protected]> | ||
## Copyright 2023-2024 by Maximilian Löffler <[email protected]> | ||
## Copyright 2024 by Thomas Bock <[email protected]> | ||
## All Rights Reserved. | ||
|
||
name: Build Status | ||
|
@@ -29,18 +30,18 @@ permissions: | |
jobs: | ||
build: | ||
name: Build | ||
|
||
# change to 'runs-on: self-hosted' to run on self-hosted runners (https://docs.github.com/en/actions/using-jobs/choosing-the-runner-for-a-job) | ||
runs-on: ubuntu-latest | ||
|
||
strategy: | ||
fail-fast: false | ||
matrix: | ||
r-version: ['3.6', '4.0', '4.1', '4.2', 'latest'] | ||
r-version: ['3.6', '4.0', '4.1', '4.2', '4.3', 'latest'] | ||
|
||
steps: | ||
- name: Checkout Repo | ||
uses: actions/checkout@v3 | ||
- name: Checkout Repo | ||
uses: actions/checkout@v4 | ||
|
||
- name: Update system | ||
run: | | ||
|
@@ -56,7 +57,7 @@ jobs: | |
uses: r-lib/actions/setup-r@v2 | ||
with: | ||
r-version: ${{ matrix.r-version }} | ||
|
||
- name: Install dependencies | ||
run: Rscript install.R | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,13 +16,14 @@ | |
## Copyright 2017 by Christian Hechtl <[email protected]> | ||
## Copyright 2017 by Felix Prasse <[email protected]> | ||
## Copyright 2017-2018 by Thomas Bock <[email protected]> | ||
## Copyright 2020-2021 by Thomas Bock <[email protected]> | ||
## Copyright 2020-2021, 2024 by Thomas Bock <[email protected]> | ||
## Copyright 2018 by Jakob Kronawitter <[email protected]> | ||
## Copyright 2019 by Klara Schlueter <[email protected]> | ||
## Copyright 2020 by Anselm Fehnker <[email protected]> | ||
## Copyright 2021 by Johannes Hostert <[email protected]> | ||
## Copyright 2021 by Niklas Schneider <[email protected]> | ||
## Copyright 2022 by Jonathan Baumann <[email protected]> | ||
## Copyright 2024 by Maximilian Löffler <[email protected]> | ||
## All Rights Reserved. | ||
|
||
|
||
|
@@ -218,7 +219,7 @@ cf.data = split.data.time.based(x.data, bins = mybins) | |
## construct (author) networks from range data | ||
my.networks = lapply(cf.data, function(range.data) { | ||
y = NetworkBuilder$new(project.data = range.data, network.conf = net.conf) | ||
return (y$get.author.network()) | ||
return(y$get.author.network()) | ||
}) | ||
## add commit-count vertex attributes | ||
sample = add.vertex.attribute.author.commit.count(my.networks, x.data, aggregation.level = "range") | ||
|
@@ -361,6 +362,24 @@ g.motifs = motifs.count(network = g, | |
remove.duplicates = TRUE, raw.data = FALSE) | ||
|
||
|
||
## / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / | ||
## Network simplification -------------------------------------------------- | ||
|
||
## construct sample network | ||
g = y$get.multi.network() | ||
g = igraph::delete_edges(g, c(5, 6)) | ||
g = igraph::delete_vertices(g, c(2, 4, 5, 6, 7, 8)) | ||
g = g + igraph::edges(c("Björn", "Olaf", "Björn", "Olaf"), type = TYPE.EDGES.INTRA, weight = 1, | ||
relation = "cochange", artifact.type = "Feature") | ||
|
||
## merge edges between vertice pairs that stem from the same data source | ||
g.simplified = simplify.network(g) | ||
plot.network(g.simplified) | ||
|
||
## merge all edges between vertice pairs | ||
g.simplified = simplify.network(g, simplify.multiple.relations = TRUE) | ||
plot.network(g.simplified) | ||
|
||
## / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / | ||
## Plots ------------------------------------------------------------------- | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,6 +5,8 @@ | |
3;"Error in construct.networks.from.list for openssl function networks";"[""issue"", ""bug""]";"closed";"[]";"2016-07-12 15:59:25";"2016-07-12 16:06:30";"[]";"add_link";"Karl";"[email protected]";"2016-08-07 15:37:02";"930af63a030fb92e48eddff01f53284c3eeba80e";"""commit""" | ||
3;"Error in construct.networks.from.list for openssl function networks";"[""issue"", ""bug""]";"closed";"[]";"2016-07-12 15:59:25";"2016-07-12 16:06:30";"[]";"referenced";"Karl";"[email protected]";"2016-08-31 16:45:09";"";"""""" | ||
3;"Error in construct.networks.from.list for openssl function networks";"[""issue"", ""bug""]";"closed";"[]";"2016-07-12 15:59:25";"2016-07-12 16:06:30";"[]";"referenced";"Thomas";"[email protected]";"2016-10-05 16:45:09";"";"""""" | ||
3;"Error in construct.networks.from.list for openssl function networks";"[""issue"", ""bug""]";"closed";"[]";"2016-07-12 15:59:25";"2016-07-12 16:06:30";"[]";"add_link";"Karl";"[email protected]";"2016-08-07 15:37:02";"6";"""issue""" | ||
3;"Error in construct.networks.from.list for openssl function networks";"[""issue"", ""bug""]";"closed";"[]";"2016-07-12 15:59:25";"2016-07-12 16:06:30";"[]";"add_link";"Thomas";"[email protected]";"2016-08-07 15:30:00";"2";"""issue""" | ||
6;"Distinguish directedness of networks and edge-construction algorithm";"[""issue"", ""bug"", ""enhancement""]";"open";"[]";"2016-07-12 14:30:13";"";"[]";"mentioned";"udo";"[email protected]";"2016-07-12 15:30:02";"Thomas";"""[email protected]""" | ||
6;"Distinguish directedness of networks and edge-construction algorithm";"[""issue"", ""bug"", ""enhancement""]";"open";"[]";"2016-07-12 14:30:13";"";"[]";"subscribed";"udo";"[email protected]";"2016-07-12 15:30:02";"Thomas";"""[email protected]""" | ||
6;"Distinguish directedness of networks and edge-construction algorithm";"[""issue"", ""bug"", ""enhancement""]";"open";"[]";"2016-07-12 14:30:13";"";"[]";"commented";"Thomas";"[email protected]";"2016-07-12 16:03:59";"open";"[]" | ||
|
@@ -15,6 +17,7 @@ | |
6;"Distinguish directedness of networks and edge-construction algorithm";"[""issue"", ""bug"", ""enhancement""]";"open";"[]";"2016-07-12 14:30:13";"";"[]";"subscribed";"Björn";"[email protected]";"2016-12-07 15:30:02";"udo";"""[email protected]""" | ||
6;"Distinguish directedness of networks and edge-construction algorithm";"[""issue"", ""bug"", ""enhancement""]";"open";"[]";"2016-07-12 14:30:13";"";"[]";"labeled";"Olaf";"[email protected]";"2017-05-23 12:31:34";"decided";"""""" | ||
6;"Distinguish directedness of networks and edge-construction algorithm";"[""issue"", ""bug"", ""enhancement""]";"open";"[]";"2016-07-12 14:30:13";"";"[]";"commented";"Björn";"[email protected]";"2017-05-23 12:32:39";"open";"[]" | ||
6;"Distinguish directedness of networks and edge-construction algorithm";"[""issue"", ""bug"", ""enhancement""]";"open";"[]";"2016-07-12 14:30:13";"";"[]";"referenced_by";"Karl";"[email protected]";"2016-08-07 15:37:02";"3";"""issue""" | ||
"1";"Example pull request 1";"[""pull request""]";"reopened";"[]";"2016-07-14 13:37:00";"";"[]";"created";"Thomas";"[email protected]";"2016-07-12 15:59:25";"open";"[]" | ||
"1";"Example pull request 1";"[""pull request""]";"reopened";"[]";"2016-07-14 13:37:00";"";"[]";"commented";"Thomas";"[email protected]";"2016-07-12 15:59:25";"open";"[]" | ||
"1";"Example pull request 1";"[""pull request""]";"reopened";"[]";"2016-07-14 13:37:00";"";"[]";"state_updated";"Thomas";"[email protected]";"2016-07-12 15:59:59";"closed";"""open""" | ||
|
@@ -25,6 +28,7 @@ | |
"2";"Example pull request 2";"[""pull request""]";"closed";"[]";"2016-07-12 14:59:25";"2016-07-12 16:04:59";"[]";"commented";"Björn";"[email protected]";"2016-07-12 14:59:25";"open";"[]" | ||
"2";"Example pull request 2";"[""pull request""]";"closed";"[]";"2016-07-12 14:59:25";"2016-07-12 16:04:59";"[]";"merged";"Olaf";"[email protected]";"2016-07-12 16:04:59";"";"""""" | ||
"2";"Example pull request 2";"[""pull request""]";"closed";"[]";"2016-07-12 14:59:25";"2016-07-12 16:04:59";"[]";"state_updated";"Olaf";"[email protected]";"2016-07-12 16:04:59";"closed";"""open""" | ||
"2";"Example pull request 2";"[""pull request""]";"closed";"[]";"2016-07-12 14:59:25";"2016-07-12 16:04:59";"[]";"referenced_by";"Thomas";"[email protected]";"2016-08-07 15:30:00";"3";"""issue""" | ||
"4";"Example pull request 4";"[""pull request"", ""enhancement""]";"open";"[]";"2016-07-12 16:02:02";"";"[]";"commit_added";"Björn";"[email protected]";"2016-07-12 15:58:59";"72c8dd25d3dd6d18f46e2b26a5f5b1e2e8dc28d0";"""""" | ||
"4";"Example pull request 4";"[""pull request"", ""enhancement""]";"open";"[]";"2016-07-12 16:02:02";"";"[]";"created";"Olaf";"[email protected]";"2016-07-12 16:02:02";"open";"[]" | ||
"4";"Example pull request 4";"[""pull request"", ""enhancement""]";"open";"[]";"2016-07-12 16:02:02";"";"[]";"commented";"Olaf";"[email protected]";"2016-07-12 16:02:02";"open";"[]" | ||
|
Oops, something went wrong.