Spaces:
Runtime error
Runtime error
File size: 1,395 Bytes
33bad77 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 | from fastapi import APIRouter
from app.registry.catalog import DATASETS, ALGORITHMS
router = APIRouter(prefix="/docs", tags=["Documentation"])
@router.get("/", summary="System overview and API guide")
def system_docs():
return {
"name": "WebGenie BEELINE Platform",
"description": (
"A web-based execution, benchmarking, and comparison platform "
"for BEELINE GRN inference algorithms."
),
"concepts": {
"datasets": "scRNA-seq benchmark datasets hosted on Hugging Face",
"algorithms": "BEELINE GRN inference algorithms executed via Docker",
"runs": "Asynchronous benchmark executions",
"metrics": ["AUROC", "AUPRC", "F1"]
},
"canonical_dataset_ids": "Hugging Face dataset IDs (not UI aliases)",
"example_dataset_id": DATASETS[0]["id"],
"workflow": [
"GET /datasets",
"GET /algorithms",
"POST /runs",
"GET /runs/{run_id}",
"GET /runs/{run_id}/metrics"
],
"example_run_payload": {
"dataset_id": DATASETS[0]["id"],
"algorithms": ["grnbeeline/genie3"],
"params": {
"num_trees": 100
}
},
"frontend": "https://github.com/ukanduchimeremezejames/WebGenieDark"
}
|