Overcoming the Mental Set Effect in Programming Problem Solving
- URL: http://arxiv.org/abs/2307.06673v1
- Date: Thu, 13 Jul 2023 10:49:02 GMT
- Title: Overcoming the Mental Set Effect in Programming Problem Solving
- Authors: Agnia Sergeyuk, Sergey Titov, Yaroslav Golubev, Timofey Bryksin
- Abstract summary: The Einstellung effect is the tendency to approach problem-solving with a preconceived mindset.
This effect can significantly impact creative thinking, as the development of patterns of thought can hinder the emergence of novel and creative ideas.
The study contributes to the existing literature by providing insights into creativity support during problem-solving in software development.
- Score: 5.625796693054094
- License: http://arxiv.org/licenses/nonexclusive-distrib/1.0/
- Abstract: This paper adopts a cognitive psychology perspective to investigate the
recurring mistakes in code resulting from the mental set (Einstellung) effect.
The Einstellung effect is the tendency to approach problem-solving with a
preconceived mindset, often overlooking better solutions that may be available.
This effect can significantly impact creative thinking, as the development of
patterns of thought can hinder the emergence of novel and creative ideas. Our
study aims to test the Einstellung effect and the two mechanisms of its
overcoming in the field of programming. The first intervention was the change
of the color scheme of the code editor to the less habitual one. The second
intervention was a combination of instruction to "forget the previous solutions
and tasks" and the change in the color scheme. During the experiment,
participants were given two sets of four programming tasks. Each task had two
possible solutions: one using suboptimal code dictated by the mental set, and
the other using a less familiar but more efficient and recommended methodology.
Between the sets, participants either received no treatment or one of two
interventions aimed at helping them overcome the mental set. The results of our
experiment suggest that the tested techniques were insufficient to support
overcoming the mental set, which we attribute to the specificity of the
programming domain. The study contributes to the existing literature by
providing insights into creativity support during problem-solving in software
development and offering a framework for experimental research in this field.
Related papers
- Learning to Assist Humans without Inferring Rewards [65.28156318196397]
We build upon prior work that studies assistance through the lens of empowerment.
An assistive agent aims to maximize the influence of the human's actions.
We prove that these representations estimate a similar notion of empowerment to that studied by prior work.
arXiv Detail & Related papers (2024-11-04T21:31:04Z) - Can metacognition predict your success in solving problems? An exploratory case study in programming [0.0]
This study explores the predictive potential of metacognition in the second introductory programming course.
A two-dimensional model has been proposed, consisting of metacognitive awareness and metacognitive behavior.
Latent approach was employed to examine the associations between metacognition and performance in object-oriented programming.
arXiv Detail & Related papers (2024-10-08T18:06:55Z) - Understanding and Evaluating Developer Behaviour in Programming Tasks [0.0]
In a series of three studies we investigated the specific behaviour of developers solving a specific programming task.
We focused on which source code files they visited, how they related pieces of code and knowledge to others and when and how successful they performed code edits.
arXiv Detail & Related papers (2024-03-13T12:46:42Z) - On (Mis)perceptions of testing effectiveness: an empirical study [1.8026347864255505]
This research aims to discover how well the perceptions of the defect detection effectiveness of different techniques match their real effectiveness in the absence of prior experience.
In the original study, we conduct a controlled experiment with students applying two testing techniques and a code review technique.
At the end of the experiment, they take a survey to find out which technique they perceive to be most effective.
The results of the replicated study confirm the findings of the original study and suggest that participants' perceptions might be based not on their opinions about complexity or preferences for techniques but on how well they think that they have applied the techniques.
arXiv Detail & Related papers (2024-02-11T14:50:01Z) - Principled Penalty-based Methods for Bilevel Reinforcement Learning and RLHF [82.73541793388]
We introduce the first principled algorithmic framework for solving bilevel RL problems through the lens of penalty formulation.
We provide theoretical studies of the problem landscape and its penalty-based gradient (policy) algorithms.
We demonstrate the effectiveness of our algorithms via simulations in the Stackelberg Markov game, RL from human feedback and incentive design.
arXiv Detail & Related papers (2024-02-10T04:54:15Z) - Fixing Your Own Smells: Adding a Mistake-Based Familiarisation Step When
Teaching Code Refactoring [2.021502591596062]
Students must first complete a programming exercise to ensure they will produce a code smell.
This simple intervention is based on the idea that learning is easier if students are familiar with the code.
We conducted a study with 35 novice undergraduates in which they completed various exercises alternately taught using a traditional and our'mistake-based' approach.
arXiv Detail & Related papers (2024-01-02T03:39:19Z) - Outcome-Driven Reinforcement Learning via Variational Inference [95.82770132618862]
We discuss a new perspective on reinforcement learning, recasting it as the problem of inferring actions that achieve desired outcomes, rather than a problem of maximizing rewards.
To solve the resulting outcome-directed inference problem, we establish a novel variational inference formulation that allows us to derive a well-shaped reward function.
We empirically demonstrate that this method eliminates the need to design reward functions and leads to effective goal-directed behaviors.
arXiv Detail & Related papers (2021-04-20T18:16:21Z) - End-to-End Learning and Intervention in Games [60.41921763076017]
We provide a unified framework for learning and intervention in games.
We propose two approaches, respectively based on explicit and implicit differentiation.
The analytical results are validated using several real-world problems.
arXiv Detail & Related papers (2020-10-26T18:39:32Z) - Importance Weighted Policy Learning and Adaptation [89.46467771037054]
We study a complementary approach which is conceptually simple, general, modular and built on top of recent improvements in off-policy learning.
The framework is inspired by ideas from the probabilistic inference literature and combines robust off-policy learning with a behavior prior.
Our approach achieves competitive adaptation performance on hold-out tasks compared to meta reinforcement learning baselines and can scale to complex sparse-reward scenarios.
arXiv Detail & Related papers (2020-09-10T14:16:58Z) - On the Nature of Programming Exercises [0.0]
It is essential to understand that the nature of a programming exercise is an important factor for the success and consistent learning.
This paper explores different approaches on the creation of a programming exercise.
arXiv Detail & Related papers (2020-06-25T15:22:26Z) - Graph-based, Self-Supervised Program Repair from Diagnostic Feedback [108.48853808418725]
We introduce a program-feedback graph, which connects symbols relevant to program repair in source code and diagnostic feedback.
We then apply a graph neural network on top to model the reasoning process.
We present a self-supervised learning paradigm for program repair that leverages unlabeled programs available online.
arXiv Detail & Related papers (2020-05-20T07:24:28Z)
This list is automatically generated from the titles and abstracts of the papers in this site.
This site does not guarantee the quality of this site (including all information) and is not responsible for any consequences.