💬 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
This report presents the forensic synthetic code analysis of RasaHQ/rasa, a Python project with 21,240 GitHub stars. SynthScan v2.0 examined 202,310 lines of code across 1163 source files, recording 3524 pattern matches distributed across 19 syntactic categories. The overall adjusted score of 22.9 places this repository in the Moderate AI signal band.
The scanner applied 160+ deterministic lexical heuristics, multi-line block detectors, abstract syntax tree depth profilers, and a cross-file Jaccard similarity matrix to construct a statistically normalised synthetic code estimate. All matches are individually weighted by severity coefficient and contextual multiplier before summation, and the resulting headline score is temporally discounted to account for the repository's development history relative to the commercial emergence of large language model coding tooling (November 2022 onward).
This chart maps the temporal evolution of the adjusted synthetic code score across successive scan runs. An upward trajectory indicates ongoing incorporation of AI-generated code or expanding LLM-assisted scaffolding; a stable or declining trajectory may reflect active human refactoring, code removal, or the adoption of stricter authorship policies. The dashed secondary line (right axis) independently tracks total raw pattern hit count, which can diverge from the normalised score when codebase size changes significantly between scans.
Classifies detected patterns by their diagnostic confidence and structural impact. CRITICAL patterns (coefficient 10) represent definitive synthetic signatures — hallucinated imports, explicit LLM attribution metadata — virtually never produced by human authors. HIGH (5) indicates strong structural tells such as cross-file repetition or cross-linguistic idioms. MEDIUM (2) covers recognisable conversational padding and AI-specific vocabulary. LOW (1) captures subtle indicators like tautological comments and generic boilerplate that require density to carry independent signal.
This horizontal bar chart decomposes the repository's raw synthetic code score by top-level directory, allowing you to pinpoint precisely which modules or components carry the highest AI authorship density. Directories with disproportionately high scores relative to their size warrant targeted manual review: concentrated AI signatures often trace back to mass-generated configuration layers, auto-ported test suites, LLM-scaffolded boilerplate classes, or entire subsystems authored under heavy copilot assistance. Use this view to prioritise your human code-review effort.
The scanner identified 3524 distinct pattern matches across 19 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a statistically significant AI authorship indicator. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.
Reading the findings table: The Severity column indicates the diagnostic confidence level (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — comment-context matches receive a ×1.5 weight because LLMs systematically over-annotate. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier as dense clusters constitute far stronger evidence of synthetic authorship than isolated hits.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tests/test_model.py | 34 | def test_get_local_model_exception(model_path: Optional[Text]): | CODE |
| LOW | tests/test_model.py | 45 | def test_model_fingerprint_with_no_git(monkeypatch: MonkeyPatch, tmp_path: Path): | CODE |
| LOW | tests/conftest.py | 121 | def domain_with_categorical_slot_path() -> Text: | CODE |
| LOW | tests/conftest.py | 195 | def story_file_trips_circuit_breaker_path() -> Text: | STRING |
| LOW | tests/conftest.py | 233 | async def trained_default_agent_model( | STRING |
| LOW | tests/conftest.py | 276 | async def trained_moodbot_core_path(trained_async: Callable) -> Text: | STRING |
| LOW | tests/conftest.py | 294 | async def trained_unexpected_intent_policy_path(trained_async: Callable) -> Text: | STRING |
| LOW | tests/conftest.py | 336 | async def unexpected_intent_policy_agent( | STRING |
| LOW | tests/conftest.py | 561 | def rasa_server_secured_asymmetric( | CODE |
| LOW | tests/conftest.py | 590 | def rasa_non_trained_server_secured(empty_agent: Agent) -> Sanic: | CODE |
| LOW | tests/conftest.py | 620 | def spacy_case_sensitive_nlp_component() -> SpacyNLP: | CODE |
| LOW | tests/conftest.py | 637 | async def response_selector_test_stories() -> Path: | CODE |
| LOW | tests/conftest.py | 642 | async def trained_response_selector_bot(trained_async: Callable) -> Path: | CODE |
| LOW | tests/conftest.py | 711 | def write_endpoint_config_to_yaml( | CODE |
| LOW | tests/conftest.py | 721 | def random_user_uttered_event(timestamp: Optional[float] = None) -> UserUttered: | CODE |
| LOW | tests/conftest.py | 759 | def _get_marker_for_ci_matrix(item: Function) -> Text: | CODE |
| LOW | tests/conftest.py | 790 | def pytest_collection_modifyitems(items: List[Function]) -> None: | CODE |
| LOW | tests/conftest.py | 803 | def create_test_file_with_size(directory: Path, size_in_mb: float) -> Path: | CODE |
| LOW | tests/conftest.py | 818 | def default_execution_context() -> ExecutionContext: | CODE |
| LOW | tests/conftest.py | 899 | def initial_events_including_restart() -> List[Event]: | CODE |
| LOW | tests/conftest.py | 924 | def tracker_with_restarted_event( | CODE |
| LOW | tests/test_dependencies.py | 5 | def test_tensorflow_text_install(): | CODE |
| LOW | tests/test_plugin.py | 25 | def test_plugin_create_tracker_store( | CODE |
| LOW | tests/test_plugin.py | 49 | def test_init_anonymization_pipeline( | CODE |
| LOW | tests/test_plugin.py | 64 | def test_get_anonymization_pipeline(monkeypatch: MonkeyPatch) -> None: | CODE |
| LOW⚡ | tests/test_model_testing.py | 38 | def monkeypatch_get_latest_model(tmp_path: Path, monkeypatch: MonkeyPatch) -> None: | CODE |
| LOW⚡ | tests/test_model_testing.py | 43 | def test_get_sanitized_model_directory_when_not_passing_model( | CODE |
| LOW | tests/test_model_testing.py | 62 | def test_get_sanitized_model_directory_when_passing_model_file_explicitly( | CODE |
| LOW | tests/test_model_testing.py | 81 | def test_get_sanitized_model_directory_when_passing_other_input( | CODE |
| LOW | tests/test_model_testing.py | 117 | def test_get_evaluation_metrics( | CODE |
| LOW | tests/test_model_testing.py | 248 | def test_make_classification_report_complete( | CODE |
| LOW | tests/test_model_testing.py | 313 | def test_make_classification_report_complete_raises_clf_report_exception( | CODE |
| LOW | tests/test_model_testing.py | 366 | def test_write_classification_errors(): | CODE |
| LOW | tests/test_model_testing.py | 528 | def test_evaluation_store_serialise( | STRING |
| LOW | tests/test_model_testing.py | 559 | def test_test_does_not_use_rules(tmp_path: Path, default_agent: Agent): | STRING |
| LOW | tests/test_model_testing.py | 586 | def test_duplicated_entity_predictions_tolerated(): | STRING |
| LOW | tests/test_model_testing.py | 612 | def test_differently_ordered_entity_predictions_tolerated(): | STRING |
| LOW⚡ | tests/test_server.py | 304 | async def test_parse_with_different_emulation_mode( | CODE |
| LOW⚡ | tests/test_server.py | 313 | async def test_parse_without_nlu_model(rasa_app_core: SanicASGITestClient): | CODE |
| LOW⚡ | tests/test_server.py | 321 | async def test_parse_on_invalid_emulation_mode(rasa_app: SanicASGITestClient): | CODE |
| LOW | tests/test_server.py | 145 | def rasa_secured_app_asymmetric( | CODE |
| LOW | tests/test_server.py | 152 | def rasa_non_trained_secured_app( | CODE |
| LOW | tests/test_server.py | 170 | async def test_root_without_enable_api(rasa_app_without_api: SanicASGITestClient): | CODE |
| LOW | tests/test_server.py | 217 | async def test_status_not_ready_agent(rasa_app: SanicASGITestClient): | CODE |
| LOW | tests/test_server.py | 366 | async def test_train_core_success_with( | CODE |
| LOW | tests/test_server.py | 1917 | async def test_get_story_without_conversation_id( | CODE |
| LOW | tests/test_server.py | 1929 | async def test_get_story_does_not_update_conversation_session( | CODE |
| LOW | tests/test_server.py | 2037 | async def test_update_conversation_with_events( | CODE |
| LOW | tests/test_server.py | 2064 | async def test_append_events_does_not_repeat_session_start( | CODE |
| LOW | tests/test_server.py | 2110 | async def _create_tracker_for_query_params( | CODE |
| LOW | tests/test_server.py | 2160 | async def test_get_tracker_with_query_param_include_events_all( | CODE |
| LOW | tests/test_server.py | 2187 | async def test_get_tracker_with_query_param_include_events_after_restart( | CODE |
| LOW | tests/test_server.py | 2218 | async def test_get_tracker_with_query_param_include_events_applied( | CODE |
| LOW | tests/test_server.py | 2254 | async def test_get_tracker_with_query_param_include_events_none( | CODE |
| LOW | tests/test_server.py | 2274 | async def test_retrieve_story_with_query_param_all_sessions_true( | CODE |
| LOW | tests/test_server.py | 2315 | async def test_retrieve_story_with_query_param_all_sessions_false( | CODE |
| LOW | tests/test_server.py | 2340 | async def test_retrieve_tracker_with_customized_action_session_start( | CODE |
| LOW | tests/test_server.py | 2346 | async def mock_run_action_session_start( | CODE |
| LOW⚡ | tests/test_server.py | 750 | async def test_evaluate_invalid_intent_model_file(rasa_app: SanicASGITestClient): | STRING |
| LOW⚡ | tests/test_server.py | 760 | async def test_evaluate_intent_without_body(rasa_app: SanicASGITestClient): | STRING |
| 2453 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | tests/engine/test_validation.py | 0 | any extra python dependencies required for this component to run. | STRING |
| HIGH | data/test_classes/graph_component_interface.py | 0 | any extra python dependencies required for this component to run. | STRING |
| HIGH | data/test_classes/custom_graph_components/nlu_dense.py | 0 | any extra python dependencies required for this component to run. | STRING |
| HIGH | data/test_classes/custom_graph_components/nlu_sparse.py | 0 | any extra python dependencies required for this component to run. | STRING |
| HIGH | …a/nlu/featurizers/dense_featurizer/mitie_featurizer.py | 0 | any extra python dependencies required for this component to run. | STRING |
| HIGH | …a/nlu/featurizers/dense_featurizer/spacy_featurizer.py | 0 | any extra python dependencies required for this component to run. | STRING |
| HIGH | …turizers/sparse_featurizer/count_vectors_featurizer.py | 0 | any extra python dependencies required for this component to run. | STRING |
| HIGH | rasa/nlu/tokenizers/spacy_tokenizer.py | 0 | any extra python dependencies required for this component to run. | STRING |
| HIGH | rasa/nlu/tokenizers/jieba_tokenizer.py | 0 | any extra python dependencies required for this component to run. | STRING |
| HIGH | rasa/nlu/tokenizers/mitie_tokenizer.py | 0 | any extra python dependencies required for this component to run. | STRING |
| HIGH | rasa/nlu/extractors/crf_entity_extractor.py | 0 | any extra python dependencies required for this component to run. | STRING |
| HIGH | rasa/nlu/extractors/mitie_entity_extractor.py | 0 | any extra python dependencies required for this component to run. | STRING |
| HIGH | rasa/nlu/classifiers/sklearn_intent_classifier.py | 0 | any extra python dependencies required for this component to run. | STRING |
| HIGH | rasa/nlu/classifiers/logistic_regression_classifier.py | 0 | any extra python dependencies required for this component to run. | STRING |
| HIGH | rasa/engine/graph.py | 0 | any extra python dependencies required for this component to run. | STRING |
| HIGH | scripts/release.py | 0 | parse all the command line arguments for the release script. | STRING |
| HIGH | scripts/evaluate_release_tag.py | 0 | parse all the command line arguments for the release script. | STRING |
| HIGH | scripts/prepare_nightly_release.py | 0 | parse all the command line arguments for the release script. | STRING |
| HIGH | data/test_classes/graph_component_interface.py | 0 | components that should be included in the pipeline before this component. | STRING |
| HIGH | data/test_classes/custom_graph_components/nlu_dense.py | 0 | components that should be included in the pipeline before this component. | STRING |
| HIGH | data/test_classes/custom_graph_components/nlu_sparse.py | 0 | components that should be included in the pipeline before this component. | STRING |
| HIGH | …a/nlu/featurizers/dense_featurizer/mitie_featurizer.py | 0 | components that should be included in the pipeline before this component. | STRING |
| HIGH | …a/nlu/featurizers/dense_featurizer/spacy_featurizer.py | 0 | components that should be included in the pipeline before this component. | STRING |
| HIGH | rasa/nlu/featurizers/dense_featurizer/lm_featurizer.py | 0 | components that should be included in the pipeline before this component. | STRING |
| HIGH | …nlu/featurizers/dense_featurizer/convert_featurizer.py | 0 | components that should be included in the pipeline before this component. | STRING |
| HIGH | …zers/sparse_featurizer/lexical_syntactic_featurizer.py | 0 | components that should be included in the pipeline before this component. | STRING |
| HIGH | …/nlu/featurizers/sparse_featurizer/regex_featurizer.py | 0 | components that should be included in the pipeline before this component. | STRING |
| HIGH | …turizers/sparse_featurizer/count_vectors_featurizer.py | 0 | components that should be included in the pipeline before this component. | STRING |
| HIGH | rasa/nlu/tokenizers/spacy_tokenizer.py | 0 | components that should be included in the pipeline before this component. | STRING |
| HIGH | rasa/nlu/extractors/spacy_entity_extractor.py | 0 | components that should be included in the pipeline before this component. | STRING |
| HIGH | rasa/nlu/extractors/crf_entity_extractor.py | 0 | components that should be included in the pipeline before this component. | STRING |
| HIGH | rasa/nlu/extractors/mitie_entity_extractor.py | 0 | components that should be included in the pipeline before this component. | STRING |
| HIGH | rasa/nlu/classifiers/fallback_classifier.py | 0 | components that should be included in the pipeline before this component. | STRING |
| HIGH | rasa/nlu/classifiers/mitie_intent_classifier.py | 0 | components that should be included in the pipeline before this component. | STRING |
| HIGH | rasa/nlu/classifiers/sklearn_intent_classifier.py | 0 | components that should be included in the pipeline before this component. | STRING |
| HIGH | rasa/nlu/classifiers/logistic_regression_classifier.py | 0 | components that should be included in the pipeline before this component. | STRING |
| HIGH | rasa/nlu/classifiers/diet_classifier.py | 0 | components that should be included in the pipeline before this component. | STRING |
| HIGH | rasa/nlu/selectors/response_selector.py | 0 | components that should be included in the pipeline before this component. | STRING |
| HIGH | rasa/engine/graph.py | 0 | components that should be included in the pipeline before this component. | STRING |
| HIGH | data/test_classes/graph_component_interface.py | 0 | creates a new `graphcomponent`. args: config: this config overrides the `default_config`. model_storage: storage which g | STRING |
| HIGH | rasa/engine/graph.py | 0 | creates a new `graphcomponent`. args: config: this config overrides the `default_config`. model_storage: storage which g | STRING |
| HIGH | rasa/nlu/extractors/mitie_entity_extractor.py | 0 | creates a new `graphcomponent`. args: config: this config overrides the `default_config`. model_storage: storage which g | STRING |
| HIGH | rasa/nlu/extractors/regex_entity_extractor.py | 0 | creates a new `graphcomponent`. args: config: this config overrides the `default_config`. model_storage: storage which g | STRING |
| HIGH | data/test_classes/graph_component_interface.py | 0 | determines which languages this component cannot work with. returns: a list of not supported languages, or `none` to sig | STRING |
| HIGH | …nlu/featurizers/dense_featurizer/convert_featurizer.py | 0 | determines which languages this component cannot work with. returns: a list of not supported languages, or `none` to sig | STRING |
| HIGH | rasa/engine/graph.py | 0 | determines which languages this component cannot work with. returns: a list of not supported languages, or `none` to sig | STRING |
| HIGH | data/test_classes/custom_graph_components/nlu_dense.py | 0 | creates a new untrained component (see parent class for full docstring). | STRING |
| HIGH | …a/nlu/featurizers/dense_featurizer/spacy_featurizer.py | 0 | creates a new untrained component (see parent class for full docstring). | STRING |
| HIGH | …nlu/featurizers/dense_featurizer/convert_featurizer.py | 0 | creates a new untrained component (see parent class for full docstring). | STRING |
| HIGH | rasa/nlu/tokenizers/tokenizer.py | 0 | creates a new untrained component (see parent class for full docstring). | STRING |
| HIGH | rasa/nlu/tokenizers/whitespace_tokenizer.py | 0 | creates a new untrained component (see parent class for full docstring). | STRING |
| HIGH | rasa/nlu/tokenizers/jieba_tokenizer.py | 0 | creates a new untrained component (see parent class for full docstring). | STRING |
| HIGH | rasa/nlu/tokenizers/mitie_tokenizer.py | 0 | creates a new untrained component (see parent class for full docstring). | STRING |
| HIGH | rasa/nlu/extractors/spacy_entity_extractor.py | 0 | creates a new untrained component (see parent class for full docstring). | STRING |
| HIGH | rasa/nlu/classifiers/fallback_classifier.py | 0 | creates a new untrained component (see parent class for full docstring). | STRING |
| HIGH | data/test_classes/custom_graph_components/nlu_sparse.py | 0 | creates a new untrained component (see parent class for full docstring). | STRING |
| HIGH | …t_classes/custom_graph_components/nlu_meta_fallback.py | 0 | creates a new untrained component (see parent class for full docstring). | STRING |
| HIGH | …a/nlu/featurizers/dense_featurizer/mitie_featurizer.py | 0 | creates a new untrained component (see parent class for full docstring). | STRING |
| HIGH | …zers/sparse_featurizer/lexical_syntactic_featurizer.py | 0 | creates a new untrained component (see parent class for full docstring). | STRING |
| HIGH | …/nlu/featurizers/sparse_featurizer/regex_featurizer.py | 0 | creates a new untrained component (see parent class for full docstring). | STRING |
| 125 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| CRITICAL | tests/test_server.py | 1954 | assert rasa_app.sanic_app.ctx.agent.processor._has_session_expired(tracker) | CODE |
| CRITICAL⚡ | tests/core/featurizers/test_tracker_featurizer.py | 30 | from rasa.core.exceptions import InvalidTrackerFeaturizerUsageError | CODE |
| CRITICAL⚡ | tests/nlu/test_evaluation.py | 611 | training_data_obj = rasa.shared.nlu.training_data.loading.load_data( | CODE |
| CRITICAL⚡ | tests/nlu/test_evaluation.py | 614 | training_data_responses_obj = rasa.shared.nlu.training_data.loading.load_data( | CODE |
| CRITICAL | tests/nlu/test_evaluation.py | 161 | TRAINING_DATA = rasa.shared.nlu.training_data.loading.load_data( | CODE |
| CRITICAL | tests/nlu/test_evaluation.py | 421 | td = rasa.shared.nlu.training_data.loading.load_data( | CODE |
| CRITICAL | tests/nlu/test_evaluation.py | 515 | td = rasa.shared.nlu.training_data.loading.load_data( | CODE |
| CRITICAL | tests/nlu/test_evaluation.py | 562 | td = rasa.shared.nlu.training_data.loading.load_data( | CODE |
| CRITICAL | tests/nlu/test_evaluation.py | 694 | td = rasa.shared.nlu.training_data.loading.load_data( | CODE |
| CRITICAL | tests/nlu/classifiers/test_mitie_intent_classifier.py | 50 | training_data = rasa.shared.nlu.training_data.loading.load_data( | CODE |
| CRITICAL | tests/nlu/classifiers/test_keyword_classifier.py | 25 | return rasa.shared.nlu.training_data.loading.load_data(nlu_as_json_path) | CODE |
| CRITICAL | tests/nlu/classifiers/test_sklearn_classifier.py | 23 | return rasa.shared.nlu.training_data.loading.load_data(nlu_data_path) | CODE |
| CRITICAL⚡ | tests/nlu/selectors/test_selectors.py | 65 | training_data = rasa.shared.nlu.training_data.loading.load_data( | CODE |
| CRITICAL⚡ | tests/nlu/selectors/test_selectors.py | 68 | training_data_responses = rasa.shared.nlu.training_data.loading.load_data( | CODE |
| CRITICAL⚡ | tests/shared/core/training_data/test_structures.py | 85 | rasa.shared.core.training_data.structures._cap_length("mystring", 6) == "mys..." | STRING |
| CRITICAL⚡ | tests/shared/core/training_data/test_structures.py | 91 | rasa.shared.core.training_data.structures._cap_length( | STRING |
| CRITICAL⚡ | tests/shared/core/training_data/test_structures.py | 99 | assert rasa.shared.core.training_data.structures._cap_length("my", 3) == "my" | STRING |
| CRITICAL⚡ | tests/shared/core/training_data/test_graph.py | 56 | story_steps = rasa.shared.core.training_data.loading.load_data_from_resource( | CODE |
| CRITICAL⚡ | tests/shared/core/training_data/test_graph.py | 62 | story_steps_2 = rasa.shared.core.training_data.loading.load_data_from_resource( | CODE |
| CRITICAL | tests/shared/core/training_data/test_graph.py | 77 | story_steps = rasa.shared.core.training_data.loading.load_data_from_resource( | CODE |
| CRITICAL⚡ | tests/shared/nlu/training_data/test_util.py | 21 | rasa.shared.nlu.training_data.util.has_string_escape_chars(s) | CODE |
| CRITICAL⚡ | tests/shared/nlu/training_data/test_util.py | 32 | result = rasa.shared.nlu.training_data.util.sparse_matrix_to_string(m_sparse) | CODE |
| CRITICAL | rasa/server.py | 181 | if await request.app.ctx.agent.tracker_store.exists(conversation_id): | CODE |
| CRITICAL | rasa/server.py | 1487 | rasa.shared.nlu.training_data.schemas.data_schema.rasa_nlu_data_schema(), | CODE |
| CRITICAL | rasa/core/processor.py | 223 | new_events = rasa.shared.core.trackers.TrackerEventDiffEngine.event_difference( | CODE |
| CRITICAL | rasa/core/visualize.py | 47 | nlu_training_data = rasa.shared.nlu.training_data.loading.load_data( | CODE |
| CRITICAL | rasa/core/visualize.py | 57 | rasa.shared.core.training_data.visualization.visualize_stories( | CODE |
| CRITICAL | rasa/core/brokers/kafka.py | 12 | from rasa.core.exceptions import KafkaProducerInitializationError | CODE |
| CRITICAL | rasa/core/featurizers/tracker_featurizers.py | 29 | from rasa.core.exceptions import InvalidTrackerFeaturizerUsageError | CODE |
| CRITICAL | rasa/core/channels/twilio_voice.py | 255 | tracker = await request.app.ctx.agent.tracker_store.retrieve(sender_id) | CODE |
| CRITICAL | rasa/nlu/convert.py | 34 | td = rasa.shared.nlu.training_data.loading.load_data(data_file, language) | CODE |
| CRITICAL | rasa/nlu/persistor.py | 218 | from azure.core.exceptions import ResourceExistsError | CODE |
| CRITICAL | rasa/shared/nlu/training_data/features.py | 275 | f_as_text = rasa.shared.nlu.training_data.util.sparse_matrix_to_string( | CODE |
| CRITICAL | rasa/shared/nlu/training_data/entities_parser.py | 67 | entity = rasa.shared.nlu.training_data.util.build_entity( | CODE |
| CRITICAL | rasa/shared/nlu/training_data/entities_parser.py | 92 | entity = rasa.shared.nlu.training_data.util.build_entity( | CODE |
| CRITICAL | rasa/shared/nlu/training_data/formats/readerwriter.py | 102 | return f"- {rasa.shared.nlu.training_data.util.encode_string(text)}\n" | CODE |
| CRITICAL | rasa/shared/nlu/training_data/formats/dialogflow.py | 98 | entity = rasa.shared.nlu.training_data.util.build_entity( | CODE |
| CRITICAL | rasa/shared/nlu/training_data/formats/rasa_yaml.py | 526 | rasa.shared.nlu.training_data.util.has_string_escape_chars( | CODE |
| CRITICAL | rasa/cli/data.py | 182 | nlu_data = rasa.shared.nlu.training_data.loading.load_data(data_path) | CODE |
| CRITICAL | rasa/cli/data.py | 183 | extension = rasa.shared.nlu.training_data.util.get_file_format_extension(data_path) | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tests/core/test_channels.py | 33 | logger = logging.getLogger(__name__) | CODE |
| LOW | tests/core/test_processor.py | 95 | logger = logging.getLogger(__name__) | CODE |
| LOW | tests/core/channels/test_telegram.py | 10 | logger = logging.getLogger(__name__) | CODE |
| LOW | tests/core/channels/test_hangouts.py | 8 | logger = logging.getLogger(__name__) | CODE |
| LOW | tests/core/channels/test_slack.py | 19 | logger = logging.getLogger(__name__) | CODE |
| LOW | tests/core/channels/test_twilio.py | 5 | logger = logging.getLogger(__name__) | CODE |
| LOW | tests/core/channels/test_twilio_voice.py | 14 | logger = logging.getLogger(__name__) | CODE |
| LOW | tests/core/channels/test_facebook.py | 7 | logger = logging.getLogger(__name__) | CODE |
| LOW | examples/nlg_server/nlg_server.py | 12 | logger = logging.getLogger(__name__) | CODE |
| LOW | .github/scripts/download_pretrained.py | 14 | logger = logging.getLogger(__name__) | CODE |
| LOW | data/test_classes/custom_slots.py | 6 | logger = logging.getLogger(__name__) | CODE |
| LOW | data/test_classes/custom_graph_components/nlu_dense.py | 27 | logger = logging.getLogger(__name__) | CODE |
| LOW | data/test_classes/custom_graph_components/nlu_dense.py | 106 | def _set_features(self, message: Message, attribute: Text = TEXT) -> None: | CODE |
| LOW | data/test_classes/custom_graph_components/nlu_sparse.py | 26 | logger = logging.getLogger(__name__) | CODE |
| LOW | data/test_classes/custom_graph_components/nlu_sparse.py | 90 | def _set_features(self, message: Message, attribute: Text = TEXT) -> None: | CODE |
| LOW | rasa/validator.py | 29 | logger = logging.getLogger(__name__) | CODE |
| LOW | rasa/server.py | 94 | logger = logging.getLogger(__name__) | CODE |
| LOW | rasa/model_testing.py | 31 | logger = logging.getLogger(__name__) | CODE |
| LOW | rasa/telemetry.py | 46 | logger = logging.getLogger(__name__) | CODE |
| LOW | rasa/model.py | 14 | logger = logging.getLogger(__name__) | CODE |
| LOW | rasa/__main__.py | 36 | logger = logging.getLogger(__name__) | CODE |
| LOW | rasa/core/exporter.py | 21 | logger = logging.getLogger(__name__) | CODE |
| LOW | rasa/core/processor.py | 78 | logger = logging.getLogger(__name__) | CODE |
| LOW | rasa/core/processor.py | 740 | def _update_full_retrieval_intent(self, parse_data: Dict[Text, Any]) -> None: | CODE |
| LOW | rasa/core/visualize.py | 10 | logger = logging.getLogger(__name__) | CODE |
| LOW | rasa/core/test.py | 71 | logger = logging.getLogger(__name__) | CODE |
| LOW | rasa/core/tracker_store.py | 63 | logger = logging.getLogger(__name__) | CODE |
| LOW | rasa/core/tracker_store.py | 488 | def _set_key_prefix(self, key_prefix: Text) -> None: | CODE |
| LOW | rasa/core/jobs.py | 10 | logger = logging.getLogger(__name__) | CODE |
| LOW | rasa/core/http_interpreter.py | 14 | logger = logging.getLogger(__name__) | CODE |
| LOW | rasa/core/utils.py | 21 | logger = logging.getLogger(__name__) | CODE |
| LOW | rasa/core/lock.py | 8 | logger = logging.getLogger(__name__) | CODE |
| LOW | rasa/core/agent.py | 36 | logger = logging.getLogger(__name__) | CODE |
| LOW | rasa/core/agent.py | 74 | async def _update_model_from_server(model_server: EndpointConfig, agent: Agent) -> None: | CODE |
| LOW | rasa/core/agent.py | 511 | def _set_fingerprint(self, fingerprint: Optional[Text] = None) -> None: | CODE |
| LOW | rasa/core/train.py | 12 | logger = logging.getLogger(__name__) | CODE |
| LOW | rasa/core/lock_store.py | 16 | logger = logging.getLogger(__name__) | CODE |
| LOW | rasa/core/lock_store.py | 144 | def update_lock(self, conversation_id: Text) -> None: | CODE |
| LOW | rasa/core/lock_store.py | 254 | def _set_key_prefix(self, key_prefix: Text) -> None: | CODE |
| LOW | rasa/core/brokers/pika.py | 22 | logger = logging.getLogger(__name__) | CODE |
| LOW | rasa/core/brokers/file.py | 12 | logger = logging.getLogger(__name__) | CODE |
| LOW | rasa/core/brokers/kafka.py | 20 | logger = logging.getLogger(__name__) | CODE |
| LOW | rasa/core/brokers/sql.py | 15 | logger = logging.getLogger(__name__) | CODE |
| LOW | rasa/core/brokers/broker.py | 13 | logger = logging.getLogger(__name__) | CODE |
| LOW | rasa/core/featurizers/single_state_featurizer.py | 28 | logger = logging.getLogger(__name__) | CODE |
| LOW | rasa/core/featurizers/tracker_featurizers.py | 48 | logger = logging.getLogger(__name__) | CODE |
| LOW | rasa/core/nlg/callback.py | 11 | logger = logging.getLogger(__name__) | CODE |
| LOW | rasa/core/nlg/response.py | 11 | logger = logging.getLogger(__name__) | CODE |
| LOW | rasa/core/nlg/generator.py | 11 | logger = logging.getLogger(__name__) | CODE |
| LOW | rasa/core/nlg/interpolator.py | 7 | logger = logging.getLogger(__name__) | CODE |
| LOW⚡ | rasa/core/training/interactive.py | 103 | logger = logging.getLogger(__name__) | CODE |
| LOW | rasa/core/training/story_conflict.py | 21 | logger = logging.getLogger(__name__) | CODE |
| LOW | rasa/core/policies/ted_policy.py | 130 | logger = logging.getLogger(__name__) | CODE |
| LOW | rasa/core/policies/policy.py | 50 | logger = logging.getLogger(__name__) | CODE |
| LOW | rasa/core/policies/memoization.py | 38 | logger = logging.getLogger(__name__) | CODE |
| LOW | rasa/core/policies/unexpected_intent_policy.py | 130 | logger = logging.getLogger(__name__) | CODE |
| LOW | rasa/core/policies/rule_policy.py | 59 | logger = logging.getLogger(__name__) | CODE |
| LOW | rasa/core/policies/ensemble.py | 21 | logger = logging.getLogger(__name__) | CODE |
| LOW | rasa/core/actions/action.py | 92 | logger = logging.getLogger(__name__) | CODE |
| LOW | rasa/core/actions/forms.py | 35 | logger = logging.getLogger(__name__) | CODE |
| 144 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | .github/scripts/mr_publish_results.py | 91 | Transform string (with hours, minutes, and seconds) to seconds. Args: duration: Examples: '1m27s', '1m27.3s | STRING |
| HIGH | rasa/model_testing.py | 395 | Completes the sklearn classification report with accuracy xor micro avg. Args: report: Report generated by | STRING |
| HIGH | rasa/model_training.py | 101 | Checks if there are any unresolved slots. Args: domain: The domain. stories: The story graph. | STRING |
| 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 | STRING |
| HIGH | rasa/core/brokers/pika.py | 99 | Get queues for this event broker. The preferred argument defining the RabbitMQ queues the `PikaEventBroker` sho | STRING |
| 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 | STRING |
| 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 | STRING |
| 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 | STRING |
| HIGH | rasa/core/evaluation/marker_base.py | 896 | Creates an atomic marker from the given config. Args: tag: the tag identifying a condition | STRING |
| 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 | STRING |
| 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 | STRING |
| 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 | STRING |
| HIGH | rasa/utils/train_utils.py | 307 | Create data generators for train and optional validation data. Args: model_data: The model data to use. | STRING |
| HIGH | rasa/utils/plotting.py | 154 | Extracts all information from the data needed to plot a paired histogram. Args: histogram_data: Two data ve | STRING |
| 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 | STRING |
| 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 | STRING |
| HIGH | rasa/utils/tensorflow/model_data.py | 215 | Obtain number of examples in data. Args: data: The data. Raises: A ValueError if number of | STRING |
| 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 | STRING |
| 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 | STRING |
| 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 | STRING |
| 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 | STRING |
| 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 | STRING |
| HIGH | rasa/shared/core/conversation.py | 32 | Create `Dialogue` from parameters. Args: parameters: Serialised dialogue, should contain keys 'name | STRING |
| HIGH | rasa/shared/core/events.py | 164 | Splits events according to an event type and condition. Examples: Splitting events according to the event t | STRING |
| 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 | STRING |
| 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. | STRING |
| 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 | STRING |
| 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 | STRING |
| 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 | STRING |
| 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 | STRING |
| 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 | STRING |
| 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 | STRING |
| 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 | STRING |
| HIGH | rasa/shared/utils/io.py | 602 | Parses a model configuration file. Args: filename: The path to the file which should be read. Raises: | STRING |
| 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 | STRING |
| 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 | STRING |
| HIGH | rasa/engine/graph.py | 95 | Loads a graph schema which has been serialized using `schema.as_dict()`. Args: serialized_graph_sch | STRING |
| HIGH | rasa/engine/storage/storage.py | 42 | Unpacks a model archive and initializes a `ModelStorage`. Args: storage_path: Directory which will | STRING |
| HIGH | rasa/engine/storage/storage.py | 62 | Retrieves metadata from archive. Args: model_archive_path: The path to the model archive. | STRING |
| HIGH | rasa/engine/storage/storage.py | 95 | Provides the data of a persisted `Resource`. Args: resource: The `Resource` whose persisted should | STRING |
| HIGH | rasa/engine/recipes/recipe.py | 77 | Converts a config to a graph compatible model configuration. Args: config: The config which the `Re | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tests/core/test_evaluation.py | 28 | CODE | |
| LOW | tests/core/test_evaluation.py | 28 | CODE | |
| LOW | tests/core/utilities.py | 13 | CODE | |
| LOW | tests/core/test_processor.py | 44 | CODE | |
| LOW | tests/engine/graph_components_test_classes.py | 1 | CODE | |
| LOW | tests/engine/test_graph.py | 1 | CODE | |
| LOW | tests/engine/test_graph_node.py | 1 | CODE | |
| LOW | tests/engine/runner/test_dask.py | 1 | CODE | |
| LOW | examples/formbot/actions/actions.py | 1 | CODE | |
| LOW | scripts/prepare_nightly_release.py | 11 | CODE | |
| LOW | data/test_classes/graph_component_interface.py | 1 | CODE | |
| LOW | …t_classes/custom_graph_components/nlu_meta_fallback.py | 1 | CODE | |
| LOW | …t_classes/custom_graph_components/nlu_meta_fallback.py | 3 | CODE | |
| LOW | …t_classes/custom_graph_components/nlu_meta_fallback.py | 7 | CODE | |
| LOW | rasa/server.py | 81 | CODE | |
| LOW | rasa/server.py | 82 | CODE | |
| LOW | rasa/__init__.py | 3 | CODE | |
| LOW | rasa/__init__.py | 4 | CODE | |
| LOW | rasa/__init__.py | 4 | CODE | |
| LOW | rasa/__init__.py | 4 | CODE | |
| LOW | rasa/telemetry.py | 37 | CODE | |
| LOW | rasa/telemetry.py | 38 | CODE | |
| LOW | rasa/telemetry.py | 39 | CODE | |
| LOW | rasa/telemetry.py | 40 | CODE | |
| LOW | rasa/telemetry.py | 41 | CODE | |
| LOW | rasa/telemetry.py | 42 | CODE | |
| LOW | rasa/api.py | 1 | CODE | |
| LOW | rasa/api.py | 1 | CODE | |
| LOW | rasa/api.py | 1 | CODE | |
| LOW | rasa/api.py | 1 | CODE | |
| LOW | rasa/api.py | 1 | CODE | |
| LOW | rasa/api.py | 1 | CODE | |
| LOW | rasa/api.py | 14 | CODE | |
| LOW | rasa/plugin.py | 11 | CODE | |
| LOW | rasa/plugin.py | 12 | CODE | |
| LOW | rasa/plugin.py | 13 | CODE | |
| LOW | rasa/plugin.py | 14 | CODE | |
| LOW | rasa/plugin.py | 15 | CODE | |
| LOW | rasa/plugin.py | 16 | CODE | |
| LOW | rasa/plugin.py | 17 | CODE | |
| LOW | rasa/plugin.py | 18 | CODE | |
| LOW | rasa/jupyter.py | 12 | CODE | |
| LOW | rasa/core/run.py | 30 | CODE | |
| LOW | rasa/core/test.py | 67 | CODE | |
| LOW | rasa/core/test.py | 69 | CODE | |
| LOW | rasa/core/tracker_store.py | 1 | CODE | |
| LOW | rasa/core/tracker_store.py | 59 | CODE | |
| LOW | rasa/core/tracker_store.py | 60 | CODE | |
| LOW | rasa/core/tracker_store.py | 60 | CODE | |
| LOW | rasa/core/agent.py | 1 | CODE | |
| LOW | rasa/core/lock_store.py | 1 | CODE | |
| LOW | rasa/core/brokers/pika.py | 18 | CODE | |
| LOW | rasa/core/brokers/file.py | 10 | CODE | |
| LOW | rasa/core/brokers/kafka.py | 18 | CODE | |
| LOW | rasa/core/brokers/broker.py | 1 | CODE | |
| LOW | rasa/core/featurizers/tracker_featurizers.py | 1 | CODE | |
| LOW | rasa/core/featurizers/precomputation.py | 1 | CODE | |
| LOW | rasa/core/nlg/__init__.py | 1 | CODE | |
| LOW | rasa/core/nlg/__init__.py | 2 | CODE | |
| LOW | rasa/core/nlg/__init__.py | 3 | CODE | |
| 114 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tests/core/featurizers/test_tracker_featurizer.py | 159 | CODE | |
| LOW | tests/nlu/classifiers/test_diet_classifier.py | 751 | CODE | |
| LOW | tests/nlu/classifiers/test_diet_classifier.py | 842 | CODE | |
| LOW | tests/nlu/selectors/test_selectors.py | 655 | CODE | |
| LOW | tests/nlu/selectors/test_selectors.py | 768 | CODE | |
| LOW | tests/utils/tensorflow/test_model_data.py | 59 | CODE | |
| LOW | …e/training_data/story_reader/test_yaml_story_reader.py | 837 | CODE | |
| LOW | …ts/providers/test_domain_for_core_training_provider.py | 45 | CODE | |
| LOW | …aph_components/validators/test_finetuning_validator.py | 310 | CODE | |
| LOW | tests/engine/test_validation.py | 972 | CODE | |
| LOW | scripts/release.py | 269 | CODE | |
| LOW | scripts/publish_gh_release_notes.py | 38 | CODE | |
| LOW | .github/scripts/mr_generate_summary.py | 11 | CODE | |
| LOW | .github/scripts/mr_publish_results.py | 122 | CODE | |
| LOW | rasa/validator.py | 359 | CODE | |
| LOW | rasa/server.py | 444 | CODE | |
| LOW | rasa/telemetry.py | 617 | CODE | |
| LOW | rasa/core/processor.py | 953 | CODE | |
| LOW | rasa/core/test.py | 455 | CODE | |
| LOW | rasa/core/test.py | 598 | CODE | |
| LOW | rasa/core/test.py | 813 | CODE | |
| LOW | rasa/core/test.py | 244 | CODE | |
| LOW | rasa/core/test.py | 284 | CODE | |
| LOW | rasa/core/tracker_store.py | 1494 | CODE | |
| LOW | rasa/core/agent.py | 97 | CODE | |
| LOW | rasa/core/agent.py | 195 | CODE | |
| LOW | rasa/core/migrate.py | 168 | CODE | |
| LOW | rasa/core/migrate.py | 203 | CODE | |
| LOW | rasa/core/migrate.py | 280 | CODE | |
| LOW | rasa/core/brokers/kafka.py | 109 | CODE | |
| LOW | rasa/core/brokers/kafka.py | 171 | CODE | |
| LOW | rasa/core/brokers/broker.py | 81 | CODE | |
| LOW | rasa/core/featurizers/single_state_featurizer.py | 111 | CODE | |
| LOW | rasa/core/featurizers/tracker_featurizers.py | 572 | CODE | |
| LOW | rasa/core/featurizers/tracker_featurizers.py | 786 | CODE | |
| LOW | rasa/core/featurizers/tracker_featurizers.py | 849 | CODE | |
| LOW | rasa/core/featurizers/tracker_featurizers.py | 1040 | CODE | |
| LOW | rasa/core/nlg/interpolator.py | 55 | CODE | |
| LOW | rasa/core/training/interactive.py | 494 | CODE | |
| LOW | rasa/core/training/interactive.py | 635 | CODE | |
| LOW | rasa/core/training/interactive.py | 1474 | CODE | |
| LOW | rasa/core/training/story_conflict.py | 281 | CODE | |
| LOW | rasa/core/training/story_conflict.py | 335 | CODE | |
| LOW | rasa/core/training/story_conflict.py | 96 | CODE | |
| LOW | rasa/core/policies/policy.py | 438 | CODE | |
| LOW | rasa/core/policies/memoization.py | 96 | CODE | |
| LOW | rasa/core/policies/unexpected_intent_policy.py | 645 | CODE | |
| LOW | rasa/core/policies/rule_policy.py | 609 | CODE | |
| LOW | rasa/core/actions/action.py | 1101 | CODE | |
| LOW | rasa/core/actions/action.py | 1231 | CODE | |
| LOW | rasa/core/actions/forms.py | 123 | CODE | |
| LOW | rasa/core/channels/hangouts.py | 103 | CODE | |
| LOW | rasa/core/channels/hangouts.py | 239 | CODE | |
| LOW | rasa/core/channels/console.py | 188 | CODE | |
| LOW | rasa/core/channels/telegram.py | 52 | CODE | |
| LOW | rasa/core/channels/telegram.py | 195 | CODE | |
| LOW | rasa/core/channels/telegram.py | 216 | CODE | |
| LOW | rasa/core/channels/facebook.py | 98 | CODE | |
| LOW | rasa/core/channels/facebook.py | 107 | CODE | |
| LOW | rasa/core/channels/facebook.py | 270 | CODE | |
| 57 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM⚡ | tests/test_model_testing.py | 50 | # Create a fake model on disk so that `is_file` returns `True` | COMMENT |
| MEDIUM | tests/core/training/test_story_conflict.py | 41 | # Create a list of `StoryConflict` objects | COMMENT |
| MEDIUM | tests/core/training/test_story_conflict.py | 81 | # Create a list of `StoryConflict` objects | COMMENT |
| MEDIUM⚡ | tests/core/training/test_story_conflict.py | 94 | # Create a list of `StoryConflict` objects | COMMENT |
| MEDIUM⚡ | tests/core/training/test_story_conflict.py | 107 | # Create a list of `StoryConflict` objects | COMMENT |
| MEDIUM⚡ | tests/core/training/test_story_conflict.py | 120 | # Create a list of `StoryConflict` objects | COMMENT |
| MEDIUM⚡ | tests/core/training/test_story_conflict.py | 132 | # Create a list of `StoryConflict` objects | COMMENT |
| MEDIUM⚡ | tests/core/training/test_story_conflict.py | 145 | # Create a list of `StoryConflict` objects | COMMENT |
| MEDIUM⚡ | tests/utils/tensorflow/test_layers.py | 426 | # Create a unit vector [1, 0, 0, 0, ...] | COMMENT |
| MEDIUM | tests/shared/core/test_domain.py | 1391 | # Create a sorted list of entity names from 'a' to 'z', and two randomly shuffled | COMMENT |
| MEDIUM | tests/shared/core/test_events.py | 319 | # Create the event from a `dict` that will be accepted by the | COMMENT |
| MEDIUM | tests/shared/core/test_events.py | 338 | # Create an event without metadata. When converting the `Event` to a | COMMENT |
| MEDIUM | examples/reminderbot/endpoints.yml | 1 | # This file contains the different endpoints your bot can use. | COMMENT |
| MEDIUM | examples/reminderbot/credentials.yml | 1 | # This file contains the credentials for the voice & chat platforms | COMMENT |
| MEDIUM | …test_action_extract_slots_11333/tests/test_stories.yml | 1 | #### This file contains tests to evaluate that your bot behaves as expected. | COMMENT |
| MEDIUM | rasa/validator.py | 310 | # Create a list of `StoryConflict` objects | COMMENT |
| MEDIUM | rasa/server.py | 680 | # Initialize shared object of type unsigned int for tracking | COMMENT |
| MEDIUM | rasa/core/policies/unexpected_intent_policy.py | 980 | # Create a tensor of values with sign opposite to `LABEL_PAD_ID` which | COMMENT |
| MEDIUM | rasa/core/policies/rule_policy.py | 862 | # This function is called a lot (e.g. for checking contradictions) so we cache | COMMENT |
| MEDIUM | rasa/core/channels/webexteams.py | 113 | # Create a Webhook object from the JSON data | COMMENT |
| MEDIUM | rasa/utils/tensorflow/layers.py | 1564 | # Create an indicator for the positive labels by concatenating the 1 for all | COMMENT |
| MEDIUM | rasa/utils/tensorflow/feature_array.py | 230 | """This method is called when the system allocates a new array from obj. | STRING |
| MEDIUM | rasa/shared/nlu/training_data/features.py | 47 | # Create a unique key for this tensor in the safetensors file | COMMENT |
| MEDIUM | rasa/cli/initial_project/endpoints.yml | 1 | # This file contains the different endpoints your bot can use. | COMMENT |
| MEDIUM | rasa/cli/initial_project/credentials.yml | 1 | # This file contains the credentials for the voice & chat platforms | COMMENT |
| MEDIUM | rasa/cli/initial_project/tests/test_stories.yml | 1 | #### This file contains tests to evaluate that your bot behaves as expected. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | .typo-ci.yml | 1 | # This is a sample .typo-ci.yml file, it's used to configure how Typo CI will behave. | COMMENT |
| LOW | tests/core/evaluation/test_marker.py | 601 | [ | COMMENT |
| LOW | examples/reminderbot/endpoints.yml | 1 | # This file contains the different endpoints your bot can use. | COMMENT |
| LOW | examples/reminderbot/endpoints.yml | 21 | # type: redis | COMMENT |
| LOW | examples/reminderbot/endpoints.yml | 41 | # password: password | COMMENT |
| LOW | examples/reminderbot/credentials.yml | 1 | # This file contains the credentials for the voice & chat platforms | COMMENT |
| LOW | examples/reminderbot/credentials.yml | 21 | # slack_token: "<your slack token>" | COMMENT |
| LOW | examples/rules/domain.yml | 21 | type: text | COMMENT |
| LOW | scripts/push_docs_to_branch.sh | 1 | #!/bin/bash | COMMENT |
| LOW | .github/workflows/ci-model-regression.yml | 521 | env: | COMMENT |
| LOW | .github/workflows/continous-integration.yml | 21 | # - DOCKERHUB_PASSWORD: password for an account with write access to the rasa | COMMENT |
| LOW | .github/workflows/continous-integration.yml | 1101 | # In this scenario, we've pushed the '2.0.6' tag | COMMENT |
| LOW | .github/workflows/continous-integration.yml | 1221 | # RELEASE_TAG="${IMAGE_TAG}" | COMMENT |
| LOW | .github/workflows/ci-model-regression-on-schedule.yml | 181 | COMMENT | |
| LOW | .github/configs/mr-test-example.yaml | 1 | ## Example configuration | COMMENT |
| LOW | .github/configs/mr-test-example.yaml | 21 | ## Example: Use all available configurations for the "Carbon Bot" and "Sara" datasets | COMMENT |
| LOW | …no_session_config_and_custom_session_config/config.yml | 1 | recipe: default.v1 | COMMENT |
| LOW | …no_session_config_and_custom_session_config/config.yml | 21 | # constrain_similarities: true | COMMENT |
| LOW | …_for_docs/example_for_suggested_config_after_train.yml | 1 | recipe: default.v1 | COMMENT |
| LOW | data/test_config/config_unique_assistant_id.yml | 1 | recipe: default.v1 | COMMENT |
| LOW | data/test_config/config_unique_assistant_id.yml | 21 | # epochs: 100 | COMMENT |
| LOW | data/test_config/config_empty_en_after_dumping.yml | 1 | recipe: default.v1 | COMMENT |
| LOW | data/test_config/config_empty_en_after_dumping.yml | 21 | # epochs: 100 | COMMENT |
| LOW | data/test_config/config_defaults.yml | 1 | recipe: default.v1 | COMMENT |
| LOW | data/test_config/config_defaults.yml | 21 | # epochs: 100 | COMMENT |
| LOW | …est_config/config_with_comment_between_suggestions.yml | 1 | recipe: default.v1 | COMMENT |
| LOW | …est_config/config_with_comment_between_suggestions.yml | 21 | # - name: FallbackClassifier | COMMENT |
| LOW | data/test_config/config_with_comments_after_dumping.yml | 21 | epochs: 100 | COMMENT |
| LOW | data/test_config/config_empty_fr_after_dumping.yml | 1 | language: fr | COMMENT |
| LOW | data/test_config/config_empty_fr_after_dumping.yml | 21 | # constrain_similarities: true | COMMENT |
| LOW | data/test_config/config_empty_en_after_dumping_nlu.yml | 1 | recipe: default.v1 | COMMENT |
| LOW | data/test_config/config_empty_en_after_dumping_nlu.yml | 21 | # epochs: 100 | COMMENT |
| LOW | data/test_config/config_empty_en_after_dumping_core.yml | 1 | recipe: default.v1 | COMMENT |
| LOW | …from_trigger_intent_with_mapping_conditions/config.yml | 41 | # # See https://rasa.com/docs/rasa/policies for more information. | COMMENT |
| LOW | …m_trigger_intent_with_no_mapping_conditions/config.yml | 41 | # # See https://rasa.com/docs/rasa/policies for more information. | COMMENT |
| LOW | data/test_action_extract_slots_11333/config.yml | 21 | min_ngram: 1 | COMMENT |
| LOW | data/test_action_extract_slots_11333/config.yml | 41 | - name: AugmentedMemoizationPolicy | COMMENT |
| LOW | rasa/core/constants.py | 41 | # policies only predict an action if the last event in | COMMENT |
| LOW | rasa/core/policies/ted_policy.py | 221 | # Number of attention heads in transformer | COMMENT |
| LOW | rasa/core/policies/ted_policy.py | 241 | # Number of epochs to train | COMMENT |
| LOW | rasa/core/policies/ted_policy.py | 261 | # Determines wether the confidences of the chosen top actions should be | COMMENT |
| LOW | rasa/core/policies/ted_policy.py | 281 | # The scale of regularization | COMMENT |
| LOW | rasa/core/policies/ted_policy.py | 301 | # If 'True' random tokens of the input message will be masked. Since there | COMMENT |
| LOW | rasa/core/policies/ted_policy.py | 321 | CHECKPOINT_MODEL: False, | COMMENT |
| LOW | rasa/core/policies/ted_policy.py | 1481 | COMMENT | |
| LOW | rasa/core/policies/ted_policy.py | 1581 | # For example: | COMMENT |
| LOW | rasa/core/policies/ted_policy.py | 1861 | ) -> Tuple[tf.Tensor, tf.Tensor, tf.Tensor]: | COMMENT |
| LOW | rasa/core/policies/unexpected_intent_policy.py | 181 | # if key- or value relative attention are turned on | COMMENT |
| LOW | rasa/core/policies/unexpected_intent_policy.py | 201 | EMBEDDING_DIMENSION: 20, | COMMENT |
| LOW | rasa/core/policies/unexpected_intent_policy.py | 221 | DROP_RATE_ATTENTION: 0.0, | COMMENT |
| LOW | rasa/core/policies/unexpected_intent_policy.py | 241 | # metrics, set this option to a valid output directory. | COMMENT |
| LOW | rasa/core/policies/unexpected_intent_policy.py | 261 | # examples. Any tracker with a similarity score below this | COMMENT |
| LOW | rasa/core/policies/rule_policy.py | 121 | # Priority of the policy which is used if multiple policies predict | COMMENT |
| LOW | …turizers/sparse_featurizer/count_vectors_featurizer.py | 61 | # whether to use a shared vocab | COMMENT |
| LOW | rasa/nlu/classifiers/diet_classifier.py | 161 | HIDDEN_LAYERS_SIZES: {TEXT: [], LABEL: []}, | COMMENT |
| LOW | rasa/nlu/classifiers/diet_classifier.py | 181 | # Batch size will be linearly increased for each epoch. | COMMENT |
| LOW | rasa/nlu/classifiers/diet_classifier.py | 201 | NUM_NEG: 20, | COMMENT |
| LOW | rasa/nlu/classifiers/diet_classifier.py | 221 | SCALE_LOSS: False, | COMMENT |
| LOW | rasa/nlu/classifiers/diet_classifier.py | 241 | # Small values may hurt performance. | COMMENT |
| LOW | rasa/nlu/classifiers/diet_classifier.py | 261 | # metrics, set this option to a valid output directory. | COMMENT |
| 21 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | rasa/server.py | 554 | def wrapped() -> None: | CODE |
| LOW⚡ | rasa/server.py | 1510 | except Exception as e: | CODE |
| LOW | rasa/server.py | 486 | except Exception as e: | CODE |
| LOW | rasa/server.py | 565 | except Exception as e: | CODE |
| LOW | rasa/server.py | 734 | except Exception as e: | CODE |
| LOW | rasa/server.py | 770 | except Exception as e: | CODE |
| LOW | rasa/server.py | 820 | except Exception as e: | CODE |
| LOW | rasa/server.py | 847 | except Exception as e: | CODE |
| LOW | rasa/server.py | 899 | except Exception as e: | CODE |
| LOW | rasa/server.py | 957 | except Exception as e: | CODE |
| LOW | rasa/server.py | 986 | except Exception as e: | CODE |
| LOW | rasa/server.py | 1036 | except Exception as e: | CODE |
| LOW | rasa/server.py | 1089 | except Exception as e: | CODE |
| LOW | rasa/server.py | 1123 | except Exception as e: | CODE |
| LOW | rasa/server.py | 1179 | except Exception as e: | CODE |
| LOW | rasa/server.py | 1274 | except Exception as e: | CODE |
| LOW | rasa/server.py | 1287 | except Exception as e: | CODE |
| LOW | rasa/server.py | 1311 | except Exception as e: | CODE |
| LOW | rasa/server.py | 1322 | except Exception as e: | CODE |
| LOW⚡ | rasa/telemetry.py | 450 | except Exception: # skipcq:PYL-W0703 | CODE |
| LOW⚡ | rasa/telemetry.py | 456 | except Exception: # skipcq:PYL-W0703 | CODE |
| LOW | rasa/telemetry.py | 207 | except Exception as e: # skipcq:PYL-W0703 | CODE |
| LOW | rasa/telemetry.py | 268 | except Exception: # skipcq:PYL-W0703 | CODE |
| LOW | rasa/telemetry.py | 540 | except Exception as e: # skipcq:PYL-W0703 | CODE |
| LOW | rasa/telemetry.py | 558 | except Exception as e: # skipcq:PYL-W0703 | CODE |
| LOW | rasa/telemetry.py | 921 | except Exception: | CODE |
| LOW | rasa/core/exporter.py | 82 | except Exception as e: | CODE |
| LOW | rasa/core/processor.py | 993 | except Exception: | CODE |
| LOW⚡ | rasa/core/tracker_store.py | 1441 | except Exception as e: | CODE |
| LOW⚡ | rasa/core/tracker_store.py | 1449 | except Exception as e: | CODE |
| LOW⚡ | rasa/core/tracker_store.py | 1457 | except Exception as e: | CODE |
| LOW | rasa/core/tracker_store.py | 1471 | except Exception as e: | CODE |
| LOW | rasa/core/http_interpreter.py | 82 | except Exception: # skipcq: PYL-W0703 | CODE |
| LOW | rasa/core/agent.py | 89 | except Exception: # skipcq: PYL-W0703 | CODE |
| LOW | rasa/core/agent.py | 266 | except Exception as e: | CODE |
| LOW | rasa/core/lock_store.py | 86 | except Exception as e: | CODE |
| LOW | rasa/core/migrate.py | 395 | except Exception as e: | CODE |
| LOW | rasa/core/brokers/pika.py | 211 | except Exception as e: | CODE |
| LOW | rasa/core/brokers/pika.py | 312 | except Exception as e: | CODE |
| LOW | rasa/core/brokers/kafka.py | 140 | except Exception as e: | CODE |
| LOW | rasa/core/training/interactive.py | 871 | except Exception as e: | CODE |
| LOW | rasa/core/training/interactive.py | 1557 | except Exception: | CODE |
| LOW | rasa/core/channels/hangouts.py | 328 | except Exception: | CODE |
| LOW | rasa/core/channels/telegram.py | 276 | except Exception as e: | CODE |
| LOW | rasa/core/channels/rest.py | 175 | except Exception: | CODE |
| LOW | rasa/core/channels/channel.py | 200 | except Exception: | CODE |
| LOW | rasa/core/channels/botframework.py | 332 | except Exception as e: | CODE |
| LOW | rasa/core/channels/mattermost.py | 198 | except Exception as e: | CODE |
| LOW | rasa/core/channels/facebook.py | 158 | except Exception: | CODE |
| LOW | rasa/core/channels/facebook.py | 408 | except Exception: | CODE |
| LOW | rasa/core/channels/webexteams.py | 92 | except Exception as e: | CODE |
| LOW | rasa/core/channels/twilio.py | 155 | except Exception as e: | CODE |
| LOW | rasa/core/channels/slack.py | 395 | except Exception as e: | CODE |
| LOW | rasa/core/channels/slack.py | 490 | except Exception as e: | CODE |
| LOW | rasa/nlu/test.py | 1859 | except Exception as e: # skipcq: PYL-W0703 | CODE |
| LOW | rasa/nlu/utils/__init__.py | 30 | except Exception: | CODE |
| LOW | rasa/nlu/extractors/mitie_entity_extractor.py | 182 | except Exception as e: | CODE |
| LOW | rasa/utils/plotting.py | 21 | except Exception: # skipcq:PYL-W0703 | CODE |
| LOW | rasa/utils/common.py | 140 | except Exception: | CODE |
| LOW | rasa/utils/common.py | 386 | except Exception as e: | CODE |
| 6 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tests/core/test_lock_store.py | 192 | # we'll just return None. | COMMENT |
| LOW | tests/integration_tests/core/test_lock_store.py | 110 | # we'll just return None. | COMMENT |
| MEDIUM | docs/static/js/rasa-chatblock.min.js | 6 | */var r=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,i=Object.prototype.propertyIsEnumerable;function | COMMENT |
| MEDIUM | docs/static/js/rasa-chatblock.min.js | 6 | */var r=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,i=Object.prototype.propertyIsEnumerable;function | COMMENT |
| 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 | COMMENT |
| 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 | COMMENT |
| LOW | rasa/core/training/interactive.py | 662 | # in this case we will just return, and the original | COMMENT |
| LOW | rasa/core/policies/ensemble.py | 306 | # Reminder: If just a single policy is given, we do *not* just return it because | COMMENT |
| LOW | rasa/core/evaluation/marker_base.py | 457 | # Reminder: We could also just create a dictionary of markers from this. | COMMENT |
| MEDIUM | …nlu/featurizers/dense_featurizer/convert_featurizer.py | 200 | # Definitely invalid since the specified path should be a directory | COMMENT |
| MEDIUM | …turizers/sparse_featurizer/count_vectors_featurizer.py | 728 | # Definitely need to persist some vocabularies | COMMENT |
| LOW | rasa/nlu/classifiers/diet_classifier.py | 711 | # we don't have any intent labels during prediction, just add them during | COMMENT |
| LOW | rasa/utils/tensorflow/crf.py | 153 | # If max_seq_len is 1, we skip the algorithm and simply return the | COMMENT |
| MEDIUM | rasa/utils/tensorflow/feature_array.py | 286 | """Needed in order to pickle this object. | STRING |
| LOW | rasa/engine/training/graph_trainer.py | 246 | # execute the node again. We can just return it from a | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH⚡ | tests/core/training/test_interactive.py | 559 | "attachment": null, | CODE |
| HIGH⚡ | tests/core/training/test_interactive.py | 560 | "buttons": null, | CODE |
| HIGH⚡ | tests/core/training/test_interactive.py | 568 | "text": null, | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tests/nlu/test_evaluation.py | 201 | CODE | |
| LOW | tests/utils/tensorflow/test_models.py | 84 | CODE | |
| LOW | rasa/server.py | 640 | CODE | |
| LOW | rasa/model_training.py | 124 | CODE | |
| LOW | rasa/api.py | 65 | CODE | |
| LOW | rasa/core/run.py | 99 | CODE | |
| LOW | rasa/core/run.py | 187 | CODE | |
| LOW | rasa/core/test.py | 1060 | CODE | |
| LOW | rasa/core/tracker_store.py | 447 | CODE | |
| LOW | rasa/core/tracker_store.py | 1061 | CODE | |
| LOW | rasa/core/tracker_store.py | 1123 | CODE | |
| LOW | rasa/core/agent.py | 293 | CODE | |
| LOW | rasa/core/agent.py | 320 | CODE | |
| LOW | rasa/core/lock_store.py | 198 | CODE | |
| LOW | rasa/core/brokers/pika.py | 32 | CODE | |
| LOW | rasa/core/brokers/kafka.py | 27 | CODE | |
| LOW | rasa/core/policies/policy.py | 495 | CODE | |
| LOW | rasa/core/channels/slack.py | 152 | CODE | |
| LOW | rasa/core/channels/socketio.py | 153 | CODE | |
| LOW | rasa/utils/plotting.py | 221 | CODE | |
| LOW | rasa/utils/tensorflow/transformer.py | 410 | CODE | |
| LOW | rasa/utils/tensorflow/transformer.py | 515 | CODE | |
| LOW | rasa/utils/tensorflow/layers.py | 839 | CODE | |
| LOW | rasa/shared/core/domain.py | 410 | CODE | |
| LOW | rasa/shared/core/events.py | 439 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tests/core/policies/test_unexpected_intent_policy.py | 887 | # Check if ranking is sorted correctly and truncated to `ranking_length` | COMMENT |
| LOW | tests/core/policies/test_rule_policy.py | 3119 | # Check if the presence of action_unlikely_intent | STRING |
| LOW⚡ | tests/core/channels/test_slack.py | 313 | # Check if re.escape was called with the expected argument | COMMENT |
| LOW | tests/shared/importers/test_importer.py | 170 | # Check if the NLU training data was added correctly from the story training data | COMMENT |
| LOW | tests/shared/importers/test_multi_project.py | 38 | # Check if loading from `.yaml` also works | COMMENT |
| LOW | .github/workflows/ci-model-regression-on-schedule.yml | 598 | # Set IS_DROPPED to true if there is any value lower | COMMENT |
| LOW | rasa/server.py | 1432 | # Check if matching channels can provide a valid output channel, | COMMENT |
| LOW | rasa/core/policies/unexpected_intent_policy.py | 206 | # Set this to `0` to include all intents. | COMMENT |
| LOW | rasa/core/policies/rule_policy.py | 1058 | # Check if a rule that predicted action_listen | COMMENT |
| LOW | rasa/cli/utils.py | 280 | # Check if a valid setting for `max_history` was given | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | tests/core/conftest.py | 92 | entities=[{"entity": "name", "value": "Jane Doe"}], | CODE |
| LOW⚡ | tests/core/conftest.py | 98 | entities=[{"entity": "name", "value": "Jane Doe"}], | CODE |
| LOW⚡ | tests/core/featurizers/test_precomputation.py | 117 | dummy_value = "this-could-be-anything" | CODE |
| LOW⚡ | tests/core/featurizers/test_precomputation.py | 120 | {TEXT: "text", ENTITIES: dummy_value}, | CODE |
| LOW⚡ | tests/core/featurizers/test_precomputation.py | 146 | dummy_value = "this-could-be-anything" | CODE |
| LOW⚡ | tests/core/featurizers/test_precomputation.py | 149 | {TEXT: "text", ENTITIES: dummy_value}, | CODE |
| LOW⚡ | tests/core/featurizers/test_precomputation.py | 167 | dummy_value = "this-could-be-anything" | CODE |
| LOW⚡ | tests/core/featurizers/test_precomputation.py | 170 | {TEXT: "text", ENTITIES: dummy_value}, | CODE |
| LOW | docs/static/js/rasa-chatblock.min.js | 43 | */var r="function"==typeof Symbol&&Symbol.for,o=r?Symbol.for("react.element"):60103,i=r?Symbol.for("react.portal"):6010 | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tests/shared/nlu/training_data/test_features.py | 365 | # don't forget to check the origin | COMMENT |
| LOW | tests/shared/nlu/training_data/test_features.py | 365 | # don't forget to check the origin | COMMENT |
| LOW⚡ | rasa/core/training/interactive.py | 96 | # automatically. If you change anything in here, please make sure to | COMMENT |
| LOW | rasa/core/policies/ted_policy.py | 174 | # please make sure to update the docs when changing a default parameter | COMMENT |
| LOW | rasa/core/policies/memoization.py | 68 | # please make sure to update the docs when changing a default parameter | COMMENT |
| LOW | rasa/nlu/classifiers/fallback_classifier.py | 44 | # please make sure to update the docs when changing a default parameter | COMMENT |
| LOW | rasa/nlu/classifiers/diet_classifier.py | 154 | # please make sure to update the docs when changing a default parameter | COMMENT |
| LOW | rasa/shared/core/constants.py | 132 | # if you add more policy/classifier names, make sure to add a test as well to ensure | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | tests/utils/test_common.py | 68 | async def my_function(): | CODE |
| LOW⚡ | tests/utils/test_common.py | 79 | def my_function(): | CODE |
| LOW⚡ | tests/shared/utils/test_common.py | 131 | def my_function(): | CODE |
| LOW⚡ | tests/shared/utils/test_common.py | 141 | async def my_function(): | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | rasa/api.py | 5 | # WARNING: Be careful about adding any top level imports at this place! | COMMENT |
| LOW⚡ | rasa/core/training/interactive.py | 94 | # WARNING: This command line UI is using an external library | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | rasa/server.py | 1012 | # TODO: implement for agent / bot | COMMENT |