A reactive notebook for Python — run reproducible experiments, query with SQL, execute as a script, deploy as an app, and version with git. Stored as pure Python. All in a modern, AI-native editor.
Python artificial-intelligencedagdata-sciencedata-visualizationdataflowdeveloper-toolsmachine-learningnotebookspipelinepythonreactivesqlweb-app
import { describe, expect, it } from "vitest";
describe("JSON structure should be correct", async () => {
it("models.json wraps a provider-keyed map under `models`", async () => {
const models = await import("../../data/generated/models.json");
expect(typeof models.models).toBe("object");
expect(Array.isArray(models.models)).toBe(false);
for (const [, list] of Object.entries(
models.models as Record<string, unknown>,
)) {
expect(Array.isArray(list)).toBe(true);
}
});
it("providers.json wraps an array under `providers`", async () => {
const providers = await import("../../data/generated/providers.json");
expect(Array.isArray(providers.providers)).toBe(true);
});
});