← Back to AskStat På norsk

Privacy Statement

AskStat is a free hobby project. You can use it without an account; logging in is optional and only adds sync between devices.

Last updated: 2026-10-10.

1. What is this?

AskStat is run by Hans Olav Melberg. It answers questions with data and code, and lets you write and run Python, R, DuckDB/SQL and JavaScript directly in the browser. Your scripts, the datasets you load and the run results stay in your browser by default. They leave it only in the cases described below: when you use the AI features (section 2), when you log in (section 3), when you turn on error reports (section 4), and when the app fetches libraries or data from the web, or you use GitHub, comments or sharing (section 6).

2. The AI features (Ask and the AI assistant)

The AI features use either your own API key (pasted under AI settings) or, if you are logged in, the service's own key. You choose the provider: Anthropic is the default, but you may configure an Anthropic- or OpenAI-compatible service at an address you enter yourself.

Code that runs in your browser. Code written by the AI, and scripts from links shared by others, run in the app's own page. Such code can technically read what the app has stored in the browser, including your API keys and login. The app therefore asks before running a script from a shared link, and asks before running AI-written code that appears to touch browser storage. This check is a safeguard, not a sandbox: deliberately disguised code may not be detected. Only run links and code you trust.

3. Account and sync (optional, via Anvil)

Logging in is optional and only adds sync — everything else works without an account. Login and sync are provided by our own backend hosted at Anvil (mdataapi.anvil.app, Anvil Works Ltd, UK). When you log in:

"Log out" keeps your local data on the device and stops syncing. "Log out and clear this device" also removes keys, history and profiles from the browser — use it on shared computers. To delete your account and everything stored on the server, contact us (section 9).

4. Error reports (off unless you turn them on)

Error reports are off by default. If you turn them on in the AI settings, then each time an Ask answer fails, a report is sent to our Anvil backend (mdataapi.anvil.app). The report contains: your question, the AI's interpretation, the failed scripts (with stored keys masked), the error messages, which sources were tried, the app version, language, mode and type of AI provider. We use the reports to find and fix data sources that have stopped working. The settings have a "Show what would be sent" button that displays the last report built in your tab. Turning it off again stops all sending.

5. Cookies and local storage

The app sets no cookies of its own. It uses localStorage in your browser to remember settings and work: API keys, AI provider and model, login token and login code (if you log in), the encryption key for sync, GitHub token and profiles (if you connect GitHub), question history, profiles, drafts and recent scripts, mode, theme and language. A service worker stores fixed versions of program libraries (such as Pyodide, Plotly and webR) in the browser's Cache Storage for faster start-up; datasets and other user content are not stored there.

6. Third parties and other outbound traffic

We do not sell or rent out data. Depending on what you use, data is shared with:

In addition, the browser connects directly to these services. They see your IP address and which address is fetched, as with any website:

7. Your rights

Without an account, we store no content about you over time; what remains on our side are the rate-limit entries with IP address and times (section 2) and, if you turned them on, error reports (section 4). With an account, Anvil stores what is listed in section 3. You can ask for access to or deletion of this data — get in touch (section 9). You may also file a complaint with the Norwegian Data Protection Authority (datatilsynet.no).

8. Changes to this statement

Changes are published on this page, with a new date at the top.

9. Contact

Data controller: Hans Olav Melberg.
Email: hans.melberg@gmail.com.