SlideShare a Scribd company logo
Valentina Grigoreanu, Margaret Burnett, George RobertsonOregon State University & Microsoft Corporation04.13.10 – CHI 2010 TalkStrategy-Centric Approach:Design of End-User Debugging Tools Valentina Grigoreanu (M.A.X.)	1
AgendaProblem + Theoretical FindingsStratCel: New Strategy-Centric Debugging ToolTactics+MovesStratagemsStrategiesValentina Grigoreanu (M.A.X.)	2
Research Methods: Eight StudiesFactors to consider in future studies (Moves and Tactics)Generalizing across environments, populations, & study setups (Stratagems)A Sensemaking perspective on end-user debugging (Strategies)Designing end-user debugging tools (All four levels)Valentina Grigoreanu (M.A.X.)	3
Problem AddressedEnd-user programmers’ code is buggyE.g., [Powell et al. 2008; EuSpRIG 2006]Valentina Grigoreanu (M.A.X.)	4
Problem AddressedNot only is EUP code buggy…Problem amplified by:Tens of millions of end-user programmers [Scaffidi et al. 2005]Lack of training in software engineering techniques [Study Participants]Increasing size and complexity of spreadsheets [Whittaker 1999]Valentina Grigoreanu (M.A.X.)	5
Related WorkPrevious research / tools to improve end-user debugging:Automatic bug detectionMapping techniques from professional SEFeature usageA critical stone has been left unturned…Valentina Grigoreanu (M.A.X.)	6
CHI Paper/Dissertation RQHow can we design tools such that they support end-user programmers’ existingeffectivedebugging strategies?What are they?How are they used?Are there gender differences?Do the strategies generalize across EUP environments?How can tools be designed around strategies?What impact would strategy support have on success?Valentina Grigoreanu (M.A.X.)	7
DefinitionsHas Impact on…Iteratative improvements to Existing Features.New feature innovation.Overview. Stumbling Blocks. Checks.Note: All three of these are needed for strategy-centric design.Valentina Grigoreanu (M.A.X.)	8
OutlineValentina Grigoreanu (M.A.X.)	9
The StratagemsCode InspectionControl FlowDataflowFeedback FollowingHelpProceeding as in Prior ExperienceSpatialSpecification CheckingTestingTo-do ListingValentina Grigoreanu (M.A.X.)	10
OutlineValentina Grigoreanu (M.A.X.)	11
OutlineValentina Grigoreanu (M.A.X.)	12
StratCel21 implications for designAt 3 levels of abstraction:Strategies (high)Stratagems (medium)Moves/tactics (low)Valentina Grigoreanu (M.A.X.)	13
StratCelValentina Grigoreanu (M.A.X.)	14
1. Strategies ImplicationObserved two strategiesComprehensive strategy:Thorough, found easy bugs quickly, lots of fixes within 30 minutesBut… Needed help keeping track of cells to return toSelective strategy:Fixed the hardest bug, found some of the easier ones in the processBut… Needed help keeping track of cells not checkedValentina Grigoreanu (M.A.X.)	15
Strategies ImplicationSounds a lot like support for the to-do listing stratagem might help:Observed in Forms/3, PowerShell, professional devs.Poorly supported in all: often requires repurposingShows promise for improving debugging successValentina Grigoreanu (M.A.X.)	16
StratCel:Strategies and To DosDoes not impose an orderValentina Grigoreanu (M.A.X.)	17
2. Stratagems ImplicationSupport all strategems in the context of each to-do item (specification checking, testing, code inspection, etc.).Each provides additional relevant information for debugging.Valentina Grigoreanu (M.A.X.)	18
StratCel:Multi-Stratagem SupportValentina Grigoreanu (M.A.X.)	19
3. Moves & Tactics ImplicationsHighlighting formula cellsToo many warnings is as bad as none at allInterworksheet dependenciesValentina Grigoreanu (M.A.X.)	20
Good Tactics, Bad MovesImplication 3Following dependencies between spreadsheetsHow many of our participants do you think understood this icon when they saw it? Implication for design: at least a tooltip, would be nice. Though a method for navigating to that/those cell(s) would be ideal.Valentina Grigoreanu (M.A.X.)	21
StratCel: Highlight FormulasValentina Grigoreanu (M.A.X.)	22
StratCel: Error CheckingValentina Grigoreanu (M.A.X.)	23
StratCel: Interworksheet DependenciesValentina Grigoreanu (M.A.X.)	24
Evaluation: Study Setup8 Control participants / 5 Treatment participantsExperience with formulasThink-aloud studyDebugged a grade-book spreadsheet in ExcelSeeded with 10 bugsOr so we thought... There were actually 12!Our StratCel participants found 2 more bugs that the researchers, the spreadsheet’s creator, and the Excel-only participants all had overlooked!Valentina Grigoreanu (M.A.X.)	25
StratCel Results:TriangulationWhy? Too much feedback is as bad as no feedback.
 Support for selective and comprehensive strats:Selective: used status borders to easily find areas on which to focus attention.Comprehensive: walked through the entire to-do list item-by-item.Bugs Foundp<0.005Valentina Grigoreanu (M.A.X.)	26
