This is the repository for submission T-Foresight: Interpret Moving Strategies based on Context-Aware Trajectory Prediction.
This repository provides the source codes.
We have a frontend (T-Foresight, in the folder frontend\) and a backend (the implementation of our proposed analytics workflow, in the folder backend\).
To save your review time, we provide the analysis progress of our domain experts for review (in the folder case\), so that you can just run the frontend and explore our system.
Frontend. Our frontend is built based on Vite, React, and MobX. You can run it in three steps.
- Install dependencies. Please run
cd frontendto change the root directory asfrontend\and then runyarn installto install necessary dependencies. - Run the interface. Run
run devto start the user interface and openhttp://localhost:5173in your explorer (Chrome is recommended). Now, you can see the user interface. - Load the data. At the app bar, click on
IMPORT DATAand select the filecase\secret_tundra.jsonto load the game. Then click onIMPORT CASEand select one of the other two files, eithersecret_tundra-case1.jsonorsecret_tundra-case2.json, to load the analysis progress. Now, you can explore the case!
Backend. Our backend is build based on FastAPI. You can use it in two steps.
- Install dependencies. Please run
cd backendto change the root directory asbackend\and runpip install -r requirements.textto install necessary packages. - Run the server. Please run
uvicorn main:app --reloadto start the server. But we cannot upload our dataset since it is so large. So you cannot use the functions of the backend.