Fix failing tests in an existing return/risk evaluation codebase.
Unlock detailed company stats for this questionUpgrade
You are given a repository of 7+ files, some 400-500+ lines, that implements a return/risk evaluation system. The logic covers category returnability, return-window validation, linked-account aggregation, return history, order-value scoring, risk-score calculation, auto-approve/manual-review/reject decisions and reason mapping. Six test cases currently fail. Understand the codebase, find why the tests fail, identify the correct component, and modify the implementation so they pass.
Format · OA repository-based question.
Community answers
No answers contributed by the community yet.
Related questions
Reach the end of a grid with direction cells and walls in a given codebase with failing tests.Related courses

Course

Course
Course
