This repo provides a good code base for extracting and analyzing the logs from the different teams that participated to VBS 2022.
Hopefully, this repo will help to analyze also the logs from the future versions of VBS.
First of all, run the following command. This will extract log data from 2022 teams and will prepare the environment. Some data are collected from the local logs of the systems, others from the public run file of the DRES server.
./prepare.sh
source venv/bin/activate
A plot can be generated following the configuration written in a yaml configuration file. This is an example call to construct the time-recall table:
python plot.py time_recall_table --config config2022.yaml
You can use the --help
argument to see all the available options. Note that, in order to optimize the data processing, two levels of cache are used. You can disable caching using the --no_result_cache
and --no_log_cache
options.
Adding a custom plot is quite straightforward. These are the steps:
- Inside the
generate
folder, create a .py file containing a class extending theResult
class. In particular, you have to provide the methods:_generate()
: here you generate a nice view of the team log data, returning a Pandas dataframe. This dataframe is automatically cached and re-used (only if--no_result_cache
is not set)._render(df)
: it renders the dataframe into a graph or a table.
- Expose this class in the
generate/__init__.py
file. - Add a corresponding entry in the yaml configuration file.
Look at the time_recall_table.py
file for an example.
Lucia Vadicamo - [email protected]
Nicola Messina - [email protected]
Ladislav Peška - [email protected]