Skip to content

Commit 416c3a1

Browse files
add requirements.txt
1 parent 18b07e5 commit 416c3a1

4 files changed

Lines changed: 19 additions & 9 deletions

File tree

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,8 @@ Python (3.7.0 or higher, and [Anaconda](https://www.anaconda.com/) recommended)
5151

5252
- More options see `--help`
5353

54+
- After finishing running, the `./tmp` directory can be deleted safely
55+
5456
# To reproduce Chronosymbolic-single
5557

5658
Please refer to the configuration in `./experiment/result_summary.log`. The default config should also be decent. Even fixed random seeds can cause minor randomness that may slightly affect the performance.

experiment/README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
## 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.
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.
33

44
The structure of the log is as follows:
55

@@ -13,11 +13,11 @@ The structure of the log is as follows:
1313

1414
The specifications of the device used to generate this log:
1515

16-
- Processor 12th Gen Intel(R) Core(TM) i7-12700H 2.30 GHz
16+
- Processor 12th Gen Intel(R) Core(TM) i7-12700H 2.30 GHz
1717

18-
- Installed RAM 32.0 GB (31.7 GB usable)
18+
- Installed RAM 32.0 GB (31.7 GB usable)
1919

20-
- System type 64-bit operating system, x64-based processor
20+
- System type: 64-bit operating system, x64-based processor
2121

2222

2323
## comparison.xlsx

requirements.txt

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
pysmt
2+
pyyaml
3+
z3-solver
4+
nltk
5+
ordered-set
6+
colorlog
7+
eventlet

test.py

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -26,11 +26,12 @@
2626

2727

2828
# --- Set agent and DT algorithm here ---
29-
ClassAgent = Chronosymbolic
30-
# ClassAgent = DataDrivenLearner
29+
# ClassAgent = Chronosymbolic
30+
ClassAgent = DataDrivenLearner # LinearArbitrary like
31+
# ClassAgent = DataDrivenLearner_v2 # LinearArbitrary like, optimized
3132

32-
ClassDT = C5DT
33-
# ClassDT = SklearnDT
33+
ClassDT = C5DT # C5.0
34+
# ClassDT = SklearnDT # CART
3435
# --- Set agent and DT algorithm here ---
3536

3637

@@ -280,7 +281,7 @@ def run_filelist_mode(args, logger, agent_params):
280281

281282
if __name__ == "__main__":
282283
# sys.exit(guess_manually())
283-
file_name = 'tests/simple_smt/10000.smt2'
284+
file_name = 'tests/simple_smt/10000.smt2' # for testing functionality
284285

285286
parser = argparse.ArgumentParser()
286287
parser.add_argument('-f', '--file_name', help='SMTLIB File Name or dir name', default=file_name)

0 commit comments

Comments
 (0)