Skip to content

Commit 1ce8dee

Browse files
authored
Merge pull request #24 from mageroni/main
Integrating Matt's update for survey questions
2 parents 016808d + 68d73b6 commit 1ce8dee

File tree

9 files changed

+144
-69
lines changed

9 files changed

+144
-69
lines changed

README.md

Lines changed: 34 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@
44
55
## App Objective
66

7-
As more companies adopt GitHub Copilot, it becomes increasingly important to measure the benefits it brings to the organization. While quantitative analysis is valuable for measuring usage patterns and adoption rates, it is equally essential to consider qualitative analysis. By combining both quantitative and qualitative approaches, we can gain a comprehensive understanding of the developer experience when using this tool.
7+
As more companies adopt GitHub Copilot, it becomes increasingly important to measure the benefits it brings to the organization. This survey is an effort to combine both quantitative and qualitative data. To improve validity of the quantitative responses, Developers are asked to document their rationale for the time-savings percentage they choose.
88

9-
Quantitative analysis provides valuable insights, but it alone cannot capture the full story of how developers truly feel about Copilot. This is particularly important because Copilot offers various ways for developers to interact with it and derive value, some of which may not be captured by current Key Performance Indicators (KPIs).
9+
Quantitative feedback from the Developer at the time of creating a PR provides valuable insights on the time savings experienced by the Developer. Time savings is needed first before other downstream impacts (like velocity increases, or other improvements can happen. The level of granularity provides multiple feedback opportunities for Developers and can capture a variety of PRs so we can understand adoption challenges and improvement opportunities. If helpful, the Survey results may also be combined with Key Performance Indicators (KPIs) that the product provides to further contextualize the survey responses.
1010

11-
To gain a deeper understanding of user satisfaction, we have designed this app a part of the DevOps lifecycle to facilitate qualitative surveys. The survey responses are stored in your private Azure SQL database to provide insights into how developers are using the tool, the value they perceive, and the challenges they encounter.
11+
The survey responses are stored in your private Azure SQL database to provide insights into how developers are using the tool, the value they report, and the challenges they encounter.
1212

1313
We hope that this project provides value to your organization, and we encourage you to contribute and build upon it. Your contributions can help further enhance the survey capabilities and provide even greater insights into the developer experience with Copilot.
1414

@@ -23,8 +23,37 @@ When a pull request is closed, the app automatically creates an issue that promp
2323
Note: *If the env file does not contain a Language API Key or Endpoint, the analysis will be skipped and the default language will always be English.*
2424

2525
### Sample screenshot of a survey
26+
### Copilot Usage Survey
2627

27-
![Sample screenshot of a survey](image.png)
28+
1. ***Did you use Copilot in developing this PR? (If you select No, just answer question 5***
29+
- [ ] No
30+
- [ ] Yes
31+
32+
2. Compared to your previous experience coding WITHOUT using Copilot,
33+
34+
***How much less time did the coding take during this PR with Copilot?***
35+
36+
(Example: The PR would normally take 5 days, but only took 4 days with Copilot then the answer is 20%)
37+
- [ ] 0%
38+
- [ ] > 0% but < 10%
39+
- [ ] > 11% but < 20%
40+
- [ ] > 21% but < 30%
41+
- [ ] ≥ 31% but < 40%
42+
- [ ] ≥ 41%
43+
44+
3. ***Describe your thought process for calculating (or estimating) the time saved in Question 2***
45+
46+
- [ replace this line with your answer. ]
47+
48+
4. ***How often did you use Copilot in this PR?***
49+
- [ ] All or most of the time
50+
- [ ] About Half of the time
51+
- [ ] Some of the time
52+
- [ ] Not very much
53+
54+
5. ***What other information can you share about Copilot's ability to save you time coding?***
55+
56+
- [ replace this line with your answer. ]
2857

2958
### Where does the app store surveys?
3059

@@ -89,4 +118,4 @@ For more, check out the [Contributing Guide](CONTRIBUTING.md).
89118

90119
## License
91120

92-
[ISC](LICENSE) © 2023 Mabel Geronimo
121+
[ISC](LICENSE) © 2023 Mabel Geronimo

issue_template/copilot-usage-en.md

Lines changed: 21 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -2,23 +2,32 @@
22

33
For Pull Request XXX:
44

5-
1. Did you use Copilot in developing this PR? (If you select No, just answer question 4)
5+
1. ***Did you use Copilot in developing this PR? (If you select No, just answer question 5)***
66
- [ ] No
77
- [ ] Yes
88

9-
2. What percentage of time would you estimate Copilot saved you on this PR?
9+
2. Compared to your previous experience coding WITHOUT using Copilot (This number represents 100%)
10+
11+
***How much less time did the coding take during this PR with Copilot?***
12+
13+
(Example: The PR would normally take 5 days, but only took 4 days with Copilot then the answer is 20%)
1014
- [ ] 0%
11-
- [ ] > 0% but < 5%
12-
- [ ] ≥ 5% but < 10%
13-
- [ ] ≥ 10% but < 20%
14-
- [ ] ≥ 20% but < 30%
15-
- [ ] ≥ 30%
15+
- [ ] > 0% but < 10%
16+
- [ ] > 11% but < 20%
17+
- [ ] > 21% but < 30%
18+
- [ ] ≥ 31% but < 40%
19+
- [ ] ≥ 41%
20+
21+
3. ***Describe your thought process for calculating (or estimating) the time saved in Question 2***
1622

17-
3. How often did you use Copilot in this PR?
23+
- (Please tell us in a comment)
24+
25+
4. ***How often did you use Copilot in this PR?***
1826
- [ ] All or most of the time
19-
- [ ] Half of the time or slightly more
27+
- [ ] About Half of the time
2028
- [ ] Some of the time
21-
- [ ] Little of the time
22-
- [ ] None of the time
29+
- [ ] Not very much
30+
31+
5. ***What other information can you share about Copilot's ability to save you time coding?***
2332

24-
4. What other feedback do you have for us? (Please tell us in a comment)
33+
- (Please tell us in a comment)

issue_template/copilot-usage-es.md

Lines changed: 22 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -2,23 +2,32 @@
22

33
Para el Pull Request XXX:
44

5-
1. Usaste Copilot en el desarrollo de este PR? (Si selecciona No, solo responda la pregunta 4)
5+
1. *** ¿Utilizó Copilot para desarrollar este PR? (Si selecciona No, simplemente responda la pregunta 5)***
66
- [ ] No
77
- [ ] Si
88

9-
2. Qué porcentaje de tiempo estimas que Copilot te ahorró en este PR?
9+
2. En comparación con su experiencia anterior codificando sin usar Copilot (este número representa el 100%)
10+
11+
***¿Cuánto menos tiempo tomó la codificación durante este PR con Copilot?***
12+
13+
(Ejemplo: el PR normalmente tomaría 5 días, pero solo tomó 4 días con Copilot, entonces la respuesta es 20%)
1014
- [ ] 0%
11-
- [ ] > 0% pero < 5%
12-
- [ ] ≥ 5% pero < 10%
13-
- [ ] ≥ 10% pero < 20%
14-
- [ ] ≥ 20% pero < 30%
15-
- [ ] ≥ 30%
15+
- [ ] > 0% pero < 10%
16+
- [ ] > 11% pero < 20%
17+
- [ ] > 21% pero < 30%
18+
- [ ] ≥ 31% pero < 40%
19+
- [ ] ≥ 41%
20+
21+
3. ***Describe tu proceso de pensamiento para calcular (o estimar) el tiempo ahorrado en la Pregunta 2***
1622

17-
3. Qué tan frecuente usaste Copilot en este PR?
23+
- (Por favor díganos en un comentario)
24+
25+
4. ***¿Con qué frecuencia usaste Copilot en este PR?***
1826
- [ ] Todo o la mayor parte del tiempo
19-
- [ ] La mitad del tiempo o un poco más
20-
- [ ] Algunas veces
21-
- [ ] Pocas veces
22-
- [ ] En ningún momento
27+
- [] Aproximadamente la mitad del tiempo
28+
- [ ] Algo de tiempo
29+
- [ ] No mucho
30+
31+
5. ***¿Qué otra información puedes compartir sobre la capacidad de Copilot para ahorrarte tiempo codificando?***
2332

24-
4. Qué otro mensaje tienes para nosotros? (Por favor cuéntanos en un comentario)
33+
- (Por favor díganos en un comentario)

issue_template/copilot-usage-fr.md

Lines changed: 21 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -2,23 +2,32 @@
22

33
Pour le Pull Request XXX :
44

5-
1. Avez-vous utilisé Copilot pour développer ce PR ? (Si vous sélectionnez Non, répondez simplement à la question 4)
5+
1. ***Avez-vous utilisé Copilot pour développer ce PR ? (Si vous sélectionnez Non, répondez simplement à la question 5)***
66
- [ ] Non
77
- [ ] Oui
88

9-
2. Quel pourcentage de temps estimeriez-vous que Copilot vous a fait gagner sur ce PR ?
9+
2. Par rapport à votre expérience précédente de codage SANS utiliser Copilot (ce nombre représente 100 %)
10+
11+
***Combien de temps le codage a-t-il pris pendant ce PR avec Copilot ?***
12+
13+
(Exemple : le PR prendrait normalement 5 jours, mais n'a pris que 4 jours avec Copilot alors la réponse est 20 %)
1014
- [ ] 0%
11-
- [ ] > 0% mais < 5%
12-
- [ ] ≥ 5% mais < 10%
13-
- [ ] ≥ 10 % mais < 20 %
14-
- [ ] ≥ 20% mais < 30%
15-
- [ ] ≥ 30%
15+
- [ ] > 0 % mais < 10 %
16+
- [ ] > 11 % mais < 20 %
17+
- [ ] > 21 % mais < 30 %
18+
- [ ] ≥ 31 % mais < 40 %
19+
- [ ] ≥ 41%
20+
21+
3. ***Décrivez votre processus de réflexion pour calculer (ou estimer) le temps gagné à la question 2***
1622

17-
3. À quelle fréquence avez-vous utilisé Copilot dans ce PR ?
23+
- (Merci de nous le dire dans un commentaire)
24+
25+
4. ***À quelle fréquence avez-vous utilisé Copilot dans ce PR ?***
1826
- [ ] Tout le temps ou la plupart du temps
19-
- [ ] La moitié du temps ou un peu plus
27+
- [ ] Environ la moitié du temps
2028
- [ ] Une partie du temps
21-
- [ ] Peu de temps
22-
- [ ] A aucun moment
29+
- [ ] Pas beaucoup
30+
31+
5. ***Quelles autres informations pouvez-vous partager sur la capacité de Copilot à vous faire gagner du temps en matière de codage ?***
2332

24-
4. Quels autres commentaires avez-vous pour nous ? (Merci de nous le dire en commentaire)
33+
- (Merci de nous le dire dans un commentaire)

issue_template/copilot-usage-pt.md

Lines changed: 22 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -2,23 +2,32 @@
22

33
Para o Pull Request XXX:
44

5-
1. Você usou o Copilot no desenvolvimento deste PR? (Se você selecionar Não, apenas responda à pergunta 4)
5+
1. ***Você usou o Copilot no desenvolvimento deste PR? (Se você selecionar Não, basta responder à pergunta 5)***
66
- [ ] Não
77
- [ ] Sim
88

9-
2. Qual a porcentagem de tempo que você estima que o Copilot economizou neste PR?
9+
2. Em comparação com sua experiência anterior de codificação SEM usar o Copilot (este número representa 100%)
10+
11+
***Quanto menos tempo demorou a codificação durante este PR com o Copilot?***
12+
13+
(Exemplo: o PR normalmente levaria 5 dias, mas demorou apenas 4 dias com o Copilot, então a resposta é 20%)
1014
- [ ] 0%
11-
- [ ] > 0% mas < 5%
12-
- [ ] ≥ 5% mas < 10%
13-
- [ ] ≥ 10% mas < 20%
14-
- [ ] ≥ 20% mas < 30%
15-
- [ ] ≥ 30%
15+
- [ ] > 0% mas < 10%
16+
- [ ] > 11% mas < 20%
17+
- [ ] > 21% mas < 30%
18+
- [ ] ≥ 31% mas < 40%
19+
- [ ] ≥ 41%
20+
21+
3. ***Descreva seu processo de cálculo para calcular (ou estimar) o tempo economizado na Pergunta 2***
1622

17-
3. Com que frequência você usou o Copilot neste PR?
23+
- (Por favor, conte-nos em um comentário)
24+
25+
4. ***Com que frequência você usou o Copilot neste PR?***
1826
- [ ] Todo ou a maior parte do tempo
19-
- [ ] Metade do tempo ou um pouco mais
20-
- [ ] Algumas vezes
21-
- [ ] Pouco tempo
22-
- [ ] Em nenhum momento
27+
- [ ] Cerca de metade das vezes
28+
- [] Algumas vezes
29+
- [ ] Não muito
30+
31+
5. ***Que outras informações você pode compartilhar sobre a capacidade do Copilot de economizar seu tempo de codificação?***
2332

24-
4. Que outro feedback você tem para nós? (Por favor, diga-nos em um comentário)
33+
- (Por favor, conte-nos em um comentário)

test/fixtures/issue_body.md

Lines changed: 21 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -2,23 +2,32 @@
22

33
For Pull Request #44:
44

5-
1. Did you use Copilot in developing this PR? (If you select No, just answer question 4)
5+
1. ***Did you use Copilot in developing this PR? (If you select No, just answer question 5)***
66
- [ ] No
77
- [ ] Yes
88

9-
2. What percentage of time would you estimate Copilot saved you on this PR?
9+
2. Compared to your previous experience coding WITHOUT using Copilot (This number represents 100%)
10+
11+
***How much less time did the coding take during this PR with Copilot?***
12+
13+
(Example: The PR would normally take 5 days, but only took 4 days with Copilot then the answer is 20%)
1014
- [ ] 0%
11-
- [ ] > 0% but < 5%
12-
- [ ] ≥ 5% but < 10%
13-
- [ ] ≥ 10% but < 20%
14-
- [ ] ≥ 20% but < 30%
15-
- [ ] ≥ 30%
15+
- [ ] > 0% but < 10%
16+
- [ ] > 11% but < 20%
17+
- [ ] > 21% but < 30%
18+
- [ ] ≥ 31% but < 40%
19+
- [ ] ≥ 41%
20+
21+
3. ***Describe your thought process for calculating (or estimating) the time saved in Question 2***
1622

17-
3. How often did you use Copilot in this PR?
23+
- (Please tell us in a comment)
24+
25+
4. ***How often did you use Copilot in this PR?***
1826
- [ ] All or most of the time
19-
- [ ] Half of the time or slightly more
27+
- [ ] About Half of the time
2028
- [ ] Some of the time
21-
- [ ] Little of the time
22-
- [ ] None of the time
29+
- [ ] Not very much
30+
31+
5. ***What other information can you share about Copilot's ability to save you time coding?***
2332

24-
4. What other feedback do you have for us? (Please tell us in a comment)
33+
- (Please tell us in a comment)

test/fixtures/issue_comment.created.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@
4949
"assignee": null,
5050
"assignees": [],
5151
"author_association": "NONE",
52-
"body": "### Copilot Usage Survey\n\nFor Pull Request #44:\n\n1. Did you use Copilot in developing this PR? (If you select No, just answer question 4)\n- [x] No\n- [ ] Yes\n\n2. What percentage of time would you estimate Copilot saved you on this PR?\n- [ ] 0%\n- [ ] > 0% but < 5%\n- [ ] ≥ 5% but < 10%\n- [ ] ≥ 10% but < 20%\n- [ ] ≥ 20% but < 30%\n- [ ] ≥ 30%\n\n3. How often did you use Copilot in this PR?\n- [ ] All or most of the time\n- [ ] Half of the time or slightly more\n- [ ] Some of the time\n- [ ] Little of the time\n- [ ] None of the time\n\n4. What other feedback do you have for us? (Please tell us in a comment)",
52+
"body": "### Copilot Usage Survey\n\nFor Pull Request #44:\n\n1. ***Did you use Copilot in developing this PR? (If you select No, just answer question 5)***\n- [ ] No\n- [x] Yes\n\n2. Compared to your previous experience coding WITHOUT using Copilot (This number represents 100%)\n\n ***How much less time did the coding take during this PR with Copilot?***\n \n (Example: The PR would normally take 5 days, but only took 4 days with Copilot then the answer is 20%)\n- [ ] 0%\n- [ ] > 0% but < 10%\n- [ ] > 11% but < 20%\n- [x] > 21% but < 30%\n- [ ] ≥ 31% but < 40%\n- [ ] ≥ 41%\n\n3. ***Describe your thought process for calculating (or estimating) the time saved in Question 2***\n \n - (Please tell us in a comment)\n\n4. ***How often did you use Copilot in this PR?***\n- [x] All or most of the time\n- [ ] About Half of the time\n- [ ] Some of the time\n- [ ] Not very much\n\n5. ***What other information can you share about Copilot's ability to save you time coding?*** \n\n - (Please tell us in a comment)",
5353
"closed_at": null,
5454
"comments": 1,
5555
"comments_url": "https://api.github.com/repos/mageroni/TestRepo/issues/60/comments",

test/fixtures/issues.edited.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"assignee": null,
1111
"assignees": [],
1212
"author_association": "NONE",
13-
"body": "### Copilot Usage Survey\n\nFor Pull Request #44:\n\n1. Did you use Copilot in developing this PR? (If you select No, just answer question 4)\n- [ ] No\n- [x] Yes\n\n2. What percentage of time would you estimate Copilot saved you on this PR?\n- [ ] 0%\n- [ ] > 0% but < 5%\n- [x] ≥ 5% but < 10%\n- [ ] ≥ 10% but < 20%\n- [ ] ≥ 20% but < 30%\n- [ ] ≥ 30%\n\n3. How often did you use Copilot in this PR?\n- [x] All or most of the time\n- [ ] Half of the time or slightly more\n- [ ] Some of the time\n- [ ] Little of the time\n- [ ] None of the time\n\n4. What other feedback do you have for us? (Please tell us in a comment)",
13+
"body": "### Copilot Usage Survey\n\nFor Pull Request #44:\n\n1. ***Did you use Copilot in developing this PR? (If you select No, just answer question 5)***\n- [ ] No\n- [x] Yes\n\n2. Compared to your previous experience coding WITHOUT using Copilot (This number represents 100%)\n\n ***How much less time did the coding take during this PR with Copilot?***\n \n (Example: The PR would normally take 5 days, but only took 4 days with Copilot then the answer is 20%)\n- [ ] 0%\n- [ ] > 0% but < 10%\n- [ ] > 11% but < 20%\n- [x] > 21% but < 30%\n- [ ] ≥ 31% but < 40%\n- [ ] ≥ 41%\n\n3. ***Describe your thought process for calculating (or estimating) the time saved in Question 2***\n \n - (Please tell us in a comment)\n\n4. ***How often did you use Copilot in this PR?***\n- [x] All or most of the time\n- [ ] About Half of the time\n- [ ] Some of the time\n- [ ] Not very much\n\n5. ***What other information can you share about Copilot's ability to save you time coding?*** \n\n - (Please tell us in a comment)",
1414
"closed_at": "2023-03-19T01:12:10Z",
1515
"comments": 0,
1616
"comments_url": "https://api.github.com/repos/mageroni/TestRepo/issues/62/comments",

test/index.test.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ const issue_body = fs.readFileSync(
1818
const expected_issue = {
1919
title: "Copilot Usage - PR#44",
2020
body: issue_body,
21+
assignee: "mageroni"
2122
}
2223

2324
const privateKey = fs.readFileSync(

0 commit comments

Comments
 (0)