Download dashboard/src/types.ts from ArshVerma/CodeLens: direct link, hf CLI and curl.
- Browser
- Download file 513 Bytes
-
https://huggingface.co/spaces/ArshVerma/CodeLens/resolve/main/dashboard/src/types.ts
- Command line
-
hf download hf://spaces/ArshVerma/CodeLens/dashboard/src/types.ts
-
curl -L -o types.ts https://huggingface.co/spaces/ArshVerma/CodeLens/resolve/main/dashboard/src/types.ts
513 Bytes
| export interface HealthResponse { | |
| status: string; | |
| active_episodes: number; | |
| dashboard_url: string; | |
| } | |
| export interface StatsResponse { | |
| total_episodes: number; | |
| avg_score: number; | |
| } | |
| export interface LeaderboardEntry { | |
| rank: number; | |
| agent_name: string; | |
| score: number; | |
| seed: number; | |
| submitted_at: string; | |
| } | |
| export type TaskId = "bug_detection" | "security_audit" | "architectural_review"; | |
| export interface WsEvent { | |
| episode_id: string; | |
| type: string; | |
| reward: number; | |
| timestamp: string; | |
| } | |