The web interface
The web interface is the application in your browser. It has the start page, the workbench for a simulation and its runs, the review pages for your approvals, your account, and read-only pages for a simulation someone shared with you. Every request from the browser has a permission check of its own on the server.
Inputs
- Your sign-in. Sign-in is by OpenID Connect, with the authorization code flow and PKCE. At the end of sign-in, your browser has a session cookie, and the page has an access token and an anti-forgery token.
- Your actions in a page: a simulation or a run to open, a change to a proposed setup, an approval or a rejection, a request for a run, a stop, and the controls of a replay.
- With every request, the access token and the session cookie. With every change, the anti-forgery token too.
Outputs
- The pages. A simulation's page has these views: the map alone, the workbench with its panels, and a dashboard with every result at once.
- The review pages: a proposed setup, a request for a dataset, and the other approvals of your account.
- A run in progress. The record of an active run is requested again every few seconds. For a traffic run with saved frames, the newest saved frames are requested for the owner's page more than once a second, so the vehicles are on the map during the run. The other results are on the page after the end of the run.
- A replay of a finished run, with play and pause, a choice of speeds, single steps and a jump to any moment.
- Each result with its label, in the same words as in the AI assistant's account.
- A refusal as a typed error: 401 for a missing or expired sign-in, 403 for a change without its token, and 404 for an object of another account.
The pages of your account:






Guarantees and their checks
| Guarantee | Mechanism | Check |
|---|---|---|
| Every request has a token and a session together. | On the server, the first step of each handler of a browser request is one check: an access token, a live session cookie, and for a change the anti-forgery token. | In a test, an approval with an access token and without a cookie has the answer 401. |
| The token and the cookie are one person's. | The workspace and the person of the session are compared with those of the access token. | In a test, a request with one person's token and another person's cookie has the answer 401. |
| A change has the page's own token. | The anti-forgery token is a keyed hash of the session's secret, and the comparison is in constant time. | In a test, an approval with a cookie and without the token has the answer 403. |
| The session cookie is for the browser alone. | The cookie has the attributes HttpOnly, Secure and SameSite=Strict. On the server, the session's secret exists as a SHA-256 digest. | In a test, the answer to a sign-in has a cookie with these attributes. |
| A session has an end. | The lifetime of a session is the lifetime of the identity provider's token, up to 12 hours. A sign-out is in effect at the next request. | In tests, an expired session, a revoked session and an unknown session are each refused, and a request after a sign-out has the answer 401. |
| A session is for a person. | A request for a session with an API key, the credential of an AI assistant, has a refusal as its answer. | In a test, an API key has no session as its answer. |
| The objects of another account are out of reach. | Each read is under the identity of the session. For another account's object, the answer is the same 404 as for an unknown reference. | In tests, a result, a model draft and a setup of another account each have the answer 404. |
Place in the path of a question
On the browser's path, the web interface is the way in: you open a simulation, and each action is a direct call to the platform. On an AI assistant's path, the web interface is the place of your decisions: the AI assistant proposes a setup, and the review page has the place, the conditions and the measures for your approval. On both paths, the run and its replay are in the same workbench. The checks of sign-in, keys and approvals are in Accounts and control.