Skip to content

Commit 2855424

Browse files
authored
Add QNs (#7)
* Add QN creation and sampling * Clarify vector of vals in grammar * Add tests * Fix QN tests * Add methods, tests for QN properties * Fix target function depth tests * Refactor QN tests * Add interpreter, async_step for QNs * Remove `Avg(...)` from grammar for now * Fix rounding of activation levels * Add documentation * Remove single letter functions * Fix notebook failing linting * SynthBN -> Synth * Updates to experiments * Switch to srun * Use SLURM_NTASKS * Update job name * Use Julia 1.10.2 to match cluster * Use SlurmClusterManager * Use SlurmClusterManager dynamically * Move SlurmClusterManager usage inside try block * Don't use @quickactivate macro in slurm context * Delete boilerplate script * Update trajectory script * Increase memory for sampling trajectories * Even more memory * Clean up scripts * Split script use distributed * Clean up bash scripts * Fix new version of split script * Fix new version of split script, pt2 * Updated synth process * Fewer steps per trajectory * Support 1.10 Statistics * Use QN version of GDS * Try split up @Everywhere * Reorganize synth script * Remove nested pmap * Increase resources * Fewer levels of trajectories * More memory * Add constraints * Restructure synthesis experiments * Increase max depth * Don't load files in main process * Trying lower memory * Re-up memory * Catch an error with some extra info * Catch an error and don't fail * Error message causing more errors... * Don't fail on link checker * Add compat * Uncomment tests * Fix QN errors in testing * Add Aqua and JET
1 parent 791db9c commit 2855424

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

70 files changed

+1604
-1019
lines changed

.github/workflows/Lint.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,5 +52,5 @@ jobs:
5252
id: lychee
5353
uses: lycheeverse/lychee-action@v2
5454
with:
55-
fail: true
55+
fail: false
5656
args: --config '.lychee.toml' .

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
.DS_Store
66
.benchmarkci
77
Manifest.toml
8-
!experiments/SynthBN/Manifest.toml
8+
!experiments/Synth/Manifest.toml
99
benchmark/*.json
1010
coverage
1111
docs/build/

Project.toml

Lines changed: 21 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,37 @@
11
name = "GraphDynamicalSystems"
22
uuid = "13529e2e-ed53-56b1-bd6f-420b01fca819"
33
authors = ["Reuben Gardos Reid <[email protected]>"]
4-
version = "0.1.0"
4+
version = "0.2.0"
55

66
[deps]
7+
AbstractTrees = "1520ce14-60c1-5f80-bbc7-55ef81b5835c"
8+
DocStringExtensions = "ffbed154-4ef7-542d-bbb7-c09d3a79fcae"
79
DynamicalSystems = "61744808-ddfa-5f27-97ff-6e42cc95d634"
810
FileIO = "5789e2e9-d7fb-5bc7-8068-2c6fae9b9549"
11+
Graphs = "86223c79-3864-5bf0-83f7-82e725a168b6"
12+
HerbConstraints = "1fa96474-3206-4513-b4fa-23913f296dfc"
13+
HerbCore = "2b23ba43-8213-43cb-b5ea-38c12b45bd45"
14+
HerbGrammar = "4ef9e186-2fe5-4b24-8de7-9f7291f24af7"
15+
HerbSearch = "3008d8e8-f9aa-438a-92ed-26e9c7b4829f"
16+
MLStyle = "d8e11817-5142-5d16-987a-aa16d5891078"
917
MetaGraphsNext = "fa8bd995-216d-47f1-8a91-f3b68fbeb377"
1018
Random = "9a3f8284-a2c9-5f02-9a11-845980a1fd5c"
1119
SoleLogics = "b002da8f-3cb3-4d91-bbe3-2953433912b5"
20+
Statistics = "10745b16-79ce-11e8-11f9-7d13ad32a3b2"
1221

1322
[compat]
23+
AbstractTrees = "0.4.5"
24+
DocStringExtensions = "0.9.3"
1425
DynamicalSystems = "3"
1526
FileIO = "1"
27+
Graphs = "1.12"
28+
HerbConstraints = "0.2.4"
29+
HerbCore = "0.3.4"
30+
HerbGrammar = "0.5"
31+
HerbSearch = "0.4.1"
32+
MLStyle = "0.4.17"
1633
MetaGraphsNext = "0.7"
17-
SoleLogics = "0.9, 0.10"
34+
Random = "1.11"
35+
SoleLogics = "0.12"
36+
Statistics = "1.10,1.11.1"
1837
julia = "1.6"

docs/Project.toml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,8 @@
1-
# Don't forget to run
2-
#
3-
# pkg> dev ..
4-
#
51
[deps]
62
Documenter = "e30172f5-a6a5-5a46-863b-614d45cd2de4"
7-
LiveServer = "16fef848-5104-11e9-1b77-fb7a48bbb589"
83
GraphDynamicalSystems = "13529e2e-ed53-56b1-bd6f-420b01fca819"
4+
LiveServer = "16fef848-5104-11e9-1b77-fb7a48bbb589"
5+
Revise = "295af30f-e4ad-537b-8983-00126c2a3abe"
96

107
[compat]
118
Documenter = "1"

docs/make.jl

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
using Revise
2+
3+
Revise.revise()
4+
15
using GraphDynamicalSystems
26
using Documenter
37

docs/src/95-reference.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,5 +13,5 @@ Pages = ["95-reference.md"]
1313
```
1414

1515
```@autodocs
16-
Modules = [GraphDynamicalSystems]
16+
Modules = [GraphDynamicalSystems, GraphDynamicalSystems.BooleanNetworks]
1717
```

experiments/Synth/.envrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
use flake
File renamed without changes.

0 commit comments

Comments
 (0)