Skip to content

Developer collaboration network

Alexander Bakhtin edited this page May 13, 2024 · 1 revision

Constructing the network

The mined commits' data can be used to construct a developer collaboration network where two developers are connected with a link with a weight equal to the number of files or microservices that they co-edit.

The command to construct a network from a commit table is mison network.

The network file will have a csv format with columns developer_a, developer_b, and weight. The network is assumed to be undirected.

Mandatory arguments

  • --commit_table A csv file with commits and their modified files, as output by mison commit (See Mining commits)
  • --network_output The path to save the resulting csv network file. Can be default, in which case the format is `mison_developer_network_FIELD_TIMESTAMP.csv``

Optional arguments

  • --field Either file or service (default file), whether to use the amount of co-edited files or services as the network weight. If service is used, the provided commit_table should have a column microservice stating the microservice for each file or have an empty value in case a file is not assigned to any microservice
  • --skip_zero If True, do not save rows with weight equal to zero (default False)

Clone this wiki locally