StratCel Results:TriangulationWhy? Found significantly more bugs.
 Contextually-provided information on additional stratagems:
 Specification
 Recently used function library
 Each feature used by at least one participantBugs Fixedp<0.002The time factor:- Debugging is often a time-sensitive activity. On average, Treatment participants found and fixed bugs faster.
 Time to first bug find: p<0.005

More Related Content

PDF
SOFTWARE TESTING: ISSUES AND CHALLENGES OF ARTIFICIAL INTELLIGENCE & MACHINE ...
PPT
Software testing strategies
PPTX
H testing and debugging
PPT
software testing
PPTX
Software Testing Training : Tonex Training
DOCX
Softwaretestingstrategies
PPTX
Research issues in object oriented software testing
PPTX
Testing and types of Testing
SOFTWARE TESTING: ISSUES AND CHALLENGES OF ARTIFICIAL INTELLIGENCE & MACHINE ...
Software testing strategies
H testing and debugging
software testing
Software Testing Training : Tonex Training
Softwaretestingstrategies
Research issues in object oriented software testing
Testing and types of Testing

What's hot (18)

PPTX
Object Oriented Analysis
PPT
Ppt19
PPTX
Testing strategies
PPT
testing strategies and tactics
PPT
debugging and testing
PPTX
Software Testing Fundamentals | Basics Of Software Testing
PPTX
Software Testing Strategies
PDF
Software Testing Techniques: An Overview
PPT
Chapter 14 software testing techniques
PPT
Taxonomy for bugs
PPT
Software Testing
PPT
Testing strategies in Software Engineering
PPT
Software Testing
PPTX
#1 formal methods – introduction for software engineering
PDF
@#$@#$@#$"""@#$@#$"""
PPT
SECh1920
PPTX
Software Testing Strategies
PPTX
SOFTWARE TESTING UNIT-4
Object Oriented Analysis
Ppt19
Testing strategies
testing strategies and tactics
debugging and testing
Software Testing Fundamentals | Basics Of Software Testing
Software Testing Strategies
Software Testing Techniques: An Overview
Chapter 14 software testing techniques
Taxonomy for bugs
Software Testing
Testing strategies in Software Engineering
Software Testing
#1 formal methods – introduction for software engineering
@#$@#$@#$"""@#$@#$"""
SECh1920
Software Testing Strategies
SOFTWARE TESTING UNIT-4
Ad

Similar to StratCel: A Strategy-Centric Approach to the Design of End-User Debugging Tools (20)

