The comparison interface is a web interface to facilitate the collection of comparative judgement data. It offers a highly configurable interface which requires at minimum a JSON configuration file and a set of image files as input. There is also the option to configure part of the system using a csv file. The data is stored in an SQLite database which is part of the standard Python library so no additional database is required. There is no restriction regarding the nature of the items that can be compared in the software but it has been used previously on geospatial datasets to be processed with the Bayesian Spatial Bradley–Terry model BSBT.
The images presented to the user are selected in different ways depending on the configuration of the system.
Example configuration files for each of these models are provided with the application along with a small set of images.1
This version of software expands over the initial application build by Bertrand Perrat that can be found here. The code in this version of the interface was written by Fabián Hernández with additional features and general updates by Catherine Smith in the Research Software Group, part of Advanced Research Computing, University of Birmingham.
Instructions for installing the application and running the provided example configurations can be found on the installation page. A number of different configuration files are provided in the repository. These examples can be run to test an installation or evaluate the different modes available in the software. They can also serve as good starting points for your own configurations. The example files themselves can be found in in the comparison_interface/examples directory.
There are a few different ways that the system can be configured depending on the behaviour you need. Instructions for configuration can be found on the configuration page page.
A number of different tests are provided in the repository. They are all run in the CI workflow. If you also want to run the tests locally you can find information on the dependencies and how to run the test on the running the tests page.
The development of this software was supported by a UKRI Future Leaders Fellowship [MR/X034992/1].
The Boundary displays on the images are taken from the Office for National Statistics licensed under the Open Government Licence v.3.0 and Contains OS data © Crown copyright and database right 2024. The image tiles used for the maps are provided by ESRI’s National Geographic World Map, full attribution is included in each image. ↩