Skip to content

About

Offline-capable mathematics calculator with symbolic computation and interactive graphing.

Resources

Code of conduct

Contributing

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

51 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Calculator

A mathematical notebook with 128 searchable operation forms, exact and numerical results, math/LaTeX/text editing, graphs, reusable definitions and validated backups.

Computation runs on the device in a cancellable browser worker using bundled Pyodide, SymPy, SciPy, NumPy and NetworkX. MathLive edits mathematics, KaTeX renders answers, and mathjs samples graphs. No calculation API, runtime LLM or API key is required.

ChatGPT Sites serves the application through a Worker. Sign in with ChatGPT identifies each workspace; D1 stores revision-checked, per-user cloud saves. Local browser saves continue when disconnected or when the server confirms the same account during a database outage. Conflicting local notebooks are retained as copies. Export backups for durable copies outside browser storage.

Investigate starts a custom experiment or one of four guided investigations. Edit parameters and questions, preview exact linear or geometric cases, then compare saved results in a numeric scatter plot and complete table. Original-run backups preserve historical inputs for normal import and rerun. CSV exports retain omissions and escape formula-leading text.

Status

The application is ready for ChatGPT Sites deployment. Verification evidence and computational limits are recorded in validation.

Development

Use Node 24 and the pinned pnpm version in package.json:

pnpm install --frozen-lockfile
pnpm dev

Development, tests and builds prepare the engine first. Runtime files come from the locked Pyodide npm dependency; Python wheels come from pinned upstream URLs. Every existing or downloaded artifact is verified against reviewed SHA-256 pins. The first preparation needs network access; later preparations reuse verified local assets. Generated runtime assets stay outside Git and are fully bundled in deployments, so calculation and prepared offline reopening do not depend on those upstream services.

The local preview provides a synthetic sign-in only on loopback. Production identity comes from Sites' authenticated request headers. .openai/hosting.json binds this checkout to its Site; keep the logical D1 binding DB. Fresh registration creates a new account-scoped database: moving source does not transfer records from the old Site.

Verification

Start with the verification command index and versioned coverage map. Local and required CI checks share these entrypoints:

pnpm --silent verify --help
pnpm --silent verify list --json
pnpm --silent verify run --group core --json

Core checks report browser verification as not-run. Rendered mathematics, control interactions, scoped identity and disconnected production reopening require separate current browser captures and pnpm --silent verify browser validate --evidence FILE --json; engine/source checks cannot establish them. Individual checks remain available:

pnpm typecheck
pnpm format:check
pnpm lint
pnpm test
pnpm build
pnpm test:assets

The build emits the Worker in dist/server and verified offline assets in dist/client. Settings → Prepare for offline use saves the authenticated shell and bundled assets; HTTPS or a trusted local origin and retained browser storage are required. Sign-out removes cached shell/readiness and remembered identity. See validation and limits.

Public boundary and licence

This repository contains reviewed application source and synthetic examples. Credentials, user notebooks, authenticated browser state, private notes and local tool output stay outside source and history. The original development history is retained only in a local archival ref.

Owned source is MIT licensed. Dependencies retain their own licences; shipped notices, engine licence files, the build-plugin notice and vendored shadcn notices are preserved. Pyodide 0.27.7 source is available upstream.

Unsynced snapshots are durable per browser writer and account before submission. Recovery keeps valid notebook limits and names; copies that cannot fit remain separately exportable from Settings. Both save winner orderings and closing a tab before its response are covered.

About

Offline-capable mathematics calculator with symbolic computation and interactive graphing.

Resources

Code of conduct

Contributing

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages