Combating Missed Recalls in E-commerce Search: A CoT-Prompting Testing Approach
Open Access
- 10 July 2024
- conference paper
- Published by Association for Computing Machinery (ACM)
- p. 220-231
Abstract
Search components in e-commerce apps, often complex AI-based systems, are prone to bugs that can lead to missed recalls—situations where items that should be listed in search results aren't. This can frustrate shop owners and harm the app's profitability. However, testing for missed recalls is challenging due to difficulties in generating user-aligned test cases and the absence of oracles. In this paper, we introduce mrDetector, the first automatic testing approach specifically for missed recalls. To tackle the test case generation challenge, we use findings from how users construct queries during searching to create a CoT prompt to generate user-aligned queries by LLM. In addition, we learn from users who create multiple queries for one shop and compare search results, and provide a test oracle through a metamorphic relation. Extensive experiments using open access data demonstrate that mrDetector outperforms all baselines with the lowest false positive ratio. Experiments with real industrial data show that mrDetector discovers over one hundred missed recalls with only 17 false positives.Keywords
All Related Versions
Funding Information
- Natural Science Foundation of Shanghai Municipality (22ZR1407900)
This publication has 51 references indexed in Scilit:
- Role of Chat GPT in Public HealthAnnals of Biomedical Engineering, 2023
- Potential Use of Chat GPT in Global WarmingAnnals of Biomedical Engineering, 2023
- Explainable Artificial Intelligence (XAI): Concepts, taxonomies, opportunities and challenges toward responsible AIInformation Fusion, 2020
- Testing and validating machine learning classifiers by metamorphic testingJournal of Systems and Software, 2011
- New measurements for search engine evaluation proposed and testedInformation Processing & Management, 2004
- A comprehensive and systematic model of user evaluation of Web search engines: II. An evaluation by undergraduatesJournal of the American Society for Information Science and Technology, 2003
- Fault-based testing without the need of oraclesInformation and Software Technology, 2003
- Research in software engineering: an analysis of the literatureInformation and Software Technology, 2002
- Finding information on the World Wide Web: the retrieval effectiveness of search enginesInformation Processing & Management, 1999
- RELEVANCE: A review of and a framework for the thinking on the notion in information scienceJournal of the American Society for Information Science, 1975