PPTX
Tool support for testing
PPTX
Are Automated Debugging Techniques Actually Helping Programmers
PDF
Black-Box
PPT
Software Requirements Engineering Methodologies
DOCX
New folderIMAG2318.jpgNew folderIMAG2319.jpgNew folder.docx
PDF
Different Methodologies For Testing Web Application Testing
PPTX
System development analysis life cycle
PDF
Analysis random org nist2005
PPT
Intranet Usability Testing
PPT
Different Approaches To Sys Bldg
PDF
Anders Claesson - Test Strategies in Agile Projects - EuroSTAR 2010
PPTX
7. requirement-engineering
PDF
Enjoy an instant PDF download of the complete Test Bank for Systems Analysis ...
PDF
Applicability of Hooke’s and Jeeves Direct Search Solution Method to Metal c...
PDF
Online examination system
PDF
Investigate the Matrix: Leveraging Variability to Specialize Software and Tes...
PDF
Test Banks for Essentials of Systems Analysis and Design 5th Edition by Valacich
PPTX
Scenario 4
PDF
Software Analytics = Sharing Information
PDF
Operations Research Digital Material.pdf
Tool support for testing
Are Automated Debugging Techniques Actually Helping Programmers
Black-Box
Software Requirements Engineering Methodologies
New folderIMAG2318.jpgNew folderIMAG2319.jpgNew folder.docx
Different Methodologies For Testing Web Application Testing
System development analysis life cycle
Analysis random org nist2005
Intranet Usability Testing
Different Approaches To Sys Bldg
Anders Claesson - Test Strategies in Agile Projects - EuroSTAR 2010
7. requirement-engineering
Enjoy an instant PDF download of the complete Test Bank for Systems Analysis ...
Applicability of Hooke’s and Jeeves Direct Search Solution Method to Metal c...
Online examination system
Investigate the Matrix: Leveraging Variability to Specialize Software and Tes...
Test Banks for Essentials of Systems Analysis and Design 5th Edition by Valacich
Scenario 4
Software Analytics = Sharing Information
Operations Research Digital Material.pdf
Ad

Recently uploaded (20)

PDF
MIND Revenue Release Quarter 2 2025 Press Release
PPT
“AI and Expert System Decision Support & Business Intelligence Systems”
PDF
Assigned Numbers - 2025 - Bluetooth® Document
PDF
Empathic Computing: Creating Shared Understanding
PDF
Network Security Unit 5.pdf for BCA BBA.
PDF
Reach Out and Touch Someone: Haptics and Empathic Computing
PDF
gpt5_lecture_notes_comprehensive_20250812015547.pdf
PDF
Review of recent advances in non-invasive hemoglobin estimation
PDF
Diabetes mellitus diagnosis method based random forest with bat algorithm
PDF
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
PDF
Electronic commerce courselecture one. Pdf
PDF
Per capita expenditure prediction using model stacking based on satellite ima...
PPTX
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
PDF
Encapsulation_ Review paper, used for researhc scholars
DOCX
The AUB Centre for AI in Media Proposal.docx
PDF
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
PPTX
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
PDF
Mobile App Security Testing_ A Comprehensive Guide.pdf
PPTX
Machine Learning_overview_presentation.pptx
PDF
Agricultural_Statistics_at_a_Glance_2022_0.pdf
MIND Revenue Release Quarter 2 2025 Press Release
“AI and Expert System Decision Support & Business Intelligence Systems”
Assigned Numbers - 2025 - Bluetooth® Document
Empathic Computing: Creating Shared Understanding
Network Security Unit 5.pdf for BCA BBA.
Reach Out and Touch Someone: Haptics and Empathic Computing
gpt5_lecture_notes_comprehensive_20250812015547.pdf
Review of recent advances in non-invasive hemoglobin estimation
Diabetes mellitus diagnosis method based random forest with bat algorithm
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
Electronic commerce courselecture one. Pdf
Per capita expenditure prediction using model stacking based on satellite ima...
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
Encapsulation_ Review paper, used for researhc scholars
The AUB Centre for AI in Media Proposal.docx
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
Mobile App Security Testing_ A Comprehensive Guide.pdf
Machine Learning_overview_presentation.pptx
Agricultural_Statistics_at_a_Glance_2022_0.pdf

