Skip to content

Update the Aesthetic score endpoint to by based on Composition#703

Open
danactive wants to merge 14 commits intomainfrom
feature/score
Open

Update the Aesthetic score endpoint to by based on Composition#703
danactive wants to merge 14 commits intomainfrom
feature/score

Conversation

@danactive
Copy link
Owner

@danactive danactive commented Feb 15, 2026

Summary

  • ./score endpoint details the Aesthetic score breakdown
  • Admin > Walk: Add exact filename for rename
  • View Album > useSearch: Display chips for keyword search and map filter
  • View Persons: Improve dropdown for all persons age
  • Close chore(deps-dev): bump minimatch from 3.1.2 to 3.1.5 #705

Test plan

  • Manual
  • New unit tests

@vercel
Copy link

vercel bot commented Feb 15, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
history Ready Ready Preview, Comment Mar 1, 2026 0:53am

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates the scoring pipeline so the admin “Aesthetic score” UI is driven primarily by composition-related signals (with optional model-based scoring), and surfaces more detailed score context in the preview UI.

Changes:

  • Switch /scores to return a richer scoring payload (composition/interest/thirds/sharpness/tips/model breakdown) instead of a single aesthetic_score.
  • Update the organize-preview UI to display the new score and provide a tooltip breakdown.
  • Add offline weight-loading Makefile targets and document the new scorer setup.

Reviewed changes

Copilot reviewed 8 out of 8 changed files in this pull request and generated 4 comments.

Show a summary per file
File Description
src/components/ThumbImg/index.tsx Adds editingThumb behavior to adjust viewed/highlight styling during thumb editing.
src/components/AdminAlbum/Thumbs.tsx Enables editingThumb when rendering album thumbs.
src/components/OrganizePreviews/PreviewImage.tsx Adapts score fetching/caching to the new payload and adds tooltip breakdown.
apps/api/main.py Changes /scores endpoint handler to return the new scoring payload.
apps/api/aesthetic.py Implements composition-based scoring, optional multi-attribute model scoring, and returns the expanded payload.
apps/api/requirements.txt Adds transformers dependency for the new scorer.
apps/api/README.md Documents how to fetch and run the new offline scorer weights.
Makefile Adds targets to download the new scorer + CLIP backbone for offline use.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 34 out of 35 changed files in this pull request and generated 12 comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants