Skip to content

Commit

Permalink
Migrate individual benchmarks to HerbSpecification.jl
Browse files Browse the repository at this point in the history
  • Loading branch information
ReubenJ committed Mar 4, 2024
1 parent 62df519 commit d90a88b
Show file tree
Hide file tree
Showing 17 changed files with 3,904 additions and 217,069 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ HerbBenchmarks is still not yet complete and is lacking crucial benchmarking fun

Select your favourite benchmark, we use the string transformation benchmark from the SyGuS challenge:
```Julia
using HerbData, HerbGrammar
using HerbSpecification, HerbGrammar

using HerbBenchmarks.PBE_SLIA_Track_2019

Expand Down
2 changes: 1 addition & 1 deletion src/benchmarks_io.jl
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ Parses a directory for all files, parses each data file using `data_file_parser`
Example usage for parsing SyGuS problems.
```julia
using HerbData, HerbGrammar
using HerbSpecification, HerbGrammar
using HerbBenchmarks
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
module Abstract_Reasoning_2019

using HerbCore
using HerbData
using HerbSpecification
using HerbGrammar

using JSON
Expand Down
10,558 changes: 400 additions & 10,158 deletions src/data/Abstract_Reasoning_2019/evaluation_data.jl

Large diffs are not rendered by default.

8,023 changes: 400 additions & 7,623 deletions src/data/Abstract_Reasoning_2019/training_data.jl

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/data/Pixels_2020/Pixels_2020.jl
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
module Pixels_2020

using HerbCore
using HerbData
using HerbSpecification
using HerbGrammar

include("data.jl")
Expand Down
1,503 changes: 501 additions & 1,002 deletions src/data/Pixels_2020/data.jl

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/data/Robots_2020/Robots_2020.jl
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
module Robots_2020

using HerbCore
using HerbData
using HerbSpecification
using HerbGrammar

include("data.jl")
Expand Down
3,300 changes: 1,100 additions & 2,200 deletions src/data/Robots_2020/data.jl

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
module String_transformations_2020

using HerbCore
using HerbData
using HerbSpecification
using HerbGrammar

include("data.jl")
Expand Down
7,660 changes: 639 additions & 7,021 deletions src/data/String_transformations_2020/data.jl

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/data/SyGuS/PBE_BV_Track_2018/PBE_BV_Track_2018.jl
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
module PBE_BV_Track_2018

using HerbCore
using HerbData
using HerbSpecification
using HerbGrammar

include("data.jl")
Expand Down
189,345 changes: 753 additions & 188,592 deletions src/data/SyGuS/PBE_BV_Track_2018/data.jl

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/data/SyGuS/PBE_SLIA_Track_2019/PBE_SLIA_Track_2019.jl
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
module PBE_SLIA_Track_2019

using HerbCore
using HerbData
using HerbSpecification
using HerbGrammar

include("data.jl")
Expand Down
562 changes: 100 additions & 462 deletions src/data/SyGuS/PBE_SLIA_Track_2019/data.jl

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions src/data/SyGuS/SyGuS.jl
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module SyGuS

using HerbData
using HerbSpecification
using HerbCore
using HerbGrammar

Expand Down Expand Up @@ -35,7 +35,7 @@ end
"""
parse_sygus_problem(filename::AbstractString)::Problem
Parses a SyGuS file for all examples and returns them, wrapped in a [`HerbData.Problem`](@ref)
Parses a SyGuS file for all examples and returns them, wrapped in a [`HerbSpecification.Problem`](@ref)
"""
function parse_sygus_problem(filename::AbstractString)::Problem
symbol_list = SExpressions.Parser.parsefile(filename)
Expand Down
2 changes: 1 addition & 1 deletion src/generate_benchmarks.jl
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ using HerbCore
using HerbConstraints
using HerbGrammar
using HerbSearch
using HerbData
using HerbSpecification
using HerbEvaluation

using Serialization
Expand Down

0 comments on commit d90a88b

Please sign in to comment.