Open
Conversation
Users can now browse species at /browse with filters for COI sequence availability, MI edge presence, extinct status, and sort by name or edge count. Defaults to showing species with MI edges sorted by most connections, making it easy to find species with genetic similarity data. - GET /v1/species endpoint with has_sequences, has_edges, is_extinct, clade, and sort query params - Frontend browse page with filter buttons, pagination, and species cards showing COI/MI badges - Nav link "Species" added to header, "Browse Species" CTA on home page - 13 backend tests, 12 frontend tests for the new feature https://claude.ai/code/session_015FCj2G9CHpnsJqHcF3n8aw
Two fixes for navigability: 1. Species browse cards now show "Order > Family" (e.g. "Passeriformes > Corvidae") so you can see where a species fits without clicking through. Uses batch lineage lookup — one query for all ancestor family/order names. 2. Taxon detail children are now sorted by rank priority (orders first, then families, genera, species, subspecies) instead of purely alphabetical. For Aves with 729 children, this means the first 100 shown are the orders and families you actually want to navigate, not a random mix of subspecies and environmental samples. https://claude.ai/code/session_015FCj2G9CHpnsJqHcF3n8aw
The MI network (~620 nodes, 10k edges) was too tightly clustered. ForceAtlas2 parameters now scale with node count: - scalingRatio 40→120 for >300 nodes (stronger repulsion) - gravity 0.08→0.02 (less center-pull) - Initial positions spread 200→1200 (wider start) - 200 iterations instead of 100 (more time to converge) - adjustSizes enabled (prevents node overlap) Small graphs (<300 nodes) keep the previous settings. https://claude.ai/code/session_015FCj2G9CHpnsJqHcF3n8aw
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
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.
No description provided.