💬 Open source machine learning framework to automate text- and voice-based conversations: NLU, dialogue management, connect to Slack, Facebook, and more - Create chatbots and voice assistants
3370 matches across 15 categories. Click a row to expand file-level details.
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | tests/test_model.py | 34 | def test_get_local_model_exception(model_path: Optional[Text]): |
| LOW | tests/test_model.py | 45 | def test_model_fingerprint_with_no_git(monkeypatch: MonkeyPatch, tmp_path: Path): |
| LOW | tests/conftest.py | 121 | def domain_with_categorical_slot_path() -> Text: |
| LOW | tests/conftest.py | 195 | def story_file_trips_circuit_breaker_path() -> Text: |
| LOW | tests/conftest.py | 233 | async def trained_default_agent_model( |
| LOW | tests/conftest.py | 276 | async def trained_moodbot_core_path(trained_async: Callable) -> Text: |
| LOW | tests/conftest.py | 294 | async def trained_unexpected_intent_policy_path(trained_async: Callable) -> Text: |
| LOW | tests/conftest.py | 336 | async def unexpected_intent_policy_agent( |
| LOW | tests/conftest.py | 561 | def rasa_server_secured_asymmetric( |
| LOW | tests/conftest.py | 590 | def rasa_non_trained_server_secured(empty_agent: Agent) -> Sanic: |
| LOW | tests/conftest.py | 620 | def spacy_case_sensitive_nlp_component() -> SpacyNLP: |
| LOW | tests/conftest.py | 637 | async def response_selector_test_stories() -> Path: |
| LOW | tests/conftest.py | 642 | async def trained_response_selector_bot(trained_async: Callable) -> Path: |
| LOW | tests/conftest.py | 711 | def write_endpoint_config_to_yaml( |
| LOW | tests/conftest.py | 721 | def random_user_uttered_event(timestamp: Optional[float] = None) -> UserUttered: |
| LOW | tests/conftest.py | 759 | def _get_marker_for_ci_matrix(item: Function) -> Text: |
| LOW | tests/conftest.py | 790 | def pytest_collection_modifyitems(items: List[Function]) -> None: |
| LOW | tests/conftest.py | 803 | def create_test_file_with_size(directory: Path, size_in_mb: float) -> Path: |
| LOW | tests/conftest.py | 818 | def default_execution_context() -> ExecutionContext: |
| LOW | tests/conftest.py | 899 | def initial_events_including_restart() -> List[Event]: |
| LOW | tests/conftest.py | 924 | def tracker_with_restarted_event( |
| LOW | tests/test_dependencies.py | 5 | def test_tensorflow_text_install(): |
| LOW | tests/test_plugin.py | 25 | def test_plugin_create_tracker_store( |
| LOW | tests/test_plugin.py | 49 | def test_init_anonymization_pipeline( |
| LOW | tests/test_plugin.py | 64 | def test_get_anonymization_pipeline(monkeypatch: MonkeyPatch) -> None: |
| LOW | tests/test_model_testing.py | 38 | def monkeypatch_get_latest_model(tmp_path: Path, monkeypatch: MonkeyPatch) -> None: |
| LOW | tests/test_model_testing.py | 43 | def test_get_sanitized_model_directory_when_not_passing_model( |
| LOW | tests/test_model_testing.py | 62 | def test_get_sanitized_model_directory_when_passing_model_file_explicitly( |
| LOW | tests/test_model_testing.py | 81 | def test_get_sanitized_model_directory_when_passing_other_input( |
| LOW | tests/test_model_testing.py | 117 | def test_get_evaluation_metrics( |
| LOW | tests/test_model_testing.py | 248 | def test_make_classification_report_complete( |
| LOW | tests/test_model_testing.py | 313 | def test_make_classification_report_complete_raises_clf_report_exception( |
| LOW | tests/test_model_testing.py | 366 | def test_write_classification_errors(): |
| LOW | tests/test_model_testing.py | 528 | def test_evaluation_store_serialise( |
| LOW | tests/test_model_testing.py | 559 | def test_test_does_not_use_rules(tmp_path: Path, default_agent: Agent): |
| LOW | tests/test_model_testing.py | 586 | def test_duplicated_entity_predictions_tolerated(): |
| LOW | tests/test_model_testing.py | 612 | def test_differently_ordered_entity_predictions_tolerated(): |
| LOW | tests/test_server.py | 304 | async def test_parse_with_different_emulation_mode( |
| LOW | tests/test_server.py | 313 | async def test_parse_without_nlu_model(rasa_app_core: SanicASGITestClient): |
| LOW | tests/test_server.py | 321 | async def test_parse_on_invalid_emulation_mode(rasa_app: SanicASGITestClient): |
| LOW | tests/test_server.py | 145 | def rasa_secured_app_asymmetric( |
| LOW | tests/test_server.py | 152 | def rasa_non_trained_secured_app( |
| LOW | tests/test_server.py | 170 | async def test_root_without_enable_api(rasa_app_without_api: SanicASGITestClient): |
| LOW | tests/test_server.py | 217 | async def test_status_not_ready_agent(rasa_app: SanicASGITestClient): |
| LOW | tests/test_server.py | 366 | async def test_train_core_success_with( |
| LOW | tests/test_server.py | 1917 | async def test_get_story_without_conversation_id( |
| LOW | tests/test_server.py | 1929 | async def test_get_story_does_not_update_conversation_session( |
| LOW | tests/test_server.py | 2037 | async def test_update_conversation_with_events( |
| LOW | tests/test_server.py | 2064 | async def test_append_events_does_not_repeat_session_start( |
| LOW | tests/test_server.py | 2110 | async def _create_tracker_for_query_params( |
| LOW | tests/test_server.py | 2160 | async def test_get_tracker_with_query_param_include_events_all( |
| LOW | tests/test_server.py | 2187 | async def test_get_tracker_with_query_param_include_events_after_restart( |
| LOW | tests/test_server.py | 2218 | async def test_get_tracker_with_query_param_include_events_applied( |
| LOW | tests/test_server.py | 2254 | async def test_get_tracker_with_query_param_include_events_none( |
| LOW | tests/test_server.py | 2274 | async def test_retrieve_story_with_query_param_all_sessions_true( |
| LOW | tests/test_server.py | 2315 | async def test_retrieve_story_with_query_param_all_sessions_false( |
| LOW | tests/test_server.py | 2340 | async def test_retrieve_tracker_with_customized_action_session_start( |
| LOW | tests/test_server.py | 2346 | async def mock_run_action_session_start( |
| LOW | tests/test_server.py | 750 | async def test_evaluate_invalid_intent_model_file(rasa_app: SanicASGITestClient): |
| LOW | tests/test_server.py | 760 | async def test_evaluate_intent_without_body(rasa_app: SanicASGITestClient): |
| 2453 more matches not shown… | |||
| Severity | File | Line | Snippet |
|---|---|---|---|
| HIGH | tests/test_server.py | 0 | version: "{latest_training_data_format_version}" stories: - story: some-conversation-id steps: - intent: greet user: |- |
| HIGH | tests/test_server.py | 0 | version: "{latest_training_data_format_version}" stories: - story: some-conversation-id steps: - intent: greet user: |- |
| HIGH | tests/test_server.py | 0 | version: "{latest_training_data_format_version}" stories: - story: some-conversation-id steps: - intent: greet user: |- |
| HIGH | tests/core/test_test.py | 0 | version: "{latest_training_data_format_version}" stories: - story: happy path steps: - user: | hello there! intent: gree |
| HIGH | tests/core/test_test.py | 0 | version: "{latest_training_data_format_version}" stories: - story: happy path steps: - user: | hello there! intent: gree |
| HIGH | tests/core/test_test.py | 0 | version: "{latest_training_data_format_version}" stories: - story: happy path steps: - user: | hello there! intent: gree |
| HIGH | tests/core/test_migrate.py | 0 | version: "2.0" entities: - outdoor slots: outdoor_seating: type: bool influence_conversation: false |
| HIGH | tests/core/test_migrate.py | 0 | version: "2.0" entities: - outdoor slots: outdoor_seating: type: bool influence_conversation: false |
| HIGH | tests/core/test_migrate.py | 0 | version: "2.0" entities: - outdoor slots: outdoor_seating: type: bool influence_conversation: false |
| HIGH | tests/core/test_migrate.py | 0 | version: "2.0" entities: - outdoor slots: outdoor_seating: type: bool influence_conversation: false |
| HIGH | tests/core/test_migrate.py | 0 | version: "2.0" entities: - outdoor slots: outdoor_seating: type: bool influence_conversation: false |
| HIGH | tests/core/test_migrate.py | 0 | version: "2.0" entities: - outdoor slots: outdoor_seating: type: bool influence_conversation: false |
| HIGH | tests/core/test_migrate.py | 0 | version: "2.0" forms: reservation_form: required_slots: outdoor_seating: - type: from_intent value: true intent: confirm |
| HIGH | tests/core/test_migrate.py | 0 | version: "2.0" forms: reservation_form: required_slots: outdoor_seating: - type: from_intent value: true intent: confirm |
| HIGH | tests/core/test_migrate.py | 0 | version: "2.0" forms: reservation_form: required_slots: outdoor_seating: - type: from_intent value: true intent: confirm |
| HIGH | tests/core/test_migrate.py | 0 | version: "2.0" forms: reservation_form: required_slots: outdoor_seating: - type: from_intent value: true intent: confirm |
| HIGH | tests/core/policies/test_ted_policy.py | 0 | this takes long and does not need to be tested for every config change. |
| HIGH | tests/core/policies/test_ted_policy.py | 0 | this takes long and does not need to be tested for every config change. |
| HIGH | tests/core/policies/test_ted_policy.py | 0 | this takes long and does not need to be tested for every config change. |
| HIGH | tests/core/policies/test_ted_policy.py | 0 | this takes long and does not need to be tested for every config change. |
| HIGH | tests/core/policies/test_ted_policy.py | 0 | this takes long and does not need to be tested for every config change. |
| HIGH | tests/core/policies/test_rule_policy.py | 0 | version: "{latest_training_data_format_version}" intents: - {greet_intent_name} actions: - {utter_greet_action} - {utter |
| HIGH | tests/core/policies/test_rule_policy.py | 0 | version: "{latest_training_data_format_version}" intents: - {greet_intent_name} actions: - {utter_greet_action} - {utter |
| HIGH | tests/core/policies/test_rule_policy.py | 0 | version: "{latest_training_data_format_version}" intents: - {greet_intent_name} actions: - {utter_greet_action} - {utter |
| HIGH | tests/core/policies/test_rule_policy.py | 0 | version: "{latest_training_data_format_version}" intents: - {greet_intent_name} actions: - {utter_greet_action} |
| HIGH | tests/core/policies/test_rule_policy.py | 0 | version: "{latest_training_data_format_version}" intents: - {greet_intent_name} actions: - {utter_greet_action} |
| HIGH | tests/core/policies/test_rule_policy.py | 0 | version: "{latest_training_data_format_version}" intents: - {greet_intent_name} actions: - {utter_greet_action} |
| HIGH | tests/core/policies/test_rule_policy.py | 0 | version: "{latest_training_data_format_version}" intents: - {greet_intent_name} actions: - {utter_greet_action} |
| HIGH | tests/core/policies/test_rule_policy.py | 0 | version: "{latest_training_data_format_version}" intents: - {greet_intent_name} actions: - {utter_greet_action} - some-a |
| HIGH | tests/core/policies/test_rule_policy.py | 0 | version: "{latest_training_data_format_version}" intents: - {greet_intent_name} actions: - {utter_greet_action} - some-a |
| HIGH | tests/core/policies/test_rule_policy.py | 0 | version: "{latest_training_data_format_version}" intents: - {greet_intent_name} actions: - {utter_greet_action} - some-a |
| HIGH | tests/core/policies/test_rule_policy.py | 0 | version: "{latest_training_data_format_version}" intents: - {greet_intent_name} actions: - {utter_greet_action} - some-a |
| HIGH | tests/core/policies/test_rule_policy.py | 0 | version: "{latest_training_data_format_version}" intents: - {greet_intent_name} actions: - {utter_greet_action} - some-a |
| HIGH | tests/core/policies/test_rule_policy.py | 0 | version: "{latest_training_data_format_version}" intents: - {greet_intent_name} - {other_intent} actions: - {utter_greet |
| HIGH | tests/core/policies/test_rule_policy.py | 0 | version: "{latest_training_data_format_version}" intents: - {greet_intent_name} - {other_intent} actions: - {utter_greet |
| HIGH | tests/core/policies/test_rule_policy.py | 0 | version: "{latest_training_data_format_version}" intents: - {greet_intent_name} - {other_intent} actions: - {utter_greet |
| HIGH | tests/core/policies/test_rule_policy.py | 0 | version: "{latest_training_data_format_version}" intents: - {greet_intent_name} - {other_intent} actions: - {utter_greet |
| HIGH | tests/core/policies/test_rule_policy.py | 0 | version: "{latest_training_data_format_version}" intents: - {greet_intent_name} actions: - {utter_greet_action} - {handl |
| HIGH | tests/core/policies/test_rule_policy.py | 0 | version: "{latest_training_data_format_version}" intents: - {greet_intent_name} actions: - {utter_greet_action} - {handl |
| HIGH | tests/core/policies/test_rule_policy.py | 0 | version: "{latest_training_data_format_version}" intents: - {greet_intent_name} actions: - {utter_greet_action} - {handl |
| HIGH | tests/core/policies/test_rule_policy.py | 0 | version: "{latest_training_data_format_version}" intents: - {greet_intent_name} actions: - {utter_greet_action} - {handl |
| HIGH | tests/core/policies/test_rule_policy.py | 0 | version: "{latest_training_data_format_version}" intents: - {intent_1} actions: - {utter_1} - {utter_2} |
| HIGH | tests/core/policies/test_rule_policy.py | 0 | version: "{latest_training_data_format_version}" intents: - {intent_1} actions: - {utter_1} - {utter_2} |
| HIGH | tests/core/policies/test_rule_policy.py | 0 | version: "{latest_training_data_format_version}" intents: - {intent_1} actions: - {utter_1} - {utter_2} |
| HIGH | tests/core/policies/test_rule_policy.py | 0 | version: "{latest_training_data_format_version}" intents: - {intent_1} actions: - {utter_1} - {utter_2} |
| HIGH | tests/core/evaluation/test_marker.py | 0 | each marker applies an exact number of times (slots are immediately un-set). |
| HIGH | tests/core/evaluation/test_marker.py | 0 | each marker applies an exact number of times (slots are immediately un-set). |
| HIGH | tests/core/evaluation/test_marker.py | 0 | each marker applies an exact number of times (slots are immediately un-set). |
| HIGH | …e/training_data/story_reader/test_yaml_story_reader.py | 0 | stories: - story: my story steps: - intent: greet - slot_was_set: - my_slot |
| HIGH | …e/training_data/story_reader/test_yaml_story_reader.py | 0 | stories: - story: my story steps: - intent: greet - slot_was_set: - my_slot |
| HIGH | …e/training_data/story_reader/test_yaml_story_reader.py | 0 | stories: - story: my story steps: - intent: greet - slot_was_set: - my_slot |
| HIGH | …e/training_data/story_reader/test_yaml_story_reader.py | 0 | stories: - story: my story steps: - intent: greet - slot_was_set: - my_slot |
| HIGH | tests/engine/test_validation.py | 0 | any extra python dependencies required for this component to run. |
| HIGH | tests/engine/test_validation.py | 0 | any extra python dependencies required for this component to run. |
| HIGH | data/test_classes/graph_component_interface.py | 0 | any extra python dependencies required for this component to run. |
| HIGH | data/test_classes/custom_graph_components/nlu_dense.py | 0 | any extra python dependencies required for this component to run. |
| HIGH | data/test_classes/custom_graph_components/nlu_sparse.py | 0 | any extra python dependencies required for this component to run. |
| HIGH | …a/nlu/featurizers/dense_featurizer/mitie_featurizer.py | 0 | any extra python dependencies required for this component to run. |
| HIGH | …a/nlu/featurizers/dense_featurizer/spacy_featurizer.py | 0 | any extra python dependencies required for this component to run. |
| HIGH | …turizers/sparse_featurizer/count_vectors_featurizer.py | 0 | any extra python dependencies required for this component to run. |
| 210 more matches not shown… | |||
| Severity | File | Line | Snippet |
|---|---|---|---|
| CRITICAL | tests/test_server.py | 1954 | assert rasa_app.sanic_app.ctx.agent.processor._has_session_expired(tracker) |
| CRITICAL | tests/core/featurizers/test_tracker_featurizer.py | 30 | from rasa.core.exceptions import InvalidTrackerFeaturizerUsageError |
| CRITICAL | tests/nlu/test_evaluation.py | 611 | training_data_obj = rasa.shared.nlu.training_data.loading.load_data( |
| CRITICAL | tests/nlu/test_evaluation.py | 614 | training_data_responses_obj = rasa.shared.nlu.training_data.loading.load_data( |
| CRITICAL | tests/nlu/test_evaluation.py | 161 | TRAINING_DATA = rasa.shared.nlu.training_data.loading.load_data( |
| CRITICAL | tests/nlu/test_evaluation.py | 421 | td = rasa.shared.nlu.training_data.loading.load_data( |
| CRITICAL | tests/nlu/test_evaluation.py | 515 | td = rasa.shared.nlu.training_data.loading.load_data( |
| CRITICAL | tests/nlu/test_evaluation.py | 562 | td = rasa.shared.nlu.training_data.loading.load_data( |
| CRITICAL | tests/nlu/test_evaluation.py | 694 | td = rasa.shared.nlu.training_data.loading.load_data( |
| CRITICAL | tests/nlu/classifiers/test_mitie_intent_classifier.py | 50 | training_data = rasa.shared.nlu.training_data.loading.load_data( |
| CRITICAL | tests/nlu/classifiers/test_keyword_classifier.py | 25 | return rasa.shared.nlu.training_data.loading.load_data(nlu_as_json_path) |
| CRITICAL | tests/nlu/classifiers/test_sklearn_classifier.py | 23 | return rasa.shared.nlu.training_data.loading.load_data(nlu_data_path) |
| CRITICAL | tests/nlu/selectors/test_selectors.py | 65 | training_data = rasa.shared.nlu.training_data.loading.load_data( |
| CRITICAL | tests/nlu/selectors/test_selectors.py | 68 | training_data_responses = rasa.shared.nlu.training_data.loading.load_data( |
| CRITICAL | tests/shared/core/training_data/test_structures.py | 85 | rasa.shared.core.training_data.structures._cap_length("mystring", 6) == "mys..." |
| CRITICAL | tests/shared/core/training_data/test_structures.py | 91 | rasa.shared.core.training_data.structures._cap_length( |
| CRITICAL | tests/shared/core/training_data/test_structures.py | 99 | assert rasa.shared.core.training_data.structures._cap_length("my", 3) == "my" |
| CRITICAL | tests/shared/core/training_data/test_graph.py | 56 | story_steps = rasa.shared.core.training_data.loading.load_data_from_resource( |
| CRITICAL | tests/shared/core/training_data/test_graph.py | 62 | story_steps_2 = rasa.shared.core.training_data.loading.load_data_from_resource( |
| CRITICAL | tests/shared/core/training_data/test_graph.py | 77 | story_steps = rasa.shared.core.training_data.loading.load_data_from_resource( |
| CRITICAL | tests/shared/nlu/training_data/test_util.py | 21 | rasa.shared.nlu.training_data.util.has_string_escape_chars(s) |
| CRITICAL | tests/shared/nlu/training_data/test_util.py | 32 | result = rasa.shared.nlu.training_data.util.sparse_matrix_to_string(m_sparse) |
| CRITICAL | rasa/server.py | 181 | if await request.app.ctx.agent.tracker_store.exists(conversation_id): |
| CRITICAL | rasa/server.py | 1487 | rasa.shared.nlu.training_data.schemas.data_schema.rasa_nlu_data_schema(), |
| CRITICAL | rasa/core/processor.py | 223 | new_events = rasa.shared.core.trackers.TrackerEventDiffEngine.event_difference( |
| CRITICAL | rasa/core/visualize.py | 47 | nlu_training_data = rasa.shared.nlu.training_data.loading.load_data( |
| CRITICAL | rasa/core/visualize.py | 57 | rasa.shared.core.training_data.visualization.visualize_stories( |
| CRITICAL | rasa/core/brokers/kafka.py | 12 | from rasa.core.exceptions import KafkaProducerInitializationError |
| CRITICAL | rasa/core/featurizers/tracker_featurizers.py | 29 | from rasa.core.exceptions import InvalidTrackerFeaturizerUsageError |
| CRITICAL | rasa/core/channels/twilio_voice.py | 255 | tracker = await request.app.ctx.agent.tracker_store.retrieve(sender_id) |
| CRITICAL | rasa/nlu/convert.py | 34 | td = rasa.shared.nlu.training_data.loading.load_data(data_file, language) |
| CRITICAL | rasa/nlu/persistor.py | 218 | from azure.core.exceptions import ResourceExistsError |
| CRITICAL | rasa/shared/nlu/training_data/features.py | 275 | f_as_text = rasa.shared.nlu.training_data.util.sparse_matrix_to_string( |
| CRITICAL | rasa/shared/nlu/training_data/entities_parser.py | 67 | entity = rasa.shared.nlu.training_data.util.build_entity( |
| CRITICAL | rasa/shared/nlu/training_data/entities_parser.py | 92 | entity = rasa.shared.nlu.training_data.util.build_entity( |
| CRITICAL | rasa/shared/nlu/training_data/formats/readerwriter.py | 102 | return f"- {rasa.shared.nlu.training_data.util.encode_string(text)}\n" |
| CRITICAL | rasa/shared/nlu/training_data/formats/dialogflow.py | 98 | entity = rasa.shared.nlu.training_data.util.build_entity( |
| CRITICAL | rasa/shared/nlu/training_data/formats/rasa_yaml.py | 526 | rasa.shared.nlu.training_data.util.has_string_escape_chars( |
| CRITICAL | rasa/cli/data.py | 182 | nlu_data = rasa.shared.nlu.training_data.loading.load_data(data_path) |
| CRITICAL | rasa/cli/data.py | 183 | extension = rasa.shared.nlu.training_data.util.get_file_format_extension(data_path) |
| Severity | File | Line | Snippet |
|---|---|---|---|
| HIGH | .github/scripts/mr_publish_results.py | 91 | Transform string (with hours, minutes, and seconds) to seconds. Args: duration: Examples: '1m27s', '1m27.3s |
| HIGH | rasa/model_testing.py | 395 | Completes the sklearn classification report with accuracy xor micro avg. Args: report: Report generated by |
| HIGH | rasa/model_training.py | 101 | Checks if there are any unresolved slots. Args: domain: The domain. stories: The story graph. |
| HIGH | rasa/model.py | 20 | Returns verified path to local model archive. Args: model_path: Path to the zipped model. If it's a directo |
| HIGH | rasa/core/brokers/pika.py | 99 | Get queues for this event broker. The preferred argument defining the RabbitMQ queues the `PikaEventBroker` sho |
| HIGH | rasa/core/featurizers/precomputation.py | 174 | Collects features for all attributes in the given substate. There might be be multiple messages in the containe |
| HIGH | rasa/core/actions/action.py | 165 | Retrieves an action by its name or by its text in case it's an end-to-end action. Args: action_name_or_text |
| HIGH | rasa/core/evaluation/marker_base.py | 799 | Creates an operator marker from the given config. The configuration must consist of a list of marker configurat |
| HIGH | rasa/core/evaluation/marker_base.py | 896 | Creates an atomic marker from the given config. Args: tag: the tag identifying a condition |
| HIGH | rasa/nlu/featurizers/dense_featurizer/lm_featurizer.py | 304 | Computes token ids and token strings for each example in batch. A token id is the id of that token in the vocab |
| HIGH | rasa/nlu/featurizers/dense_featurizer/lm_featurizer.py | 571 | Computes dense features of each example in the batch. We first add the special tokens corresponding to each lan |
| HIGH | rasa/nlu/featurizers/dense_featurizer/lm_featurizer.py | 666 | Computes language model docs for all examples in the batch. Args: batch_examples: Batch of message |
| HIGH | rasa/utils/train_utils.py | 307 | Create data generators for train and optional validation data. Args: model_data: The model data to use. |
| HIGH | rasa/utils/plotting.py | 154 | Extracts all information from the data needed to plot a paired histogram. Args: histogram_data: Two data ve |
| HIGH | rasa/utils/tensorflow/metrics.py | 13 | Computes F-Beta score. It is the weighted harmonic mean of precision and recall. Output range is `[0, 1]`. Work |
| HIGH | rasa/utils/tensorflow/metrics.py | 211 | Computes F-1 Score. It is the harmonic mean of precision and recall. Output range is `[0, 1]`. Works for both m |
| HIGH | rasa/utils/tensorflow/model_data.py | 215 | Obtain number of examples in data. Args: data: The data. Raises: A ValueError if number of |
| HIGH | rasa/utils/tensorflow/model_data.py | 399 | Create random hold out test set using stratified split. Args: number_of_test_examples: Number of te |
| HIGH | rasa/utils/tensorflow/model_data.py | 606 | Check whether the test data set is too large or too small. Args: number_of_test_examples: number of |
| HIGH | rasa/utils/tensorflow/model_data.py | 774 | Convert various size label_ids into single dim array. For multi-label y, map each distinct row to a string repr |
| HIGH | rasa/utils/tensorflow/model_data_utils.py | 34 | Converts training data into a list of attribute to features. Possible attributes are, for example, INTENT, RESPONSE |
| HIGH | rasa/shared/core/domain.py | 1799 | Checks whether the given file path is a Rasa domain file. Args: filename: Path of the file which sh |
| HIGH | rasa/shared/core/conversation.py | 32 | Create `Dialogue` from parameters. Args: parameters: Serialised dialogue, should contain keys 'name |
| HIGH | rasa/shared/core/events.py | 164 | Splits events according to an event type and condition. Examples: Splitting events according to the event t |
| HIGH | …d/core/training_data/story_reader/yaml_story_reader.py | 168 | Check if file contains Core training data or rule data in YAML format. Args: file_path: Path of the |
| HIGH | rasa/shared/nlu/training_data/training_data.py | 538 | Get all responses used in any of the examples. Args: examples: messages to select responses by. |
| HIGH | rasa/shared/nlu/training_data/features.py | 291 | Filters the given list of features. Args: features_list: list of features to be filtered at |
| HIGH | rasa/shared/nlu/training_data/features.py | 331 | Groups the given features according to their attribute. Args: features_list: list of features to be g |
| HIGH | rasa/shared/nlu/training_data/entities_parser.py | 154 | Converts the provided `json_str` to a valid dict containing the entity attributes. Users can specify entity rol |
| HIGH | rasa/shared/nlu/training_data/formats/rasa_yaml.py | 340 | Checks if the specified file possibly contains NLU training data in YAML. Args: filename: name of t |
| HIGH | rasa/shared/nlu/training_data/formats/rasa_yaml.py | 495 | Prepares training examples to be written to YAML. This can be any NLU training data (intent examples, lookup t |
| HIGH | rasa/shared/utils/io.py | 562 | Validates YAML file content and returns parsed content. Args: filename: The path to the file which should b |
| HIGH | rasa/shared/utils/io.py | 586 | Parses a yaml configuration file. Content needs to be a dictionary. Args: filename: The path to the file wh |
| HIGH | rasa/shared/utils/io.py | 602 | Parses a model configuration file. Args: filename: The path to the file which should be read. Raises: |
| HIGH | rasa/shared/utils/common.py | 16 | Given the module name and path of a class, tries to retrieve the class. The loaded class can be used to instantiate |
| HIGH | …sa/graph_components/validators/finetuning_validator.py | 87 | Validates whether we can finetune Core and NLU when finetuning is enabled. Args: importer: a traini |
| HIGH | rasa/engine/graph.py | 95 | Loads a graph schema which has been serialized using `schema.as_dict()`. Args: serialized_graph_sch |
| HIGH | rasa/engine/storage/storage.py | 42 | Unpacks a model archive and initializes a `ModelStorage`. Args: storage_path: Directory which will |
| HIGH | rasa/engine/storage/storage.py | 62 | Retrieves metadata from archive. Args: model_archive_path: The path to the model archive. |
| HIGH | rasa/engine/storage/storage.py | 95 | Provides the data of a persisted `Resource`. Args: resource: The `Resource` whose persisted should |
| HIGH | rasa/engine/recipes/recipe.py | 77 | Converts a config to a graph compatible model configuration. Args: config: The config which the `Re |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | tests/core/test_evaluation.py | 28 | |
| LOW | tests/core/test_evaluation.py | 28 | |
| LOW | tests/core/utilities.py | 13 | |
| LOW | tests/core/test_processor.py | 44 | |
| LOW | tests/engine/graph_components_test_classes.py | 1 | |
| LOW | tests/engine/test_graph.py | 1 | |
| LOW | tests/engine/test_graph_node.py | 1 | |
| LOW | tests/engine/runner/test_dask.py | 1 | |
| LOW | examples/formbot/actions/actions.py | 1 | |
| LOW | scripts/prepare_nightly_release.py | 11 | |
| LOW | data/test_classes/graph_component_interface.py | 1 | |
| LOW | …t_classes/custom_graph_components/nlu_meta_fallback.py | 1 | |
| LOW | …t_classes/custom_graph_components/nlu_meta_fallback.py | 3 | |
| LOW | …t_classes/custom_graph_components/nlu_meta_fallback.py | 7 | |
| LOW | rasa/server.py | 81 | |
| LOW | rasa/server.py | 82 | |
| LOW | rasa/__init__.py | 3 | |
| LOW | rasa/__init__.py | 4 | |
| LOW | rasa/__init__.py | 4 | |
| LOW | rasa/__init__.py | 4 | |
| LOW | rasa/telemetry.py | 37 | |
| LOW | rasa/telemetry.py | 38 | |
| LOW | rasa/telemetry.py | 39 | |
| LOW | rasa/telemetry.py | 40 | |
| LOW | rasa/telemetry.py | 41 | |
| LOW | rasa/telemetry.py | 42 | |
| LOW | rasa/api.py | 1 | |
| LOW | rasa/api.py | 1 | |
| LOW | rasa/api.py | 1 | |
| LOW | rasa/api.py | 1 | |
| LOW | rasa/api.py | 1 | |
| LOW | rasa/api.py | 1 | |
| LOW | rasa/api.py | 14 | |
| LOW | rasa/plugin.py | 11 | |
| LOW | rasa/plugin.py | 12 | |
| LOW | rasa/plugin.py | 13 | |
| LOW | rasa/plugin.py | 14 | |
| LOW | rasa/plugin.py | 15 | |
| LOW | rasa/plugin.py | 16 | |
| LOW | rasa/plugin.py | 17 | |
| LOW | rasa/plugin.py | 18 | |
| LOW | rasa/jupyter.py | 12 | |
| LOW | rasa/core/run.py | 30 | |
| LOW | rasa/core/test.py | 67 | |
| LOW | rasa/core/test.py | 69 | |
| LOW | rasa/core/tracker_store.py | 1 | |
| LOW | rasa/core/tracker_store.py | 59 | |
| LOW | rasa/core/tracker_store.py | 60 | |
| LOW | rasa/core/tracker_store.py | 60 | |
| LOW | rasa/core/agent.py | 1 | |
| LOW | rasa/core/lock_store.py | 1 | |
| LOW | rasa/core/brokers/pika.py | 18 | |
| LOW | rasa/core/brokers/file.py | 10 | |
| LOW | rasa/core/brokers/kafka.py | 18 | |
| LOW | rasa/core/brokers/broker.py | 1 | |
| LOW | rasa/core/featurizers/tracker_featurizers.py | 1 | |
| LOW | rasa/core/featurizers/precomputation.py | 1 | |
| LOW | rasa/core/nlg/__init__.py | 1 | |
| LOW | rasa/core/nlg/__init__.py | 2 | |
| LOW | rasa/core/nlg/__init__.py | 3 | |
| 114 more matches not shown… | |||
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | tests/core/featurizers/test_tracker_featurizer.py | 159 | |
| LOW | tests/nlu/classifiers/test_diet_classifier.py | 751 | |
| LOW | tests/nlu/classifiers/test_diet_classifier.py | 842 | |
| LOW | tests/nlu/selectors/test_selectors.py | 655 | |
| LOW | tests/nlu/selectors/test_selectors.py | 768 | |
| LOW | tests/utils/tensorflow/test_model_data.py | 59 | |
| LOW | …e/training_data/story_reader/test_yaml_story_reader.py | 837 | |
| LOW | …ts/providers/test_domain_for_core_training_provider.py | 45 | |
| LOW | …aph_components/validators/test_finetuning_validator.py | 310 | |
| LOW | tests/engine/test_validation.py | 972 | |
| LOW | scripts/release.py | 269 | |
| LOW | scripts/publish_gh_release_notes.py | 38 | |
| LOW | .github/scripts/mr_generate_summary.py | 11 | |
| LOW | .github/scripts/mr_publish_results.py | 122 | |
| LOW | rasa/validator.py | 359 | |
| LOW | rasa/server.py | 444 | |
| LOW | rasa/telemetry.py | 617 | |
| LOW | rasa/core/processor.py | 953 | |
| LOW | rasa/core/test.py | 455 | |
| LOW | rasa/core/test.py | 598 | |
| LOW | rasa/core/test.py | 813 | |
| LOW | rasa/core/test.py | 244 | |
| LOW | rasa/core/test.py | 284 | |
| LOW | rasa/core/tracker_store.py | 1494 | |
| LOW | rasa/core/agent.py | 97 | |
| LOW | rasa/core/agent.py | 195 | |
| LOW | rasa/core/migrate.py | 168 | |
| LOW | rasa/core/migrate.py | 203 | |
| LOW | rasa/core/migrate.py | 280 | |
| LOW | rasa/core/brokers/kafka.py | 109 | |
| LOW | rasa/core/brokers/kafka.py | 171 | |
| LOW | rasa/core/brokers/broker.py | 81 | |
| LOW | rasa/core/featurizers/single_state_featurizer.py | 111 | |
| LOW | rasa/core/featurizers/tracker_featurizers.py | 572 | |
| LOW | rasa/core/featurizers/tracker_featurizers.py | 786 | |
| LOW | rasa/core/featurizers/tracker_featurizers.py | 849 | |
| LOW | rasa/core/featurizers/tracker_featurizers.py | 1040 | |
| LOW | rasa/core/nlg/interpolator.py | 55 | |
| LOW | rasa/core/training/interactive.py | 494 | |
| LOW | rasa/core/training/interactive.py | 635 | |
| LOW | rasa/core/training/interactive.py | 1474 | |
| LOW | rasa/core/training/story_conflict.py | 281 | |
| LOW | rasa/core/training/story_conflict.py | 335 | |
| LOW | rasa/core/training/story_conflict.py | 96 | |
| LOW | rasa/core/policies/policy.py | 438 | |
| LOW | rasa/core/policies/memoization.py | 96 | |
| LOW | rasa/core/policies/unexpected_intent_policy.py | 645 | |
| LOW | rasa/core/policies/rule_policy.py | 609 | |
| LOW | rasa/core/actions/action.py | 1101 | |
| LOW | rasa/core/actions/action.py | 1231 | |
| LOW | rasa/core/actions/forms.py | 123 | |
| LOW | rasa/core/channels/hangouts.py | 103 | |
| LOW | rasa/core/channels/hangouts.py | 239 | |
| LOW | rasa/core/channels/console.py | 188 | |
| LOW | rasa/core/channels/telegram.py | 52 | |
| LOW | rasa/core/channels/telegram.py | 195 | |
| LOW | rasa/core/channels/telegram.py | 216 | |
| LOW | rasa/core/channels/facebook.py | 98 | |
| LOW | rasa/core/channels/facebook.py | 107 | |
| LOW | rasa/core/channels/facebook.py | 270 | |
| 57 more matches not shown… | |||
| Severity | File | Line | Snippet |
|---|---|---|---|
| MEDIUM | tests/test_model_testing.py | 50 | # Create a fake model on disk so that `is_file` returns `True` |
| MEDIUM | tests/core/training/test_story_conflict.py | 41 | # Create a list of `StoryConflict` objects |
| MEDIUM | tests/core/training/test_story_conflict.py | 81 | # Create a list of `StoryConflict` objects |
| MEDIUM | tests/core/training/test_story_conflict.py | 94 | # Create a list of `StoryConflict` objects |
| MEDIUM | tests/core/training/test_story_conflict.py | 107 | # Create a list of `StoryConflict` objects |
| MEDIUM | tests/core/training/test_story_conflict.py | 120 | # Create a list of `StoryConflict` objects |
| MEDIUM | tests/core/training/test_story_conflict.py | 132 | # Create a list of `StoryConflict` objects |
| MEDIUM | tests/core/training/test_story_conflict.py | 145 | # Create a list of `StoryConflict` objects |
| MEDIUM | tests/utils/tensorflow/test_layers.py | 426 | # Create a unit vector [1, 0, 0, 0, ...] |
| MEDIUM | tests/shared/core/test_domain.py | 1391 | # Create a sorted list of entity names from 'a' to 'z', and two randomly shuffled |
| MEDIUM | tests/shared/core/test_events.py | 319 | # Create the event from a `dict` that will be accepted by the |
| MEDIUM | tests/shared/core/test_events.py | 338 | # Create an event without metadata. When converting the `Event` to a |
| MEDIUM | examples/reminderbot/endpoints.yml | 1 | # This file contains the different endpoints your bot can use. |
| MEDIUM | examples/reminderbot/credentials.yml | 1 | # This file contains the credentials for the voice & chat platforms |
| MEDIUM | …test_action_extract_slots_11333/tests/test_stories.yml | 1 | #### This file contains tests to evaluate that your bot behaves as expected. |
| MEDIUM | rasa/validator.py | 310 | # Create a list of `StoryConflict` objects |
| MEDIUM | rasa/server.py | 680 | # Initialize shared object of type unsigned int for tracking |
| MEDIUM | rasa/core/policies/unexpected_intent_policy.py | 980 | # Create a tensor of values with sign opposite to `LABEL_PAD_ID` which |
| MEDIUM | rasa/core/policies/rule_policy.py | 862 | # This function is called a lot (e.g. for checking contradictions) so we cache |
| MEDIUM | rasa/core/channels/webexteams.py | 113 | # Create a Webhook object from the JSON data |
| MEDIUM | rasa/utils/tensorflow/layers.py | 1564 | # Create an indicator for the positive labels by concatenating the 1 for all |
| MEDIUM | rasa/utils/tensorflow/feature_array.py | 230 | """This method is called when the system allocates a new array from obj. |
| MEDIUM | rasa/shared/nlu/training_data/features.py | 47 | # Create a unique key for this tensor in the safetensors file |
| MEDIUM | rasa/cli/initial_project/endpoints.yml | 1 | # This file contains the different endpoints your bot can use. |
| MEDIUM | rasa/cli/initial_project/credentials.yml | 1 | # This file contains the credentials for the voice & chat platforms |
| MEDIUM | rasa/cli/initial_project/tests/test_stories.yml | 1 | #### This file contains tests to evaluate that your bot behaves as expected. |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | .typo-ci.yml | 1 | # This is a sample .typo-ci.yml file, it's used to configure how Typo CI will behave. |
| LOW | tests/core/evaluation/test_marker.py | 601 | [ |
| LOW | examples/reminderbot/endpoints.yml | 1 | # This file contains the different endpoints your bot can use. |
| LOW | examples/reminderbot/endpoints.yml | 21 | # type: redis |
| LOW | examples/reminderbot/endpoints.yml | 41 | # password: password |
| LOW | examples/reminderbot/credentials.yml | 1 | # This file contains the credentials for the voice & chat platforms |
| LOW | examples/reminderbot/credentials.yml | 21 | # slack_token: "<your slack token>" |
| LOW | examples/rules/domain.yml | 21 | type: text |
| LOW | scripts/push_docs_to_branch.sh | 1 | #!/bin/bash |
| LOW | .github/workflows/ci-model-regression.yml | 521 | env: |
| LOW | .github/workflows/continous-integration.yml | 21 | # - DOCKERHUB_PASSWORD: password for an account with write access to the rasa |
| LOW | .github/workflows/continous-integration.yml | 1101 | # In this scenario, we've pushed the '2.0.6' tag |
| LOW | .github/workflows/continous-integration.yml | 1221 | # RELEASE_TAG="${IMAGE_TAG}" |
| LOW | .github/workflows/ci-model-regression-on-schedule.yml | 181 | |
| LOW | .github/configs/mr-test-example.yaml | 1 | ## Example configuration |
| LOW | .github/configs/mr-test-example.yaml | 21 | ## Example: Use all available configurations for the "Carbon Bot" and "Sara" datasets |
| LOW | …no_session_config_and_custom_session_config/config.yml | 1 | recipe: default.v1 |
| LOW | …no_session_config_and_custom_session_config/config.yml | 21 | # constrain_similarities: true |
| LOW | …_for_docs/example_for_suggested_config_after_train.yml | 1 | recipe: default.v1 |
| LOW | data/test_config/config_unique_assistant_id.yml | 1 | recipe: default.v1 |
| LOW | data/test_config/config_unique_assistant_id.yml | 21 | # epochs: 100 |
| LOW | data/test_config/config_empty_en_after_dumping.yml | 1 | recipe: default.v1 |
| LOW | data/test_config/config_empty_en_after_dumping.yml | 21 | # epochs: 100 |
| LOW | data/test_config/config_defaults.yml | 1 | recipe: default.v1 |
| LOW | data/test_config/config_defaults.yml | 21 | # epochs: 100 |
| LOW | …est_config/config_with_comment_between_suggestions.yml | 1 | recipe: default.v1 |
| LOW | …est_config/config_with_comment_between_suggestions.yml | 21 | # - name: FallbackClassifier |
| LOW | data/test_config/config_with_comments_after_dumping.yml | 21 | epochs: 100 |
| LOW | data/test_config/config_empty_fr_after_dumping.yml | 1 | language: fr |
| LOW | data/test_config/config_empty_fr_after_dumping.yml | 21 | # constrain_similarities: true |
| LOW | data/test_config/config_empty_en_after_dumping_nlu.yml | 1 | recipe: default.v1 |
| LOW | data/test_config/config_empty_en_after_dumping_nlu.yml | 21 | # epochs: 100 |
| LOW | data/test_config/config_empty_en_after_dumping_core.yml | 1 | recipe: default.v1 |
| LOW | …from_trigger_intent_with_mapping_conditions/config.yml | 41 | # # See https://rasa.com/docs/rasa/policies for more information. |
| LOW | …m_trigger_intent_with_no_mapping_conditions/config.yml | 41 | # # See https://rasa.com/docs/rasa/policies for more information. |
| LOW | data/test_action_extract_slots_11333/config.yml | 21 | min_ngram: 1 |
| LOW | data/test_action_extract_slots_11333/config.yml | 41 | - name: AugmentedMemoizationPolicy |
| LOW | rasa/core/constants.py | 41 | # policies only predict an action if the last event in |
| LOW | rasa/core/policies/ted_policy.py | 221 | # Number of attention heads in transformer |
| LOW | rasa/core/policies/ted_policy.py | 241 | # Number of epochs to train |
| LOW | rasa/core/policies/ted_policy.py | 261 | # Determines wether the confidences of the chosen top actions should be |
| LOW | rasa/core/policies/ted_policy.py | 281 | # The scale of regularization |
| LOW | rasa/core/policies/ted_policy.py | 301 | # If 'True' random tokens of the input message will be masked. Since there |
| LOW | rasa/core/policies/ted_policy.py | 321 | CHECKPOINT_MODEL: False, |
| LOW | rasa/core/policies/ted_policy.py | 1481 | |
| LOW | rasa/core/policies/ted_policy.py | 1581 | # For example: |
| LOW | rasa/core/policies/ted_policy.py | 1861 | ) -> Tuple[tf.Tensor, tf.Tensor, tf.Tensor]: |
| LOW | rasa/core/policies/unexpected_intent_policy.py | 181 | # if key- or value relative attention are turned on |
| LOW | rasa/core/policies/unexpected_intent_policy.py | 201 | EMBEDDING_DIMENSION: 20, |
| LOW | rasa/core/policies/unexpected_intent_policy.py | 221 | DROP_RATE_ATTENTION: 0.0, |
| LOW | rasa/core/policies/unexpected_intent_policy.py | 241 | # metrics, set this option to a valid output directory. |
| LOW | rasa/core/policies/unexpected_intent_policy.py | 261 | # examples. Any tracker with a similarity score below this |
| LOW | rasa/core/policies/rule_policy.py | 121 | # Priority of the policy which is used if multiple policies predict |
| LOW | …turizers/sparse_featurizer/count_vectors_featurizer.py | 61 | # whether to use a shared vocab |
| LOW | rasa/nlu/classifiers/diet_classifier.py | 161 | HIDDEN_LAYERS_SIZES: {TEXT: [], LABEL: []}, |
| LOW | rasa/nlu/classifiers/diet_classifier.py | 181 | # Batch size will be linearly increased for each epoch. |
| LOW | rasa/nlu/classifiers/diet_classifier.py | 201 | NUM_NEG: 20, |
| LOW | rasa/nlu/classifiers/diet_classifier.py | 221 | SCALE_LOSS: False, |
| LOW | rasa/nlu/classifiers/diet_classifier.py | 241 | # Small values may hurt performance. |
| LOW | rasa/nlu/classifiers/diet_classifier.py | 261 | # metrics, set this option to a valid output directory. |
| 21 more matches not shown… | |||
| Severity | File | Line | Snippet |
|---|---|---|---|
| MEDIUM | rasa/server.py | 554 | def wrapped() -> None: |
| LOW | rasa/server.py | 1510 | except Exception as e: |
| LOW | rasa/server.py | 486 | except Exception as e: |
| LOW | rasa/server.py | 565 | except Exception as e: |
| LOW | rasa/server.py | 734 | except Exception as e: |
| LOW | rasa/server.py | 770 | except Exception as e: |
| LOW | rasa/server.py | 820 | except Exception as e: |
| LOW | rasa/server.py | 847 | except Exception as e: |
| LOW | rasa/server.py | 899 | except Exception as e: |
| LOW | rasa/server.py | 957 | except Exception as e: |
| LOW | rasa/server.py | 986 | except Exception as e: |
| LOW | rasa/server.py | 1036 | except Exception as e: |
| LOW | rasa/server.py | 1089 | except Exception as e: |
| LOW | rasa/server.py | 1123 | except Exception as e: |
| LOW | rasa/server.py | 1179 | except Exception as e: |
| LOW | rasa/server.py | 1274 | except Exception as e: |
| LOW | rasa/server.py | 1287 | except Exception as e: |
| LOW | rasa/server.py | 1311 | except Exception as e: |
| LOW | rasa/server.py | 1322 | except Exception as e: |
| LOW | rasa/telemetry.py | 450 | except Exception: # skipcq:PYL-W0703 |
| LOW | rasa/telemetry.py | 456 | except Exception: # skipcq:PYL-W0703 |
| LOW | rasa/telemetry.py | 207 | except Exception as e: # skipcq:PYL-W0703 |
| LOW | rasa/telemetry.py | 268 | except Exception: # skipcq:PYL-W0703 |
| LOW | rasa/telemetry.py | 540 | except Exception as e: # skipcq:PYL-W0703 |
| LOW | rasa/telemetry.py | 558 | except Exception as e: # skipcq:PYL-W0703 |
| LOW | rasa/telemetry.py | 921 | except Exception: |
| LOW | rasa/core/exporter.py | 82 | except Exception as e: |
| LOW | rasa/core/processor.py | 993 | except Exception: |
| LOW | rasa/core/tracker_store.py | 1441 | except Exception as e: |
| LOW | rasa/core/tracker_store.py | 1449 | except Exception as e: |
| LOW | rasa/core/tracker_store.py | 1457 | except Exception as e: |
| LOW | rasa/core/tracker_store.py | 1471 | except Exception as e: |
| LOW | rasa/core/http_interpreter.py | 82 | except Exception: # skipcq: PYL-W0703 |
| LOW | rasa/core/agent.py | 89 | except Exception: # skipcq: PYL-W0703 |
| LOW | rasa/core/agent.py | 266 | except Exception as e: |
| LOW | rasa/core/lock_store.py | 86 | except Exception as e: |
| LOW | rasa/core/migrate.py | 395 | except Exception as e: |
| LOW | rasa/core/brokers/pika.py | 211 | except Exception as e: |
| LOW | rasa/core/brokers/pika.py | 312 | except Exception as e: |
| LOW | rasa/core/brokers/kafka.py | 140 | except Exception as e: |
| LOW | rasa/core/training/interactive.py | 871 | except Exception as e: |
| LOW | rasa/core/training/interactive.py | 1557 | except Exception: |
| LOW | rasa/core/channels/hangouts.py | 328 | except Exception: |
| LOW | rasa/core/channels/telegram.py | 276 | except Exception as e: |
| LOW | rasa/core/channels/rest.py | 175 | except Exception: |
| LOW | rasa/core/channels/channel.py | 200 | except Exception: |
| LOW | rasa/core/channels/botframework.py | 332 | except Exception as e: |
| LOW | rasa/core/channels/mattermost.py | 198 | except Exception as e: |
| LOW | rasa/core/channels/facebook.py | 158 | except Exception: |
| LOW | rasa/core/channels/facebook.py | 408 | except Exception: |
| LOW | rasa/core/channels/webexteams.py | 92 | except Exception as e: |
| LOW | rasa/core/channels/twilio.py | 155 | except Exception as e: |
| LOW | rasa/core/channels/slack.py | 395 | except Exception as e: |
| LOW | rasa/core/channels/slack.py | 490 | except Exception as e: |
| LOW | rasa/nlu/test.py | 1859 | except Exception as e: # skipcq: PYL-W0703 |
| LOW | rasa/nlu/utils/__init__.py | 30 | except Exception: |
| LOW | rasa/nlu/extractors/mitie_entity_extractor.py | 182 | except Exception as e: |
| LOW | rasa/utils/plotting.py | 21 | except Exception: # skipcq:PYL-W0703 |
| LOW | rasa/utils/common.py | 140 | except Exception: |
| LOW | rasa/utils/common.py | 386 | except Exception as e: |
| 6 more matches not shown… | |||
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | tests/core/test_lock_store.py | 192 | # we'll just return None. |
| LOW | tests/integration_tests/core/test_lock_store.py | 110 | # we'll just return None. |
| MEDIUM | docs/static/js/rasa-chatblock.min.js | 6 | */var r=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,i=Object.prototype.propertyIsEnumerable;function |
| MEDIUM | docs/static/js/rasa-chatblock.min.js | 6 | */var r=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,i=Object.prototype.propertyIsEnumerable;function |
| MEDIUM | docs/static/js/rasa-chatblock.min.js | 27 | */var r=n(0),o=n(4),i=n(30);function a(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<ar |
| MEDIUM | docs/static/js/rasa-chatblock.min.js | 27 | */var r=n(0),o=n(4),i=n(30);function a(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<ar |
| LOW | rasa/core/training/interactive.py | 662 | # in this case we will just return, and the original |
| LOW | rasa/core/policies/ensemble.py | 306 | # Reminder: If just a single policy is given, we do *not* just return it because |
| LOW | rasa/core/evaluation/marker_base.py | 457 | # Reminder: We could also just create a dictionary of markers from this. |
| MEDIUM | …nlu/featurizers/dense_featurizer/convert_featurizer.py | 200 | # Definitely invalid since the specified path should be a directory |
| MEDIUM | …turizers/sparse_featurizer/count_vectors_featurizer.py | 728 | # Definitely need to persist some vocabularies |
| LOW | rasa/nlu/classifiers/diet_classifier.py | 711 | # we don't have any intent labels during prediction, just add them during |
| LOW | rasa/utils/tensorflow/crf.py | 153 | # If max_seq_len is 1, we skip the algorithm and simply return the |
| MEDIUM | rasa/utils/tensorflow/feature_array.py | 286 | """Needed in order to pickle this object. |
| LOW | rasa/engine/training/graph_trainer.py | 246 | # execute the node again. We can just return it from a |
| Severity | File | Line | Snippet |
|---|---|---|---|
| HIGH | tests/core/training/test_interactive.py | 559 | "attachment": null, |
| HIGH | tests/core/training/test_interactive.py | 560 | "buttons": null, |
| HIGH | tests/core/training/test_interactive.py | 568 | "text": null, |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | tests/core/policies/test_unexpected_intent_policy.py | 887 | # Check if ranking is sorted correctly and truncated to `ranking_length` |
| LOW | tests/core/policies/test_rule_policy.py | 3119 | # Check if the presence of action_unlikely_intent |
| LOW | tests/core/channels/test_slack.py | 313 | # Check if re.escape was called with the expected argument |
| LOW | tests/shared/importers/test_importer.py | 170 | # Check if the NLU training data was added correctly from the story training data |
| LOW | tests/shared/importers/test_multi_project.py | 38 | # Check if loading from `.yaml` also works |
| LOW | .github/workflows/ci-model-regression-on-schedule.yml | 598 | # Set IS_DROPPED to true if there is any value lower |
| LOW | rasa/server.py | 1432 | # Check if matching channels can provide a valid output channel, |
| LOW | rasa/core/policies/unexpected_intent_policy.py | 206 | # Set this to `0` to include all intents. |
| LOW | rasa/core/policies/rule_policy.py | 1058 | # Check if a rule that predicted action_listen |
| LOW | rasa/cli/utils.py | 280 | # Check if a valid setting for `max_history` was given |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | tests/shared/nlu/training_data/test_features.py | 365 | # don't forget to check the origin |
| LOW | tests/shared/nlu/training_data/test_features.py | 365 | # don't forget to check the origin |
| LOW | rasa/core/training/interactive.py | 96 | # automatically. If you change anything in here, please make sure to |
| LOW | rasa/core/policies/ted_policy.py | 174 | # please make sure to update the docs when changing a default parameter |
| LOW | rasa/core/policies/memoization.py | 68 | # please make sure to update the docs when changing a default parameter |
| LOW | rasa/nlu/classifiers/fallback_classifier.py | 44 | # please make sure to update the docs when changing a default parameter |
| LOW | rasa/nlu/classifiers/diet_classifier.py | 154 | # please make sure to update the docs when changing a default parameter |
| LOW | rasa/shared/core/constants.py | 132 | # if you add more policy/classifier names, make sure to add a test as well to ensure |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | tests/utils/test_common.py | 68 | async def my_function(): |
| LOW | tests/utils/test_common.py | 79 | def my_function(): |
| LOW | tests/shared/utils/test_common.py | 131 | def my_function(): |
| LOW | tests/shared/utils/test_common.py | 141 | async def my_function(): |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | tests/core/conftest.py | 92 | entities=[{"entity": "name", "value": "Jane Doe"}], |
| LOW | tests/core/conftest.py | 98 | entities=[{"entity": "name", "value": "Jane Doe"}], |