Skip to content

Studio Hub: rank Latest by trending against creation date, not last modified - #14329

Merged
shimmyshimmer merged 1 commit into
mainfrom
studio-hub-latest-created
Oct 20, 2026
Merged

shimmyshimmer merged 1 commit into
mainfrom
studio-hub-latest-created

Conversation

@shimmyshimmer

@shimmyshimmer shimmyshimmer commented Oct 20, 2026 •

Copy link
Copy Markdown
Member

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 above DeepSeek-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:

  1. DeepSeek-V4.1-Flash-1017-GGUF
  2. NVIDIA-Nemotron-3.5-Bolt-74B-A9B-GGUF
  3. LFM2.5-24B-A2B-GGUF
  4. NVIDIA-Nemotron-3.5-Super-VL-120B-A12B-GGUF
  5. flux-3-image-klein-GGUF

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.ts now 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, full npm test (12894 pass).
  • Ran rankFresh from 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.

@shimmyshimmer

Copy link
Copy Markdown
Member Author

@codex review

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 20, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-20T10:26:22.471892Z 5955d16 Manual request
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. 👍

Reviewed commit: 5955d16a4d

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

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".

@shimmyshimmer
shimmyshimmer merged commit ad2fc06 into main Oct 20, 2026
@shimmyshimmer
shimmyshimmer deleted the studio-hub-latest-created branch October 20, 2026 10:26
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.
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.

1 participant