batch_stats(queries) answers a list of queries: each selects a named social graph and a target node index and returns degree and closeness centrality for that node.
Your Task
Write /app/solution/modal_app.py with a module-level app and an entrypoint named run_case. The verifier invokes run_case with the case dict described above and expects the same semantic result as the original solve.py workflow.
Capability Contract
Batching — run_case(case) must invoke a Modal batched function that accepts the entire queries list and returns a result list of equal length.
Remote function — run_case is exposed so the verifier can invoke remote execution.
Capability contract
Expose the workflow as a single Modal remote function: define run_case as an @app.function so the harness can invoke it with run_case.remote(case).