This is likely no longer necessary now that offline scoring is based on common ancestor rollup instead of best branch. If we want to have a rank ceiling, it can be in filterSuggestions or at the UI level, applying both to offline and vision api results.
Closes MOB-373
Change the schema of offline predictions to include results array and seaprate commonAncestor, matching vision api responses.
Configure offline image predictions to set common ancestor mode.
* Update vc plugin
* Update tests with breaking change: combined_score now 0-100
* Frame processor predictions are in range of 0-100 with new key
* Remove offline convert score to confidence
* Update calculateConfidence.js
* Common ancestor should use combine_score
* Offline suggestions have combined_scores now instead of scores
* Change filtering to range 0-100
* Only use combined_score for Match screen
* Update debug data
* Fic typo in tests
* Remove key from type
* A key like this does not exist because we don't save rep Photo to realm
* Show rep photo on suggestions
* Add comment
* Update types.d.ts
* Move code around
* Send rep photo ID to taxon result
* Send rep photo to taxon result
* Add white background to box on taxon details
Closes MOB-491
* Comments
* Only send ID around and move photo to top
* Send first photo id also from match screen
* If rep photo is of same taxon, only send ID, else send entire photo to taxon details
* Refactor taxon image
* Updated realm types
* If rep photo is of other taxon send entire object
* Create copy of realm taxon
Avoids an error "object has been invalidated and deleted" which I didn't have tome to track down.
* Hide header & footer but show input fields when keyboard pops up on Login screen
* Scroll to username when keyboard pops up
* Reset scroll on focus of login screen
* Code cleanup
* Fix scrollview taps
* Minimize the number of rerenders by splitting sheet logic into separate component
* Fix agree sheet
* Fix y offset for scrolling from notifications to activity item
* Speed up precommit hook by only checking staged files with eslint and using eslint cache
* Linting test
* Add rubocop cache to gitignore
* Try to speed up flow
* Change default MyObs layout to grid
* Rename testID
* Update tests expecting to start with list view
* Reverse order of buttons in layout selector
* Fix layout bug of having empty boxes on explore
* Rename MyObsEmptyLoggedOut because it will have a logged in state as well
* Add a copy of InlineUser for headers
* Prop in currentUser and isConnected
* Use HeaderUser on empty my obs
* Adjust top position based on safe area insets
* Also use HeaderUser for MyObsList
* Refactor User components to use a base component
* npm calls for separate tests
* Revert "npm calls for separate tests"
This reverts commit 6317e0eda5.
* Do not show double gap for when no zoom button to show
* Add location-off icon
* Basic location button for camera
* Do not show new button in default mode
* In advanced mode using geomodel is opt-in with the button state
* Basic info box layout
* Add opacity
* Update strings.ftl
* Use location if present
* If no location permission given, show permission gate on pressing use location
* Minor restyle for offline text
* Refactor LocationStatus and add animation
* Update snapshot tests
* Include search for representative photos
* Request representative photo as a taxon field
* Show representative photo if given for alternative suggestions
* Add comment
* Use representative photo of top suggestion in photos section