repo
stringlengths
2
99
file
stringlengths
13
225
code
stringlengths
0
18.3M
file_length
int64
0
18.3M
avg_line_length
float64
0
1.36M
max_line_length
int64
0
4.26M
extension_type
stringclasses
1 value
DAAISy
DAAISy-main/dependencies/FD/src/translate/sas_tasks.py
SAS_FILE_VERSION = 3 DEBUG = False class SASTask: """Planning task in finite-domain representation. The user is responsible for making sure that the data fits a number of structural restrictions. For example, conditions should generally be sorted and mention each variable at most once. See the v...
18,064
36.792887
78
py
DAAISy
DAAISy-main/dependencies/FD/src/translate/sccs.py
"""Tarjan's algorithm for maximal strongly connected components. We provide two versions of the algorithm for different graph representations. Since the original recursive version exceeds python's maximal recursion depth on some planning instances, this is an iterative version with an explicit recursion stack (iter_s...
4,835
38
79
py
DAAISy
DAAISy-main/dependencies/FD/src/translate/pddl/f_expression.py
class FunctionalExpression: def __init__(self, parts): self.parts = tuple(parts) def dump(self, indent=" "): print("%s%s" % (indent, self._dump())) for part in self.parts: part.dump(indent + " ") def _dump(self): return self.__class__.__name__ def instantiat...
3,485
40.011765
91
py
DAAISy
DAAISy-main/dependencies/FD/src/translate/pddl/pddl_types.py
# Renamed from types.py to avoid clash with stdlib module. # In the future, use explicitly relative imports or absolute # imports as a better solution. import itertools def _get_type_predicate_name(type_name): # PDDL allows mixing types and predicates, but some PDDL files # have name collisions between types...
2,290
31.267606
76
py
DAAISy
DAAISy-main/dependencies/FD/src/translate/pddl/effects.py
from . import conditions def cartesian_product(*sequences): # TODO: Also exists in tools.py outside the pddl package (defined slightly # differently). Not good. Need proper import paths. if not sequences: yield () else: for tup in cartesian_product(*sequences[1:]): for...
7,027
38.483146
97
py
DAAISy
DAAISy-main/dependencies/FD/src/translate/pddl/functions.py
class Function: def __init__(self, name, arguments, type_name): self.name = name self.arguments = arguments if type_name != "number": raise SystemExit("Error: object fluents not supported\n" + "(function %s has type %s)" % (name, type_name)) s...
542
35.2
77
py
DAAISy
DAAISy-main/dependencies/FD/src/translate/pddl/actions.py
import copy from . import conditions class Action: def __init__(self, name, parameters, num_external_parameters, precondition, effects, cost): assert 0 <= num_external_parameters <= len(parameters) self.name = name self.parameters = parameters # num_external_param...
5,426
39.804511
90
py
DAAISy
DAAISy-main/dependencies/FD/src/translate/pddl/predicates.py
class Predicate: def __init__(self, name, arguments): self.name = name self.arguments = arguments def __str__(self): return "%s(%s)" % (self.name, ", ".join(map(str, self.arguments))) def get_arity(self): return len(self.arguments)
278
24.363636
74
py
DAAISy
DAAISy-main/dependencies/FD/src/translate/pddl/__init__.py
from .pddl_types import Type from .pddl_types import TypedObject from .tasks import Task from .tasks import Requirements from .predicates import Predicate from .functions import Function from .actions import Action from .actions import PropositionalAction from .axioms import Axiom from .axioms import Propositional...
1,020
25.868421
52
py
DAAISy
DAAISy-main/dependencies/FD/src/translate/pddl/tasks.py
from . import axioms from . import predicates class Task: def __init__(self, domain_name, task_name, requirements, types, objects, predicates, functions, init, goal, actions, axioms, use_metric): self.domain_name = domain_name self.task_name = task_name se...
2,414
33.014085
74
py
DAAISy
DAAISy-main/dependencies/FD/src/translate/pddl/axioms.py
from . import conditions class Axiom: def __init__(self, name, parameters, num_external_parameters, condition): # For an explanation of num_external_parameters, see the # related Action class. Note that num_external_parameters # always equals the arity of the derived predicate. ass...
2,609
32.896104
88
py
DAAISy
DAAISy-main/dependencies/FD/src/translate/pddl/conditions.py
# Conditions (of any type) are immutable, because they need to # be hashed occasionally. Immutability also allows more efficient comparison # based on a precomputed hash value. # # Careful: Most other classes (e.g. Effects, Axioms, Actions) are not! class Condition: def __init__(self, parts): self.parts = ...
11,103
36.897611
86
py
DAAISy
DAAISy-main/dependencies/FD/src/translate/tests/test_normalization.py
from io import StringIO import pddl from pddl_to_prolog import Rule, PrologProgram def test_normalization(): prog = PrologProgram() prog.add_fact(pddl.Atom("at", ["foo", "bar"])) prog.add_fact(pddl.Atom("truck", ["bollerwagen"])) prog.add_fact(pddl.Atom("truck", ["segway"])) prog.add_rule(Rule([pd...
1,535
39.421053
105
py
DAAISy
DAAISy-main/dependencies/FD/src/translate/tests/__init__.py
0
0
0
py
DAAISy
DAAISy-main/dependencies/FD/src/translate/tests/test_scripts.py
import os.path import subprocess import sys DIR = os.path.dirname(os.path.abspath(__file__)) TRANSLATE_DIR = os.path.dirname(DIR) REPO = os.path.abspath(os.path.join(DIR, "..", "..", "..")) BENCHMARKS = os.path.join(REPO, "misc", "tests", "benchmarks") DOMAIN = os.path.join(BENCHMARKS, "gripper", "domain.pddl") PROBLE...
790
29.423077
98
py
DAAISy
DAAISy-main/dependencies/FD/src/translate/pddl_parser/lisp_parser.py
__all__ = ["ParseError", "parse_nested_list"] class ParseError(Exception): def __init__(self, value): self.value = value def __str__(self): return self.value # Basic functions for parsing PDDL (Lisp) files. def parse_nested_list(input_file): tokens = tokenize(input_file) next_token = n...
1,422
30.622222
78
py
DAAISy
DAAISy-main/dependencies/FD/src/translate/pddl_parser/pddl_file.py
import options from . import lisp_parser from . import parsing_functions file_open = open def parse_pddl_file(type, filename): try: # The builtin open function is shadowed by this module's open function. # We use the Latin-1 encoding (which allows a superset of ASCII, of the # Latin-* en...
1,255
35.941176
79
py
DAAISy
DAAISy-main/dependencies/FD/src/translate/pddl_parser/__init__.py
from .pddl_file import open
28
13.5
27
py
DAAISy
DAAISy-main/dependencies/FD/src/translate/pddl_parser/parsing_functions.py
import sys import graph import pddl def parse_typed_list(alist, only_variables=False, constructor=pddl.TypedObject, default_type="object"): result = [] while alist: try: separator_position = alist.index("-") except ValueError: ...
18,654
36.38477
139
py
DAAISy
DAAISy-main/dependencies/FD/driver/main.py
import logging import os import sys from . import aliases from . import arguments from . import cleanup from . import run_components from . import __version__ def main(): args = arguments.parse_args() logging.basicConfig(level=getattr(logging, args.log_level.upper()), format="%(leveln...
1,793
30.473684
79
py
DAAISy
DAAISy-main/dependencies/FD/driver/tests.py
""" Test module for Fast Downward driver script. Run with py.test driver/tests.py """ import os import subprocess import pytest from .aliases import ALIASES, PORTFOLIOS from .arguments import EXAMPLES from . import limits from . import returncodes from .util import REPO_ROOT_DIR, find_domain_filename def tran...
2,354
27.373494
76
py
DAAISy
DAAISy-main/dependencies/FD/driver/arguments.py
import argparse import os.path import re import sys from . import aliases from . import returncodes from . import util DESCRIPTION = """Fast Downward driver script. Input files can be either a PDDL problem file (with an optional PDDL domain file), in which case the driver runs both planner components (translate and...
19,119
38.66805
114
py
DAAISy
DAAISy-main/dependencies/FD/driver/limits.py
from . import returncodes from . import util try: import resource except ImportError: resource = None import sys """ Notes on limits: On Windows, the resource module does not exist and hence we cannot enforce any limits there. Furthermore, while the module exists on macOS, memory limits are not enforced by t...
2,854
32.197674
87
py
DAAISy
DAAISy-main/dependencies/FD/driver/cleanup.py
from itertools import count import os def _try_remove(f): try: os.remove(f) except OSError: return False return True def cleanup_temporary_files(args): _try_remove(args.sas_file) _try_remove(args.plan_file) for i in count(1): if not _try_remove("%s.%s" % (args.plan_fil...
346
18.277778
58
py
DAAISy
DAAISy-main/dependencies/FD/driver/returncodes.py
import sys """ We document Fast Downward exit codes at http://www.fast-downward.org/ExitCodes. Please update this documentation when making changes below. """ SUCCESS = 0 SEARCH_PLAN_FOUND_AND_OUT_OF_MEMORY = 1 SEARCH_PLAN_FOUND_AND_OUT_OF_TIME = 2 SEARCH_PLAN_FOUND_AND_OUT_OF_MEMORY_AND_TIME = 3 TRANSLATE_UNSOLVABL...
3,461
31.35514
94
py
DAAISy
DAAISy-main/dependencies/FD/driver/run_components.py
import errno import logging import os.path import subprocess import sys from . import call from . import limits from . import portfolio_runner from . import returncodes from . import util from .plan_manager import PlanManager # TODO: We might want to turn translate into a module and call it with "python3 -m translate...
6,502
36.80814
112
py
DAAISy
DAAISy-main/dependencies/FD/driver/call.py
"""Make subprocess calls with time and memory limits.""" from . import limits from . import returncodes import logging import os import shlex import subprocess import sys def print_call_settings(nick, cmd, stdin, time_limit, memory_limit): if stdin is not None: stdin = shlex.quote(stdin) logging.inf...
2,669
33.675325
91
py
DAAISy
DAAISy-main/dependencies/FD/driver/aliases.py
import os from .util import DRIVER_DIR PORTFOLIO_DIR = os.path.join(DRIVER_DIR, "portfolios") ALIASES = {} ALIASES["seq-sat-fd-autotune-1"] = [ "--evaluator", "hff=ff(transform=adapt_costs(one))", "--evaluator", "hcea=cea()", "--evaluator", "hcg=cg(transform=adapt_costs(plusone))", "--evaluator", ...
7,884
43.801136
115
py
DAAISy
DAAISy-main/dependencies/FD/driver/portfolio_runner.py
""" Module for running planner portfolios. Memory limits: We apply the same memory limit that is given to the plan script to each planner call. Note that this setup does not work if the sum of the memory usage of the Python process and the planner calls is limited. In this case the Python process might get killed alth...
9,483
38.682008
94
py
DAAISy
DAAISy-main/dependencies/FD/driver/plan_manager.py
import itertools import os import os.path import re from . import returncodes _PLAN_INFO_REGEX = re.compile(r"; cost = (\d+) \((unit cost|general cost)\)\n") def _read_last_line(filename): line = None with open(filename) as input_file: for line in input_file: pass return line def ...
4,288
33.869919
96
py
DAAISy
DAAISy-main/dependencies/FD/driver/version.py
# This file is auto-generated by the scripts in misc/release. # Do not modify it. __version__ = "20.06+"
106
20.4
61
py
DAAISy
DAAISy-main/dependencies/FD/driver/util.py
import os from . import returncodes DRIVER_DIR = os.path.abspath(os.path.dirname(__file__)) REPO_ROOT_DIR = os.path.dirname(DRIVER_DIR) BUILDS_DIR = os.path.join(REPO_ROOT_DIR, "builds") def get_elapsed_time(): """ Return the CPU time taken by the python process and its child processes. """ if ...
1,166
26.785714
77
py
DAAISy
DAAISy-main/dependencies/FD/driver/__init__.py
from .version import __version__
33
16
32
py
DAAISy
DAAISy-main/dependencies/FD/driver/portfolios/seq_sat_fdss_1.py
OPTIMAL = False CONFIGS = [ # alt_lazy_ff_cg (49, ["--evaluator", "hff=ff(transform=H_COST_TRANSFORM)", "--evaluator", "hcg=cg(transform=H_COST_TRANSFORM)", "--search", "lazy_greedy([hff,hcg],preferred=[hff,hcg],cost_type=S_COST_TYPE,bound=BOUND)"]), # lazy_greedy_ff_1 (171, ["--evalu...
3,544
48.236111
133
py
DAAISy
DAAISy-main/dependencies/FD/driver/portfolios/seq_sat_fdss_2014.py
OPTIMAL = False CONFIGS = [ # add_lm_lazy_greedy (114, ["--evaluator", "hadd=add(transform=H_COST_TRANSFORM)", "--evaluator", "hlm=lmcount(lm_rhw(reasonable_orders=true),transform=adapt_costs(plusone))", "--search", "lazy_greedy([hadd,hlm],preferred=[hadd,hlm],cost_type=S_COST_TYPE,b...
8,496
64.361538
277
py
DAAISy
DAAISy-main/dependencies/FD/driver/portfolios/seq_sat_fdss_2.py
OPTIMAL = False CONFIGS = [ # eager_greedy_ff (330, ["--evaluator", "h=ff(transform=H_COST_TRANSFORM)", "--search", "eager_greedy([h],preferred=[h],cost_type=S_COST_TYPE,bound=BOUND)"]), # lazy_greedy_ff (411, ["--evaluator", "h=ff(transform=H_COST_TRANSFORM)", "--search",...
2,502
42.155172
109
py
DAAISy
DAAISy-main/dependencies/FD/driver/portfolios/seq_sat_fdss_2018.py
""" This is the "Fast Downward Stone Soup 2018" sequential portfolio that participated in the IPC 2018 satisficing and bounded-cost tracks. For more information, see the planner abstract: Jendrik Seipp and Gabriele Röger. Fast Downward Stone Soup 2018. In Ninth International Planning Competition (IPC 2018), Determinis...
19,746
57.250737
525
py
DAAISy
DAAISy-main/dependencies/FD/driver/portfolios/seq_opt_merge_and_shrink.py
OPTIMAL = True CONFIGS = [ (800, ["--search", "astar(merge_and_shrink(merge_strategy=merge_precomputed(merge_tree=linear(variable_order=reverse_level))," "shrink_strategy=shrink_bisimulation(greedy=true)," "label_reduction=exact(before_shrinking=true,before_merging=false)," ...
706
46.133333
118
py
DAAISy
DAAISy-main/dependencies/FD/driver/portfolios/seq_opt_fdss_1.py
OPTIMAL = True CONFIGS = [ (175, ["--search", "astar(merge_and_shrink(merge_strategy=merge_precomputed(merge_tree=linear(variable_order=reverse_level))," "shrink_strategy=shrink_bisimulation(greedy=true)," "label_reduction=exact(before_shrinking=true,before_merging=false)," ...
930
43.333333
118
py
DAAISy
DAAISy-main/dependencies/FD/driver/portfolios/seq_opt_fdss_2.py
OPTIMAL = True CONFIGS = [ (1, ["--search", "astar(merge_and_shrink(merge_strategy=merge_precomputed(merge_tree=linear(variable_order=reverse_level))," "shrink_strategy=shrink_bisimulation(greedy=true)," "label_reduction=exact(before_shrinking=true,before_merging=false)," "max_s...
948
40.26087
116
py
DAAISy
DAAISy-main/dependencies/FD/misc/tests/test-standard-configs.py
import os import pipes import subprocess import sys import pytest import configs DIR = os.path.dirname(os.path.abspath(__file__)) REPO = os.path.dirname(os.path.dirname(DIR)) BENCHMARKS_DIR = os.path.join(REPO, "misc", "tests", "benchmarks") FAST_DOWNWARD = os.path.join(REPO, "fast-downward.py") SAS_FILE = os.path.j...
1,582
24.126984
94
py
DAAISy
DAAISy-main/dependencies/FD/misc/tests/test-translator.py
#! /usr/bin/env python3 HELP = """\ Check that translator is deterministic. Run the translator multiple times to test that the log and the output file are the same for every run. Obviously, there might be false negatives, i.e., different runs might lead to the same nondeterministic results. """ import argparse from...
4,822
32.493056
95
py
DAAISy
DAAISy-main/dependencies/FD/misc/tests/test-dependencies.py
#! /usr/bin/env python3 import os import shutil import subprocess import sys DIR = os.path.dirname(os.path.abspath(__file__)) REPO = os.path.dirname(os.path.dirname(DIR)) DOWNWARD_FILES = os.path.join(REPO, "src", "search", "DownwardFiles.cmake") TEST_BUILD_CONFIGS = os.path.join(REPO, "test_build_configs.py") BUILD ...
2,043
30.9375
108
py
DAAISy
DAAISy-main/dependencies/FD/misc/tests/test-memory-leaks.py
import errno import os import pipes import re import subprocess import sys import pytest import configs DIR = os.path.dirname(os.path.abspath(__file__)) REPO = os.path.dirname(os.path.dirname(DIR)) BENCHMARKS_DIR = os.path.join(REPO, "misc", "tests", "benchmarks") FAST_DOWNWARD = os.path.join(REPO, "fast-downward.py...
3,694
32.288288
85
py
DAAISy
DAAISy-main/dependencies/FD/misc/tests/test-exitcodes.py
from collections import defaultdict import os import subprocess import sys import pytest DIR = os.path.dirname(os.path.abspath(__file__)) REPO_BASE = os.path.dirname(os.path.dirname(DIR)) sys.path.insert(0, REPO_BASE) from driver import returncodes BENCHMARKS_DIR = os.path.join(REPO_BASE, "misc", "tests", "benchmar...
8,269
42.989362
87
py
DAAISy
DAAISy-main/dependencies/FD/misc/tests/configs.py
def configs_optimal_core(): return { # A* "astar_blind": [ "--search", "astar(blind)"], "astar_h2": [ "--search", "astar(hm(2))"], "astar_ipdb": [ "--search", "astar(ipdb)"], "bjolp": [ "--eva...
7,787
33.157895
114
py
DAAISy
DAAISy-main/dependencies/FD/misc/autodoc/autodoc.py
#! /usr/bin/env python3 import argparse import logging import os from os.path import dirname, join import re import subprocess import sys import time import xmlrpc.client as xmlrpclib import markup # How many seconds to wait after a failed requests. Will be doubled after each failed request. # Don't lower this belo...
7,162
35.176768
98
py
DAAISy
DAAISy-main/dependencies/FD/misc/autodoc/markup.py
import logging from external import txt2tags def _get_config(target): config = {} # Set the configuration on the 'config' dict. config = txt2tags.ConfigMaster()._get_defaults() # The Pre (and Post) processing config is a list of lists: # [ [this, that], [foo, bar], [patt, replace] ] config...
4,237
30.626866
79
py
DAAISy
DAAISy-main/dependencies/FD/misc/autodoc/external/txt2tags.py
#!/usr/bin/env python3 # txt2tags - generic text conversion tool # http://txt2tags.org # # Copyright 2001-2010 Aurelio Jargas # Copyright 2010-2019 Jendrik Seipp # # This file is based on txt2tags version 2.6. The changes compared to # the original version are: # # * use spaces instead of tabs # * support Python 3....
236,923
38.4676
126
py
DAAISy
DAAISy-main/dependencies/FD/misc/autodoc/external/__init__.py
0
0
0
py
DAAISy
DAAISy-main/dependencies/FD/misc/buildbot/regression_test.py
import logging from downward.reports.absolute import AbsoluteReport class Check: """ Compare the attribute values x and y of two runs and check whether *min_rel* <= y/x <= *max_rel*. Even if the check fails, only report the failure if the absolute difference is greater than *ignored_abs_diff*. ""...
3,281
37.162791
98
py
DAAISy
DAAISy-main/dependencies/FD/misc/buildbot/buildbot-exp.py
#! /usr/bin/env python3 USAGE = """\ 1) Use via buildbot: The buildbot weekly and nightly tests use this script to check for performance regressions. To update the baseline: * change BASELINE variable below * push the change * login to http://buildbot.fast-downward.org * Under Builds > Builders > recreate-bas...
7,557
39.202128
103
py
DAAISy
DAAISy-main/dependencies/FD/misc/style/run-clang-tidy.py
#! /usr/bin/env python3 import json import os import pipes import re import subprocess import sys DIR = os.path.dirname(os.path.abspath(__file__)) REPO = os.path.dirname(os.path.dirname(DIR)) SRC_DIR = os.path.join(REPO, "src") import utils def check_search_code_with_clang_tidy(): # clang-tidy needs the CMake ...
4,198
37.522936
96
py
DAAISy
DAAISy-main/dependencies/FD/misc/style/check-cc-file.py
#! /usr/bin/env python3 import argparse import re import subprocess import sys STD_REGEX = r"(^|\s|\W)std::" def parse_args(): parser = argparse.ArgumentParser() parser.add_argument("cc_file", nargs="+") return parser.parse_args() def check_std(cc_file): source_without_comments = subprocess.check...
881
19.511628
72
py
DAAISy
DAAISy-main/dependencies/FD/misc/style/check-include-guard-convention.py
#! /usr/bin/env python3 import glob import os.path import sys DIR = os.path.dirname(os.path.abspath(__file__)) REPO = os.path.dirname(os.path.dirname(DIR)) SRC_DIR = os.path.join(REPO, "src") def check_header_files(component): component_dir = os.path.join(SRC_DIR, component) header_files = (glob.glob(os.pa...
1,278
27.422222
90
py
DAAISy
DAAISy-main/dependencies/FD/misc/style/utils.py
import os import os.path def get_src_files(path, extensions, ignore_dirs=None): ignore_dirs = ignore_dirs or [] src_files = [] for root, dirs, files in os.walk(path): for ignore_dir in ignore_dirs: if ignore_dir in dirs: dirs.remove(ignore_dir) src_files.extend(...
441
26.625
60
py
DAAISy
DAAISy-main/dependencies/FD/misc/style/run-all-style-checks.py
#! /usr/bin/env python3 """ Run syntax checks on Python and C++ files. Exit with 0 if all tests pass and with 1 otherwise. """ import errno import os import subprocess import sys DIR = os.path.dirname(os.path.abspath(__file__)) REPO = os.path.dirname(os.path.dirname(DIR)) SRC_DIR = os.path.join(REPO, "src") impor...
1,904
25.830986
98
py
DAAISy
DAAISy-main/dependencies/FD/misc/style/run-uncrustify.py
#! /usr/bin/env python3 """ Run uncrustify on all C++ files in the repository. """ import argparse import os.path import subprocess import sys import utils DIR = os.path.dirname(os.path.abspath(__file__)) REPO = os.path.dirname(os.path.dirname(DIR)) SEARCH_DIR = os.path.join(REPO, "src", "search") def parse_args(...
2,016
30.030769
84
py
DAAISy
DAAISy-main/dependencies/FD/experiments/issue643/v1.py
#! /usr/bin/env python # -*- coding: utf-8 -*- from common_setup import IssueConfig, IssueExperiment from relativescatter import RelativeScatterPlotReport import suites configs = [ IssueConfig( "cegar-landmarks-10k", ["--search", "astar(cegar(subtasks=[landmarks()],max_states=10000))"]), Issu...
1,151
27.097561
86
py
DAAISy
DAAISy-main/dependencies/FD/experiments/issue643/suites.py
# Benchmark suites from the Fast Downward benchmark collection. def suite_alternative_formulations(): return ['airport-adl', 'no-mprime', 'no-mystery'] def suite_ipc98_to_ipc04_adl(): return [ 'assembly', 'miconic-fulladl', 'miconic-simpleadl', 'optical-telegraphs', 'philosophers', 'psr-large...
7,695
23.35443
77
py
DAAISy
DAAISy-main/dependencies/FD/experiments/issue643/common_setup.py
# -*- coding: utf-8 -*- import itertools import os import platform import subprocess import sys from lab.environments import LocalEnvironment, MaiaEnvironment from lab.experiment import ARGPARSER from lab.steps import Step from lab import tools from downward.experiment import FastDownwardExperiment from downward.rep...
12,481
33.963585
83
py
DAAISy
DAAISy-main/dependencies/FD/experiments/issue643/relativescatter.py
# -*- coding: utf-8 -*- from collections import defaultdict from matplotlib import ticker from downward.reports.scatter import ScatterPlotReport from downward.reports.plot import PlotReport, Matplotlib, MatplotlibPlot # TODO: handle outliers # TODO: this is mostly copied from ScatterMatplotlib (scatter.py) class ...
3,921
35.654206
84
py
DAAISy
DAAISy-main/dependencies/FD/experiments/issue425/opt.py
#! /usr/bin/env python # -*- coding: utf-8 -*- from downward import suites, configs from downward.reports.compare import CompareConfigsReport import common_setup REVISIONS = ["issue425-base", "issue425-v1"] CONFIGS = configs.default_configs_optimal() # remove config that is disabled in this branch del CONFIGS['asta...
1,764
32.301887
113
py
DAAISy
DAAISy-main/dependencies/FD/experiments/issue425/common_setup.py
# -*- coding: utf-8 -*- import itertools import os import platform import sys from lab.environments import LocalEnvironment, MaiaEnvironment from lab.experiment import ARGPARSER from lab.steps import Step from downward.experiments import DownwardExperiment, _get_rev_nick from downward.checkouts import Translator, Pr...
12,741
35.614943
79
py
DAAISy
DAAISy-main/dependencies/FD/experiments/issue425/sat.py
#! /usr/bin/env python # -*- coding: utf-8 -*- from downward import suites, configs from downward.reports.compare import CompareConfigsReport import common_setup REVISIONS = ["issue425-base", "issue425-v1"] exp = common_setup.IssueExperiment( search_revisions=REVISIONS, configs=configs.default_configs_satis...
1,671
33.122449
113
py
DAAISy
DAAISy-main/dependencies/FD/experiments/issue416/v2.py
#! /usr/bin/env python # -*- coding: utf-8 -*- from downward import suites from lab.reports import Attribute, gm from common_setup_no_benchmarks import IssueConfig, IssueExperiment from relativescatter import RelativeScatterPlotReport def main(revisions=None): suite = suites.suite_optimal_with_ipc11() confi...
1,806
31.854545
135
py
DAAISy
DAAISy-main/dependencies/FD/experiments/issue416/common_setup_no_benchmarks.py
# -*- coding: utf-8 -*- import itertools import os import platform import subprocess import sys from lab.environments import LocalEnvironment, MaiaEnvironment from lab.experiment import ARGPARSER from lab.steps import Step from lab import tools from downward.experiment import FastDownwardExperiment from downward.rep...
12,496
33.907821
83
py
DAAISy
DAAISy-main/dependencies/FD/experiments/issue416/v2-lama.py
#! /usr/bin/env python # -*- coding: utf-8 -*- from downward import suites from lab.reports import Attribute, gm from common_setup_no_benchmarks import IssueConfig, IssueExperiment from relativescatter import RelativeScatterPlotReport def main(revisions=None): suite = suites.suite_satisficing_with_ipc11() c...
1,722
30.907407
94
py
DAAISy
DAAISy-main/dependencies/FD/experiments/issue416/v1.py
#! /usr/bin/env python # -*- coding: utf-8 -*- from downward import suites from lab.reports import Attribute, gm from common_setup import IssueConfig, IssueExperiment from relativescatter import RelativeScatterPlotReport def main(revisions=None): suite = suites.suite_optimal_with_ipc11() configs = { ...
1,719
30.851852
135
py
DAAISy
DAAISy-main/dependencies/FD/experiments/issue416/common_setup.py
# -*- coding: utf-8 -*- import itertools import os import platform import subprocess import sys from lab.environments import LocalEnvironment, MaiaEnvironment from lab.experiment import ARGPARSER from lab.steps import Step from lab import tools from downward.experiment import FastDownwardExperiment from downward.rep...
12,539
34.027933
83
py
DAAISy
DAAISy-main/dependencies/FD/experiments/issue416/v1-lama.py
#! /usr/bin/env python # -*- coding: utf-8 -*- from downward import suites from lab.reports import Attribute, gm from common_setup import IssueConfig, IssueExperiment from relativescatter import RelativeScatterPlotReport def main(revisions=None): suite = suites.suite_satisficing_with_ipc11() configs = { ...
1,635
29.867925
94
py
DAAISy
DAAISy-main/dependencies/FD/experiments/issue416/relativescatter.py
# -*- coding: utf-8 -*- # # downward uses the lab package to conduct experiments with the # Fast Downward planning system. # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of t...
4,690
35.937008
84
py
DAAISy
DAAISy-main/dependencies/FD/experiments/issue658/v1.py
#! /usr/bin/env python # -*- coding: utf-8 -*- import os import suites from lab.reports import Attribute, gm from common_setup import IssueConfig, IssueExperiment try: from relativescatter import RelativeScatterPlotReport matplotlib = True except ImportError: print 'matplotlib not availabe, scatter plots ...
5,267
56.89011
293
py
DAAISy
DAAISy-main/dependencies/FD/experiments/issue658/v2-dfp.py
#! /usr/bin/env python # -*- coding: utf-8 -*- import os import suites from lab.reports import Attribute, gm from common_setup import IssueConfig, IssueExperiment try: from relativescatter import RelativeScatterPlotReport matplotlib = True except ImportError: print 'matplotlib not availabe, scatter plots ...
3,611
41.494118
259
py
DAAISy
DAAISy-main/dependencies/FD/experiments/issue658/suites.py
#! /usr/bin/env python # -*- coding: utf-8 -*- import argparse import textwrap HELP = "Convert suite name to list of domains or tasks." def suite_alternative_formulations(): return ['airport-adl', 'no-mprime', 'no-mystery'] def suite_ipc98_to_ipc04_adl(): return [ 'assembly', 'miconic-fulladl', '...
8,551
23.364672
77
py
DAAISy
DAAISy-main/dependencies/FD/experiments/issue658/ms-parser.py
#! /usr/bin/env python from lab.parser import Parser parser = Parser() parser.add_pattern('ms_final_size', 'Final transition system size: (\d+)', required=False, type=int) parser.add_pattern('ms_construction_time', 'Done initializing merge-and-shrink heuristic \[(.+)s\]', required=False, type=float) parser.add_patter...
2,784
37.150685
135
py
DAAISy
DAAISy-main/dependencies/FD/experiments/issue658/common_setup.py
# -*- coding: utf-8 -*- import itertools import os import platform import subprocess import sys from lab.environments import LocalEnvironment, MaiaEnvironment from lab.experiment import ARGPARSER from lab.steps import Step from lab import tools from downward.experiment import FastDownwardExperiment from downward.rep...
12,496
33.907821
83
py
DAAISy
DAAISy-main/dependencies/FD/experiments/issue658/relativescatter.py
# -*- coding: utf-8 -*- from collections import defaultdict from matplotlib import ticker from downward.reports.scatter import ScatterPlotReport from downward.reports.plot import PlotReport, Matplotlib, MatplotlibPlot # TODO: handle outliers # TODO: this is mostly copied from ScatterMatplotlib (scatter.py) class ...
3,921
35.654206
84
py
DAAISy
DAAISy-main/dependencies/FD/experiments/issue915/v1.py
#! /usr/bin/env python # -*- coding: utf-8 -*- import itertools import os from lab.environments import LocalEnvironment, BaselSlurmEnvironment from lab.reports import Attribute, geometric_mean from downward.reports.compare import ComparativeReport import common_setup from common_setup import IssueConfig, IssueExper...
4,038
41.968085
479
py
DAAISy
DAAISy-main/dependencies/FD/experiments/issue915/ms-parser.py
#! /usr/bin/env python from lab.parser import Parser parser = Parser() parser.add_pattern('ms_construction_time', 'Merge-and-shrink algorithm runtime: (.+)s', required=False, type=float) parser.add_pattern('ms_atomic_construction_time', 'M&S algorithm timer: (.+)s \(after computation of atomic factors\)', required=Fa...
2,775
38.098592
147
py
DAAISy
DAAISy-main/dependencies/FD/experiments/issue915/common_setup.py
# -*- coding: utf-8 -*- import itertools import os import platform import subprocess import sys from lab.experiment import ARGPARSER from lab import tools from downward.experiment import FastDownwardExperiment from downward.reports.absolute import AbsoluteReport from downward.reports.compare import ComparativeReport...
14,744
36.423858
82
py
DAAISy
DAAISy-main/dependencies/FD/experiments/issue915/relativescatter.py
# -*- coding: utf-8 -*- from collections import defaultdict from matplotlib import ticker from downward.reports.scatter import ScatterPlotReport from downward.reports.plot import PlotReport, Matplotlib, MatplotlibPlot # TODO: handle outliers # TODO: this is mostly copied from ScatterMatplotlib (scatter.py) class ...
3,875
35.566038
78
py
DAAISy
DAAISy-main/dependencies/FD/experiments/issue870/base-opt.py
#! /usr/bin/env python # -*- coding: utf-8 -*- import itertools import os from lab.environments import LocalEnvironment, BaselSlurmEnvironment from downward.reports.compare import ComparativeReport import common_setup from common_setup import IssueConfig, IssueExperiment from relativescatter import RelativeScatterP...
2,330
27.777778
86
py
DAAISy
DAAISy-main/dependencies/FD/experiments/issue870/common_setup.py
# -*- coding: utf-8 -*- import itertools import os import platform import subprocess import sys from lab.experiment import ARGPARSER from lab import tools from downward.experiment import FastDownwardExperiment from downward.reports.absolute import AbsoluteReport from downward.reports.compare import ComparativeReport...
14,786
36.435443
82
py
DAAISy
DAAISy-main/dependencies/FD/experiments/issue870/relativescatter.py
# -*- coding: utf-8 -*- from collections import defaultdict from matplotlib import ticker from downward.reports.scatter import ScatterPlotReport from downward.reports.plot import PlotReport, Matplotlib, MatplotlibPlot # TODO: handle outliers # TODO: this is mostly copied from ScatterMatplotlib (scatter.py) class ...
3,875
35.566038
78
py
DAAISy
DAAISy-main/dependencies/FD/experiments/issue870/v1-seq.py
#! /usr/bin/env python # -*- coding: utf-8 -*- import itertools import os from lab.environments import LocalEnvironment, BaselSlurmEnvironment from downward.reports.compare import ComparativeReport import common_setup from common_setup import IssueConfig, IssueExperiment from relativescatter import RelativeScatterP...
2,087
28
92
py
DAAISy
DAAISy-main/dependencies/FD/experiments/issue660/v2.py
#! /usr/bin/env python # -*- coding: utf-8 -*- import os import suites from lab.reports import Attribute, gm from common_setup import IssueConfig, IssueExperiment try: from relativescatter import RelativeScatterPlotReport matplotlib = True except ImportError: print 'matplotlib not available, scatter plots...
2,211
26.308642
94
py
DAAISy
DAAISy-main/dependencies/FD/experiments/issue660/v1.py
#! /usr/bin/env python # -*- coding: utf-8 -*- import os import suites from lab.reports import Attribute, gm from common_setup import IssueConfig, IssueExperiment try: from relativescatter import RelativeScatterPlotReport matplotlib = True except ImportError: print 'matplotlib not available, scatter plots...
2,301
26.73494
94
py
DAAISy
DAAISy-main/dependencies/FD/experiments/issue660/suites.py
#! /usr/bin/env python # -*- coding: utf-8 -*- import argparse import textwrap HELP = "Convert suite name to list of domains or tasks." def suite_alternative_formulations(): return ['airport-adl', 'no-mprime', 'no-mystery'] def suite_ipc98_to_ipc04_adl(): return [ 'assembly', 'miconic-fulladl', '...
8,551
23.364672
77
py
DAAISy
DAAISy-main/dependencies/FD/experiments/issue660/common_setup.py
# -*- coding: utf-8 -*- import itertools import os import platform import subprocess import sys from lab.environments import LocalEnvironment, MaiaEnvironment from lab.experiment import ARGPARSER from lab.steps import Step from lab import tools from downward.experiment import FastDownwardExperiment from downward.rep...
12,496
33.907821
83
py
DAAISy
DAAISy-main/dependencies/FD/experiments/issue660/relativescatter.py
# -*- coding: utf-8 -*- from collections import defaultdict from matplotlib import ticker from downward.reports.scatter import ScatterPlotReport from downward.reports.plot import PlotReport, Matplotlib, MatplotlibPlot # TODO: handle outliers # TODO: this is mostly copied from ScatterMatplotlib (scatter.py) class ...
3,921
35.654206
84
py
DAAISy
DAAISy-main/dependencies/FD/experiments/issue602/v1-agl.py
#! /usr/bin/env python # -*- coding: utf-8 -*- from downward import suites from lab.reports import Attribute, gm from common_setup import IssueConfig, IssueExperiment SUITE_AGL14 = [ 'barman-agl14-strips', 'cavediving-agl14-adl', 'childsnack-agl14-strips', 'citycar-agl14-adl', 'floortile-agl14-st...
2,976
28.77
72
py
DAAISy
DAAISy-main/dependencies/FD/experiments/issue602/v1-sat.py
#! /usr/bin/env python # -*- coding: utf-8 -*- from downward import suites from lab.reports import Attribute, gm from common_setup import IssueConfig, IssueExperiment SUITE_SAT14 = [ 'barman-sat14-strips', 'cavediving-sat14-adl', 'childsnack-sat14-strips', 'citycar-sat14-adl', 'floortile-sat14-st...
2,976
28.77
72
py
DAAISy
DAAISy-main/dependencies/FD/experiments/issue602/common_setup.py
# -*- coding: utf-8 -*- import itertools import os import platform import subprocess import sys from lab.environments import LocalEnvironment, MaiaEnvironment from lab.experiment import ARGPARSER from lab.steps import Step from lab import tools from downward.experiment import FastDownwardExperiment from downward.rep...
12,533
34.011173
83
py
DAAISy
DAAISy-main/dependencies/FD/experiments/issue602/v1-mco.py
#! /usr/bin/env python # -*- coding: utf-8 -*- from downward import suites from lab.reports import Attribute, gm from common_setup import IssueConfig, IssueExperiment SUITE_MCO14 = [ 'barman-mco14-strips', 'cavediving-mco14-adl', 'childsnack-mco14-strips', 'citycar-mco14-adl', 'floortile-mco14-st...
2,976
28.77
72
py
DAAISy
DAAISy-main/dependencies/FD/experiments/issue837/v1-opt.py
#! /usr/bin/env python # -*- coding: utf-8 -*- import itertools import os from lab.environments import LocalEnvironment, BaselSlurmEnvironment from downward.reports.compare import ComparativeReport import common_setup from common_setup import IssueConfig, IssueExperiment from relativescatter import RelativeScatterP...
2,820
33.402439
106
py
DAAISy
DAAISy-main/dependencies/FD/experiments/issue837/v1-sat.py
#! /usr/bin/env python # -*- coding: utf-8 -*- import itertools import os from lab.environments import LocalEnvironment, BaselSlurmEnvironment from downward.reports.compare import ComparativeReport import common_setup from common_setup import IssueConfig, IssueExperiment from relativescatter import RelativeScatterP...
2,747
28.548387
103
py
DAAISy
DAAISy-main/dependencies/FD/experiments/issue837/common_setup.py
# -*- coding: utf-8 -*- import itertools import os import platform import subprocess import sys from lab.experiment import ARGPARSER from lab import tools from downward.experiment import FastDownwardExperiment from downward.reports.absolute import AbsoluteReport from downward.reports.compare import ComparativeReport...
14,203
35.893506
82
py
DAAISy
DAAISy-main/dependencies/FD/experiments/issue837/relativescatter.py
# -*- coding: utf-8 -*- from collections import defaultdict from matplotlib import ticker from downward.reports.scatter import ScatterPlotReport from downward.reports.plot import PlotReport, Matplotlib, MatplotlibPlot # TODO: handle outliers # TODO: this is mostly copied from ScatterMatplotlib (scatter.py) class ...
3,875
35.566038
78
py
DAAISy
DAAISy-main/dependencies/FD/experiments/issue752/v2.py
#! /usr/bin/env python # -*- coding: utf-8 -*- import os from lab.environments import LocalEnvironment, BaselSlurmEnvironment import common_setup from common_setup import IssueConfig, IssueExperiment from relativescatter import RelativeScatterPlotReport DIR = os.path.dirname(os.path.abspath(__file__)) BENCHMARKS_DI...
2,310
40.267857
156
py