Repository navigation
Studio Hub: rank Latest by trending against creation date, not last modified - #14329
Merged
Merged
Conversation
Member
Author
|
@codex review |
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
Codex Review: Didn't find any major issues. 👍 Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
danielhanchen
added a commit
that referenced
this pull request
Oct 20, 2026
## Problem `Frontend build + bundle sanity` is red again for PRs based on current main. Main builds over the startup budget: ``` eager startup JS: 6684.5 KB raw, 2012.8 KB transfer, 96 chunks over the startup budget: raw 6684.5 KB > 6684.4 KB ``` ## Measurement Exact totals, one machine and build, Node 24, 96 chunks throughout: | Commit | Raw (B) | Transfer (B) | |---|---|---| | 3c68c2a (#14324) | 6,844,622 | 2,061,046 | | ad2fc06 (#14329) | 6,844,459 | 2,061,006 | | 37f5374 (#14322, modern toggles) | 6,844,908 | 2,061,092 | #14322 adds 449 B raw / 86 B transfer. `switch.tsx` is a shared primitive that is already in the startup chunks, so this is ordinary growth and the chunk count is unchanged. #14329 had removed 163 B just before. ## Change `BUDGET` in `studio/frontend/scripts/check-bundle-budget.ts` is raised to the main build plus the same 160 B raw / 189 B transfer margin: `rawBytes` 6,845,068 and `transferBytes` 2,061,281. A comment entry records the numbers. ## Testing `npm ci && npm run build && npx tsx scripts/check-bundle-budget.ts` on this branch: `within budget (0.2 KB transfer, 0.2 KB raw to spare)`. On main, the over-budget output above.
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.
What changed
Latest in the Model hub now ranks Unsloth uploads by Hugging Face trending weighed against creation date. It no longer swaps in the last-modified date.
#13969 dated a repo by its last change whenever at least 5 likes and 80% of them were trending, to catch repos kept private until launch. In practice that also matches any popular upload from the past week. Re-uploading files to such a repo reset its age to zero and jumped it to the top. On 2026-10-20,
LFM2.5-24B-A2B-GGUF(created 2026-10-13, re-uploaded that morning) sat aboveDeepSeek-V4.1-Flash-1017-GGUF(created 2026-10-17).The chat model picker's Hub list uses the same Latest ranking by default, so it gets the same fix.
The score keeps the same form,
(trendingScore + 2) / (daysSinceCreated + 2) ^ 1.6. Only the age input changes. The release-age heuristic and its constants are removed.Order on 2026-10-20 from the live unsloth listing:
Trade-off: a repo kept private until launch is dated by when its repo was created, so it ranks lower than its real release date suggests (for example, Muse-Spark-Open-816B-A42B, created 2026-09-19).
Verification
tests/hub-fresh-ranking.test.tsnow uses the 2026-10-20 listing. It checks that age comes from creation only and that the re-uploaded LFM stays below models released after it.npm run typecheck,npm run build, fullnpm test(12894 pass).rankFreshfrom this branch against the live Hub listing (100 newest plus 100 most trending), which gave the order above.Not exercised here: ModelScope listings, which do not offer Latest.