StratCel: A Strategy-Centric Approach to the Design of End-User Debugging Tools

  • 1. Valentina Grigoreanu, Margaret Burnett, George RobertsonOregon State University & Microsoft Corporation04.13.10 – CHI 2010 TalkStrategy-Centric Approach:Design of End-User Debugging Tools Valentina Grigoreanu (M.A.X.) 1
  • 2. AgendaProblem + Theoretical FindingsStratCel: New Strategy-Centric Debugging ToolTactics+MovesStratagemsStrategiesValentina Grigoreanu (M.A.X.) 2
  • 3. Research Methods: Eight StudiesFactors to consider in future studies (Moves and Tactics)Generalizing across environments, populations, & study setups (Stratagems)A Sensemaking perspective on end-user debugging (Strategies)Designing end-user debugging tools (All four levels)Valentina Grigoreanu (M.A.X.) 3
  • 4. Problem AddressedEnd-user programmers’ code is buggyE.g., [Powell et al. 2008; EuSpRIG 2006]Valentina Grigoreanu (M.A.X.) 4
  • 5. Problem AddressedNot only is EUP code buggy…Problem amplified by:Tens of millions of end-user programmers [Scaffidi et al. 2005]Lack of training in software engineering techniques [Study Participants]Increasing size and complexity of spreadsheets [Whittaker 1999]Valentina Grigoreanu (M.A.X.) 5
  • 6. Related WorkPrevious research / tools to improve end-user debugging:Automatic bug detectionMapping techniques from professional SEFeature usageA critical stone has been left unturned…Valentina Grigoreanu (M.A.X.) 6
  • 7. CHI Paper/Dissertation RQHow can we design tools such that they support end-user programmers’ existingeffectivedebugging strategies?What are they?How are they used?Are there gender differences?Do the strategies generalize across EUP environments?How can tools be designed around strategies?What impact would strategy support have on success?Valentina Grigoreanu (M.A.X.) 7
  • 8. DefinitionsHas Impact on…Iteratative improvements to Existing Features.New feature innovation.Overview. Stumbling Blocks. Checks.Note: All three of these are needed for strategy-centric design.Valentina Grigoreanu (M.A.X.) 8
  • 10. The StratagemsCode InspectionControl FlowDataflowFeedback FollowingHelpProceeding as in Prior ExperienceSpatialSpecification CheckingTestingTo-do ListingValentina Grigoreanu (M.A.X.) 10
  • 13. StratCel21 implications for designAt 3 levels of abstraction:Strategies (high)Stratagems (medium)Moves/tactics (low)Valentina Grigoreanu (M.A.X.) 13
  • 15. 1. Strategies ImplicationObserved two strategiesComprehensive strategy:Thorough, found easy bugs quickly, lots of fixes within 30 minutesBut… Needed help keeping track of cells to return toSelective strategy:Fixed the hardest bug, found some of the easier ones in the processBut… Needed help keeping track of cells not checkedValentina Grigoreanu (M.A.X.) 15
  • 16. Strategies ImplicationSounds a lot like support for the to-do listing stratagem might help:Observed in Forms/3, PowerShell, professional devs.Poorly supported in all: often requires repurposingShows promise for improving debugging successValentina Grigoreanu (M.A.X.) 16
  • 17. StratCel:Strategies and To DosDoes not impose an orderValentina Grigoreanu (M.A.X.) 17
  • 18. 2. Stratagems ImplicationSupport all strategems in the context of each to-do item (specification checking, testing, code inspection, etc.).Each provides additional relevant information for debugging.Valentina Grigoreanu (M.A.X.) 18
  • 20. 3. Moves & Tactics ImplicationsHighlighting formula cellsToo many warnings is as bad as none at allInterworksheet dependenciesValentina Grigoreanu (M.A.X.) 20
  • 21. Good Tactics, Bad MovesImplication 3Following dependencies between spreadsheetsHow many of our participants do you think understood this icon when they saw it? Implication for design: at least a tooltip, would be nice. Though a method for navigating to that/those cell(s) would be ideal.Valentina Grigoreanu (M.A.X.) 21
  • 22. StratCel: Highlight FormulasValentina Grigoreanu (M.A.X.) 22
  • 23. StratCel: Error CheckingValentina Grigoreanu (M.A.X.) 23
  • 25. Evaluation: Study Setup8 Control participants / 5 Treatment participantsExperience with formulasThink-aloud studyDebugged a grade-book spreadsheet in ExcelSeeded with 10 bugsOr so we thought... There were actually 12!Our StratCel participants found 2 more bugs that the researchers, the spreadsheet’s creator, and the Excel-only participants all had overlooked!Valentina Grigoreanu (M.A.X.) 25
  • 26. StratCel Results:TriangulationWhy? Too much feedback is as bad as no feedback.
  • 27. Support for selective and comprehensive strats:Selective: used status borders to easily find areas on which to focus attention.Comprehensive: walked through the entire to-do list item-by-item.Bugs Foundp<0.005Valentina Grigoreanu (M.A.X.) 26
  • 28. StratCel Results:TriangulationWhy? Found significantly more bugs.
  • 29. Contextually-provided information on additional stratagems:
  • 31. Recently used function library
  • 32. Each feature used by at least one participantBugs Fixedp<0.002The time factor:- Debugging is often a time-sensitive activity. On average, Treatment participants found and fixed bugs faster.
  • 33. Time to first bug find: p<0.005
  • 34. Time to first bug fix: p<0.003Valentina Grigoreanu (M.A.X.) 27
  • 35. StratCel Results:TriangulationFoundCF: 4.5, TF: 9.0CM: 5.0, TM: 9.0Fixed:CF: 3.5, TF: 9CM: 2.5, TM: 8.5“I feel like [StratCel] would be extra useful for someone like me who, well, I can use Excel and I can figure it out, but I'm definitely not an expert at Excel. […] I think the only problems I had were with the Excel functions I hadn't learned. This is like a really good way of helping me keep track of what I've done and not get lost."Valentina Grigoreanu (M.A.X.) 28
  • 37. Parallels to IR Research- This design approach can be used beyond end-user debugging.- [T]he goal has been formed in much IR research to have the system do the searching for us, but that is not the only alternative. It should also be possible to design search interfaces that harmonize with and make easy the prosecution of good search strategy, systems that make it easy for novices to move quickly into good searching because the system promotes it” [Bates 1990].Valentina Grigoreanu (M.A.X.) 30
  • 38. StratCel Results:UsabilityWas StratCel intuitive – a.k.a. did we really support end-user programmers’ debugging strategies?"And this is straight-forward and makes a lot of sense. When you look at it, you know what it is. There are lots of tools, where you can tell that people said, 'well… there's just a workaround and you can just do it this way'. But this one, it just seemed very straightforward and it builds on everything from Excel.”“This was really helpful because it has a way to say these are all your formulas… These are the ones you need to go look at. And I like this part [the address field] which shows me where I can find all of the formulas, so I can see them. For example, on this one, I could see there was a gap for E16and I could go back and look specifically at that cell, because I expect it to be the same, and see what's going on.”Valentina Grigoreanu (M.A.X.) 31
  • 39. StratCel Results:Real-World ApplicationsApplicable to real-world tasks:“I think this would be useful for my complex accounting spreadsheets. If you would like to share the tool, I would love to try it on those.”“Looking at [StratCel], I was thinking I have to have a way of tracking my [knitting] patterns. So things that… Ok. I have a pattern and I have steps I have to go through. And I need a way to track them.”"So, can I use your tool? You should sell this and make a million dollars!”Valentina Grigoreanu (M.A.X.) 32
  • 40. Validated Design GuidelinesAutomatic error detection tools default: Value quality (low number of false-positives) over quantity (detecting more possible types of errors). Important information about cells (e.g., to-do status) should be overlaid onto the spreadsheet to give the user a quick overview of the to-do status of both individual cells and of the overall spreadsheet. Some users are comprehensive, whereas others will start by trying to fix apparent bugs right away. Support both, since both have pros and cons.Strategy-based tools should provide explicit support for to-do listing. To improve debugging of end-user programs, it helps to automatically generate a list of items to check so that all areas of the code are given equal attention. Information about the remaining strategems should be provided in the context of each to-do item to provide more information on which to base a bug fix. Viewing formulas related to an item (e.g., the consistent formulas, recently used formulas, or formulas used in files in a certain directory) may be particularly useful for improving debugging success.33

Editor's Notes

  • #3: Theoretical findings to guide future changes: e.g., what strategies do spreadsheet users employ?Incremental improvements to Excel based on my studiesStratCel: A new tool I built to complement Excel’s support for debugging. I’ve got a provisional patent on StratCel – haven’t yet decided on the next step.
  • #4: This CHI paper builds on a whole lot of other studies. So, before I tell you what StratCel is, I’ll give you some highlights from earlier studies.
  • #22: They hovered over – nothing happenedThey clicked on it – it selects the cell below itHow do you look up help for something like this?More importantly, how do you smoothly navigate to those dependent cells?