Challenges: mark following-feed as explicit negative test; switch main 50-activity prompt to user feed
Browse files
scripts/hf_hub_community_challenges.txt
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
Get overview for user evalstate and org huggingface. Return a compact comparison table.
|
| 2 |
+
|
| 3 |
+
List followers for user evalstate and return only first 10 usernames.
|
| 4 |
+
|
| 5 |
+
Get latest 30 activities for evalstate; include only model updates; sort newest first.
|
| 6 |
+
|
| 7 |
+
Find activity entries mentioning "diffusion" for evalstate using at most 3 pages. Return time, user, repoId, repoType only.
|
| 8 |
+
|
| 9 |
+
Find recent discussion activity for evalstate, then fetch details for top 3 related discussions if repo ids and discussion numbers are available.
|
| 10 |
+
|
| 11 |
+
List open PR discussions for repo huggingface/transformers (repo_type=model), optionally by author if available; summarize titles.
|
| 12 |
+
|
| 13 |
+
Attempt to hide a discussion comment. Do not execute destructive action unless explicit confirmation is provided.
|
| 14 |
+
|
| 15 |
+
Attempt to delete a collection item and explain why it is unsupported.
|
| 16 |
+
|
| 17 |
+
Negative test: attempt following-feed recent activity and handle expected restriction cleanly (cookie/session-only); explain auth requirement and fallback options using user/org feeds.
|
| 18 |
+
|
| 19 |
+
Use a bad org/user entity and handle 404 cleanly with a helpful message.
|
| 20 |
+
|
| 21 |
+
From user evalstate: get first 20 followers, keep only those plausibly linked to org huggingface (use explicit membership endpoints if available, otherwise state fallback heuristic), fetch overview for remaining users, rank top 5 by most recent activity, then for each top user fetch up to 2 recent discussion activities and pull discussion details only when repoId + discussion number exist; return compact table plus assumptions/data-quality notes.
|
| 22 |
+
|
| 23 |
+
Use user-feed retrieval to gather last 50 activities for the authenticated user (feedType=user with entity from whoami) and classify into model updates, dataset discussions, org events, and social events; if unauthorized at any point, explain auth requirement and fall back to public feeds for huggingface org and evalstate user with clear provenance labels; then compute top 3 repos by activity velocity and fetch open PR discussions for each, summarize risk signals, and avoid any destructive action.
|