Browse Prior Art Database

Cognitive Assisted Pair-Programming Mentoring (CAPPM)

IP.com Disclosure Number: IPCOM000249439D
Publication Date: 2017-Feb-27
Document File: 2 page(s) / 42K

Publishing Venue

The IP.com Prior Art Database

Abstract

Disclosed is a Cognitive Assisted Pair-Programming Mentoring (CAPPM) tool that assists mentors and mentees during pair-programming mentoring sessions. The tool operates in the background, "observing" the session, considers the mentor’s verbal suggestions, and then provides code suggestions/hints to the mentee.

This text was extracted from a PDF file.
This is the abbreviated version, containing approximately 52% of the total text.

1

Cognitive Assisted Pair-Programming Mentoring (CAPPM)

Pair programming is an agile software development technique in which two programmers collaborate using one computer while writing code. One person, the mentee, writes the code while the mentor reviews it and thinks more strategically about the direction of the application. Pair programming promotes mentoring and knowledge sharing; however, problems with communication between mentee and mentor can slow development time and frustrate both parties.

During pair programming, the mentee can sometimes experience difficulty following verbal instructions from the mentor, which results in a delay between a mentor's suggestions and the mentee's reaction to the suggestion. For example, a mentee might know how to respond, but due to nervousness about the task or self-consciousness while being observed, might have a delayed response or even seem to forget the correct course of action. A tool is needed that can assist the mentors and mentees during pair-programming mentoring sessions.

The novel contribution is a Cognitive Assisted Pair-Programming Mentoring (CAPPM) tool. The tool operates in the background, "observing" the session. It considers the mentor’s verbal suggestions and then provides code suggestions/hints to the mentee to avoid delayed responses. For example, the CAPPM can provide a code suggestion in the language denoted in the current mentoring session.

Implementing the solution engages three parties: a mentor, a mentee, and CAPPM. The CAPPM is activated in the background of the development environment. The mentor gives a suggestion to the mentee such as, "add while i < 30 on line 20". The CAPPM recognizes the key words "add" and "line" and inserts "while i < 30" on line 20. The CAPPM can also go through previous similar code blocks and give suggestions on possible ones to use. The mentee goes back through the code and adds any necessary manual changes. This allows a mentee to add any suggested changes while eliminating both the awkwardness and pauses that can happen between two or more parties working together.

The components for the CAPPM include:  Session monitoring module: where CAPPM understands, follows, and offers

suggestions during the course of a pair programming session  Interface module: CAPPM provides hints within the integrated development

environment (IDE) and via spee...