Skip to content

Commit 18b07e5

Browse files
upd readme, log and purge some redundant code
1 parent b43357a commit 18b07e5

5 files changed

Lines changed: 812 additions & 179 deletions

File tree

README.md

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -6,22 +6,18 @@ Artifact for the paper "Chronosymbolic Learning: Efficient CHC Solving with Symb
66
- See `./examples` for examples of how our tool works
77

88
## Requirement (To set up our environment)
9-
Python (3.7.0 or higher, and anaconda recommended)
9+
Python (3.7.0 or higher, and [Anaconda](https://www.anaconda.com/) recommended)
1010

11-
Install packages in `requirements.txt`:
11+
- Install packages in `requirements.txt`: `pip install -r requirements.txt`
1212

13-
```
14-
pip install -r requirements.txt
15-
```
13+
- May have to manually set up `PYTHONPATH` and `PATH` properly, `PYTHONPATH=$Z3_BIN/python`, `PATH=$PATH:$Z3_BIN`
1614

17-
May have to manually set up `PYTHONPATH` and `PATH` properly, `PYTHONPATH=$Z3_BIN/python`, `PATH=$PATH:$Z3_BIN`
18-
19-
Then, prepare the dataset following the instructions in `data/` folder.
15+
- If the C5.0/LIBSVM binary cannot executed properly, may have to recompile them in your OS and specify the binary executable files in `utils/dt/dt.py` in `class C5DT`, `C5_exec_path` and `utils/svm/svm.py` in `class LibSVMLearner`, `svm_exec_path`
2016

2117
## Chronosymbolic Learning
2218
- Support SMT-LIB2 format (check-sat) and Datalog format (rule-query)
2319

24-
- Have executable binaries of decision tree and SVM for Linux and MacOS, and can automatically adapt to the OS
20+
- Have executable binaries of decision tree and SVM for Linux and MacOS, and can automatically adapt to the OS (Linux/Mac)
2521

2622
- Control flow implemented in `learner/run_agent.py` `run_Agent` function
2723

experiment/README.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
1-
## result_summary_safe.log
2-
The log shows the running log of our reported experiment on ``Chronosymbolic-single''. This experiment runs a suite of instances using a fixed set of hyperparameters. The structure of the log is as follows:
1+
## result_safe_summary.log and result_unsafe_summary.log
2+
The logs are the running logs of our reported experiment on ``Chronosymbolic-single''. This experiment runs a suite of instances using a fixed set of hyperparameters.
3+
4+
The structure of the log is as follows:
35

46
1. The first 2 lines are the modules used.
57

0 commit comments

Comments
 (0)