sourcecred / research

Repository for research-related items on SourceCred's agenda
9 stars 7 forks source link

initial generators git flow reference cases #22

Open mzargham opened 5 years ago

mzargham commented 5 years ago

Cross-linking discourse: https://discourse.sourcecred.io/t/reference-cases-for-credit-attribution/53/2

Create a prototype of infrastructure to generate these simple graphs.

@decentralion suggested the following reference cases

The following references cases need to be discussed further is it is not immediately clear how they are reflected in the dependency graph of SourceCred as defined.

Note that running experiments on how cred distributes over these reference cases will be shared in discourse for discussion purposes and more generally experimenting with how research workflows will bridge github and discourse.

teamdandelion commented 5 years ago

The following references cases need to be discussed further is it is not immediately clear how they are reflected in the dependency graph of SourceCred as defined.

  • A codebase consisting of two coders. One coder adds code, the other comes afterwards and changes the indentation in each file.
  • A codebase with three people. One works on file A, one works on file B, the third then renames file A to file C. If we ask “who has cred in file C” do we get a coherent answer?

Yeah, it's impossible to represent these right now. For the second one, we don't have a way to represent file identity. This first one is even harder since it is looking at the specific code within the file, in addition to needing file level identity.