2019-07-14 16:05:13 +00:00
|
|
|
[
|
|
|
|
{
|
|
|
|
"type": "sourcecred/cli/scores",
|
scores command no longer assumes GitHub plugin (#1372)
Previously, the `sourcecred scores` command assumed that all users are
GitHub users, and assigned users an id based on their GitHub login.
Now, the command returns information on all users, regardless of which
plugin provided them. As such, we need to identify users differently.
Instead of a string id, they now have an array of address parts. That
array contains all of the parts of their corresponding node address.
For example, the GitHub user `@Beanow` would correspond to the address
array `["sourcecred", "github", "USERLIKE", "USER", "Beanow"]`
As a general convention, the first two components of any node's address
contain information about the plugin that owns that node. The first
component is the owner of the plugin, and the second is the name of the
plugin. Afterwards, the plugin may represent nodes in whatever manner it
sees fit.
Thanks to @Beanow and @vsoch for some feedback and discussion on this
design.
Test plan: Snapshots have been updated. `yarn test` passes.
2019-09-10 21:49:45 +00:00
|
|
|
"version": "0.2.0"
|
2019-07-14 16:05:13 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"intervals": [
|
|
|
|
{
|
|
|
|
"endTimeMs": 1520121600000,
|
|
|
|
"startTimeMs": 1519516800000
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"endTimeMs": 1520726400000,
|
|
|
|
"startTimeMs": 1520121600000
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"endTimeMs": 1521331200000,
|
|
|
|
"startTimeMs": 1520726400000
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"endTimeMs": 1521936000000,
|
|
|
|
"startTimeMs": 1521331200000
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"endTimeMs": 1522540800000,
|
|
|
|
"startTimeMs": 1521936000000
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"endTimeMs": 1523145600000,
|
|
|
|
"startTimeMs": 1522540800000
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"endTimeMs": 1523750400000,
|
|
|
|
"startTimeMs": 1523145600000
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"endTimeMs": 1524355200000,
|
|
|
|
"startTimeMs": 1523750400000
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"endTimeMs": 1524960000000,
|
|
|
|
"startTimeMs": 1524355200000
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"endTimeMs": 1525564800000,
|
|
|
|
"startTimeMs": 1524960000000
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"endTimeMs": 1526169600000,
|
|
|
|
"startTimeMs": 1525564800000
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"endTimeMs": 1526774400000,
|
|
|
|
"startTimeMs": 1526169600000
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"endTimeMs": 1527379200000,
|
|
|
|
"startTimeMs": 1526774400000
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"endTimeMs": 1527984000000,
|
|
|
|
"startTimeMs": 1527379200000
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"endTimeMs": 1528588800000,
|
|
|
|
"startTimeMs": 1527984000000
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"endTimeMs": 1529193600000,
|
|
|
|
"startTimeMs": 1528588800000
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"endTimeMs": 1529798400000,
|
|
|
|
"startTimeMs": 1529193600000
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"endTimeMs": 1530403200000,
|
|
|
|
"startTimeMs": 1529798400000
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"endTimeMs": 1531008000000,
|
|
|
|
"startTimeMs": 1530403200000
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"endTimeMs": 1531612800000,
|
|
|
|
"startTimeMs": 1531008000000
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"endTimeMs": 1532217600000,
|
|
|
|
"startTimeMs": 1531612800000
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"endTimeMs": 1532822400000,
|
|
|
|
"startTimeMs": 1532217600000
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"endTimeMs": 1533427200000,
|
|
|
|
"startTimeMs": 1532822400000
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"endTimeMs": 1534032000000,
|
|
|
|
"startTimeMs": 1533427200000
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"endTimeMs": 1534636800000,
|
|
|
|
"startTimeMs": 1534032000000
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"endTimeMs": 1535241600000,
|
|
|
|
"startTimeMs": 1534636800000
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"endTimeMs": 1535846400000,
|
|
|
|
"startTimeMs": 1535241600000
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"endTimeMs": 1536451200000,
|
|
|
|
"startTimeMs": 1535846400000
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"endTimeMs": 1537056000000,
|
|
|
|
"startTimeMs": 1536451200000
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"endTimeMs": 1537660800000,
|
|
|
|
"startTimeMs": 1537056000000
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"endTimeMs": 1538265600000,
|
|
|
|
"startTimeMs": 1537660800000
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"endTimeMs": 1538870400000,
|
|
|
|
"startTimeMs": 1538265600000
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"endTimeMs": 1539475200000,
|
|
|
|
"startTimeMs": 1538870400000
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"endTimeMs": 1540080000000,
|
|
|
|
"startTimeMs": 1539475200000
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"endTimeMs": 1540684800000,
|
|
|
|
"startTimeMs": 1540080000000
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"endTimeMs": 1541289600000,
|
|
|
|
"startTimeMs": 1540684800000
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"endTimeMs": 1541894400000,
|
|
|
|
"startTimeMs": 1541289600000
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"endTimeMs": 1542499200000,
|
|
|
|
"startTimeMs": 1541894400000
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"endTimeMs": 1543104000000,
|
|
|
|
"startTimeMs": 1542499200000
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"endTimeMs": 1543708800000,
|
|
|
|
"startTimeMs": 1543104000000
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"endTimeMs": 1544313600000,
|
|
|
|
"startTimeMs": 1543708800000
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"endTimeMs": 1544918400000,
|
|
|
|
"startTimeMs": 1544313600000
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"endTimeMs": 1545523200000,
|
|
|
|
"startTimeMs": 1544918400000
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"endTimeMs": 1546128000000,
|
|
|
|
"startTimeMs": 1545523200000
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"endTimeMs": 1546732800000,
|
|
|
|
"startTimeMs": 1546128000000
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"endTimeMs": 1547337600000,
|
|
|
|
"startTimeMs": 1546732800000
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"endTimeMs": 1547942400000,
|
|
|
|
"startTimeMs": 1547337600000
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"endTimeMs": 1548547200000,
|
|
|
|
"startTimeMs": 1547942400000
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"users": [
|
|
|
|
{
|
scores command no longer assumes GitHub plugin (#1372)
Previously, the `sourcecred scores` command assumed that all users are
GitHub users, and assigned users an id based on their GitHub login.
Now, the command returns information on all users, regardless of which
plugin provided them. As such, we need to identify users differently.
Instead of a string id, they now have an array of address parts. That
array contains all of the parts of their corresponding node address.
For example, the GitHub user `@Beanow` would correspond to the address
array `["sourcecred", "github", "USERLIKE", "USER", "Beanow"]`
As a general convention, the first two components of any node's address
contain information about the plugin that owns that node. The first
component is the owner of the plugin, and the second is the name of the
plugin. Afterwards, the plugin may represent nodes in whatever manner it
sees fit.
Thanks to @Beanow and @vsoch for some feedback and discussion on this
design.
Test plan: Snapshots have been updated. `yarn test` passes.
2019-09-10 21:49:45 +00:00
|
|
|
"address": [
|
|
|
|
"sourcecred",
|
|
|
|
"github",
|
|
|
|
"USERLIKE",
|
|
|
|
"USER",
|
|
|
|
"decentralion"
|
|
|
|
],
|
2019-07-14 16:05:13 +00:00
|
|
|
"intervalCred": [
|
|
|
|
9.383869639663432,
|
|
|
|
4.691404861944296,
|
|
|
|
5.407033783069464,
|
|
|
|
4.710039491158759,
|
|
|
|
2.3542990795642016,
|
|
|
|
1.1764257521110257,
|
|
|
|
0.5874968415385614,
|
|
|
|
0.2930472936432958,
|
|
|
|
0.14585208714512637,
|
|
|
|
3.367558953101356,
|
|
|
|
1.6854511612955203,
|
|
|
|
0.8443081404654077,
|
|
|
|
0.4235721757793936,
|
|
|
|
0.21292350141151434,
|
|
|
|
0.10718062099935051,
|
|
|
|
0.024900766153114956,
|
|
|
|
0.01234421271106403,
|
|
|
|
0.5639545904301708,
|
|
|
|
0.2826874903289227,
|
|
|
|
0.14116839002688855,
|
|
|
|
0.07018698540293254,
|
|
|
|
0.03469827124411613,
|
|
|
|
0.017043428850844578,
|
|
|
|
0.008340605522915224,
|
|
|
|
0.004101657419219121,
|
|
|
|
0.0020470494713788713,
|
|
|
|
0.2330964724510903,
|
|
|
|
0.11911297405802071,
|
|
|
|
1.9437472461067256,
|
|
|
|
1.2458984494463696,
|
|
|
|
0.6241050193500056,
|
|
|
|
0.3126272039780528,
|
|
|
|
0.1565536991433818,
|
|
|
|
0.07836083092825474,
|
|
|
|
0.039204376624594785,
|
|
|
|
0.019603716512520068,
|
|
|
|
0.009792000539440526,
|
|
|
|
0.004877883689977619,
|
|
|
|
0.002415531283206432,
|
|
|
|
0.0011833764411626655,
|
|
|
|
0.0005707084414700211,
|
|
|
|
0.00027081941634511306,
|
|
|
|
0.00012783639288752084,
|
|
|
|
0.00006135289874258643,
|
|
|
|
0.0000305382491069489,
|
|
|
|
0.000015865125198178594,
|
|
|
|
0.00000853390543554515,
|
|
|
|
8.18684979546365e-7
|
|
|
|
],
|
|
|
|
"totalCred": 41.343602084119254
|
|
|
|
},
|
|
|
|
{
|
scores command no longer assumes GitHub plugin (#1372)
Previously, the `sourcecred scores` command assumed that all users are
GitHub users, and assigned users an id based on their GitHub login.
Now, the command returns information on all users, regardless of which
plugin provided them. As such, we need to identify users differently.
Instead of a string id, they now have an array of address parts. That
array contains all of the parts of their corresponding node address.
For example, the GitHub user `@Beanow` would correspond to the address
array `["sourcecred", "github", "USERLIKE", "USER", "Beanow"]`
As a general convention, the first two components of any node's address
contain information about the plugin that owns that node. The first
component is the owner of the plugin, and the second is the name of the
plugin. Afterwards, the plugin may represent nodes in whatever manner it
sees fit.
Thanks to @Beanow and @vsoch for some feedback and discussion on this
design.
Test plan: Snapshots have been updated. `yarn test` passes.
2019-09-10 21:49:45 +00:00
|
|
|
"address": [
|
|
|
|
"sourcecred",
|
|
|
|
"github",
|
|
|
|
"USERLIKE",
|
|
|
|
"USER",
|
|
|
|
"wchargin"
|
|
|
|
],
|
2019-07-14 16:05:13 +00:00
|
|
|
"intervalCred": [
|
|
|
|
3.6161303603365673,
|
|
|
|
1.808595138055704,
|
|
|
|
0.8429662169305362,
|
|
|
|
0.41496050884124025,
|
|
|
|
0.2082009204357985,
|
|
|
|
0.10482424788897443,
|
|
|
|
0.05312815846143868,
|
|
|
|
0.02726520635670421,
|
|
|
|
0.014304162854873638,
|
|
|
|
2.2125191718986437,
|
|
|
|
1.10458790120448,
|
|
|
|
0.5507113907845924,
|
|
|
|
0.2739375898456065,
|
|
|
|
0.13583138140098566,
|
|
|
|
0.0671968204068995,
|
|
|
|
0.5622879545500101,
|
|
|
|
0.2812501476404985,
|
|
|
|
0.5828425897456103,
|
|
|
|
0.2907110997589679,
|
|
|
|
0.14553090501705676,
|
|
|
|
0.07316266211904013,
|
|
|
|
0.03697655251687019,
|
|
|
|
0.018793983029648593,
|
|
|
|
0.00957810041733136,
|
|
|
|
0.004857695550904171,
|
|
|
|
0.0024326270136827742,
|
|
|
|
0.2691433657914406,
|
|
|
|
0.1320069450632447,
|
|
|
|
4.1818127134539065,
|
|
|
|
1.8168815303339467,
|
|
|
|
0.9072849705401523,
|
|
|
|
0.45306779096702615,
|
|
|
|
0.22629379832915772,
|
|
|
|
0.11306291780801501,
|
|
|
|
0.0565074977435401,
|
|
|
|
0.02825222067154737,
|
|
|
|
0.014135968052593194,
|
|
|
|
0.00708610060603924,
|
|
|
|
0.0035664608648019987,
|
|
|
|
0.00180761963284155,
|
|
|
|
0.0009247895955320864,
|
|
|
|
0.00047692960215594074,
|
|
|
|
0.0002460381163630061,
|
|
|
|
0.000125584355882677,
|
|
|
|
0.00006293037820568283,
|
|
|
|
0.00003086918845813727,
|
|
|
|
0.00001483325139261278,
|
|
|
|
0.000010864893434532599
|
|
|
|
],
|
|
|
|
"totalCred": 21.65638623230234
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
]
|