mirror of
https://github.com/inaturalist/iNaturalistReactNative.git
synced 2025-12-23 22:18:36 -05:00
* Use unrestricted commonAncestorRankType for offline predictions from file * The plugin provides an interface for this * Fix type error * Add missing type * The iconic taxon is no longer part of the predictions result If we use common ancestor rollup mode the ancestor taxa are no longer included in the result (which in turn are the top 10 species predictions). So, we have to get the iconic taxon name for each result in a different manner. * Not needed as results are returned with highest score first * Remove number wrapper * Update comment * There is no special offline not-confident criterion This now returns common ancestor as top ID in case there is none over the threshold. So, same as online. * No distinction between debug types * Update ModelPrediction.js * This is actually redundant * Offline suggestions need to be sorted same as online * Should not have removed the export * Update comments