Commit Graph
23 Commits
Author SHA1 Message Date
AzrenbethandGitHub a9bc800b87 Add new package with methods to save and load compressor state (#63) 2021-09-16 09:55:14 +01:00
AzrenbethandGitHub 80795aa813 Dont send no-changes transaction to database (#71) 2021-09-15 10:09:43 +01:00
AzrenbethandGitHub 55ee83ce13 Don't panic in continue_run if no groups found within range (#62) 2021-09-14 17:29:48 +01:00
AzrenbethandGitHub a409cdbd8e Rename level current to head (#61) 2021-09-14 12:28:35 +01:00
AzrenbethandGitHub 8c72a0de52 Move setting up jemalloc out of library crate (#60) 2021-09-14 11:26:21 +01:00
AzrenbethandGitHub a951ba4dae Move the graph generation to before abort (#56) 2021-09-13 13:23:48 +01:00
AzrenbethandGitHub 4c3d6bd346 Add method to run the compressor starting from a particular compressor-state (#55) 2021-09-13 10:25:52 +01:00
AzrenbethandGitHub d32f49303b Add integration tests that check various config options (#54) 2021-09-09 14:26:14 +01:00
AzrenbethandGitHub d908d13f8f Add option to commit changes to the database automatically (#53) 2021-09-08 11:39:57 +01:00
AzrenbethandGitHub 65861de06e Stops the compressor if it will lead to more rows in the database (#52) 2021-09-06 10:06:47 +01:00
AzrenbethandGitHub 3b5d7fd176 Add information on running options to README and --help output (#51) 2021-09-06 09:59:04 +01:00
AzrenbethandGitHub 0f7f2c2660 Setup framework to do integration testing (#50) 2021-09-06 09:52:13 +01:00
AzrenbethandGitHub 011f9f8da5 Wrote tests for Stats (#49)
wrote tests for Stats struct and whether the compressor accurately populates it
2021-08-16 15:17:38 +01:00
AzrenbethandGitHub 9a59b1121c Wrote tests for compressor functions (#48)
* Wrote tests for create_new_tree

* wrote tests for get_delta
2021-08-16 15:10:36 +01:00
AzrenbethandGitHub aa6137ce52 Wrote tests for Level struct functions (#47) 2021-08-16 15:04:06 +01:00
AzrenbethandGitHub e5174f4181 Wrote tests for config::new() which is used by pyo3 code (#46) 2021-08-16 14:44:56 +01:00
AzrenbethandGitHub 5c248b5362 Wrote unit tests for functionality within lib.rs (#45) 2021-08-16 14:39:27 +01:00
AzrenbethandGitHub 63e1d6e3c9 Added option to only run the compressor on a range of state groups in a room (#44) 2021-08-12 16:01:12 +01:00
AzrenbethandGitHub 3290726990 Added option to output directed graphs of the group heirarchy before and after compression (#43)
It outputs nodes and edges information before and after the
compressor has run - these can be visualised in a tool like Gephi

A good way to visualise what the compressor is actually doing!
2021-08-04 11:56:42 +01:00
AzrenbethandGitHub becb2937aa Wrapped code with pyo3 so that the libary can be used from python (#42) 2021-08-03 09:44:51 +01:00
AzrenbethandGitHub a887107607 Add documentation (#41)
Added documentation to lib.rs and database.rs files
2021-07-30 10:06:39 +01:00
AzrenbethandGitHub 013080f712 Azren/moved to lib (#40) 2021-07-28 13:25:44 +01:00
AzrenbethandGitHub 31e37996ea Split up main (#39)
Moved code from inside the main function into function calls
2021-07-27 15:31:48 +01:00