survey/src
Aravinth Manivannan 604fca0a62
feat: archive campaign and benchmark data
DESCRIPTION
    FORMATS
	- Campaign configuration is stored in JSON format
	- Benchmark data is stored in CSV format

    DIRECTORY STRUCTURE
	Each campaign gets a separate directory. A campaign can have
	multiple archives. Archives are stored in directories whose names
	would be the same as the UNIX timestamp of when they were
	recorded.

	EXAMPLE
	    The example below shows three campaigns with one archive
	    each. Each archive is stored in a directory denoting the
	    moment in which the archive was generated. Each archive
	    includes campaign configuration and benchmark.

	    ```bash
		14:53 atm@lab archive → tree
		.
		├── 4e951e01-71ee-4a18-9b97-782965495ae3
		│   └── 1675329764
		│       ├── benchmark.csv
		│       └── challenge.json
		├── 9d16df08-dffc-484e-bbe2-10c00b431c7e
		│   └── 1675329764
		│       ├── benchmark.csv
		│       └── challenge.json
		└── fa9f7c24-afec-4505-adb9-8e0c3ce54d37
		    └── 1675329764
			├── benchmark.csv
			└── challenge.json

		7 directories, 6 files
		```
2023-03-08 17:36:45 +05:30
..
api fix: update sqlx and fix container build 2023-02-14 17:25:27 +05:30
pages fix: update sqlx and fix container build 2023-02-14 17:25:27 +05:30
static_assets feat: load static assets info in serialize able form for tera integration 2023-01-24 19:02:52 +05:30
archive.rs feat: archive campaign and benchmark data 2023-03-08 17:36:45 +05:30
data.rs feat: load settings in application context 2023-01-24 19:01:30 +05:30
errors.rs fix: upload difficulty via web form 2023-01-26 18:25:22 +05:30
main.rs feat: archive campaign and benchmark data 2023-03-08 17:36:45 +05:30
settings.rs feat: add archive base_path in settings 2023-03-08 17:36:45 +05:30
tests-migrate.rs chore: linting 2023-01-24 19:21:54 +05:30
tests.rs fix: update sqlx and fix container build 2023-02-14 17:25:27 +05:30