MCPcopy
hub / github.com/LAION-AI/Open-Assistant / leaderboard.ts

File leaderboard.ts

website/src/pages/api/leaderboard.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import { withoutRole } from "src/lib/auth";
2import { updateUsersDisplayNames, updateUsersProfilePictures } from "src/lib/leaderboard_utilities";
3import { createApiClient } from "src/lib/oasst_client_factory";
4import { getBackendUserCore } from "src/lib/users";

Callers

nothing calls this directly

Calls 8

withoutRoleFunction · 0.90
createApiClientFunction · 0.90
getBackendUserCoreFunction · 0.90
updateUsersDisplayNamesFunction · 0.90
fetch_leaderboardMethod · 0.80
fetch_frontend_userMethod · 0.80

Tested by

no test coverage detected