<commit_before># This is a config file for the beliefstate high level plan logging
# tool. All configuration information that might be important for the
# operation of the tool can be specified here.
#
# When dealing with paths, the following tokens can be used (they will
# be automatically replaced by their respective content in the current
# context):
#
#  * $HOME or ${HOME}
#    Replaced by the current user's home directory.
#    Example: $HOME for user "jan" becomes "/home/jan/"
#
#  * $WORKSPACE or ${WORKSPACE}
#    Replaced by the current user's active ROS workspace directory
#
#  * ${PACKAGE pkg}
#    Replaced by the global ROS path of the package named `pkg'

persistent-data-storage: {
  # This is where physical experimental data is stored (e.g. images
  # taken) and where exported files are written to (OWL files, PDFs,
  # SVGs, ...)
  base-data-directory = "$HOME/bs_experimental_data";

  # The logged data can be written to a MongoDB live. This information
  # defines the connection details.
  use-mongodb = true;
  mongodb: {
    host = "localhost";
    port = 27017;
    database = "beliefstate";
  };
};

experiment-data: {
  # The experiment name mask *must* include either the `%d' escape
  # sequence for automatic numbering, or the `%s' escape sequence for
  # date assertion (and not both). This way, the experiment will be
  # labelled automatically and will not overwrite old data from other
  # experiments. When using the date placeholder, it will be replaced
  # by the current date in the format `YYYY-MM-DD_HH-MM-SS'.
  experiment-name-mask = "exp-%s";
  symlink-name = "current-experiment";
};

plugins: {
  failed-plugins-invalidate-startup = true;

  load-development-plugins = true;
  search-paths = ["$WORKSPACE/devel/lib/", "${PACKAGE beliefstate}/lib/", "${PACKAGE bs_plugin_knowrob}/lib/"];

  # Not all of these are actually necessary here, as they depend on
  # each other (resulting in automatic loading)
  load = ["symboliclog", "ros", "owlexporter", "supervisor", "experiment_context", "imagecapturer"];
  
  # These color codes are used in series for coloring the output
  # messages on the console. If more output entities are present than
  # colors in this list, the colors wrap around.
  colors = ["31", "32", "33", "34", "35", "36", "37"];
  
  # Individual plugin configurations consist of groups of settings
  # that hold the "plugin" field in its top-level group. In order to
  # configure the plugin "ros" with the node-name "beliefstate_ros",
  # one would configure it this way:
  #
  # individual-configurations = (
  #   { plugin = "ros";
  #     node-name = "beliefstate_ros"; }
  # );
  individual-configurations = (
    { plugin = "owlexporter";
      semantics-descriptor-file = "${PACKAGE beliefstate}/data/semantics_descriptor_files/cram_knowrob_pickandplace.cfg"; },
    { plugin = "ros";
      node-name = "beliefstate_ros";
      async-threads = 1;
      roslog-messages = true;
      roslog-topic = "/rosout";
      arbitrary-mappings-file = "${PACKAGE beliefstate}/data/arbitrary_mappings_files/ros_signals.cfg"; },
    { plugin = "knowrob";
      json-service = "/json_prolog";
      connection-less = true;
      wait-for-service-duration = -1;
      semantics-descriptor-file = "${PACKAGE beliefstate}/data/semantics_descriptor_files/cram_knowrob_pickandplace.cfg"; },
    { plugin = "supervisor";
      knowrob-symlink-path = "${PACKAGE ias_knowledge_base}/owl/knowrob.owl";
      experiment-validation-extensions = ["owl"]; },
    { plugin = "symboliclog";
      time-precision = 3; }
  );
};

