0% found this document useful (0 votes)
89 views13 pages

GitHub Copilot Rollout - Sessions 1

Uploaded by

shafaqueahmed93
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
89 views13 pages

GitHub Copilot Rollout - Sessions 1

Uploaded by

shafaqueahmed93
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 13

GitHub CoPilot

Rollout

February 2024
Today’s Agenda
01 Context Setting

02 Top Use Cases of GitHub Copilot

03 Demo

Mandatory: Get consent from your client


before starting to use the GitHub CoPilot
in the project

Copyright © 2024 Accenture. All rights reserved. 2


Context Setting
What's the Business Imperative?

• Microsoft is funding the use of GitHub Copilot licenses for all the vendors having a valid vendor (v-) ID.

• Accenture has experimented internally, and we have seen up to 50% productivity gains (commits) from our
internal CIO study of 400 engineers using GitHub CoPilot (Nov 2023)

• Independent external pilot programs have proven that GitHub Copilot supports faster completion times,
conserves developers’ mental energy, helps them focus on more satisfying work, and ultimately find
more fun in the coding they do.

• Presently the CoPilot adoption in the account is negligible, and we are commencing a drive to increase the
adoption and usage among our developers.
Potential Use Cases for GitHub CoPilot adoption
Onboarding Efficiency/Speed Quality Improvement

❑ Explain existing code ❑ Unit Test creation ❑ Test data generation

❑ Code documentation ❑ Code Analysis ❑ Security Analysis

❑ Code Generation ❑ Code Refactoring

❑ Pull Request Summaries ❑ Defect Detection

❑ Code Translation ❑ Architecture Patterns


Capabilities and Limitations observed for GitHub Copilot
Useful Capabilities:

1. Code explanations and refactoring are good


2. It is useful in finding potential bugs in the code
3. Suggests fixes for issues in the code
4. Can implement functions for generic tasks in the code such as modifying or transforming data in
objects.

Limitations:

1. The responses may not always be completely correct. The developers still need to validate and test
for the response generated by GitHub copilot.
2. It is not very efficient in writing test cases and covering all possible scenarios but can provide a
good starting point with some standard test cases to start with.

All suggestions by the CoPilot need to be validated before implementing


GitHub Certification
GitHub exams Certification Page - GitHub has activated automatic full discounts for Accenture and
Avanade employees for their first attempt at each GitHub certification exam. Training and enablement links
are on the GitHub Training Resources page.

The GitHub certification is


GitHub Copilot Exam coming soon !!
recommended for everyone using
GitHub

(20+) Viva Engage - GitHub Copilot for Business Community (yammer.com)


Appendix
- How to configure CoPilot
- Demo slides

Copyright © 2024 Accenture. All rights reserved. 7


Getting Access to GitHub Copilot (from your v- ID)
Mandatory Step: Perform the below steps only after getting consent from your client that you intend to use
GitHub Copilot for project work
Github Copilot is accessible via the Microsoft GHEC EMU account (GitHub Enterprise Cloud with Enterprise Managed Users), which is the Enterprise account on github.com
for Microsoft’s internal software development. To get access to the Microsoft EMU account

1. Self-enroll by joining the innersource group and click on Join

2. Request access on CoreIdentity Entitlement for Github Copilot membership.

Fill in the details


a) Click on Request Membership. A sub-menu will open. Click on For Myself.
b) Verify your account.
c) Select the Reader role. Under Business Justification type “Request Access for Project Work”
d) Accept the T&Cs and click on Submit

• Once the request is submitted, it will take from 1 to 2 hours for approval. GitHub username by default is your v-id_microsoft (eg: v-name_microsoft)
Pre-requisites for GitHub Copilot in VS Code
1. Install the Extension-
• For VS Code: Install Copilot extension (includes Copilot Chat)
• For Visual Studio: Install Copilot extension, Install Copilot Chat extension

2. Sign in with GitHub EMU account into VS code. Click on Allow.

3. Click on Authorize to VS Code. Restart VS Code (or Visual Studio)

4. Your logged-in user should be your alias id (eg: v-name_microsoft)


Some use-cases for GitHub Copilot- VS Code
Get Code Suggestions
1 Generate Test Cases 2

3 Document Code
Some use-cases for GitHub Copilot- VS Code
Get Code Suggestions
1 Generate Test Cases 2

3 Document Code
Sample Task achieved with GitHub Copilot
1. GitHub Copilot was able to transform a nested object to remove unwanted
keys and create a desired output object.
Sample Task achieved with GitHub Copilot
2. Modify the developed code to a class-based implementation.

You might also like