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 frontend
to change the root directory asfrontend\
and then runyarn install
to install necessary dependencies. - Run the interface. Run
run dev
to start the user interface and openhttp://localhost:5173
in your explorer (Chrome is recommended). Now, you can see the user interface. - Load the data. At the app bar, click on
IMPORT DATA
and select the filecase\secret_tundra.json
to load the game. Then click onIMPORT CASE
and select one of the other two files, eithersecret_tundra-case1.json
orsecret_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 backend
to change the root directory asbackend\
and runpip install -r requirements.text
to install necessary packages. - Run the server. Please run
uvicorn main:app --reload
to start the server. But we cannot upload our dataset since it is so large. So you cannot use the functions of the backend.