{"id":510467,"date":"2018-10-08T16:52:58","date_gmt":"2018-10-08T23:52:58","guid":{"rendered":"https:\/\/www.microsoft.com\/en-us\/research\/?post_type=msr-project&p=510467"},"modified":"2022-09-02T15:56:13","modified_gmt":"2022-09-02T22:56:13","slug":"sankie","status":"publish","type":"msr-project","link":"https:\/\/www.microsoft.com\/en-us\/research\/project\/sankie\/","title":{"rendered":"Sankie"},"content":{"rendered":"
\n\t
\n\t\t
\n\t\t\t\t\t<\/div>\n\t\t\n\t\t
\n\t\t\t\n\t\t\t
\n\t\t\t\t\n\t\t\t\t
\n\t\t\t\t\t\n\t\t\t\t\t
\n\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\n

Project Sankie<\/h1>\n\n\t\t\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t<\/div>\n\t\t<\/div>\n\t<\/div>\n<\/section>\n\n\n\n\n\n

Project Sankie <\/strong>infuses\u00a0data-driven techniques into engineering processes, development environments, and software lifecycles of large services. Sankie’s goal is to consume data from static and dynamic features of a system, learn from them, and provide meaningful insights that can be used to make decisions for developing\/reviewing, testing, deploying, monitoring, and root-causing.<\/p>\n\n\n\n

\"graphic
Sankie addresses the various stages of the DevOps pipeline.<\/figcaption><\/figure>\n\n\n\n

Sub-projects:<\/h3>\n\n\n\n

CHLR: Commit Risk Prediction.<\/strong>\u00a0 Given data from all stages of a DevOps pipeline, we learn a model for the risk associated with a commit. This can be used in many applications. For instance, the system can test risky commits more comprehensively, it can assign more experienced reviewers to them, or it can apply heavier-duty analysis techniques only on risky commits.<\/p>\n\n\n\n

Intent Detection:<\/strong> Using past commit logs, we automatically detect what the intent of a commit is. For instance, is it a bug fix? Is it a code refactor? Inferring the intent of commits automatically can inform the developers better and can help detect commit risk more accurately.<\/p>\n\n\n\n

Related Entities\u2019 Exploration. <\/strong>Code components such as files and functions are correlated. A change to one requires a change to another. In a study, we found that developers tend to miss changing all correlated components adequately. This is a tool that detects such correlated entities in code and, at commit time, reminds developers of these correlations. The tool has been widely deployed within several repositories within our organization and is finding a significant number of such potential bugs.<\/p>\n\n\n\n

Reviewer Suggestion. <\/strong>Developers, while creating a commit, manually pick a list of reviewers for the commit. This leads to a suboptimal allocation of reviews, and therefore it makes inefficient use of\u00a0reviewer time. The purpose of reviewer-suggestions is to automatically suggest reviewers based on the nature of the commit. This not only assigns the right expert reviewer to a commit, it also fairly distributes reviews across the board, thereby reducing skew in assignments.<\/p>\n\n\n\n

Fastlane:\u00a0 Data-driven test minimization. <\/strong>Fastlane uses a history of test-runs collected over multiple months to build efficient test execution plans. Fastlane analyzes petabytes of logs and, using several techniques such as commit risk prediction, test pairwise-correlation and runtime-based prediction,\u00a0predicts the results of certain test runs so that the system need not run them. Apart from saving resources, this fast-tracks commits as well.<\/p>\n\n\n\n

Dotributor: Attribution of deployment inefficiencies. <\/strong>Deployment is a complex stage in the DevOps pipeline. There is a need to attribute deployment inefficiencies to various problems and also understand the monetary cost of these inefficiencies. Dotributor achieves this by providing a useful visualization tool that deployment engineers can use to detect particular inefficient parts of the pipeline.<\/p>\n\n\n\n

Orca: Differential bug localization.  <\/strong>Post-deployment issues in services can cause serious service-downtimes. Often, these issues are caused by buggy code commits. Orca is a tool that can help an On-Call Engineer localize the issue to the correct buggy commit much faster than earlier possible. Using techniques such as differential code analysis, build provenance graph, and commit risk estimates, Orca achieves this goal.<\/p>\n\n\n\n

DeCaf:<\/strong> Getting to the root-cause of abnormal request latencies. <\/strong>Normally, user requests to a service\u00a0are served within SLA. However, there are times when the service latency becomes anomalously large. The reason for this could be transient, or it\u00a0could be an actionable issue on the service-side.\u00a0 DeCaf is a tool that helps service engineers differentiate between transient and actionable issues. When the issue is actionable, DeCaf, using a random forest model, analyzes petabytes of logs in the matter of minutes and provides to-the-point summaries that lead to the root-cause of the problem.<\/p>\n\n\n","protected":false},"excerpt":{"rendered":"

Project Sankie infuses data-driven techniques into engineering processes, development environments, and software lifecycles of large services.<\/p>\n","protected":false},"featured_media":624615,"template":"","meta":{"msr-url-field":"","msr-podcast-episode":"","msrModifiedDate":"","msrModifiedDateEnabled":false,"ep_exclude_from_search":false,"_classifai_error":"","footnotes":""},"research-area":[13560,13547],"msr-locale":[268875],"msr-impact-theme":[264846],"msr-pillar":[],"class_list":["post-510467","msr-project","type-msr-project","status-publish","has-post-thumbnail","hentry","msr-research-area-programming-languages-software-engineering","msr-research-area-systems-and-networking","msr-locale-en_us","msr-archive-status-active"],"msr_project_start":"2017-10-01","related-publications":[547407,510482,635433,594046,597184,597430,600696,632667],"related-downloads":[],"related-videos":[],"related-groups":[],"related-events":[],"related-opportunities":[],"related-posts":[],"related-articles":[],"tab-content":[],"slides":[],"related-researchers":[{"type":"user_nicename","display_name":"B. Ashok","user_id":31177,"people_section":"Members","alias":"bash"},{"type":"guest","display_name":"Sumit Asthana","user_id":510650,"people_section":"Members","alias":""},{"type":"user_nicename","display_name":"Chetan Bansal","user_id":31394,"people_section":"Members","alias":"chetanb"},{"type":"user_nicename","display_name":"Sonu Mehta","user_id":37769,"people_section":"Members","alias":"someh"}],"msr_research_lab":[199562],"msr_impact_theme":["Computing foundations"],"_links":{"self":[{"href":"https:\/\/www.microsoft.com\/en-us\/research\/wp-json\/wp\/v2\/msr-project\/510467"}],"collection":[{"href":"https:\/\/www.microsoft.com\/en-us\/research\/wp-json\/wp\/v2\/msr-project"}],"about":[{"href":"https:\/\/www.microsoft.com\/en-us\/research\/wp-json\/wp\/v2\/types\/msr-project"}],"version-history":[{"count":28,"href":"https:\/\/www.microsoft.com\/en-us\/research\/wp-json\/wp\/v2\/msr-project\/510467\/revisions"}],"predecessor-version":[{"id":875274,"href":"https:\/\/www.microsoft.com\/en-us\/research\/wp-json\/wp\/v2\/msr-project\/510467\/revisions\/875274"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.microsoft.com\/en-us\/research\/wp-json\/wp\/v2\/media\/624615"}],"wp:attachment":[{"href":"https:\/\/www.microsoft.com\/en-us\/research\/wp-json\/wp\/v2\/media?parent=510467"}],"wp:term":[{"taxonomy":"msr-research-area","embeddable":true,"href":"https:\/\/www.microsoft.com\/en-us\/research\/wp-json\/wp\/v2\/research-area?post=510467"},{"taxonomy":"msr-locale","embeddable":true,"href":"https:\/\/www.microsoft.com\/en-us\/research\/wp-json\/wp\/v2\/msr-locale?post=510467"},{"taxonomy":"msr-impact-theme","embeddable":true,"href":"https:\/\/www.microsoft.com\/en-us\/research\/wp-json\/wp\/v2\/msr-impact-theme?post=510467"},{"taxonomy":"msr-pillar","embeddable":true,"href":"https:\/\/www.microsoft.com\/en-us\/research\/wp-json\/wp\/v2\/msr-pillar?post=510467"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}