bcgov / bcgov/entity

Enhancement to PPR search algorithm for serial number matches

Open
#11,775 0 comments 0 reactions 0 assignees View on GitHub
Assets Client/Staff Feedback enhancement PPR Review with Business
Dominant language
JavaScript
Stars
23
Forks
62
Avg merge
24m
Merged PRs (30d)
1

Description

Sharon has identified that in a search that was off by one character the actual serial number was not retrieved as a potential match. See below. It is expected that a search that is only off by one character would still show the desired result in the results set.

Note: This is currently the functionality in the old PPR search algorithm as well, so is being logged as an enhancement.

![image.png](https://images.zenhubusercontent.com/5ba90c7629a785544981da1c/d31f4e03-3263-4cfd-af93-abb0379f49f3)

![image.png](https://images.zenhubusercontent.com/5ba90c7629a785544981da1c/f68aeb49-8665-4049-9cf1-4952cb661846)

Contributor guide

No contributing guide indexed for this repository

Research direction

No files, tests, or entry points are identified in the issue. Start by locating the PPR search implementation and its existing search tests, then reproduce the one-character serial-number mismatch. Done means the expected serial number appears in the results for a search differing by one character, consistent with the old algorithm.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
search
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.