-
Notifications
You must be signed in to change notification settings - Fork 5
[Do Not Merge] OOD Features #820
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
mihow
wants to merge
47
commits into
main
Choose a base branch
from
deployments/ood.antenna.insectai.org
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Copilot wasn't able to review any files in this pull request.
✅ Deploy Preview for antenna-ood canceled.
|
✅ Deploy Preview for antenna-preview canceled.
|
* feat: Added pgvector extension * feat: Added features field to the Classification model * changed taxon and detection to autocomplete fields in the ClassificationAdmin model * feat: added similar action to the ClassificationViewset * chore: changed features vector field name to features_2048 * chore: changed features vector field name to features_2048 * feat: read features vector from processing service ClassificationResponse and save it to Classification object * test: added tests for PGVector distance metrics * updated docker-compose.ci.yml to use the same postgres image * updated docker-compose.ci.yml to use the same postgres image as docker-compose.yml * updated docker-compose.ci.yml to use the same postgres image as docker-compose.yml * chore: add feature vectors to test ML backends --------- Authored-by: mohamedelabbas1996 <hack1996man@gmail.com>
* feat: save and display OOD score if available * feat: allow different field names in classification resp. and model * fix: ensure ood score is updated when saving bulk results * feat: update updated_at value for occurrences with new predictions * feat: add OOD scores to test ML backends
* feat: add fields for Taxon cover images and Fieldguide ID * feat: add cover image fields to Taxon model for the UI
* refactor: make related UI components more flexible * feat: update species view with reference images and example occurrence * feat: adjust species details view for print * feat: return last seen from API * feat: add cover image to taxa table and gallery view * layout: improve print mode in general * feat: allow printing of multiple pages * fix: handle undefined date for last detected * layout: prepare tweaks for unknown species scenario * fix: remove remaining dummy data * fix: handle undefined cover image
* feat: Added pgvector extension * feat: Added features field to the Classification model * changed taxon and detection to autocomplete fields in the ClassificationAdmin model * feat: added similar action to the ClassificationViewset * chore: changed features vector field name to features_2048 * chore: changed features vector field name to features_2048 * feat: read features vector from processing service ClassificationResponse and save it to Classification object * test: added tests for PGVector distance metrics * updated docker-compose.ci.yml to use the same postgres image * updated docker-compose.ci.yml to use the same postgres image as docker-compose.yml * updated docker-compose.ci.yml to use the same postgres image as docker-compose.yml * feat: Added support for clustering detections for source image collections * feat: Allowed triggering collection detections clustering from admin page * fix: show unobserved Taxa in view for now * fix: create & update occurrence determinations after clustering * feat: add unknown species filter to admin * fix: circular import * fix: update migration ordering * Integrated Agglomerative clustering * updated clustering request params * fixed Agglomerative clustering * fix: disable missing clustering algorithms * fix: syntax when creating algorithm entry * feat: command to create clustering job without starting it * feat: increase default batch size * fix: better algorithm name * feat: allow sorting by OOD score * feat: add unknown species and other fields to Taxon serializer * fix: remove missing field * fix: migration conflicts * feat: fields for investigating occurrence classifications in admin * fix: filter by feature extraction algorithm * chore: Used a serializer to handle job params instead of reading them directly from the request objects * set default ood threshold to 0.0 * test: added tests for clustering * chore: migration for new algorithm type * fix: remove cluster action in Event admin until its ready * chore: move algorithm selection to dedicated function * fix: update clustering tests and types * chore: remove external network config in processing services * feat: update GitHub workflows to run tests on other branches * fix: hide unobserved taxa by default. todo: add frontend filter to toggle this --------- Co-authored-by: Michael Bunsen <notbot@gmail.com>
* feat: management command for updating fields on existing Taxa from CSV * feat: try another title for example occurrence image * feat: allow manual filter for showing taxa without occurrences * feat: allow sorting by reference image for better demos
…nickLab/antenna into deployments/ood.antenna.insectai.org
* feat: generic ThresholdFilter for OOD and determination scores * docs: update openAPI schema docs with new filters for occurrence list
* feat: extend list of recent labels * fix: do not invalidate queries until all ids are saved --------- Co-authored-by: Anna Viklund <annamariaviklund@gmail.com>
* feat: cleanup code for occurrence determinations, add tests * feat: update occurrence best_detection on save * docs: add placeholder fields * fix: calculate OOD score from latest classifications only * feat: refactor occurrence determination updates to be more readable * chore: migrations for new occurrence & detection fields * feat: management command & migration for updating all existing * fix: add missing predictions() list for serializer * fix: reference to old cached property * fix: move main tests into new module directory * chore: save additional fields for a follow-up * fix: update determination tests * fix: split get_prediction and get_predictions, different use cases
* fix: make sure OOD reference image thumbnails are not cropped * fix: include temporary workaround for invalid cert on Fieldguide * style: present OOD score in UI and streamline how score details are presented * fix: remove station field until present * fix: remove sort by rank until working * feat: add OOD score threshold filter and remember preferences * fix: handle scores that are undefined or null * fix: update OOD score threshold * fix: remove temporary URL workaround
* chore: replace old taxa search with new component * feat: make it possible to suggest ID from inline popover * feat: make it possible to suggest ID in bulk * feat: sort occurrences to show recently IDed first --------- Co-authored-by: Michael Bunsen <notbot@gmail.com>
* feat: make it possible to rename unknown species from UI * feat: make it possible to edit taxon parent from UI
* feat: added support for tag creation for a given taxon * chore: moved Tag<->Taxon many2many to the Taxon model * feat: added the Tag admin model * feat: added custom assign_tags action to the TaxonViewSet to assign tags for a given taxon and return the assigned tags filtered by project * fixed formatting * merged migrations * feat: added tags to the Taxon admin model * feat: added global tags * added db migration * feat: show global tags if there is an active project * feat: added or based taxon filtering by tag_id * chore: renamed TaxonTagFilterBackend * fix: fixed filtering tags by project_id in the TaxonViewSet list * Add frontend support for taxa tags (#828) * feat: setup UI for taxon tags * feat: prepare UI controls for tag filtering * feat: hook up UI tags with backend * fix: update filter key from tag -> tag_id * fixed Taxon List tags column name * feat: added tags inverse filter * feat: return global tags with project tags * chore: reset tag migrations, add default tags * fix: remove invalid field in taxa list query * chore: add type hints for reverse relationships --------- Co-authored-by: Anna Viklund <annamariaviklund@gmail.com> Co-authored-by: Michael Bunsen <notbot@gmail.com>
* feat: add unknown species filter control to UI * feat: add backend support for unknown species filter * feat: fix missing parents in taxa list view --------- Co-authored-by: Michael Bunsen <notbot@gmail.com>
* feat: don't show placeholder scores from human identifications * feat: prioritize determinations from clustering, regardless of score * feat: method to calculate score of cluster points * feat: track more details about cluster members * fix: score calculation and display of classifications for clusters * feat: use common ancestor of predicted taxon for name & parent * feat: use any occurrence's best detection as fallback cover image * feat: update automatic naming * feat: fix missing parents in taxa list view * copy: cleanup auto generated taxa list name * feat: remove species name from cluster name, expand notes. * fix: calculation of determination score --------- Co-authored-by: Anna Viklund <annamariaviklund@gmail.com>
* feat: setup new filter control for unobserved * feat: add quick action to create new unknown species from UI * feat: add link to Django admin from species detail view * fix: check permissions before presenting create species button * copy: update "New unknown species" -> "Register new cluster" * feat: add date columns to species table
* feat: allow taxa to be saved with no project (global use) * feat: return global or per-project taxa & taxa lists * feat: use default queryset for taxa search, ensure active filter * fix: validation of project_id * feat: require project_id for taxa endpoints, note about permissions * feat: reusable field for cover image fallback field to all taxa endpoints * feat: pass project id to taxa search endpoint * feat: reset all existing taxa to be global * fix: add project_id to requests in taxa tests * fix: active project validation
* feat: present best determination score for taxa in UI * feat: add best score filter for taxa * feat: return best score in taxon details response * fix: add column settings support in taxa view
….com/RolnickLab/antenna into deployments/ood.antenna.insectai.org
26c5f15
to
a011a5f
Compare
…/ood.antenna.insectai.org
a011a5f
to
3528f27
Compare
This was referenced Sep 4, 2025
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
A set of experimental features for the OOD project