The file original_workflow.py builds two arrays of different dtypes,
writes them to an in-memory BytesIO via np.savez_compressed(buf, a=a, b=b), reads them back with np.load(buf, allow_pickle=False), and
reports the recovered dtypes and sums.
Write your solution to /app/solution/modal_app.py. The module must define:
app - a module-level Modal app object.
run_case — a module-level Modal Function object. The verifier calls
run_caseremote invocation (case) and expects the same dict shape as
savez_roundtrip(case).
Case shape
{"n": int, "m": int} with n a perfect square ≥ 1 and m ≥ 1.
Notes
Use allow_pickle=False on np.load (the safe default since NumPy
1.16.3) — the verifier rejects any pickle-enabled load.
The returned names list must be exactly ["a", "b"] (the order of
arrays inside the npz).
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).