Repository navigation
统计紫皮书魔搭账号登录用户并支持账号名单导出 - #26
Closed
NovaWang97 wants to merge 1 commit into
Closed
NovaWang97 wants to merge 1 commit into
NovaWang97 wants to merge 1 commit into
Conversation
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.
Summary
Record successful ModelScope logins from the Purplebook page independently of comments or other reader actions.
/analyticsnow shows cumulative, today, and selected-period account counts, deduplicated by the verified identity already used by OAuth.Persist daily first/last login times and login counts in the reading database. Preserve existing accounts in the cumulative total without inventing historical timestamps. Provide an administrator-only local CSV export containing OIDC subject, username, and recorded login times for matching against ModelScope registration records; no account list is exposed through public APIs. Include the export utility in the Studio deployment package.
ModelScope registration timestamps are not available in the current login integration. These metrics therefore remain labelled as login accounts, not new registrations. The documentation explains how to use the exported identities for registration matching.
Validation