MaCommitters

Mubvunzo: Vabatsiri vakasimba zvakadii munharaunda?

tsananguro

Iyo Committers metric ndiyo nhamba yevanhu vakaita kodhi kupurojekiti. Izvi zvakasiyana nezvinotsanangurwa zvakanyanya "Vabatsiri" CHAOSS metric, kutaura zvakananga kune imwechete yekunetseka inomuka mukuongororwa kwengozi nemamaneja achisarudza kuti ndeipi yakavhurika sosi chirongwa chekushandisa. Kunyange zvisiri zvechokwadi muzviitiko zvese, zvinogaro gamuchirwa kuti kana paine vazhinji vanopa purojekiti, mukana wekuti purojekiti yacho irambe ichiwana zvigadziriso, rutsigiro, uye zviwanikwa zvinodiwa. Saka metric inobvumira masangano kuita sarudzo ine ruzivo rwekuti nhamba yevanozvipira kuprojekiti yakapihwa ingangounza njodzi yazvino kana yeramangwana yekuti chirongwa chinogona kusiiwa kana kusatsigirwa.

zvinangwa

Kubva pakuona kwemaneja kusarudza pakati peakavhurika sosi mapurojekiti ekubatanidza mumasangano avo, huwandu hwevanozvipira dzimwe nguva hwakakosha. Mipiro yekodhi, kunyanya, inogona kusiyanisa zvakanyanya kubva kune makuru ekupa metrics (anosanganisira vanyori vezvinyorwa, vanhu vanovhura nyaya, uye mamwe marudzi emipiro), zvichienderana nemaitiro ekutarisira anoshandiswa neyakavhurika sosi purojekiti. McDonald et al (2014) vakakwevera kutarisa kune akasiyana akavhurika sosi mapurojekiti anotungamirwa uchishandisa yakavhurika, yakagoverwa modhi, nepo mamwe achitungamirwa achitevera epakati mamodheru. Vashoma vanopa makodhi vanogona kuratidza mapurojekiti asina kuvhurika kune wekunze mupiro, kana kungoita mapurojekiti ane nhamba diki yevanhu vanonzwisisa uye kubatsira kune iyo kodhi base.

Kutevedzera

Iko kushandiswa uye kuparadzirwa kwehutano metrics kunogona kukonzera kukanganisa kwekuvanzika. Masangano anogona kusangana nenjodzi. Njodzi idzi dzinogona kubva mukutevedzera GDPR muEU, nemutemo wenyika muUS, kana nemumwe mutemo. Panogona zvakare kuve nenjodzi dzekondirakiti dzinoyerera kubva kumatemu ebasa kune vanopa data vakaita seGitHub neGitLab. Iko kushandiswa kwema metrics kunofanirwa kuongororwa kune njodzi uye zvinogona kuitika dambudziko re data. Ndapota onai CHAOSS Data Ethics gwaro kune rimwe gwara.

Mune yakavhurika sosi purojekiti yega yega email kero ine chisungo chakabatanidzwa muchirongwa i "committer" (ona "zvinozivikanwa nyaya" muchikamu chinotevera). Kuziva huwandu hweakasarudzika ekuita panguva yakatarwa kunobatsira, uye fomula yekuita iri nyore:

Number_of_committers = distinct_contributor_ids (during some period of time with a begin date and an end date). Semuenzaniso, ndingangoda kuziva kuti vangani vanhu vakasiyana vakaita kodhi kupurojekiti mumwedzi gumi nemasere yapfuura. Committers rinoburitsa mhinduro.

Matambudziko Anozivikanwa ane Data Quality

  • Vazhinji vanopa vanoshandisa email inodarika imwe, iyo inogona kukwidziridza nhamba yevanozvipira kana izvi zvakagovaniswa zvitupa zvisina kuyananiswa.
  • Vatengi vanoverengeka vanoita diki, "kutyaira ne" mipiro inogona kukwidza nhamba iyi zvakare.

Visualizations

Kubva kuGrimoire Lab inoratidza vabati

Grimoire Lab vanoita

filters

  • Nguva: Kuziva nhamba ichangoburwa yevaiti vakasiyana kunogona kuratidza zvakajeka huwandu hwevanhu vari kuita chirongwa pane kuongorora nhamba pamusoro pehupenyu hwepurojekiti (repository).
  • Kuzvipira Saizi: Zvidiki zvidiki, sekuyerwa nemitsara yekodhi, zvinogona kubviswa kudzivirira nyaya inozivikanwa
  • Commit Count: Vabatsiri vane hushoma pane humwe hudiki hwekuita mukati menguva vanogona kubviswa kubva panhamba iyi.

Zvishandiso Zvinopa Metric

Augur inochengetedza tafura yega yega rekodhi rekodhi mune repository.

Augur Commits

Kuti uongorore madhigirii akasiyana enzvimbo, inotevera SQL, kana yakanyorwa API endpoints inogona kushandiswa:

SELECT
    cmt_author_name,
    COUNT ( * ) AS counter
FROM
    commits
WHERE
    repo_id = 22159
GROUP BY
    cmt_author_name
ORDER BY
    counter DESC

Ichi chirevo chinobvumira mushandisi wekupedzisira kusefa nekuita kuverenga zvikumbaridzo zviri nyore, uye huwandu hwemitsara yakadzoserwa ndiyo "Total_Committers" yenzvimbo.

Grimoire Lab zvakare inopa ruzivo kune vanozvipira.

References

  1. Nora McDonald, Kelly Blincoe, Eva Petakovic, uye Sean Goggins. 2014. Modelling Distributed Collaboration paGitHub. Kufambira mberi muComplex Systems 17(7 & 8).