miscellaneous: {
  display-unhandled-events = false;
  display-unhandled-service-events = false;
  only-display-important-messages = true;

  command-line-output = true;
};<commit_msg>Added option to the config.cfg file controlling whether to display config details<commit_after># This is a config file for the beliefstate high level plan logging
# tool. All configuration information that might be important for the
# operation of the tool can be specified here.
#
# When dealing with paths, the following tokens can be used (they will
# be automatically replaced by their respective content in the current
# context):
#
#  * $HOME or ${HOME}
#    Replaced by the current user's home directory.
#    Example: $HOME for user "jan" becomes "/home/jan/"
#
#  * $WORKSPACE or ${WORKSPACE}
#    Replaced by the current user's active ROS workspace directory
#
#  * ${PACKAGE pkg}
#    Replaced by the global ROS path of the package named `pkg'

persistent-data-storage: {
  # This is where physical experimental data is stored (e.g. images
  # taken) and where exported files are written to (OWL files, PDFs,
  # SVGs, ...)
  base-data-directory = "$HOME/bs_experimental_data";

  # The logged data can be written to a MongoDB live. This information
  # defines the connection details.
  use-mongodb = true;
  mongodb: {
    host = "localhost";
    port = 27017;
    database = "beliefstate";
  };
};

experiment-data: {
  # The experiment name mask *must* include either the `%d' escape
  # sequence for automatic numbering, or the `%s' escape sequence for
  # date assertion (and not both). This way, the experiment will be
  # labelled automatically and will not overwrite old data from other
  # experiments. When using the date placeholder, it will be replaced
  # by the current date in the format `YYYY-MM-DD_HH-MM-SS'.
  experiment-name-mask = "exp-%s";
  symlink-name = "current-experiment";
};

plugins: {
  failed-plugins-invalidate-startup = true;

  load-development-plugins = true;
  search-paths = ["$WORKSPACE/devel/lib/", "${PACKAGE beliefstate}/lib/", "${PACKAGE bs_plugin_knowrob}/lib/"];

  # Not all of these are actually necessary here, as they depend on
  # each other (resulting in automatic loading)
  load = ["symboliclog", "ros", "owlexporter", "supervisor", "experiment_context", "imagecapturer"];
  
  # These color codes are used in series for coloring the output
  # messages on the console. If more output entities are present than
  # colors in this list, the colors wrap around.
  colors = ["31", "32", "33", "34", "35", "36", "37"];
  
  # Individual plugin configurations consist of groups of settings
  # that hold the "plugin" field in its top-level group. In order to
  # configure the plugin "ros" with the node-name "beliefstate_ros",
  # one would configure it this way:
  #
  # individual-configurations = (
  #   { plugin = "ros";
  #     node-name = "beliefstate_ros"; }
  # );
  individual-configurations = (
    { plugin = "owlexporter";
      semantics-descriptor-file = "${PACKAGE beliefstate}/data/semantics_descriptor_files/cram_knowrob_pickandplace.cfg"; },
    { plugin = "ros";
      node-name = "beliefstate_ros";
      async-threads = 1;
      roslog-messages = true;
      roslog-topic = "/rosout";
      arbitrary-mappings-file = "${PACKAGE beliefstate}/data/arbitrary_mappings_files/ros_signals.cfg"; },
    { plugin = "knowrob";
      json-service = "/json_prolog";
      connection-less = true;
      wait-for-service-duration = -1;
      semantics-descriptor-file = "${PACKAGE beliefstate}/data/semantics_descriptor_files/cram_knowrob_pickandplace.cfg"; },
    { plugin = "supervisor";
      knowrob-symlink-path = "${PACKAGE ias_knowledge_base}/owl/knowrob.owl";
      experiment-validation-extensions = ["owl"]; },
    { plugin = "symboliclog";
      time-precision = 3; }
  );
};

miscellaneous: {
  display-unhandled-events = false;
  display-unhandled-service-events = false;
  display-configuration-details = true;
  only-display-important-messages = true;

  command-line-output = true;
};
{'fraction_non_alphanumeric': 0.11546526867627785, 'fraction_numerical': 0.005766710353866317, 'mean_word_length': 3.6473812423873326, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4761552', 'n_tokens_mistral': 2342, 'n_tokens_neox': 2241, 'n_words': 759}