TY - GEN
T1 - Exploring the impacts of semi-automated storytelling on programmers' comprehension of software histories
AU - Allen, John
AU - Kelleher, Caitlin
N1 - Publisher Copyright:
© 2024 IEEE.
PY - 2024
Y1 - 2024
N2 - Software developers have difficulty understanding the rationale and intent behind original developers' design decisions. Code histories aim to provide richer contexts for code changes over time, but can introduce a large amount of information to the already cognitively demanding task of code comprehension. Storytelling has shown benefits in communicating complex, time-dependent information, yet programmers are reluctant to write stories for their code changes. We explored the utility of narratives made by generative AI. We conducted a within-subjects study comparing the performance of 16 programmers when recalling code history information from a list-view format versus a comparable AI-generated narrative format. Our study found that when using the story-view, participants were 16% more successful at recalling code history information, and had 30% less error when assessing the correctness of their responses. We did not find any significant differences in programmer's perceived mental effort or their attitudes towards reuse when using narrative code stories.
AB - Software developers have difficulty understanding the rationale and intent behind original developers' design decisions. Code histories aim to provide richer contexts for code changes over time, but can introduce a large amount of information to the already cognitively demanding task of code comprehension. Storytelling has shown benefits in communicating complex, time-dependent information, yet programmers are reluctant to write stories for their code changes. We explored the utility of narratives made by generative AI. We conducted a within-subjects study comparing the performance of 16 programmers when recalling code history information from a list-view format versus a comparable AI-generated narrative format. Our study found that when using the story-view, participants were 16% more successful at recalling code history information, and had 30% less error when assessing the correctness of their responses. We did not find any significant differences in programmer's perceived mental effort or their attitudes towards reuse when using narrative code stories.
KW - code histories
KW - software versioning
KW - storytelling
UR - http://www.scopus.com/inward/record.url?scp=85207822187&partnerID=8YFLogxK
U2 - 10.1109/VL/HCC60511.2024.00025
DO - 10.1109/VL/HCC60511.2024.00025
M3 - Conference contribution
AN - SCOPUS:85207822187
T3 - Proceedings of IEEE Symposium on Visual Languages and Human-Centric Computing, VL/HCC
SP - 148
EP - 162
BT - Proceedings - 2024 IEEE Symposium on Visual Languages and Human-Centric Computing, VL/HCC 2024
PB - IEEE Computer Society
T2 - 2024 IEEE Symposium on Visual Languages and Human-Centric Computing, VL/HCC 2024
Y2 - 2 September 2024 through 6 September 2024
ER -