AI Slop Code RIsk Monitor

espnet/espnet

End-to-End Speech Processing Toolkit

8.5 Moderate pattern signal View on GitHub

Maintenance and Governance Review

This report summarizes scanner evidence for espnet/espnet, a Python project with 9,982 GitHub stars. SynthScan examined 1,483,321 lines of code across 8093 source files, recording 8369 pattern matches distributed across 26 syntactic categories. The legacy adjusted pattern signal is 8.5 (Moderate pattern signal); it is not an authorship estimate.

Use the findings to ask whether maintainers can explain intent, verify dependencies, simplify unnecessary scaffolding, and focus review effort. Risk Payload v1 adds ownership, supply-chain, over-engineering, and review-effort vectors when available. These are prompts for human verification, not probabilities, security findings, or measured maintenance costs.

8.5
Adjusted Signal
8.5
Raw Pattern Score
100%
Time Factor
2026-10-11
Last Push
10.0K
Stars
Python
Language
1.5M
Lines of Code
8.1K
Files
8.4K
Pattern Hits
2026-10-12
Scan Date
0.08
HC Hit Rate

Risk Review · v3

Use each vector to guide manual verification of the underlying findings.

Cognitive Ownership Risk 22.9/100 · LOW

Can maintainers explain intent, assumptions, and trade-offs? 6323 finding(s).

Hallucinated Dependency & Supply Chain Risk 3.2/100 · LOW

Are imports declared and package/API names verified? 854 finding(s).

Agent Over-Engineering Ratio 20.2/100 · LOW

Are wrappers, guards, and repeated structures necessary? 3916 finding(s).

PR Review Velocity Impact 34.8/100 · MEDIUM

Which changes need focused human review? 8369 finding(s).

What These Metrics Mean

Adjusted Signal
Legacy pattern score normalized per 1,000 scanned lines and multiplied by the repository-level time factor. It is not an estimate of AI authorship.
Raw Pattern Score
Sum of severity- and context-weighted pattern findings before applying the time factor.
Time Factor
A coarse multiplier based on repository last-push metadata. It does not identify when individual code was written.
Pattern Hits
Count of configured pattern findings. Review each location and surrounding code before acting.
HC Hit Rate
High- and critical-severity findings per scanned file. Severity is a configured detector weight, not proof of a vulnerability or authorship.
Lines / Files
Scan coverage denominators used by the legacy normalized score.

Pattern-Signal History

This chart tracks the legacy adjusted pattern score across scan runs. Changes can reflect source changes, scan coverage, or detector/scoring versions; they do not measure AI adoption or prove that a team refactored code. Compare runs only when their scoring versions are compatible. The dashed line tracks the raw pattern-hit count.

Severity Breakdown

Groups findings by configured severity weight. Severity is not a confidence estimate, security rating, or proof that a package is missing. Verify imports against the project's manifests and inspect each finding in its local design context.

CRITICAL 2HIGH 605MEDIUM 637LOW 7125

Directory Score Breakdown

This horizontal bar chart shows where configured pattern scores accumulate across directories. Treat the bars as locations to inspect, not as evidence of authorship or code quality. Use the file-level findings to decide whether a directory needs a focused ownership, dependency, complexity, or review check.

Pattern Findings

The scanner identified 8369 distinct pattern matches across 26 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a detector match to inspect in context. 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 configured finding weight (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — legacy comment-context matches receive a ×1.5 score weight. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier under the legacy scoring model.

Hyper-Verbose Identifiers2315 hits · 2340 pts
SeverityFileLineSnippetContext
LOWtest/ci/test_check_espnet3_parallel_workers.py55def test_identical_runs_split_in_two_pass(tmp_path):CODE
LOW⚡test/ci/test_check_espnet3_parallel_workers.py67def test_a_run_that_was_not_split_fails(tmp_path):CODE
LOW⚡test/ci/test_check_espnet3_parallel_workers.py76def test_a_different_hypothesis_fails(tmp_path):CODE
LOW⚡test/ci/test_check_espnet3_parallel_workers.py85def test_an_output_only_the_parallel_run_wrote_fails(tmp_path, what):CODE
LOWtest/ci/test_check_espnet3_parallel_workers.py102def test_statistics_agree_to_rounding_but_not_beyond(tmp_path):CODE
LOWtest/egs3/TEMPLATE/esp2_asr/test_run.py9def test_load_default_config_train_contains_expected_targets() -> None:CODE
LOWtest/egs3/TEMPLATE/esp2_asr/test_run.py19def test_load_default_config_infer_contains_expected_targets() -> None:CODE
LOWtest/egs3/TEMPLATE/esp2_asr/test_run.py31def test_load_and_merge_config_user_overrides_template_defaults(tmp_path: Path) -> None:CODE
LOWtest/egs3/TEMPLATE/esp2_asr/test_run.py59def test_load_and_merge_demo_config_inherits_template_readme(CODE
LOWtest/egs3/TEMPLATE/esp2_asr/test_run.py91def test_load_and_merge_config_none_path_returns_none() -> None:CODE
LOWtest/espnet3/demo/test_pack.py16def test_pack_demo_writes_assets(CODE
LOWtest/espnet3/demo/test_pack.py60def test_pack_demo_writes_requirements_txt(CODE
LOWtest/espnet3/demo/test_pack.py93def test_pack_demo_skips_requirements_txt_when_not_configured(CODE
LOWtest/espnet3/demo/test_pack.py116def test_pack_demo_skips_description_copy_when_ui_description_is_missing(CODE
LOWtest/espnet3/demo/test_pack.py150def test_pack_demo_supports_exclude_patterns_for_included_dirs(CODE
LOWtest/espnet3/demo/test_pack.py196def test_pack_demo_expands_globbed_include_paths(CODE
LOWtest/espnet3/demo/test_pack.py238def test_pack_demo_renders_space_readme(CODE
LOWtest/espnet3/demo/test_pack.py362def test_template_demo_yaml_defaults_update_false_and_delete_patterns(CODE
LOWtest/espnet3/demo/test_pack.py371def test_upload_demo_update_true_passes_exist_ok_and_delete_patterns(CODE
LOWtest/espnet3/demo/test_pack.py398def test_upload_demo_raises_on_existing_space_without_update(CODE
LOWtest/espnet3/demo/test_pack.py426def test_upload_demo_empty_delete_patterns_passes_none_to_upload_folder(CODE
LOWtest/espnet3/demo/test_app_builder.py22def _test_classes_count_as_installed_espnet_code(monkeypatch):CODE
LOWtest/espnet3/demo/test_app_builder.py131def test_specs_come_from_the_declaration_unless_the_demo_says_otherwise(tmp_path):CODE
LOWtest/espnet3/demo/test_app_builder.py155def test_fields_without_a_ui_asset_are_left_out(tmp_path):CODE
LOWtest/espnet3/demo/test_app_builder.py167def test_inference_fn_calls_the_model_by_field_and_converts_for_gradio(tmp_path):CODE
LOWtest/espnet3/demo/test_app_builder.py186def test_to_ui_lays_multichannel_audio_out_for_gradio():CODE
LOWtest/espnet3/demo/test_app_builder.py192def test_model_arguments_live_in_the_bundle_not_the_demo(tmp_path):CODE
LOWtest/espnet3/demo/test_app_builder.py209def test_build_demo_shows_a_description_file_or_inline_text(tmp_path):CODE
LOWtest/espnet3/demo/test_app_builder.py224def test_default_assets_build_the_components_for_the_specs(tmp_path):CODE
LOWtest/espnet3/demo/test_app_builder.py247def test_build_input_component_requires_type(tmp_path):CODE
LOWtest/espnet3/demo/test_app_builder.py257def test_demo_main_writes_demo_log(monkeypatch, tmp_path: Path) -> None:CODE
LOWtest/espnet3/demo/test_app_builder.py288def test_default_text_ui_requires_gradio(monkeypatch) -> None:CODE
LOWtest/espnet3/demo/test_app_builder.py294def test_default_assets_use_only_label(monkeypatch) -> None:CODE
LOWtest/espnet3/demo/test_app_builder.py324def test_build_demo_model_loads_a_tag_through_load(monkeypatch, tmp_path: Path) -> None:CODE
LOWtest/espnet3/demo/test_app_builder.py360def test_a_demo_with_nothing_to_show_says_so(tmp_path):CODE
LOWtest/espnet3/parallel/test_inference_runner.py217def test_image_output_type_unsupported(tmp_path):CODE
LOWtest/espnet3/parallel/test_inference_runner.py232def test_streaming_on_example(test_audio_paths, tmp_path):CODE
LOWtest/espnet3/parallel/test_inference_runner.py243def test_streaming_chunked_processing_manual(test_audio_paths):CODE
LOWtest/espnet3/parallel/test_inference_runner.py273def test_streaming_chunk_count(test_audio_paths, chunk_sec, expected_min_chunks):CODE
LOWtest/espnet3/parallel/test_inference_runner.py291def test_parallel_shards_offline_with_base_runner(test_audio_paths, tmp_path):CODE
LOWtest/espnet3/parallel/test_inference_runner.py325def test_parallel_shards_streaming_with_base_runner(test_audio_paths, tmp_path):CODE
LOWtest/espnet3/parallel/test_base_runner_batch.py102def test_local_config_uses_workers_and_dask_dispatch(tmp_path, monkeypatch):CODE
LOW⚡test/espnet3/parallel/test_base_runner_batch.py127def test_batch_size_chunks_indices(tmp_path):CODE
LOW⚡test/espnet3/parallel/test_base_runner_batch.py134def test_batch_size_rejects_non_positive(tmp_path):CODE
LOW⚡test/espnet3/parallel/test_base_runner_batch.py141def test_base_runner_requires_output_dir():CODE
LOW⚡test/espnet3/parallel/test_base_runner_batch.py148def test_forward_used_when_batch_size_set(tmp_path):CODE
LOWtest/espnet3/parallel/test_base_runner_batch.py161def test_forward_used_when_batch_size_is_none(tmp_path):CODE
LOWtest/espnet3/parallel/test_base_runner_batch.py175def test_resume_skips_completed_shards(tmp_path):CODE
LOWtest/espnet3/parallel/test_base_runner_batch.py194def test_resume_reruns_only_incomplete_shards(tmp_path):CODE
LOWtest/espnet3/parallel/test_base_runner_batch.py223def test_resume_reuses_manifest_shard_plan(tmp_path):CODE
LOWtest/espnet3/parallel/test_base_runner_batch.py263def test_resume_raises_when_shard_count_changes(tmp_path):CODE
LOWtest/espnet3/parallel/test_base_runner_batch.py299def test_resume_raises_when_shard_plan_changes(tmp_path):CODE
LOWtest/espnet3/parallel/test_base_runner_batch.py333def test_resume_false_forces_rerun(tmp_path):CODE
LOWtest/espnet3/parallel/test_base_runner_batch.py351def test_resume_raises_for_locked_shard(tmp_path):CODE
LOWtest/espnet3/parallel/test_base_runner_batch.py366def test_parallel_config_can_replace_stale_lock(tmp_path):CODE
LOWtest/espnet3/parallel/test_base_runner_batch.py394def test_failed_shard_releases_lock(tmp_path):CODE
LOWtest/espnet3/parallel/test_parallel.py94def test_set_parallel_copies_options_dict(local_cfg):CODE
LOWtest/espnet3/parallel/test_parallel.py111def test_base_runner_uses_local_cluster_workers(local_cfg, tmp_path):CODE
LOWtest/espnet3/parallel/test_parallel.py127def test_get_client_registers_worker_env(local_cfg):CODE
LOWtest/espnet3/parallel/test_parallel.py136def test_worker_env_conflict_detection(local_cfg):CODE
2255 more matches not shown…
Cross-File Repetition398 hits · 1990 pts
SeverityFileLineSnippetContext
HIGHtest/espnet2/legacy/reference_batch_beam_search.py0score new hypothesis by `self.part_scorers`. args: hyp (batchhypothesis): hypothesis with prefix tokens to score ids (toSTRING
HIGHespnet2/legacy/nets/beam_search.py0score new hypothesis by `self.part_scorers`. args: hyp (batchhypothesis): hypothesis with prefix tokens to score ids (toSTRING
HIGHespnet2/legacy/nets/batch_beam_search.py0score new hypothesis by `self.part_scorers`. args: hyp (batchhypothesis): hypothesis with prefix tokens to score ids (toSTRING
HIGHtest/espnet2/legacy/reference_batch_beam_search.py0merge states for new hypothesis. args: states: states of `self.full_scorers` part_states: states of `self.part_scorers` STRING
HIGHespnet2/legacy/nets/beam_search.py0merge states for new hypothesis. args: states: states of `self.full_scorers` part_states: states of `self.part_scorers` STRING
HIGHespnet2/legacy/nets/batch_beam_search.py0merge states for new hypothesis. args: states: states of `self.full_scorers` part_states: states of `self.part_scorers` STRING
HIGHegs3/TEMPLATE/esp2_asr/src/app.py0build the default gradio blocks app for one packed demo.STRING
HIGHegs3/mini_an4/esp2_asr/src/app.py0build the default gradio blocks app for one packed demo.STRING
HIGHegs3/librispeech_100/esp2_asr/src/app.py0build the default gradio blocks app for one packed demo.STRING
HIGHegs2/misp2021/asr1/local/prepare_far_data.py0read lines from text or write lines to txt :param textpath: filepath of text :param lines_content: list of lines or noneSTRING
HIGHegs2/misp2021/avsr1/local/prepare_far_data.py0read lines from text or write lines to txt :param textpath: filepath of text :param lines_content: list of lines or noneSTRING
HIGH…2021/avsr1/local/prepare_visual_embedding_extractor.py0read lines from text or write lines to txt :param textpath: filepath of text :param lines_content: list of lines or noneSTRING
HIGHegs2/chime8_task1/asr1/local/da_wer_scoring.py0modified from https://github.com/pyannote/ pyannote-metrics/blob/14af03ca61527621cfc0a3ed7237cc2969681915/ pyannote/metrSTRING
HIGHegs2/chime8_task1/diar_asr1/local/da_wer_scoring.py0modified from https://github.com/pyannote/ pyannote-metrics/blob/14af03ca61527621cfc0a3ed7237cc2969681915/ pyannote/metrSTRING
HIGHegs2/chime7_task1/asr1/local/da_wer_scoring.py0modified from https://github.com/pyannote/ pyannote-metrics/blob/14af03ca61527621cfc0a3ed7237cc2969681915/ pyannote/metrSTRING
HIGHegs2/chime7_task1/diar_asr1/local/da_wer_scoring.py0modified from https://github.com/pyannote/ pyannote-metrics/blob/14af03ca61527621cfc0a3ed7237cc2969681915/ pyannote/metrSTRING
HIGHegs2/chime8_task1/asr1/local/da_wer_scoring.py0modified from https://github.com/pyannote/ pyannote-metrics/blob/14af03ca61527621cfc0a3ed7237cc2969681915/ pyannote/metrSTRING
HIGHegs2/chime8_task1/diar_asr1/local/da_wer_scoring.py0modified from https://github.com/pyannote/ pyannote-metrics/blob/14af03ca61527621cfc0a3ed7237cc2969681915/ pyannote/metrSTRING
HIGHegs2/chime7_task1/asr1/local/da_wer_scoring.py0modified from https://github.com/pyannote/ pyannote-metrics/blob/14af03ca61527621cfc0a3ed7237cc2969681915/ pyannote/metrSTRING
HIGHegs2/chime7_task1/diar_asr1/local/da_wer_scoring.py0modified from https://github.com/pyannote/ pyannote-metrics/blob/14af03ca61527621cfc0a3ed7237cc2969681915/ pyannote/metrSTRING
HIGHegs2/chime8_task1/asr1/local/da_wer_scoring.py0dump re-ordered hypothesis as json files to allow for analyze errors. this is done for each session.STRING
HIGHegs2/chime8_task1/diar_asr1/local/da_wer_scoring.py0dump re-ordered hypothesis as json files to allow for analyze errors. this is done for each session.STRING
HIGHegs2/chime7_task1/asr1/local/da_wer_scoring.py0dump re-ordered hypothesis as json files to allow for analyze errors. this is done for each session.STRING
HIGHegs2/chime7_task1/diar_asr1/local/da_wer_scoring.py0dump re-ordered hypothesis as json files to allow for analyze errors. this is done for each session.STRING
HIGHegs2/chime8_task1/asr1/local/da_wer_scoring.py0logging diarization output to the specified output folder for each session. this is useful for analyzing errors.STRING
HIGHegs2/chime8_task1/diar_asr1/local/da_wer_scoring.py0logging diarization output to the specified output folder for each session. this is useful for analyzing errors.STRING
HIGHegs2/chime7_task1/asr1/local/da_wer_scoring.py0logging diarization output to the specified output folder for each session. this is useful for analyzing errors.STRING
HIGHegs2/chime7_task1/diar_asr1/local/da_wer_scoring.py0logging diarization output to the specified output folder for each session. this is useful for analyzing errors.STRING
HIGHegs2/chime8_task1/asr1/local/extract_noises.py0extract noises from the corpus based on the non-speech regions. e.g. {} /export/corpora4/chime5/audio/train/ \\ /export/STRING
HIGHegs2/chime8_task1/diar_asr1/local/extract_noises.py0extract noises from the corpus based on the non-speech regions. e.g. {} /export/corpora4/chime5/audio/train/ \\ /export/STRING
HIGHegs2/chime6/asr1/local/extract_noises.py0extract noises from the corpus based on the non-speech regions. e.g. {} /export/corpora4/chime5/audio/train/ \\ /export/STRING
HIGHegs2/chime7_task1/asr1/local/extract_noises.py0extract noises from the corpus based on the non-speech regions. e.g. {} /export/corpora4/chime5/audio/train/ \\ /export/STRING
HIGHegs2/chime7_task1/diar_asr1/local/extract_noises.py0extract noises from the corpus based on the non-speech regions. e.g. {} /export/corpora4/chime5/audio/train/ \\ /export/STRING
HIGHegs2/chime8_task1/asr1/local/extract_noises.py0location of the chime5 audio files. e.g. /export/corpora4/chime5/audio/train/STRING
HIGHegs2/chime8_task1/diar_asr1/local/extract_noises.py0location of the chime5 audio files. e.g. /export/corpora4/chime5/audio/train/STRING
HIGHegs2/chime6/asr1/local/extract_noises.py0location of the chime5 audio files. e.g. /export/corpora4/chime5/audio/train/STRING
HIGHegs2/chime7_task1/asr1/local/extract_noises.py0location of the chime5 audio files. e.g. /export/corpora4/chime5/audio/train/STRING
HIGHegs2/chime7_task1/diar_asr1/local/extract_noises.py0location of the chime5 audio files. e.g. /export/corpora4/chime5/audio/train/STRING
HIGHegs2/chime8_task1/asr1/local/extract_noises.py0location of the chime5 transcriptions. e.g. /export/corpora4/chime5/transcriptions/train/STRING
HIGHegs2/chime8_task1/diar_asr1/local/extract_noises.py0location of the chime5 transcriptions. e.g. /export/corpora4/chime5/transcriptions/train/STRING
HIGHegs2/chime6/asr1/local/extract_noises.py0location of the chime5 transcriptions. e.g. /export/corpora4/chime5/transcriptions/train/STRING
HIGHegs2/chime7_task1/asr1/local/extract_noises.py0location of the chime5 transcriptions. e.g. /export/corpora4/chime5/transcriptions/train/STRING
HIGHegs2/chime7_task1/diar_asr1/local/extract_noises.py0location of the chime5 transcriptions. e.g. /export/corpora4/chime5/transcriptions/train/STRING
HIGHegs2/chime8_task1/asr1/local/extract_noises.py0list of ids of the chime5 recordings from which noise is extracted. e.g. local/distant_audio_listSTRING
HIGHegs2/chime8_task1/diar_asr1/local/extract_noises.py0list of ids of the chime5 recordings from which noise is extracted. e.g. local/distant_audio_listSTRING
HIGHegs2/chime6/asr1/local/extract_noises.py0list of ids of the chime5 recordings from which noise is extracted. e.g. local/distant_audio_listSTRING
HIGHegs2/chime7_task1/asr1/local/extract_noises.py0list of ids of the chime5 recordings from which noise is extracted. e.g. local/distant_audio_listSTRING
HIGHegs2/chime7_task1/diar_asr1/local/extract_noises.py0list of ids of the chime5 recordings from which noise is extracted. e.g. local/distant_audio_listSTRING
HIGHegs2/chime8_task1/asr1/local/get_lhotse_manifests.py0slighly modified versions of lhotse recipes scripts in https://github.com/lhotse-speech/lhotse/blob/master/lhotse/recipeSTRING
HIGHegs2/chime7_task1/asr1/local/get_lhotse_manifests.py0slighly modified versions of lhotse recipes scripts in https://github.com/lhotse-speech/lhotse/blob/master/lhotse/recipeSTRING
HIGH…2/chime7_task1/diar_asr1/local/get_lhotse_manifests.py0slighly modified versions of lhotse recipes scripts in https://github.com/lhotse-speech/lhotse/blob/master/lhotse/recipeSTRING
HIGHegs2/chime8_task1/asr1/local/get_lhotse_manifests.py0returns the manifests which consist of the recordings and supervisions :param corpus_dir: pathlike, the path of dipco maSTRING
HIGHegs2/chime7_task1/asr1/local/get_lhotse_manifests.py0returns the manifests which consist of the recordings and supervisions :param corpus_dir: pathlike, the path of dipco maSTRING
HIGH…2/chime7_task1/diar_asr1/local/get_lhotse_manifests.py0returns the manifests which consist of the recordings and supervisions :param corpus_dir: pathlike, the path of dipco maSTRING
HIGHegs2/chime8_task1/asr1/local/gss_micrank.py0envelope variance channel selection method with (optionally) learnable per mel-band weights.STRING
HIGHegs2/chime8_task1/diar_asr1/local/gss_micrank.py0envelope variance channel selection method with (optionally) learnable per mel-band weights.STRING
HIGHegs2/chime7_task1/asr1/local/gss_micrank.py0envelope variance channel selection method with (optionally) learnable per mel-band weights.STRING
HIGHegs2/chime7_task1/diar_asr1/local/gss_micrank.py0envelope variance channel selection method with (optionally) learnable per mel-band weights.STRING
HIGHegs2/owsm_v2/s2t1/local/utils.py0merge a list of utterances to create a long utterance.STRING
HIGHegs2/owsm_v4/s2t1/local/utils.py0merge a list of utterances to create a long utterance.STRING
338 more matches not shown…
Over-Commented Block1543 hits · 1524 pts
SeverityFileLineSnippetContext
LOWpyproject.toml21COMMENT
LOWpyproject.toml61 "librosa>=0.10.2",COMMENT
LOWpyproject.toml81 # images for; tools/installers/install_torch.sh, which exits 1 on anythingCOMMENT
LOWpyproject.toml141 "matplotlib",COMMENT
LOW.coderabbit.yaml1# yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.jsonCOMMENT
LOWtools/installers/install_versa.sh1#!/usr/bin/env bashCOMMENT
LOWtools/installers/download_with_retry.sh1#!/usr/bin/env bashCOMMENT
LOWtools/installers/install_vidaug.sh1#!/bin/bashCOMMENT
LOWtools/installers/install_openface.sh1#!/bin/bashCOMMENT
LOWtools/installers/install_warp-transducer.sh41 cd build && cmake -DWITH_OMP="${with_openmp}" .. && makeCOMMENT
LOWtools/installers/install_nltk_data.sh1#!/usr/bin/env bashCOMMENT
LOWtools/installers/install_k2.sh1#!/usr/bin/env bashCOMMENT
LOWtools/installers/install_k2.sh21# there is nothing to install - so this path skips loudly instead of failing theCOMMENT
LOWtools/installers/install_deepxi.sh1#!/bin/bashCOMMENT
LOWtest/espnet3/utils/test_config.py21 load_line,COMMENT
LOWtest/espnet3/utils/test_config.py41# | test_config_with_self_only | `defaults: [_self_]` merges config with itself | # noqa: E501COMMENT
LOWtest/espnet3/utils/test_config.py601COMMENT
LOWtest/espnet3/components/callbacks/test_ema.py21# | test_ema_state_dict_keys_include_online | include_online_model=True |COMMENT
LOWtest/espnet3/components/callbacks/test_ema.py41# | test_ema_forward_and_model_accessors | __call__/forward_eval use |COMMENT
LOWtest/espnet3/components/callbacks/test_ema.py381 pl_module = _make_pl_module()COMMENT
LOWtest/espnet3/components/callbacks/test_ema.py401# | | the copy on first update(). |COMMENT
LOWtest/espnet3/components/callbacks/test_callback.py21# | Test Name | Description |COMMENT
LOWtest/espnet3/components/modeling/test_model.py21# |-----------------------------------|--------------------------------------------------------------------------| # noqCOMMENT
LOWtest/espnet3/components/trainers/test_trainer.py21# Test Case Summary for ESPnet3LightningTrainerCOMMENT
LOWtest/espnet3/components/data/test_dataloader_builder.py21# | test_custom_collate_fn | Uses custom collate function and checks batch structure | COMMENT
LOWtest/espnet3/components/data/test_data_organizer.py21# ===============================================================COMMENT
LOWtest/espnet3/components/data/test_data_organizer.py41# | test_data_organizer_transform_and_preprocessor | Applies both transform and |COMMENT
LOWtest/espnet3/components/data/test_data_organizer.py61# | | raises an internal exception |COMMENT
LOWtest/espnet3/components/data/test_collect_stats.py21COMMENT
LOWtest/espnet2/bin/test_demo_apps.py241COMMENT
LOWci/test_python_espnet2.sh21# pycodestyleCOMMENT
LOWci/check_ci_image_config.py821COMMENT
LOWci/no_redistribute.txt1# Packages that must NOT be baked into the prebuilt CI image, because theirCOMMENT
LOWci/no_redistribute.txt21# image may carry like any other dependency. Everything around this file staysCOMMENT
LOWci/test_integration_espnet2.sh41python3 -m pip install tomlCOMMENT
LOWci/test_integration_espnet2.sh81}COMMENT
LOWci/licence_audited.txt1# Distributions that ci/report_unlicensed.py flags for carrying no licenceCOMMENT
LOWci/licence_audited.txt21# MIT, via github.com/42qu/mmseg, whose README carries the MIT grant text.COMMENT
LOWutils/queue-freegpu.pl1#!/usr/bin/env perlCOMMENT
LOWutils/queue-freegpu.pl21# and a set of command line options.COMMENT
LOWutils/queue-freegpu.pl41# 5) Default behaviorCOMMENT
LOWutils/stdout.pl1#!/usr/bin/env perlCOMMENT
LOWutils/gdown.pl1#!/usr/bin/env perlCOMMENT
LOWegs3/TEMPLATE/esp2_asr/README.md1# ESPnet3 ASR recipeCOMMENT
LOWegs3/TEMPLATE/esp2_asr/conf/demo.yaml1##########################################################COMMENT
LOWegs3/TEMPLATE/esp2_asr/conf/demo.yaml21# like) is in the packed `conf/inference.yaml`.COMMENT
LOWegs3/TEMPLATE/esp2_asr/conf/demo.yaml61# Globs are supported, e.g. `assets/**/*.png`.COMMENT
LOWegs3/TEMPLATE/esp2_asr/conf/demo.yaml101# Upload target used by `upload_demo`.COMMENT
LOWegs3/TEMPLATE/esp2_asr/conf/training.yaml1##########################################################COMMENT
LOWegs3/TEMPLATE/esp2_asr/conf/training.yaml21# If unset, `model` is instantiated directly via Hydra.COMMENT
LOWegs3/TEMPLATE/esp2_asr/conf/training.yaml41dataset_dir: /path/to/your/datasetCOMMENT
LOWegs3/TEMPLATE/esp2_asr/conf/training.yaml61# Each dataset entry supports:COMMENT
LOWegs3/TEMPLATE/esp2_asr/conf/training.yaml81# data_src_args:COMMENT
LOWegs3/TEMPLATE/esp2_asr/conf/training.yaml101 _recursive_: falseCOMMENT
LOWegs3/TEMPLATE/esp2_asr/conf/training.yaml141scheduler_interval: step # `step` or `epoch`COMMENT
LOWegs3/TEMPLATE/esp2_asr/conf/training.yaml161# accum_grad_steps: 1 # number of backward passes before optimizer.step()COMMENT
LOWegs3/TEMPLATE/esp2_asr/conf/training.yaml181# Note:COMMENT
LOWegs3/TEMPLATE/esp2_asr/conf/training.yaml201COMMENT
LOWegs3/TEMPLATE/esp2_asr/conf/training.yaml221COMMENT
LOWegs3/TEMPLATE/esp2_asr/conf/metrics.yaml1##########################################################COMMENT
1483 more matches not shown…
Redundant / Tautological Comments1012 hits · 1519 pts
SeverityFileLineSnippetContext
LOWdocker/run.sh91# Check if image exists in the system and download if requiredCOMMENT
LOWtest/espnet2/bin/test_tts_batch_inference.py96 # Check if the model supports batch inferenceCOMMENT
LOWutils/eval_perm_free_error.py216 # Print resultsCOMMENT
LOWutils/dump.sh87# Write the filetype, this will be used for data2json.shCOMMENT
LOWutils/make_fbank.sh162# Write the filetype, this will be used for data2json.shCOMMENT
LOWutils/make_stft.sh144# Write the filetype, this will be used for data2json.shCOMMENT
LOWutils/eval-source-separation.py302 # Open files in write modeCOMMENT
LOWutils/convert_fbank.sh2# Set bash to 'debug' mode, it will exit on :COMMENT
LOWegs2/primewords_chinese/asr1/run.sh2# Set bash to 'debug' mode, it will exit on :COMMENT
LOWegs2/primewords_chinese/asr1/asr.sh3# Set bash to 'debug' mode, it will exit on :COMMENT
LOWegs2/primewords_chinese/asr1/local/data.sh6# Set bash to 'debug' mode, it will exit on :COMMENT
LOWegs2/librilight_limited/asr1/run.sh2# Set bash to 'debug' mode, it will exit on :COMMENT
LOWegs2/librilight_limited/asr1/asr.sh3# Set bash to 'debug' mode, it will exit on :COMMENT
LOWegs2/librilight_limited/asr1/local/data.sh2# Set bash to 'debug' mode, it will exit on :COMMENT
LOWegs2/misp2021/asr1/run.sh2# Set bash to 'debug' mode, it will exit on :COMMENT
LOWegs2/misp2021/asr1/asr.sh3# Set bash to 'debug' mode, it will exit on :COMMENT
LOWegs2/misp2021/avsr1/run.sh2# Set bash to 'debug' mode, it will exit on :COMMENT
LOWegs2/misp2021/avsr1/asr.sh3# Set bash to 'debug' mode, it will exit on :COMMENT
LOWegs2/easycom/avsr1/run.sh2# Set bash to 'debug' mode, it will exit on :COMMENT
LOWegs2/easycom/avsr1/asr.sh3# Set bash to 'debug' mode, it will exit on :COMMENT
LOWegs2/easycom/avsr1/local/data.sh2# Set bash to 'debug' mode, it will exit on :COMMENT
LOWegs2/coraal/asr1/run.sh2# Set bash to 'debug' mode, it will exit on :COMMENT
LOWegs2/coraal/asr1/asr.sh3# Set bash to 'debug' mode, it will exit on :COMMENT
LOWegs2/coraal/asr1/local/data.sh2# Set bash to 'debug' mode, it will exit on :COMMENT
LOWegs2/whamr/enh1/enh.sh3# Set bash to 'debug' mode, it will exit on :COMMENT
LOWegs2/whamr/enh1/run.sh2# Set bash to 'debug' mode, it will exit on :COMMENT
LOWegs2/whamr/enh1/local/whamr_data_prep.sh26# Set bash to 'debug' mode, it will exit on :COMMENT
LOWegs2/kising/svs1/run.sh2# Set bash to 'debug' mode, it will exit on :COMMENT
LOWegs2/kising/svs1/svs.sh5# Set bash to 'debug' mode, it will exit on :COMMENT
LOWegs2/conferencingspeech21/enh1/enh.sh3# Set bash to 'debug' mode, it will exit on :COMMENT
LOWegs2/conferencingspeech21/enh1/run.sh2# Set bash to 'debug' mode, it will exit on :COMMENT
LOWegs2/kn_openslr126/asr1/run.sh2# Set bash to 'debug' mode, it will exit on :COMMENT
LOWegs2/kn_openslr126/asr1/asr.sh3# Set bash to 'debug' mode, it will exit on :COMMENT
LOWegs2/chime8_task1/asr1/run.sh2# Set bash to 'debug' mode, it will exit on :COMMENT
LOWegs2/chime8_task1/asr1/asr.sh3# Set bash to 'debug' mode, it will exit on :COMMENT
LOWegs2/chime8_task1/diar_asr1/run_gss_asr.sh2# Set bash to 'debug' mode, it will exit on :COMMENT
LOWegs2/chime8_task1/diar_asr1/run.sh2# Set bash to 'debug' mode, it will exit on :COMMENT
LOWegs2/chime8_task1/diar_asr1/asr.sh3# Set bash to 'debug' mode, it will exit on :COMMENT
LOWegs2/covost2/mt1/mt.sh3# Set bash to 'debug' mode, it will exit on :COMMENT
LOWegs2/covost2/mt1/run.sh2# Set bash to 'debug' mode, it will exit on :COMMENT
LOWegs2/covost2/mt1/local/data.sh42# Set bash to 'debug' mode, it will exit on :COMMENT
LOWegs2/covost2/asr1/run.sh2# Set bash to 'debug' mode, it will exit on :COMMENT
LOWegs2/covost2/asr1/asr.sh3# Set bash to 'debug' mode, it will exit on :COMMENT
LOWegs2/covost2/asr1/local/data.sh42# Set bash to 'debug' mode, it will exit on :COMMENT
LOWegs2/covost2/st1/run.sh2# Set bash to 'debug' mode, it will exit on :COMMENT
LOWegs2/covost2/st1/st.sh3# Set bash to 'debug' mode, it will exit on :COMMENT
LOWegs2/covost2/st1/local/data.sh42# Set bash to 'debug' mode, it will exit on :COMMENT
LOWegs2/multimed_st/s2t1/s2t.sh3# Set bash to 'debug' mode, it will exit on :COMMENT
LOWegs2/ami/asr1/run.sh2# Set bash to 'debug' mode, it will exit on :COMMENT
LOWegs2/ami/asr1/asr.sh3# Set bash to 'debug' mode, it will exit on :COMMENT
LOWegs2/ami/asr1/local/data.sh4# Set bash to 'debug' mode, it will exit on :COMMENT
LOWegs2/namine_ritsu_utagoe_db/svs1/run.sh2# Set bash to 'debug' mode, it will exit on :COMMENT
LOWegs2/namine_ritsu_utagoe_db/svs1/svs.sh5# Set bash to 'debug' mode, it will exit on :COMMENT
LOWegs2/owsm_v2/s2t1/dump.sh2# Set bash to 'debug' mode, it will exit on :COMMENT
LOWegs2/owsm_v2/s2t1/s2t.sh3# Set bash to 'debug' mode, it will exit on :COMMENT
LOWegs2/owsm_v2/s2t1/run.sh2# Set bash to 'debug' mode, it will exit on :COMMENT
LOW…owsm_v2/s2t1/local/prepare_multilingual_librispeech.sh2# Set bash to 'debug' mode, it will exit on :COMMENT
LOWegs2/owsm_v2/s2t1/local/prepare_tedlium_filtered.sh2# Set bash to 'debug' mode, it will exit on :COMMENT
LOWegs2/owsm_v2/s2t1/local/prepare_wenetspeech.sh2# Set bash to 'debug' mode, it will exit on :COMMENT
LOWegs2/owsm_v2/s2t1/local/combine.sh2# Set bash to 'debug' mode, it will exit on :COMMENT
952 more matches not shown…
Decorative Section Separators381 hits · 1300 pts
SeverityFileLineSnippetContext
MEDIUMtools/installers/install_vidaug.sh2#==============================================================================COMMENT
MEDIUMtools/installers/install_vidaug.sh11#==============================================================================COMMENT
MEDIUMtools/installers/install_openface.sh2#==============================================================================COMMENT
MEDIUMtools/installers/install_openface.sh14#==============================================================================COMMENT
MEDIUMtools/installers/install_deepxi.sh2#==============================================================================COMMENT
MEDIUMtools/installers/install_deepxi.sh12#==============================================================================COMMENT
MEDIUMtest/espnet3/demo/test_pack.py321# ---------------------------------------------------------------------------COMMENT
MEDIUMtest/espnet3/demo/test_pack.py323# ---------------------------------------------------------------------------COMMENT
MEDIUMtest/espnet3/parallel/test_inference_runner.py173# ===============================================================COMMENT
MEDIUMtest/espnet3/parallel/test_inference_runner.py175# ===============================================================COMMENT
MEDIUMtest/espnet3/utils/test_task_utils.py18# ===============================================================COMMENT
MEDIUMtest/espnet3/utils/test_task_utils.py20# ===============================================================COMMENT
MEDIUMtest/espnet3/utils/test_config.py24# ===============================================================COMMENT
MEDIUMtest/espnet3/utils/test_config.py26# ===============================================================COMMENT
MEDIUM⚡test/espnet3/utils/test_config.py602# ===============================================================STRING
MEDIUM⚡test/espnet3/utils/test_config.py604# ===============================================================STRING
MEDIUM⚡test/espnet3/utils/test_config.py812# ===============================================================STRING
MEDIUM⚡test/espnet3/utils/test_config.py814# ===============================================================STRING
MEDIUM⚡test/espnet3/utils/test_publish.py47# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡test/espnet3/utils/test_publish.py49# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡test/espnet3/utils/test_publish.py115# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡test/espnet3/utils/test_publish.py117# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡test/espnet3/utils/test_publish.py234# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡test/espnet3/utils/test_publish.py236# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡test/espnet3/utils/test_publish.py277# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡test/espnet3/utils/test_publish.py279# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡test/espnet3/utils/test_publish.py942# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡test/espnet3/utils/test_publish.py944# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡test/espnet3/utils/test_publish.py1009# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡test/espnet3/utils/test_publish.py1011# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡test/espnet3/utils/test_publish.py1063# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡test/espnet3/utils/test_publish.py1065# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡test/espnet3/utils/test_publish.py1218# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡test/espnet3/utils/test_publish.py1220# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡test/espnet3/components/callbacks/test_ema.py84# ---------------------------------------------------------------COMMENT
MEDIUM⚡test/espnet3/components/callbacks/test_ema.py86# ---------------------------------------------------------------COMMENT
MEDIUM⚡test/espnet3/components/callbacks/test_ema.py390# ---------------------------------------------------------------COMMENT
MEDIUM⚡test/espnet3/components/callbacks/test_ema.py392# ---------------------------------------------------------------COMMENT
MEDIUMtest/espnet3/components/callbacks/test_ema.py12# ===============================================================COMMENT
MEDIUMtest/espnet3/components/callbacks/test_ema.py14# ===============================================================COMMENT
MEDIUMtest/espnet3/components/callbacks/test_ema.py242# ---------------------------------------------------------------COMMENT
MEDIUMtest/espnet3/components/callbacks/test_ema.py244# ---------------------------------------------------------------COMMENT
MEDIUMtest/espnet3/components/callbacks/test_ema.py653# ---------------------------------------------------------------COMMENT
MEDIUMtest/espnet3/components/callbacks/test_ema.py655# ---------------------------------------------------------------COMMENT
MEDIUMtest/espnet3/components/callbacks/test_callback.py16# ===============================================================COMMENT
MEDIUMtest/espnet3/components/callbacks/test_callback.py18# ===============================================================COMMENT
MEDIUMtest/espnet3/components/modeling/test_model.py15# ===============================================================COMMENT
MEDIUMtest/espnet3/components/modeling/test_model.py17# ===============================================================COMMENT
MEDIUMtest/espnet3/components/trainers/test_trainer.py20# ===============================================================COMMENT
MEDIUMtest/espnet3/components/trainers/test_trainer.py22# ===============================================================COMMENT
MEDIUMtest/espnet3/components/data/test_dataloader_builder.py27# ===============================================================COMMENT
MEDIUMtest/espnet3/components/data/test_dataloader_builder.py29# ===============================================================COMMENT
MEDIUM⚡test/espnet3/components/data/test_data_organizer.py972# -----------------------------------------------------------------------COMMENT
MEDIUM⚡test/espnet3/components/data/test_data_organizer.py974# -----------------------------------------------------------------------COMMENT
MEDIUMtest/espnet3/components/data/test_data_organizer.py21# ===============================================================COMMENT
MEDIUMtest/espnet3/components/data/test_data_organizer.py23# ===============================================================COMMENT
MEDIUM⚡test/espnet3/components/data/test_collect_stats.py231# ------------COMMENT
MEDIUM⚡test/espnet3/components/data/test_collect_stats.py233# ------------COMMENT
MEDIUM⚡test/espnet3/components/data/test_collect_stats.py359# ----------------------------COMMENT
MEDIUM⚡test/espnet3/components/data/test_collect_stats.py361# ----------------------------COMMENT
321 more matches not shown…
Unused Imports805 hits · 796 pts
SeverityFileLineSnippetContext
LOWtools/check_install.py15CODE
LOWtools/check_install.py98CODE
LOWtest/ci/test_check_espnet3_parallel_workers.py8CODE
LOWtest/espnet3/conftest.py56CODE
LOWtest/espnet3/demo/test_pack.py1CODE
LOWtest/espnet3/demo/test_app_builder.py3CODE
LOWtest/espnet3/parallel/test_inference_runner.py2CODE
LOWtest/espnet3/utils/test_writer_utils.py1CODE
LOWtest/espnet3/utils/test_logging.py1CODE
LOWtest/espnet3/utils/test_publish.py1CODE
LOWtest/espnet3/api/test_inference.py7CODE
LOWtest/espnet3/api/test_loading.py3CODE
LOWtest/espnet3/systems/esp2_asr/test_inference.py3CODE
LOWtest/espnet3/systems/esp2_asr/metrics/test_metrics.py26CODE
LOWtest/espnet3/systems/esp2_asr/metrics/test_metrics.py44CODE
LOWtest/espnet3/systems/esp2_asr/metrics/test_metrics.py62CODE
LOWtest/espnet3/systems/esp2_asr/metrics/test_metrics.py115CODE
LOWtest/espnet3/systems/esp2_asr/metrics/test_metrics.py128CODE
LOWtest/espnet3/systems/base/test_inference_runner_api.py3CODE
LOWtest/espnet3/systems/base/test_backend_inference.py3CODE
LOWtest/espnet2/layers/test_houlsby_adapter_layer.py5CODE
LOWtest/espnet2/layers/test_houlsby_adapter_layer.py6CODE
LOWtest/espnet2/bin/test_macos_mps_model.py4CODE
LOWtest/espnet2/bin/test_macos_mps_model.py4CODE
LOW…net2/gan_tts/parallel_wavegan/test_parallel_wavegan.py130CODE
LOW…net2/gan_tts/parallel_wavegan/test_parallel_wavegan.py143CODE
LOWtest/espnet2/gan_tts/hifigan/test_hifigan.py178CODE
LOWtest/espnet2/gan_tts/hifigan/test_hifigan.py190CODE
LOWtest/espnet2/gan_tts/style_melgan/test_style_melgan.py117CODE
LOWtest/espnet2/gan_tts/style_melgan/test_style_melgan.py129CODE
LOWtest/espnet2/gan_tts/melgan/test_melgan.py127CODE
LOWtest/espnet2/gan_tts/melgan/test_melgan.py139CODE
LOWtest/espnet2/asr/test_ctc.py44CODE
LOWtest/espnet2/gan_codec/test_dac.py6CODE
LOWtest/espnet2/gan_codec/test_soundstream.py6CODE
LOWtest/espnet2/gan_codec/test_funcodec.py6CODE
LOWtest/espnet2/gan_codec/test_encodec.py6CODE
LOWtest/espnet2/gan_svs/visinger/test_visinger_plus.py8CODE
LOWtest/espnet2/gan_svs/visinger/test_visinger_plus.py237CODE
LOWtest/espnet2/gan_svs/visinger/test_visinger_plus.py429CODE
LOWtest/espnet2/gan_svs/visinger/test_visinger.py8CODE
LOWtest/espnet2/gan_svs/visinger/test_visinger.py892CODE
LOWtest/espnet2/gan_svs/visinger/test_visinger.py1081CODE
LOWtest/espnet2/speechlm/model/conftest.py22CODE
LOWtest/espnet2/speechlm/trainer/conftest.py124CODE
LOWtest/espnet2/speechlm/trainer/conftest.py125CODE
LOWtest_utils/patch_demo_config.py7CODE
LOW…_utils/egs3/integration_test/esp2_asr/src/app_image.py3CODE
LOW…ion/demo_test_model_pack_default/demo_test_provider.py1CODE
LOW…tion/demo_test_model_pack_custom/demo_test_provider.py1CODE
LOWci/test_import_all.py8CODE
LOWci/test_import_all.py14CODE
LOWci/check_espnet3_parallel_workers.py35CODE
LOWci/test_integration_espnet3_publication_check.py9CODE
LOWci/test_demo_ui.py1CODE
LOWegs3/TEMPLATE/esp2_asr/run.py4CODE
LOWegs3/TEMPLATE/esp2_asr/run.py7CODE
LOWegs3/TEMPLATE/esp2_asr/src/app.py3CODE
LOWegs3/spgispeech/esp2_asr/dataset/__init__.py3CODE
LOWegs3/spgispeech/esp2_asr/dataset/__init__.py4CODE
745 more matches not shown…
Docstring Block Structure146 hits · 730 pts
SeverityFileLineSnippetContext
HIGHespnet/__init__.py137Load a published ESPnet model and return its inference object. The model is downloaded from https://huggingface.co/STRING
HIGHegs3/spgispeech/esp2_asr/dataset/dataset.py134Torch dataset that reads SPGISpeech from the raw corpus directly. Args: split: One of the supported split nSTRING
HIGHegs3/mini_an4/esp2_asr/dataset/builder.py62Check whether raw AN4 source files are already available. Args: recipe_dir: Recipe root directory. STRING
HIGHegs3/mini_an4/esp2_asr/dataset/builder.py90Prepare raw AN4 source data under ``dataset_path``. Args: recipe_dir: Recipe root directory. STRING
HIGHegs3/mini_an4/esp2_asr/dataset/builder.py130Check whether task-ready manifest files are already built. Args: recipe_dir: Recipe root directory.STRING
HIGHegs3/mini_an4/esp2_asr/dataset/builder.py157Build train/valid/test manifests and converted WAV files. Args: recipe_dir: Recipe root directory. STRING
HIGHegs3/librispeech_100/esp2_asr/dataset/dataset.py76Torch dataset that reads LibriSpeech from the original directory layout. Args: split: LibriSpeech split dirSTRING
HIGHegs3/librispeech_100/esp2_asr/src/tokenizer.py27Collect transcript text for tokenizer training. Args: recipe_dir: Recipe root used to resolve the local dowSTRING
HIGHegs2/spoken_chatbot_arena/sds1/app.py176 Handles the evaluation of a selected metric based on user input and provided outputs. This function evaluaSTRING
HIGHegs2/spoken_chatbot_arena/sds1/app.py278 Handles the evaluation of a selected metric based on user input and provided outputs. This function evaluaSTRING
HIGHegs2/spoken_chatbot_arena/sds1/app.py436 Processes and transcribes an audio stream in real-time. This function handles the transcription of audio inputSTRING
HIGHegs2/TEMPLATE/sds1/app.py176 Handles the evaluation of a selected metric based on user input and provided outputs. This function evaluaSTRING
HIGHegs2/TEMPLATE/sds1/app.py278 Handles the evaluation of a selected metric based on user input and provided outputs. This function evaluaSTRING
HIGHegs2/TEMPLATE/sds1/app.py436 Processes and transcribes an audio stream in real-time. This function handles the transcription of audio inputSTRING
HIGH…sr1/pyscripts/utils/dialog_eval/TTS_intelligibility.py16 Compute and return Word Error Rate (WER) and Character Error Rate (CER) metrics for multiple ASR systems (ESPneSTRING
HIGH…asr1/pyscripts/utils/dialog_eval/TTS_speech_quality.py14 Compute and return speech quality metrics for the given synthesized audio output using the Versa library. STRING
HIGH…MPLATE/asr1/pyscripts/utils/dialog_eval/LLM_Metrics.py22 Compute the perplexity of the given text using a specified model from the `evaluate` library (default: GPT-2). STRING
HIGH…2/TEMPLATE/asr1/pyscripts/utils/dialog_eval/ASR_WER.py16 Compute and return Word Error Rate (WER) and Character Error Rate (CER) metrics for multiple judge ASR systems STRING
HIGHespnet3/parallel/base_runner.py96Compute items for the given index or batch (to be implemented by subclasses). Keep this as a ``@staticmethod`` STRING
HIGHespnet3/parallel/parallel.py229Wrap a user-defined function for a WorkerPlugin. This wrapper inspects the function's signature and automatically STRING
HIGHespnet3/publication/demo/session.py59A packed demo, loaded: its config, its model and the UI specs. Recipe-local ``app.py`` files build any Gradio layouSTRING
HIGHespnet3/publication/demo/session.py159Return the function the Run button calls. It takes the input components' values positionally, in the order STRING
HIGHespnet3/publication/demo/session.py215Load a packed demo into a runtime session. Args: demo_dir: Packed demo directory. demo_config_path:STRING
HIGHespnet3/publication/demo/packing.py28Package a demo into a self-contained directory ready for upload. Reads ``system.demo_config`` and produces a directSTRING
HIGHespnet3/publication/demo/packing.py98Upload a packed demo directory to a Hugging Face Space. Expects the demo to have been packed already via :func:`pacSTRING
HIGHespnet3/publication/demo/assets.py49Build one input component for a demo spec. Args: spec: One resolved entry from ``demo_config.ui.inpSTRING
HIGHespnet3/publication/demo/assets.py65Build one output component for a demo spec. Args: spec: One resolved entry from ``demo_config.ui.ouSTRING
HIGHespnet3/publication/demo/assets.py165Return one registered asset. Args: name: Asset type name from demo config. Returns: STRING
HIGHespnet3/utils/publication_utils.py589Pack model artifacts for publishing. Args: training_config: Training configuration with ``recipe_dir`` and STRING
HIGHespnet3/utils/publication_utils.py739Upload packed model artifacts to a Hugging Face model repo. Args: system: ESPnet3 system instance with ``puSTRING
HIGHespnet3/utils/scp_utils.py9Return an utterance id as the string an SCP line and a file name take. An SCP line is ``<id> <value>``, so the id mSTRING
HIGHespnet3/utils/scp_utils.py68Resolve metric input aliases to SCP file paths. This function does not read SCP contents. It only validates that thSTRING
HIGHespnet3/utils/stages_utils.py76Parse CLI arguments and expand the requested stage selection. This helper is a thin wrapper around ``ArgumentParserSTRING
HIGHespnet3/utils/run_utils.py29Return whether a config value should be treated as absent. This helper normalizes the common "missing" checks used STRING
HIGHespnet3/utils/run_utils.py53Return whether a config can resolve experiment output paths on its own. Standalone inference or metrics configs areSTRING
HIGHespnet3/utils/run_utils.py94Copy selected runner context keys from one config into another. The runner uses this helper to keep runtime configsSTRING
HIGHespnet3/utils/run_utils.py228Apply runner context propagation across stage configs. Runner entry points call this after loading configs and befoSTRING
HIGHespnet3/utils/run_utils.py422Validate that runtime configs have enough experiment identity. This helper enforces the two supported runner modes:STRING
HIGHespnet3/utils/run_utils.py525Resolve a set of already-loaded configs in place. Runner entry points use `load_and_merge_config(..., resolve=FalseSTRING
HIGHespnet3/utils/config_utils.py46Return the current config stem for `${self_name:}` interpolation. This resolver supports config values such as `expSTRING
HIGHespnet3/utils/config_utils.py85Return an absolute path rewritten by ``_normalize_relative_resolver_paths``. Used as ``${config_path:../src/file.mdSTRING
HIGHespnet3/utils/config_utils.py113Passthrough for ``${set_corpus_and_system:}`` after load-time rewriting. This resolver is used as ``${set_corpus_anSTRING
HIGHespnet3/utils/logging_utils.py62Write per-stage metadata into the active stage log. This helper records the invocation context that is useful when STRING
HIGHespnet3/utils/logging_utils.py691Return a compact, fully-qualified name for objects or classes. Description: Produces a stable, human-readabSTRING
HIGHespnet3/utils/logging_utils.py735Return a fully-qualified name for callables when possible. Description: Uses module + qualname for callableSTRING
HIGHespnet3/utils/logging_utils.py880Log a component instance with class info, repr, and attributes. Description: Emits a structured log block fSTRING
HIGHespnet3/utils/logging_utils.py953Log a dictionary of instances with a common kind label. Description: Iterates over the provided mapping andSTRING
HIGHespnet3/components/metrics/base_metric.py73Yield rows from one or more SCP inputs with shared utterance IDs. This helper reads one or more SCP files in loSTRING
HIGHespnet3/components/callbacks/default_callbacks.py25Convert one logged scalar metric value to ``float``. Tensor values are detached first. Only scalar values are suppoSTRING
HIGHespnet3/components/callbacks/default_callbacks.py73A custom callback for weight averaging over the top-K checkpoints. This can be useful to smooth out fluctuations inSTRING
HIGHespnet3/components/callbacks/default_callbacks.py204Log compact train and validation metric summaries. This callback owns the human-readable metric logging for the defSTRING
HIGHespnet3/components/modeling/lightning_module.py29Build a static model summary for logs or publication metadata. Args: model: PyTorch model instance to summaSTRING
HIGHespnet3/components/modeling/lightning_module.py800Log model/optimizer/scheduler details for training runs. Description: Emits a compact summary of thSTRING
HIGHespnet3/components/data/epoch_sync_iterator.py75Return the number of batches in one pass over the source. In distributed runs this is an upper bound: the epochSTRING
HIGHespnet3/components/data/dataset_builder.py9Interface for recipe-local dataset preparation helpers. This abstract class defines the contract used by the ``STRING
HIGHespnet3/components/data/dataset_builder.py57Check whether the raw source artifacts are already available. This method should answer only whether the sourceSTRING
HIGHespnet3/components/data/dataset_builder.py97Materialize the raw source artifacts needed by the dataset. Implementations typically download archives, copy dSTRING
HIGHespnet3/components/data/dataset_builder.py129Check whether task-ready dataset artifacts already exist. This method should report readiness of the outputs coSTRING
HIGHespnet3/components/data/dataset_builder.py167Build task-ready artifacts from the prepared source artifacts. This method transforms the prepared source tree STRING
HIGHespnet3/components/data/dataset.py372Return a sharded version of the combined dataset. This is used when handling large datasets that are split intoSTRING
86 more matches not shown…
Deep Nesting637 hits · 629 pts
SeverityFileLineSnippetContext
LOWtools/check_install.py62CODE
LOWtest/espnet3/parallel/test_inference_runner.py145CODE
LOWtest/espnet2/enh/separator/test_beamformer.py78CODE
LOWtest/espnet2/bin/test_from_pretrained_routing.py19CODE
LOWtest/espnet2/legacy/test_batch_beam_search_memory.py25CODE
LOWtest/espnet2/legacy/test_batch_beam_search_memory.py126CODE
LOWtest/espnet2/legacy/test_batch_beam_search_batched.py341CODE
LOWtest/espnet2/legacy/test_subsampling.py113CODE
LOWtest/espnet2/legacy/test_nets_utils.py61CODE
LOWtest/espnet2/train/test_dataset.py11CODE
LOWtest/espnet2/train/test_iterable_dataset.py11CODE
LOW…st/espnet2/gan_svs/visinger/test_visinger_generator.py96CODE
LOW…st/espnet2/gan_svs/visinger/test_visinger_generator.py274CODE
LOWtest/espnet2/text/test_phoneme_tokenizer.py81CODE
LOW…/espnet2/iterators/test_category_chunk_iter_factory.py22CODE
LOWtest/espnet2/iterators/test_chunk_iter_factory.py22CODE
LOWtest/espnet2/iterators/test_chunk_iter_factory.py99CODE
LOW…_utils/egs3/integration_test/esp2_asr/src/app_image.py17CODE
LOWtest_utils/speechlm/prepare_bagpiper_smoke.py20CODE
LOWci/check_demo_links.py181CODE
LOWci/check_demo_links.py332CODE
LOWci/check_demo_links.py450CODE
LOWci/check_ci_image_config.py599CODE
LOWci/check_ci_image_config.py678CODE
LOWci/check_ci_image_config.py741CODE
LOWci/check_ci_image_config.py911CODE
LOWci/check_ci_image_config.py1025CODE
LOWci/check_ci_image_config.py1143CODE
LOWci/check_ci_image_config.py1334CODE
LOWci/check_ci_image_config.py1402CODE
LOWci/check_ci_image_config.py1432CODE
LOWci/check_espnet3_parallel_workers.py138CODE
LOWci/image_variants.py65CODE
LOWci/test_demo_ui.py39CODE
LOWci/test_demo_ui.py116CODE
LOWci/check_front_ends.py102CODE
LOWutils/eval_perm_free_error.py89CODE
LOWutils/calculate_rtf.py63CODE
LOWutils/json2sctm.py30CODE
LOWutils/text2token.py68CODE
LOWutils/eval-source-separation.py75CODE
LOWutils/eval-source-separation.py244CODE
LOWutils/trn2ctm.py24CODE
LOWutils/average_checkpoints.py13CODE
LOWutils/change_yaml.py35CODE
LOWegs3/spgispeech/esp2_asr/dataset/builder.py308CODE
LOWegs3/spgispeech/esp2_asr/dataset/builder.py356CODE
LOWegs3/mini_an4/esp2_asr/dataset/builder.py156CODE
LOWegs3/librispeech_100/esp2_asr/dataset/dataset.py38CODE
LOWegs2/misp2021/asr1/local/prepare_far_data.py358CODE
LOWegs2/misp2021/asr1/local/prepare_far_data.py92CODE
LOWegs2/misp2021/asr1/local/run_wpe.py14CODE
LOWegs2/misp2021/avsr1/local/prepare_far_data.py358CODE
LOWegs2/misp2021/avsr1/local/prepare_far_data.py92CODE
LOWegs2/misp2021/avsr1/local/prepare_far_video_roi.py55CODE
LOWegs2/misp2021/avsr1/local/prepare_far_video_roi.py247CODE
LOWegs2/misp2021/avsr1/local/run_wpe.py14CODE
LOWegs2/easycom/avsr1/local/extract_av_feature.py95CODE
LOWegs2/easycom/avsr1/local/scp_gen.py6CODE
LOWegs2/easycom/avsr1/local/preprocessing.py26CODE
577 more matches not shown…
AI Structural Patterns409 hits · 404 pts
SeverityFileLineSnippetContext
LOWegs3/mini_an4/esp2_asr/src/preprocessor.py14CODE
LOWegs2/chime8_task1/diar_asr1/local/pyannote_finetune.py22CODE
LOW…clotho_v2/asr1/local/data_prep_clotho_chatgpt_mixup.py23CODE
LOWegs2/owsm_v4/s2t1/local/lid.py70CODE
LOW…/lipreading1/local/feature_extract/video_processing.py159CODE
LOW…lipreading1/local/feature_extract/models/pretrained.py42CODE
LOW…ps/libs/nnet3/train/frame_level_objf/acoustic_model.py21CODE
LOW…1/steps/libs/nnet3/train/frame_level_objf/raw_model.py20CODE
LOW…asr1/steps/libs/nnet3/train/frame_level_objf/common.py174CODE
LOW…r1/steps/libs/nnet3/train/chain_objf/acoustic_model.py65CODE
LOWegs2/chime7_task1/diar_asr1/local/pyannote_finetune.py22CODE
LOWegs2/catslu/asr1/local/data_prep.py34CODE
LOWespnet3/components/callbacks/vendored_ema.py111CODE
LOWespnet3/systems/f5tts/cfm.py63CODE
LOWespnet3/systems/f5tts/cfm.py112CODE
LOWespnet3/systems/f5tts/f5tts.py33CODE
LOWespnet3/systems/f5tts/inference.py152CODE
LOWespnet3/systems/f5tts/modules.py62CODE
LOWespnet3/systems/f5tts/dit.py233CODE
LOWespnet3/systems/f5tts/dit.py456CODE
LOWespnet2/uasr/espnet_model.py35CODE
LOWespnet2/uasr/generator/conv_generator.py41CODE
LOWespnet2/uasr/discriminator/conv_discriminator.py29CODE
LOWespnet2/spk/layers/resnet_block.py37CODE
LOWespnet2/spk/layers/resnet_block.py75CODE
LOWespnet2/spk/layers/rawnet_block.py113CODE
LOWespnet2/spk/encoder/resnet_encoder.py92CODE
LOWespnet2/spk/encoder/ska_tdnn_encoder.py152CODE
LOWespnet2/spk/encoder/ska_tdnn_encoder.py196CODE
LOWespnet2/spk/encoder/ska_tdnn_encoder.py269CODE
LOWespnet2/spk/encoder/conformer_encoder.py80CODE
LOWespnet2/diar/decoder/linear_decoder.py28CODE
LOWespnet2/enh/espnet_model.py32CODE
LOWespnet2/enh/layers/uses.py51CODE
LOWespnet2/enh/layers/uses.py188CODE
LOWespnet2/enh/layers/uses.py407CODE
LOWespnet2/enh/layers/dptnet.py173CODE
LOWespnet2/enh/layers/dnn_beamformer.py59CODE
LOWespnet2/enh/layers/tcn.py162CODE
LOWespnet2/enh/layers/dnn_wpe.py13CODE
LOWespnet2/enh/layers/dc_crn.py100CODE
LOWespnet2/enh/layers/dc_crn.py208CODE
LOWespnet2/enh/layers/dc_crn.py313CODE
LOWespnet2/enh/layers/dc_crn.py507CODE
LOWespnet2/enh/layers/uses2_comp.py73CODE
LOWespnet2/enh/layers/uses2_comp.py223CODE
LOWespnet2/enh/layers/complexnn.py167CODE
LOWespnet2/enh/layers/complexnn.py253CODE
LOWespnet2/enh/layers/bsrnn.py16CODE
LOWespnet2/enh/layers/bsrnn.py141CODE
LOWespnet2/enh/layers/dcunet.py329CODE
LOWespnet2/enh/layers/dcunet.py468CODE
LOWespnet2/enh/layers/dprnn.py170CODE
LOWespnet2/enh/layers/dprnn.py339CODE
LOWespnet2/enh/layers/tcndenseunet.py62CODE
LOWespnet2/enh/layers/tcndenseunet.py234CODE
LOWespnet2/enh/layers/tcndenseunet.py454CODE
LOWespnet2/enh/layers/uses2_swin.py55CODE
LOWespnet2/enh/layers/uses2_swin.py153CODE
LOWespnet2/enh/layers/uses2_swin.py344CODE
349 more matches not shown…
Excessive Try-Catch Wrapping254 hits · 340 pts
SeverityFileLineSnippetContext
LOWtools/test_soundfile.py44 except Exception:CODE
LOWtest/espnet3/conftest.py57 except Exception:CODE
LOWtest/espnet2/bin/test_lid_inference.py85 except Exception as e:CODE
LOWtest/espnet2/bin/test_tts_inference.py62 except Exception:CODE
LOW⚡test/espnet2/bin/test_whisper_export_vocabulary.py21 except Exception as e:CODE
LOW⚡test/espnet2/bin/test_whisper_export_vocabulary.py28 except Exception as e:CODE
LOW⚡test/espnet2/bin/test_whisper_export_vocabulary.py35 except Exception as e:CODE
LOW⚡test/espnet2/bin/test_whisper_export_vocabulary.py96 except Exception as e:CODE
MEDIUMtest/espnet2/bin/test_whisper_export_vocabulary.py18def test_export_vocabulary_to_stdout():CODE
MEDIUMtest/espnet2/bin/test_whisper_export_vocabulary.py25def test_export_multilinugal_vocabulary_to_stdout():CODE
MEDIUMtest/espnet2/bin/test_whisper_export_vocabulary.py32def test_export_multilingual_vocabulary_to_stdout():CODE
MEDIUMtest/espnet2/bin/test_whisper_export_vocabulary.py93def test_export_vocabulary_to_stdout_sot():CODE
LOWtest/espnet2/speechlm/model/conftest.py27 except Exception:CODE
MEDIUMtest/espnet2/speechlm/model/conftest.py20def _liger_fused_ce_importable():CODE
LOWtest/espnet2/speechlm/trainer/conftest.py126 except Exception:CODE
LOWtest/espnet2/speechlm/trainer/conftest.py153 except Exception:CODE
LOWtest_utils/test_spk_embed_parallel.sh165 except Exception:CODE
LOWci/check_demo_links.py846 except Exception:CODE
LOWci/test_import_all.py9except Exception:CODE
LOWci/test_import_all.py15except Exception:CODE
LOWci/test_import_all.py46 except Exception as e:CODE
MEDIUMci/test_import_all.py52 print(f"Error: Failed to import {len(failed_imports)} modules")CODE
LOWci/test_integration_espnet3_publication_check.py54 except Exception:CODE
LOWci/check_inference_imports.py82 except Exception:CODE
MEDIUMci/check_inference_imports.py86 print(f"Error: {len(failed)} inference modules do not import with {what}")CODE
LOWegs3/spgispeech/esp2_asr/dataset/builder.py394 except Exception as exc:CODE
LOWegs2/coraal/asr1/local/text_normalization.py69 except Exception:CODE
LOWegs2/multimed_st/s2t1/local/prepare_multimed_st.py146 except Exception as e:CODE
LOW…owsm_v2/s2t1/local/prepare_multilingual_librispeech.py29 except Exception as e:CODE
LOW…clotho_v2/asr1/local/data_prep_clotho_chatgpt_mixup.py177 except Exception as e:CODE
LOWegs2/clotho_v2/asr1/local/evaluation.py36 except Exception as exc:CODE
LOWegs2/dns_icassp22/enh1/local/noisyspeech_synthesizer.py270 except Exception as e:CODE
LOWegs2/owsm_v4/s2t1/local/ctc_seg.py274 except Exception as e:CODE
LOWegs2/owsm_v4/s2t1/local/lid.py166 except Exception as e:CODE
MEDIUMegs2/owsm_v4/s2t1/local/lid.py167 print(f"Error: {e}")CODE
LOWegs2/owsm_v3/s2t1/local/prepare_fleurs.py21except Exception:CODE
LOWegs2/voxlingua107/lid1/local/score.py33 except Exception as e:CODE
LOWegs2/voxlingua107/lid1/local/score.py65 except Exception as e:CODE
LOWegs2/fleurs/asr1/local/score_lang_id.py44 except Exception:CODE
LOWegs2/fleurs/asr1/local/create_dataset.py8except Exception:CODE
MEDIUMegs2/fleurs/asr1/local/create_dataset.py10 print("Error importing datasets library")CODE
LOWegs2/kinyarwanda_tts/tts1/local/data_prep.py52 except Exception as e:CODE
MEDIUMegs2/kinyarwanda_tts/tts1/local/data_prep.py54 print(f"Error {i}: {e}. Type: {type(audio_data)}")CODE
LOW…/lipreading1/local/feature_extract/video_processing.py148 except Exception:CODE
MEDIUMegs2/edacc/asr1/local/truncate_test.py37 print("Error: Kaldi files not found in the specified directory.")CODE
LOW⚡egs2/spoken_chatbot_arena/sds1/app.py370 except Exception:CODE
LOW⚡egs2/spoken_chatbot_arena/sds1/app.py380 except Exception:CODE
LOW⚡egs2/spoken_chatbot_arena/sds1/app.py390 except Exception:CODE
LOWegs2/libritts_r/rst1/local/prepare_rir_pool.py89 except Exception as err: # infeasible geometry; redraw and retryCODE
LOWegs2/libritts_r/rst1/local/prepare_rir_pool.py160 except Exception as e:CODE
LOW⚡egs2/libritts_r/rst1/local/score.py200 except Exception as e:CODE
LOWegs2/microsoft_speech/asr1/local/process.py77 except Exception as e:CODE
LOWegs2/microsoft_speech/asr1/local/process.py105 except Exception as e:CODE
LOWegs2/totonac/asr1/local/data_prep.py68 except Exception:CODE
MEDIUMegs2/totonac/asr1/local/data_prep.py65def ELANProcess(afile, spk_info):CODE
LOW⚡egs2/TEMPLATE/sds1/app.py370 except Exception:CODE
LOW⚡egs2/TEMPLATE/sds1/app.py380 except Exception:CODE
LOW⚡egs2/TEMPLATE/sds1/app.py390 except Exception:CODE
LOWegs2/TEMPLATE/lid1/local/score.py33 except Exception as e:CODE
LOWegs2/TEMPLATE/lid1/local/score.py65 except Exception as e:CODE
194 more matches not shown…
Self-Referential Comments110 hits · 262 pts
SeverityFileLineSnippetContext
MEDIUMtools/extra_path.sh3# This file is a configuration fle for the commond settingCOMMENT
MEDIUMtools/extra_path.sh5# This file is mainly sourced in egs2/*/*/path.sh. e.g. egs2/mini_an4/asr1/path.shCOMMENT
MEDIUMtest/espnet3/components/data/test_collect_stats.py71 # Create a simple pattern to let us verify sums deterministicallyCOMMENT
MEDIUMtest/espnet2/fileio/test_datadir_writer.py27 # Create a directory, but set mismatched idsCOMMENT
MEDIUM⚡test/espnet2/speechlm/trainer/test_deepspeed_trainer.py166 # Create a fake checkpoint dirCOMMENT
MEDIUMtest/espnet2/speechlm/trainer/test_deepspeed_trainer.py188 # Create a checkpoint fileCOMMENT
MEDIUM⚡test/espnet2/speechlm/dataloader/test_audio_loader.py112 # Create a fake recordings.jsonl.gz so the path check passesCOMMENT
MEDIUMtest/espnet2/speechlm/dataloader/test_dataset.py219 # Create a dataset JSON and a registry YAML pointing to itCOMMENT
MEDIUMegs2/chime8_task1/asr1/run.sh282 # Creating the parent directoryCOMMENT
MEDIUMegs2/chime8_task1/diar_asr1/run_gss_asr.sh282 # Creating the parent directoryCOMMENT
MEDIUMegs2/voxtlm_v1/lm1/local/librilight/cut_by_vad.py2# This file is from Libri-Light repo: https://github.com/facebookresearch/COMMENT
MEDIUMegs2/myst/asr1/local/prepare_data.py29 # Create the partition directory in the Kaldi structureCOMMENT
MEDIUMegs2/TEMPLATE/asr1/utils/create_split_dir.pl65 # Create the destination directory and make the link.COMMENT
MEDIUM…s2/TEMPLATE/asr1/steps/libs/nnet3/xconfig/attention.py15# This class is for parsing lines likeCOMMENT
MEDIUM…/TEMPLATE/asr1/steps/libs/nnet3/xconfig/convolution.py17# This class is for lines like the following:COMMENT
MEDIUM…/TEMPLATE/asr1/steps/libs/nnet3/xconfig/convolution.py329# This class is for lines like the following:COMMENT
MEDIUM…/TEMPLATE/asr1/steps/libs/nnet3/xconfig/convolution.py710# This class is for lines like the following:COMMENT
MEDIUM…/TEMPLATE/asr1/steps/libs/nnet3/xconfig/stats_layer.py14 """This class is for parsing lines likeSTRING
MEDIUM…TEMPLATE/asr1/steps/libs/nnet3/xconfig/basic_layers.py315 """This class is for lines likeSTRING
MEDIUM…TEMPLATE/asr1/steps/libs/nnet3/xconfig/basic_layers.py447 """This class is for lines likeSTRING
MEDIUM…TEMPLATE/asr1/steps/libs/nnet3/xconfig/basic_layers.py673 """This class is for parsing lines likeSTRING
MEDIUM…TEMPLATE/asr1/steps/libs/nnet3/xconfig/basic_layers.py1278 """This class is for parsing lines likeSTRING
MEDIUM…MPLATE/asr1/steps/libs/nnet3/xconfig/trivial_layers.py18 """This class is for parsing lines likeSTRING
MEDIUM…MPLATE/asr1/steps/libs/nnet3/xconfig/trivial_layers.py75 """This class is for parsing lines likeSTRING
MEDIUM…MPLATE/asr1/steps/libs/nnet3/xconfig/trivial_layers.py137 """This class is for parsing lines likeSTRING
MEDIUM…MPLATE/asr1/steps/libs/nnet3/xconfig/trivial_layers.py190 """This class is for parsing lines likeSTRING
MEDIUM…MPLATE/asr1/steps/libs/nnet3/xconfig/trivial_layers.py261 """This class is for parsing lines likeSTRING
MEDIUM…MPLATE/asr1/steps/libs/nnet3/xconfig/trivial_layers.py340 """This class is for parsing lines likeSTRING
MEDIUM…MPLATE/asr1/steps/libs/nnet3/xconfig/trivial_layers.py436 """This class is for parsing lines likeSTRING
MEDIUM…MPLATE/asr1/steps/libs/nnet3/xconfig/trivial_layers.py515 """This class is for parsing lines likeSTRING
MEDIUM…MPLATE/asr1/steps/libs/nnet3/xconfig/trivial_layers.py589 """This class is for parsing lines likeSTRING
MEDIUM…MPLATE/asr1/steps/libs/nnet3/xconfig/trivial_layers.py664 """This class is for parsing lines likeSTRING
MEDIUM…LATE/asr1/steps/libs/nnet3/xconfig/composite_layers.py13# This class is intended to implement an extension of the factorized TDNNCOMMENT
MEDIUMegs2/TEMPLATE/asr1/steps/libs/nnet3/xconfig/lstm.py16# This class is for lines likeCOMMENT
MEDIUMegs2/TEMPLATE/asr1/steps/libs/nnet3/xconfig/lstm.py259# This class is for lines likeCOMMENT
MEDIUMegs2/TEMPLATE/asr1/steps/libs/nnet3/xconfig/lstm.py567# This class is for lines likeCOMMENT
MEDIUMegs2/TEMPLATE/asr1/steps/libs/nnet3/xconfig/lstm.py757# This class is for lines likeCOMMENT
MEDIUMegs2/TEMPLATE/asr1/steps/libs/nnet3/xconfig/lstm.py955# This class is for lines likeCOMMENT
MEDIUMegs2/TEMPLATE/asr1/steps/libs/nnet3/xconfig/lstm.py194 configs.append("# Defining the non-linearities")CODE
MEDIUMegs2/TEMPLATE/asr1/steps/libs/nnet3/xconfig/lstm.py201 configs.append("# Defining the components for other cell computations")CODE
MEDIUMegs2/TEMPLATE/asr1/steps/libs/nnet3/xconfig/lstm.py473 configs.append("# Defining the non-linearities")CODE
MEDIUMegs2/TEMPLATE/asr1/steps/libs/nnet3/xconfig/lstm.py483 configs.append("# Defining the components for other cell computations")CODE
MEDIUMegs2/TEMPLATE/asr1/steps/libs/nnet3/xconfig/gru.py16# This class is for lines likeCOMMENT
MEDIUMegs2/TEMPLATE/asr1/steps/libs/nnet3/xconfig/gru.py172# This class is for lines likeCOMMENT
MEDIUMegs2/TEMPLATE/asr1/steps/libs/nnet3/xconfig/gru.py374# This class is for lines likeCOMMENT
MEDIUMegs2/TEMPLATE/asr1/steps/libs/nnet3/xconfig/gru.py609# This class is for lines likeCOMMENT
MEDIUMegs2/TEMPLATE/asr1/steps/libs/nnet3/xconfig/gru.py808# This class is for lines likeCOMMENT
MEDIUMegs2/TEMPLATE/asr1/steps/libs/nnet3/xconfig/gru.py1044# This class is for lines likeCOMMENT
MEDIUMegs2/TEMPLATE/asr1/steps/libs/nnet3/xconfig/gru.py1200# This class is for lines likeCOMMENT
MEDIUMegs2/TEMPLATE/asr1/steps/libs/nnet3/xconfig/gru.py1410# This class is for lines likeCOMMENT
MEDIUMegs2/TEMPLATE/asr1/steps/libs/nnet3/xconfig/gru.py1656# This class is for lines likeCOMMENT
MEDIUMegs2/TEMPLATE/asr1/steps/libs/nnet3/xconfig/gru.py1869# This class is for lines likeCOMMENT
MEDIUMegs2/TEMPLATE/asr1/steps/libs/nnet3/xconfig/gru.py132 configs.append("# Defining the non-linearities")CODE
MEDIUMegs2/TEMPLATE/asr1/steps/libs/nnet3/xconfig/gru.py137 configs.append("# Defining the components for other cell computations")CODE
MEDIUMegs2/TEMPLATE/asr1/steps/libs/nnet3/xconfig/gru.py330 configs.append("# Defining the non-linearities")CODE
MEDIUMegs2/TEMPLATE/asr1/steps/libs/nnet3/xconfig/gru.py335 configs.append("# Defining the components for other cell computations")CODE
MEDIUMegs2/TEMPLATE/asr1/steps/libs/nnet3/xconfig/gru.py551 configs.append("# Defining the non-linearities")CODE
MEDIUMegs2/TEMPLATE/asr1/steps/libs/nnet3/xconfig/gru.py556 configs.append("# Defining the components for other cell computations")CODE
MEDIUMegs2/TEMPLATE/asr1/steps/libs/nnet3/xconfig/gru.py765 configs.append("# Defining the non-linearities")CODE
MEDIUMegs2/TEMPLATE/asr1/steps/libs/nnet3/xconfig/gru.py770 configs.append("# Defining the components for other cell computations")CODE
50 more matches not shown…
Empty Error Handlers38 hits · 190 pts
SeverityFileLineSnippetContext
HIGHtest/espnet3/conftest.py70except FileNotFoundError:CODE
HIGHtest/espnet2/bin/test_tts_inference.py62except Exception:CODE
HIGHtest/espnet2/text/test_phoneme_tokenizer.py18except ImportError:CODE
HIGHtest/espnet2/text/test_phoneme_tokenizer.py33except ImportError:CODE
HIGHtest/espnet2/text/test_phoneme_tokenizer.py40except ImportError:CODE
HIGHtest/espnet2/text/test_phoneme_tokenizer.py59except ImportError:CODE
HIGHtest/espnet2/text/test_phoneme_tokenizer.py66except ImportError:CODE
HIGHci/check_demo_links.py160except ValueError:CODE
HIGHci/test_integration_espnet3_publication_check.py54except Exception:CODE
HIGHci/test_demo_ui.py57except URLError:CODE
HIGHegs2/jtubespeech/tts1/local/prune.py48except KeyError:CODE
HIGH…ATE/asr1/pyscripts/utils/extract_spk_embed_parallel.py353except StopIteration:CODE
HIGHegs2/TEMPLATE/asr1/steps/libs/nnet3/train/common.py357except ValueError:CODE
HIGHegs2/TEMPLATE/asr1/steps/libs/nnet3/train/common.py389except ValueError:CODE
HIGHegs2/TEMPLATE/asr1/steps/libs/nnet3/train/common.py407except:CODE
HIGHegs2/voxforge/lid1/local/convert2audio.py49except Exception:CODE
HIGHegs2/cmu_kids/asr1/local/sph2wav.py50except (ValueError, KeyError, TypeError) as err:CODE
HIGHespnet3/publication/demo/packing.py270except ValueError:CODE
HIGHespnet3/utils/stages_utils.py37except Exception:CODE
HIGHespnet3/utils/logging_utils.py728except Exception:CODE
HIGHespnet3/api/inference/loading.py686except (AttributeError, TypeError):CODE
HIGHespnet2/tasks/abs_task.py139except ImportError:CODE
HIGHespnet2/tasks/abs_task.py151except ImportError:CODE
HIGHespnet2/bin/launch.py359except subprocess.TimeoutExpired:CODE
HIGHespnet2/bin/live.py148except queue.Full:CODE
HIGHespnet2/bin/live.py152except queue.Empty: # pragma: no cover - the consumer got there firstCODE
HIGHespnet2/bin/live.py162except queue.Full: # pragma: no cover - room was just madeCODE
HIGHespnet2/rst/decoder/dac_vocoder.py156except ValueError:CODE
HIGHespnet2/legacy/utils/cli_readers.py134except Exception:CODE
HIGHespnet2/legacy/utils/cli_readers.py210except Exception:CODE
HIGHespnet2/legacy/utils/cli_writers.py103except Exception:CODE
HIGHespnet2/legacy/utils/cli_writers.py109except Exception:CODE
HIGHespnet2/legacy/utils/cli_writers.py115except Exception:CODE
HIGHespnet2/legacy/transform/transformation.py83except ValueError:CODE
HIGHespnet2/main_funcs/pack_funcs.py292except ValueError:CODE
HIGHespnet2/main_funcs/pack_funcs.py322except ImportError:CODE
HIGHespnet2/main_funcs/pack_funcs.py328except ImportError:CODE
HIGHespnet2/speechlm/dataloader/dataset.py47except (OSError, AttributeError):CODE
Cross-Language Confusion20 hits · 122 pts
SeverityFileLineSnippetContext
HIGH⚡test/espnet3/utils/test_config.py251 - {"opt": null}CODE
HIGHci/check_ci_image_config.py641 null, or a misspelled secret all leave the job with no token while the keySTRING
HIGHutils/convert_fbank_to_wav.py83 "`source ./path.sh && pip install librosa==0.7.0`."CODE
HIGHegs2/TEMPLATE/asr1/pyscripts/utils/aqa_eval.py141 Undefined correlations are written as JSON null; no matched scores is an error.STRING
HIGH⚡…ert1/local/dump_librispeech_alignment_from_textgrid.py27 print("Please install praatio: . ./path.sh && python -m pip install praatio")CODE
HIGH⚡…ssl1/local/dump_librispeech_alignment_from_textgrid.py27 print("Please install praatio: . ./path.sh && python -m pip install praatio")CODE
HIGH⚡…asr2/local/dump_librispeech_alignment_from_textgrid.py27 print("Please install praatio: . ./path.sh && python -m pip install praatio")CODE
HIGHespnet2/layers/create_adapter_fn.py57 "Please install S3PRL: cd ${MAIN_ROOT}/tools && make s3prl.done"CODE
HIGHespnet2/layers/create_adapter_fn.py176 "Please install S3PRL: cd ${MAIN_ROOT}/tools && make s3prl.done"CODE
HIGHespnet2/fileio/score_scp.py52 "(cd tools && make muskit.done)",CODE
HIGHespnet2/fileio/score_scp.py238 "(cd tools && make muskit.done)",CODE
HIGHespnet2/utils/griffin_lim.py97 "`source ./path.sh && pip install librosa==0.7.0`."CODE
HIGH⚡espnet2/asr/frontend/s3prl.py31 print("Please install S3PRL: cd ${MAIN_ROOT}/tools && make s3prl.done")CODE
HIGH⚡espnet2/asr/encoder/hubert_encoder.py334 print("Please install FairSeq: cd ${MAIN_ROOT}/tools && make fairseq.done")CODE
HIGH⚡espnet2/asr/encoder/hubert_encoder.py542 print("Please install FairSeq: cd ${MAIN_ROOT}/tools && make fairseq.done")CODE
HIGH⚡espnet2/asr/encoder/avhubert_encoder.py601 print("Please install FairSeq: cd ${MAIN_ROOT}/tools && make fairseq.done")CODE
HIGH⚡espnet2/asr/encoder/avhubert_encoder.py870 print("Please install FairSeq: cd ${MAIN_ROOT}/tools && make fairseq.done")CODE
HIGH⚡espnet2/asr/encoder/wav2vec2_encoder.py53 "Please install FairSeq: cd ${MAIN_ROOT}/tools && make fairseq.done"CODE
HIGHespnet2/train/trainer.py218 print("Please install S3PRL: cd ${MAIN_ROOT}/tools && make s3prl.done")CODE
HIGH⚡espnet2/gan_svs/post_frontend/s3prl.py38 print("Please install S3PRL: cd ${MAIN_ROOT}/tools && make s3prl.done")CODE
AI Slop Vocabulary51 hits · 107 pts
SeverityFileLineSnippetContext
MEDIUMci/integration_is_relevant.py35# What both suites run through: the environment, the packaging, the harness.COMMENT
MEDIUMegs2/chime8_task1/diar_asr1/run.sh120 # training. You can try to leverage it in a semi-supervised way however.COMMENT
MEDIUMegs2/chime8_task1/diar_asr1/local/pyannote_diarize.py168 # because that one is trained on chime6 to be robust against noise andCOMMENT
MEDIUMegs2/chime8_task1/diar_asr1/local/pyannote_diarize.py170 # we want instead a model that is not so robust against that to useCOMMENT
MEDIUMegs2/ami/asr1/local/data.sh63 ### But you can utilize Kaldi recipes in most casesCOMMENT
MEDIUMegs2/hkust/asr1/local/data.sh42 ### But you can utilize Kaldi recipes in most casesCOMMENT
MEDIUMegs2/TEMPLATE/asr1/steps/libs/nnet3/__init__.py10# This module has the python functions which facilitate the use of nnet3 toolkitCOMMENT
LOW…s2/TEMPLATE/asr1/steps/libs/nnet3/xconfig/attention.py29 # Here we just list some likely combinations.. you can just add anyCOMMENT
LOW…/TEMPLATE/asr1/steps/libs/nnet3/xconfig/convolution.py36# want to skip batch normalization you could just call it 'conv-layer'.COMMENT
LOW…/TEMPLATE/asr1/steps/libs/nnet3/xconfig/convolution.py482 # input, so just return the output of the no-op component.COMMENT
LOW⚡…TEMPLATE/asr1/steps/libs/nnet3/xconfig/basic_layers.py342 # there are no auxiliary outputs as this layer will just pass the inputCOMMENT
LOW⚡…TEMPLATE/asr1/steps/libs/nnet3/xconfig/basic_layers.py348 # there are no auxiliary outputs as this layer will just pass the inputCOMMENT
LOW…TEMPLATE/asr1/steps/libs/nnet3/xconfig/basic_layers.py404 # there are no auxiliary outputs as this layer will just pass the outputCOMMENT
LOW⚡…TEMPLATE/asr1/steps/libs/nnet3/xconfig/basic_layers.py1261 # there are no auxiliary outputs as this layer will just pass the inputCOMMENT
LOW⚡…TEMPLATE/asr1/steps/libs/nnet3/xconfig/basic_layers.py1266 # there are no auxiliary outputs as this layer will just pass the inputCOMMENT
LOWegs2/TEMPLATE/asr1/steps/libs/nnet3/xconfig/lstm.py120 # in the below code we will just call descriptor_strings as descriptors for concisenessCOMMENT
LOWegs2/TEMPLATE/asr1/steps/libs/nnet3/xconfig/lstm.py397 # in the below code we will just call descriptor_strings as descriptors for concisenessCOMMENT
LOWegs2/TEMPLATE/asr1/steps/libs/nnet3/xconfig/lstm.py679 # in the below code we will just call descriptor_strings as descriptors for concisenessCOMMENT
LOWegs2/TEMPLATE/asr1/steps/libs/nnet3/xconfig/lstm.py864 # in the below code we will just call descriptor_strings as descriptors for concisenessCOMMENT
LOWegs2/TEMPLATE/asr1/steps/libs/nnet3/xconfig/lstm.py1090 # in the below code we will just call descriptor_strings as descriptors for concisenessCOMMENT
LOWegs2/TEMPLATE/asr1/steps/libs/nnet3/xconfig/gru.py92 # in the below code we will just call descriptor_strings as descriptors for concisenessCOMMENT
LOWegs2/TEMPLATE/asr1/steps/libs/nnet3/xconfig/gru.py286 # in the below code we will just call descriptor_strings as descriptors for concisenessCOMMENT
LOWegs2/TEMPLATE/asr1/steps/libs/nnet3/xconfig/gru.py496 # in the below code we will just call descriptor_strings as descriptors for concisenessCOMMENT
LOWegs2/TEMPLATE/asr1/steps/libs/nnet3/xconfig/gru.py720 # in the below code we will just call descriptor_strings as descriptors for concisenessCOMMENT
LOWegs2/TEMPLATE/asr1/steps/libs/nnet3/xconfig/gru.py931 # in the below code we will just call descriptor_strings as descriptors for concisenessCOMMENT
LOWegs2/TEMPLATE/asr1/steps/libs/nnet3/xconfig/gru.py1127 # in the below code we will just call descriptor_strings as descriptors for concisenessCOMMENT
LOWegs2/TEMPLATE/asr1/steps/libs/nnet3/xconfig/gru.py1320 # in the below code we will just call descriptor_strings as descriptors for concisenessCOMMENT
LOWegs2/TEMPLATE/asr1/steps/libs/nnet3/xconfig/gru.py1538 # in the below code we will just call descriptor_strings as descriptors for concisenessCOMMENT
LOWegs2/TEMPLATE/asr1/steps/libs/nnet3/xconfig/gru.py1776 # in the below code we will just call descriptor_strings as descriptors for concisenessCOMMENT
LOWegs2/TEMPLATE/asr1/steps/libs/nnet3/xconfig/gru.py1997 # in the below code we will just call descriptor_strings as descriptors for concisenessCOMMENT
LOWegs2/TEMPLATE/asr1/steps/libs/nnet3/train/common.py358 # we will throw an error at the end of the function so I will just passCOMMENT
MEDIUMegs2/TEMPLATE/uasr1/uasr.sh743 # Note(Jiatong): though name as unpaired text, we here utilize the paired data for internalCOMMENT
MEDIUMegs2/magicdata/asr1/local/data.sh92 ### But you can utilize Kaldi recipes in most casesCOMMENT
MEDIUMegs2/aishell2/asr1/local/data.sh38 ### But you can utilize Kaldi recipes in most casesCOMMENT
MEDIUMegs2/csj/asr1/local/run_spm.sh93 ### But you can utilize Kaldi recipes in most casesCOMMENT
MEDIUMegs2/csj/asr1/local/run_spm.sh109 ### But you can utilize Kaldi recipes in most casesCOMMENT
MEDIUMegs2/chime7_task1/diar_asr1/run.sh117 # training. You can try to leverage it in a semi-supervised way however.COMMENT
MEDIUMegs2/chime7_task1/diar_asr1/local/pyannote_diarize.py167 # because that one is trained on chime6 to be robust against noise andCOMMENT
MEDIUMegs2/chime7_task1/diar_asr1/local/pyannote_diarize.py169 # we want instead a model that is not so robust against that to useCOMMENT
MEDIUMegs2/timit/asr1/local/data.sh41 ### But you can utilize Kaldi recipes in most casesCOMMENT
MEDIUMegs2/timit/asr1/local/data.sh49 ### But you can utilize Kaldi recipes in most casesCOMMENT
MEDIUMegs2/timit/uasr1/uasr.sh743 # Note(Jiatong): though name as unpaired text, we here utilize the paired data for internalCOMMENT
MEDIUMegs2/timit/uasr1/local/data.sh41 ### But you can utilize Kaldi recipes in most casesCOMMENT
MEDIUMegs2/timit/uasr1/local/data.sh49 ### But you can utilize Kaldi recipes in most casesCOMMENT
LOWespnet2/enh/encoder/stft_encoder.py184 # so, here we just use "reflect mode"COMMENT
MEDIUMespnet2/sds/end_to_end/mini_omni/litgpt/utils.py559 # TODO(gituser): Make this more robustCOMMENT
LOWespnet2/bin/s2st_inference.py314 best_hyp = nbest_hyps[0] # just use the bestCODE
LOWespnet2/bin/s2st_inference.py410 best_hyp = nbest_hyps[0] # just use the bestCODE
MEDIUMespnet2/asr/state_spaces/s4.py343 # Essentially equivalent to S4D-LegSCOMMENT
MEDIUMespnet2/asr/state_spaces/s4.py356 # Essentially equivalent to S4D-LinCOMMENT
MEDIUMespnet2/speechlm/trainer/titan_trainer.py636 # To check the comprehensive performance, please use wandb.COMMENT
Modern Structural Boilerplate106 hits · 106 pts
SeverityFileLineSnippetContext
LOWtest/espnet2/legacy/reference_batch_beam_search.py28logger = logging.getLogger(__name__)CODE
LOW…_utils/egs3/integration_test/esp2_asr/src/app_image.py14logger = logging.getLogger(__name__)CODE
LOWespnet/__init__.py20__all__ = ["TASKS", "load", "__version__"]CODE
LOWegs3/TEMPLATE/esp2_asr/src/app.py14logger = logging.getLogger(__name__)CODE
LOWegs3/spgispeech/esp2_asr/dataset/__init__.py7__all__ = ["Dataset", "DatasetBuilder", "gather_training_text"]CODE
LOWegs3/mini_an4/esp2_asr/dataset/__init__.py6__all__ = ["Dataset", "DatasetBuilder"]CODE
LOWegs3/mini_an4/esp2_asr/src/app.py14logger = logging.getLogger(__name__)CODE
LOWegs3/librispeech_100/esp2_asr/dataset/__init__.py10__all__ = ["Dataset", "DatasetBuilder"]CODE
LOWegs3/librispeech_100/esp2_asr/src/app.py14logger = logging.getLogger(__name__)CODE
LOWegs2/easycom/avsr1/local/transforms.py13__all__ = [CODE
LOWegs2/libritts_r/rst1/local/prepare_rir_pool.py28logger = logging.getLogger(__name__)CODE
LOW⚡egs2/libritts_r/rst1/local/score.py40logger = logging.getLogger(__name__)CODE
LOWegs2/lrs3/avsr1/local/transforms.py13__all__ = [CODE
LOW…2/TEMPLATE/asr1/pyscripts/utils/overlay_fbank_stats.py20logger = logging.getLogger(__name__)CODE
LOWegs2/TEMPLATE/asr1/steps/libs/__init__.py11__all__ = ["common"]CODE
LOWegs2/TEMPLATE/asr1/steps/libs/common.py27logger = logging.getLogger(__name__)CODE
LOWegs2/TEMPLATE/asr1/steps/libs/nnet3/xconfig/__init__.py39__all__ = ["utils", "layers", "parser"]CODE
LOW…MPLATE/asr1/steps/libs/nnet3/train/dropout_schedule.py12logger = logging.getLogger(__name__)CODE
LOWegs2/TEMPLATE/asr1/steps/libs/nnet3/train/common.py23logger = logging.getLogger(__name__)CODE
LOW…ps/libs/nnet3/train/frame_level_objf/acoustic_model.py17logger = logging.getLogger(__name__)CODE
LOW…r1/steps/libs/nnet3/train/frame_level_objf/__init__.py14__all__ = ["common", "raw_model", "acoustic_model"]CODE
LOW…1/steps/libs/nnet3/train/frame_level_objf/raw_model.py16logger = logging.getLogger(__name__)CODE
LOW…asr1/steps/libs/nnet3/train/frame_level_objf/common.py24logger = logging.getLogger(__name__)CODE
LOW…r1/steps/libs/nnet3/train/chain_objf/acoustic_model.py21logger = logging.getLogger(__name__)CODE
LOW…ATE/asr1/steps/libs/nnet3/train/chain_objf/__init__.py12__all__ = ["acoustic_model"]CODE
LOWegs2/TEMPLATE/asr1/steps/libs/nnet3/report/log_parse.py16logger = logging.getLogger(__name__)CODE
LOWegs2/TEMPLATE/asr1/steps/libs/nnet3/report/__init__.py8__all__ = ["log_parse"]CODE
LOWegs2/slurp_entity/asr1/local/evaluation/util.py15logger = logging.getLogger(__name__)CODE
LOWegs2/slurp_entity/asr1/local/evaluation/evaluate.py14logger = logging.getLogger(__name__)CODE
LOWegs2/mini_an4/rst1/local/prepare_rir_pool.py28logger = logging.getLogger(__name__)CODE
LOWespnet3/parallel/base_runner.py20logger = logging.getLogger(__name__)CODE
LOWespnet3/parallel/inference_provider.py12logger = logging.getLogger(__name__)CODE
LOWespnet3/parallel/parallel.py114def set_parallel(config: Optional[DictConfig]) -> None:CODE
LOWespnet3/publication/__init__.py9__all__ = ["PACK_SCHEMA_VERSION"]CODE
LOWespnet3/publication/demo/session.py35logger = logging.getLogger(__name__)CODE
LOWespnet3/publication/demo/packing.py24logger = logging.getLogger(__name__)CODE
LOWespnet3/publication/demo/packing.py283def _setup_demo_assets(demo_dir: Path, demo_config) -> None:CODE
LOWespnet3/publication/demo/assets.py13logger = logging.getLogger(__name__)CODE
LOWespnet3/utils/publication_utils.py34logger = logging.getLogger(__name__)CODE
LOWespnet3/utils/stages_utils.py18logger = logging.getLogger(__name__)CODE
LOWespnet3/components/data/data_organizer.py20logger = logging.getLogger(__name__)CODE
LOWespnet3/components/data/collect_stats.py23__all__ = [CODE
LOWespnet3/components/data/dataloader.py15logger = logging.getLogger(__name__)CODE
LOWespnet3/api/inference/loading.py49logger = logging.getLogger(__name__)CODE
LOWespnet3/api/inference/__init__.py118__all__ = [CODE
LOWespnet3/api/inference/kinds/__init__.py66__all__ = [CODE
LOWespnet3/systems/esp2_asr/system.py19logger = logging.getLogger(__name__)CODE
LOWespnet3/systems/f5tts/system.py17logger = logging.getLogger(__name__)CODE
LOWespnet3/systems/f5tts/create_token_list.py21logger = logging.getLogger(__name__)CODE
LOWespnet3/systems/f5tts/remove_long_short.py25logger = logging.getLogger(__name__)CODE
LOWespnet3/systems/f5tts/inference.py35logger = logging.getLogger(__name__)CODE
LOWespnet3/systems/base/system.py21logger = logging.getLogger(__name__)CODE
LOWespnet3/systems/base/inference_provider.py16logger = logging.getLogger(__name__)CODE
LOWespnet3/systems/base/metric.py16logger = logging.getLogger(__name__)CODE
LOWespnet3/systems/base/inference_runner.py24logger = logging.getLogger(__name__)CODE
LOWespnet3/systems/base/inference.py16logger = logging.getLogger(__name__)CODE
LOWespnet3/systems/base/training.py20logger = logging.getLogger(__name__)CODE
LOWespnet2/tok/quantizer/differentiable_kmeans.py112 def set_temperature(self, temperature: float) -> None:CODE
LOWespnet2/enh/diffusion/sampling/__init__.py11__all__ = ["Predictor", "Corrector", "get_sampler"]CODE
LOWespnet2/tasks/beats.py28logger = logging.getLogger(__name__)CODE
46 more matches not shown…
Slop Phrases34 hits · 86 pts
SeverityFileLineSnippetContext
MEDIUMegs2/chime8_task1/asr1/run.sh36gss_max_batch_dur=200 # set accordingly to your GPU VRAM, A100 40GB you can use 360CODE
MEDIUMegs2/chime8_task1/asr1/run.sh44# we do not train with mixer 6 training + GSS here, but you can try.COMMENT
MEDIUMegs2/chime8_task1/asr1/run.sh56asr_cv_set=kaldi/chime6/dev/gss # we used only chime6 but maybe you can use a combination of allCODE
MEDIUMegs2/chime8_task1/diar_asr1/run_gss_asr.sh36gss_max_batch_dur=200 # set accordingly to your GPU VRAM, A100 40GB you can use 360CODE
MEDIUMegs2/chime8_task1/diar_asr1/run_gss_asr.sh44# we do not train with mixer 6 training + GSS here, but you can try.COMMENT
MEDIUMegs2/chime8_task1/diar_asr1/run_gss_asr.sh56asr_cv_set=kaldi/chime6/dev/gss # we used only chime6 but maybe you can use a combination of allCODE
MEDIUMegs2/chime8_task1/diar_asr1/local/pyannote_finetune.py40 # slows significantly training, but you can tryCOMMENT
LOWegs2/dns_icassp22/enh1/local/download_dns4_dataset.sh9# NOTE: Before downloading, make sure you have enough spaceCOMMENT
MEDIUMegs2/TEMPLATE/asr1/utils/retry.pl14# e.g. if your command line was "queue.pl [args]", you can replace thatCOMMENT
MEDIUMegs2/TEMPLATE/asr1/utils/split_scp.pl37# Note that you can use this script to split the utt2spk file itself,COMMENT
MEDIUMegs2/TEMPLATE/asr1/utils/parallel/retry.pl14# e.g. if your command line was "queue.pl [args]", you can replace thatCOMMENT
MEDIUMegs2/TEMPLATE/asr1/steps/libs/nnet3/xconfig/lstm.py261# (you can also use the name 'lstmp-batchnorm-layer' if you want it to be followedCOMMENT
MEDIUMegs2/TEMPLATE/asr1/steps/libs/nnet3/xconfig/lstm.py569# (you can also use the name 'fast-lstm-batchnorm-layer' if you want it to be followedCOMMENT
MEDIUMegs2/TEMPLATE/asr1/steps/libs/nnet3/xconfig/lstm.py959# (you can also use the name 'fast-lstmp-batchnorm-layer' if you want it to be followedCOMMENT
MEDIUMegs2/TEMPLATE/asr1/steps/libs/nnet3/xconfig/gru.py1083 # you can add somethig like 'self-repair-scale=xxx' to gru-nonlinearity-options.COMMENT
MEDIUMegs2/TEMPLATE/asr1/steps/libs/nnet3/xconfig/gru.py1246 # you can add somethig like 'self-repair-scale=xxx' to gru-nonlinearity-options.COMMENT
MEDIUMegs2/TEMPLATE/asr1/steps/libs/nnet3/xconfig/gru.py1457 # you can add somethig like 'self-repair-scale=xxx' to gru-nonlinearity-options.COMMENT
MEDIUMegs2/TEMPLATE/asr1/steps/libs/nnet3/xconfig/gru.py1702 # you can add somethig like 'self-repair-scale=xxx' to gru-nonlinearity-options.COMMENT
MEDIUMegs2/TEMPLATE/asr1/steps/libs/nnet3/xconfig/gru.py1916 # you can add somethig like 'self-repair-scale=xxx' to gru-nonlinearity-options.COMMENT
MEDIUMegs2/mls/asr1/local/data.sh17data_split=full # full/1h/10h splits (mentioned in the original MLS paper, you can use the subset of training data)CODE
MEDIUMegs2/mls/asr2/local/data.sh17data_split=full # full/1h/10h splits (mentioned in the original MLS paper, you can use the subset of training data)CODE
MEDIUMegs2/chime6/asr1/local/prepare_baseline_chime6_data.sh181 # you can use both left and right channels for trainingCOMMENT
MEDIUMegs2/chime7_task1/asr1/run.sh41gss_max_batch_dur=90 # set accordingly to your GPU VRAM, A100 40GB you can use 360CODE
MEDIUMegs2/chime7_task1/asr1/run.sh49# we do not train with mixer 6 training + GSS here, but you can try.COMMENT
MEDIUMegs2/chime7_task1/asr1/run.sh60asr_cv_set=kaldi/chime6/dev/gss # use chime only for validation. you can also try using all datasets after gss: kaldi/deCODE
MEDIUMegs2/chime7_task1/asr1/local/gen_task1_data.sh14# but if you have it already you can use your existing one.COMMENT
MEDIUMegs2/chime7_task1/diar_asr1/run_gss_asr.sh41gss_max_batch_dur=90 # set accordingly to your GPU VRAM, A100 40GB you can use 360CODE
MEDIUMegs2/chime7_task1/diar_asr1/run_gss_asr.sh49# we do not train with mixer 6 training + GSS here, but you can try.COMMENT
MEDIUMegs2/chime7_task1/diar_asr1/run_gss_asr.sh60asr_cv_set=kaldi/chime6/dev/gss # use chime only for validation. you can also try using all datasets after gss: kaldi/deCODE
MEDIUMegs2/chime7_task1/diar_asr1/local/pyannote_finetune.py40 # slows significantly training, but you can tryCOMMENT
MEDIUMegs2/chime7_task1/diar_asr1/local/gen_task1_data.sh14# but if you have it already you can use your existing one.COMMENT
MEDIUMegs2/universal_se_v1/enh1/run.sh32# you can add the following arguments:COMMENT
LOWespnet3/systems/esp2_asr/task.py111 ), # If setting this to none, please make sure to provide input_size in the config.CODE
LOWespnet2/tasks/asr.py107 ), # If setting this to none, please make sure to provide input_size in the config.CODE
Modern AI Meta-Vocabulary16 hits · 46 pts
SeverityFileLineSnippetContext
MEDIUM⚡test/espnet2/bin/test_demo.py95 # seconds of silence for the model to hallucinate overCOMMENT
MEDIUMegs3/TEMPLATE/esp2_asr/conf/training.yaml24# Path scaffold relative to the recipe root.COMMENT
MEDIUMegs3/TEMPLATE/f5tts/conf/training.yaml9# scaffolding lives here; the dataset, model, optimizer and dataloader blocksCOMMENT
MEDIUM…brimix/sot_asr1/conf/tuning/train_sot_asr_whisper.yaml25 # do_pad_trim: true # should be set when doing zero-shot inferenceCOMMENT
MEDIUM…sot_asr1/conf/tuning/train_sot_asr_whisper_medium.yaml25 # do_pad_trim: true # should be set when doing zero-shot inferenceCOMMENT
MEDIUM…/sot_asr1/conf/tuning/train_sot_asr_whisper_small.yaml25 # do_pad_trim: true # should be set when doing zero-shot inferenceCOMMENT
MEDIUMegs2/stop/asr1/conf/train_asr_whisper_full_correct.yaml35 # do_pad_trim: true # should be set when doing zero-shot inferenceCOMMENT
MEDIUM…asr1_pipeline/conf/train_asr_whisper_full_correct.yaml35 # do_pad_trim: true # should be set when doing zero-shot inferenceCOMMENT
MEDIUM…sr1/conf/tuning/train_asr_whisper_medium_finetune.yaml41 # do_pad_trim: true # should be set when doing zero-shot inferenceCOMMENT
MEDIUM…onf/tuning/train_asr_whisper_medium_lora_finetune.yaml41 # do_pad_trim: true # should be set when doing zero-shot inferenceCOMMENT
MEDIUM…conf/tuning/train_asr_whisper_large_lora_finetune.yaml41 # do_pad_trim: true # should be set when doing zero-shot inferenceCOMMENT
MEDIUM…/asr1/conf/train_asr_whisper_full_correct_specaug.yaml36 # do_pad_trim: true # should be set when doing zero-shot inferenceCOMMENT
MEDIUMegs2/ml_superb/asr1/local/data_prep.py249 reserve_flag = True # skip reserve lange for zero-shotCODE
MEDIUM…peech_100/asr1/conf/tuning/train_asr_whisper_full.yaml35 # do_pad_trim: true # should be set when doing zero-shot inferenceCOMMENT
MEDIUM…/interspeech2024_dsu_challenge/asr1/local/data_prep.py249 reserve_flag = True # skip reserve lange for zero-shotCODE
MEDIUM…/interspeech2024_dsu_challenge/asr2/local/data_prep.py249 reserve_flag = True # skip reserve lange for zero-shotCODE
Structural Annotation Overuse26 hits · 43 pts
SeverityFileLineSnippetContext
LOWegs2/jtubespeech/asr1/run.sh20# NOTE: The default settings require 4 GPUs with 32 GB memoryCOMMENT
LOWegs2/ms_snsd/enh1/README.md24### Step 1: Download MS-SNSDCOMMENT
LOWegs2/ms_snsd/enh1/README.md40### Step 2: Generate Noisy DataCOMMENT
LOWegs2/ms_snsd/enh1/README.md67### Step 3: Prepare ESPnet Data Directories (train/valid/test)COMMENT
LOW⚡egs2/acesinger/svs1/local/data_prep.py64 # Step 1: Load the audio fileCOMMENT
LOW⚡egs2/acesinger/svs1/local/data_prep.py67 # Step 2: Calculate short-time energy for each frameCOMMENT
LOW⚡egs2/acesinger/svs1/local/data_prep.py75 # Step 3: Find index of the first frame where energy exceeds the thresholdCOMMENT
LOW⚡egs2/acesinger/svs1/local/data_prep.py86 # Step 1: Load the textgrid fileCOMMENT
LOW⚡egs2/acesinger/svs1/local/data_prep.py89 # Step 2: Get the start and end times of non-silent utterancesCOMMENT
LOW⚡egs2/acesinger/svs1/local/data_prep.py103 # Step 3: Load the transcription fileCOMMENT
LOW⚡egs2/acesinger/svs1/local/data_prep.py108 # Step 4: Split the content in each rowCOMMENT
LOW⚡egs2/acesinger/svs1/local/data_prep.py112 # Step 5: Find all the rows' corresponding name in the txt file starting with 2001COMMENT
LOW⚡egs2/acesinger/svs1/local/data_prep.py117 # Step 6: Find the start and end times for the song's corresponding row namesCOMMENT
LOWegs2/spgispeech/asr1/run.sh22# NOTE: The default settings require 4 GPUs with 32 GB memoryCOMMENT
LOWegs2/laborotv/asr1/run_streaming.sh20# NOTE: The default settings require 4 GPUs with 32 GB memoryCOMMENT
LOWegs2/laborotv/asr1/run.sh20# NOTE: The default settings require 4 GPUs with 32 GB memoryCOMMENT
LOWegs2/csj/asr1/run.sh20# NOTE: The default settings require 4 GPUs with 32 GB memoryCOMMENT
LOWespnet2/samplers/category_power_sampler.py347 # Step 1: Category sampling within each datasetSTRING
LOWespnet2/samplers/category_power_sampler.py400 # Step 2: Dataset sampling using resampled dataSTRING
LOW⚡espnet2/samplers/category_power_sampler.py448 # Step 1: Sample dataset d according to P(d)STRING
LOW⚡espnet2/samplers/category_power_sampler.py454 # Step 2: Sample category l according to P(l | d)STRING
LOWespnet2/samplers/category_power_sampler.py468 # Step 3: Sample utterance uniformly fromSTRING
LOW⚡espnet2/speechlm/trainer/deepspeed_trainer.py100 # Step 1: Check resume_pathCOMMENT
LOW⚡espnet2/speechlm/trainer/deepspeed_trainer.py104 # Step 2: Check latest checkpoint in output_dirCOMMENT
LOWespnet2/speechlm/dataloader/dataset.py166 # Step 1: Collect all (dataset_name, json_path) pairsCOMMENT
LOWespnet2/speechlm/dataloader/dataset.py190 # Step 2: Load all datasets in parallel using multiprocessingCOMMENT
Verbosity Indicators18 hits · 31 pts
SeverityFileLineSnippetContext
LOW⚡egs2/acesinger/svs1/local/data_prep.py64 # Step 1: Load the audio fileCOMMENT
LOW⚡egs2/acesinger/svs1/local/data_prep.py67 # Step 2: Calculate short-time energy for each frameCOMMENT
LOW⚡egs2/acesinger/svs1/local/data_prep.py75 # Step 3: Find index of the first frame where energy exceeds the thresholdCOMMENT
LOW⚡egs2/acesinger/svs1/local/data_prep.py86 # Step 1: Load the textgrid fileCOMMENT
LOW⚡egs2/acesinger/svs1/local/data_prep.py89 # Step 2: Get the start and end times of non-silent utterancesCOMMENT
LOW⚡egs2/acesinger/svs1/local/data_prep.py103 # Step 3: Load the transcription fileCOMMENT
LOW⚡egs2/acesinger/svs1/local/data_prep.py108 # Step 4: Split the content in each rowCOMMENT
LOW⚡egs2/acesinger/svs1/local/data_prep.py112 # Step 5: Find all the rows' corresponding name in the txt file starting with 2001COMMENT
LOW⚡egs2/acesinger/svs1/local/data_prep.py117 # Step 6: Find the start and end times for the song's corresponding row namesCOMMENT
LOWespnet2/samplers/category_power_sampler.py347 # Step 1: Category sampling within each datasetSTRING
LOWespnet2/samplers/category_power_sampler.py400 # Step 2: Dataset sampling using resampled dataSTRING
LOW⚡espnet2/samplers/category_power_sampler.py448 # Step 1: Sample dataset d according to P(d)STRING
LOW⚡espnet2/samplers/category_power_sampler.py454 # Step 2: Sample category l according to P(l | d)STRING
LOWespnet2/samplers/category_power_sampler.py468 # Step 3: Sample utterance uniformly fromSTRING
LOW⚡espnet2/speechlm/trainer/deepspeed_trainer.py100 # Step 1: Check resume_pathCOMMENT
LOW⚡espnet2/speechlm/trainer/deepspeed_trainer.py104 # Step 2: Check latest checkpoint in output_dirCOMMENT
LOWespnet2/speechlm/dataloader/dataset.py166 # Step 1: Collect all (dataset_name, json_path) pairsCOMMENT
LOWespnet2/speechlm/dataloader/dataset.py190 # Step 2: Load all datasets in parallel using multiprocessingCOMMENT
Dead Code15 hits · 30 pts
SeverityFileLineSnippetContext
MEDIUM…/espnet2/sds/end_to_end/test_mini_omni_e2e_tempfile.py123CODE
MEDIUMtest/espnet2/bin/test_live.py75CODE
MEDIUM…lipreading1/local/feature_extract/models/pretrained.py98CODE
MEDIUM…lipreading1/local/feature_extract/models/pretrained.py99CODE
MEDIUM…lipreading1/local/feature_extract/models/pretrained.py100CODE
MEDIUM…asr1/steps/libs/nnet3/train/frame_level_objf/common.py624CODE
MEDIUM…asr1/steps/libs/nnet3/train/frame_level_objf/common.py630CODE
MEDIUM…asr1/steps/libs/nnet3/train/frame_level_objf/common.py635CODE
MEDIUM…asr1/steps/libs/nnet3/train/frame_level_objf/common.py636CODE
MEDIUM…asr1/steps/libs/nnet3/train/frame_level_objf/common.py637CODE
MEDIUM…asr1/steps/libs/nnet3/train/frame_level_objf/common.py638CODE
MEDIUM…asr1/steps/libs/nnet3/train/frame_level_objf/common.py640CODE
MEDIUM…asr1/steps/libs/nnet3/train/frame_level_objf/common.py642CODE
MEDIUMespnet2/layers/augmentation.py419CODE
MEDIUMespnet2/layers/augmentation.py428CODE
Fake / Example Data25 hits · 24 pts
SeverityFileLineSnippetContext
LOWegs2/chime8_task1/asr1/local/get_lhotse_manifests.py171 segment["words"] = "placeholder"CODE
LOWegs2/chime8_task1/asr1/local/get_lhotse_manifests.py321 segment["words"] = "placeholder"CODE
LOWegs2/chime8_task1/asr1/local/get_lhotse_manifests.py479 segment["words"] = "placeholder"CODE
LOW…MPLATE/asr1/pyscripts/utils/dialog_eval/LLM_Metrics.py81 >>> responses = ["Hello world", "Foo bar", "Lorem ipsum dolor sit amet"]STRING
LOW…MPLATE/asr1/pyscripts/utils/dialog_eval/LLM_Metrics.py81 >>> responses = ["Hello world", "Foo bar", "Lorem ipsum dolor sit amet"]STRING
LOWegs2/chime7_task1/asr1/local/gen_task1_data.py111 ex["words"] = "placeholder"CODE
LOWegs2/chime7_task1/asr1/local/gen_task1_data.py114 ex_scoring["words"] = "placeholder"CODE
LOWegs2/chime7_task1/asr1/local/gen_task1_data.py253 ex["words"] = "placeholder" # diarization only annotationCODE
LOWegs2/chime7_task1/asr1/local/gen_task1_data.py256 ex_scoring["words"] = "placeholder" # diarization only annotationCODE
LOWegs2/chime7_task1/asr1/local/gen_task1_data.py365 ex["words"] = "placeholder"CODE
LOWegs2/chime7_task1/asr1/local/get_lhotse_manifests.py171 segment["words"] = "placeholder"CODE
LOWegs2/chime7_task1/asr1/local/get_lhotse_manifests.py321 segment["words"] = "placeholder"CODE
LOWegs2/chime7_task1/asr1/local/get_lhotse_manifests.py479 segment["words"] = "placeholder"CODE
LOWegs2/chime7_task1/diar_asr1/local/gen_task1_data.py111 ex["words"] = "placeholder"CODE
LOWegs2/chime7_task1/diar_asr1/local/gen_task1_data.py114 ex_scoring["words"] = "placeholder"CODE
LOWegs2/chime7_task1/diar_asr1/local/gen_task1_data.py253 ex["words"] = "placeholder" # diarization only annotationCODE
LOWegs2/chime7_task1/diar_asr1/local/gen_task1_data.py256 ex_scoring["words"] = "placeholder" # diarization only annotationCODE
LOWegs2/chime7_task1/diar_asr1/local/gen_task1_data.py365 ex["words"] = "placeholder"CODE
LOW…2/chime7_task1/diar_asr1/local/get_lhotse_manifests.py171 segment["words"] = "placeholder"CODE
LOW…2/chime7_task1/diar_asr1/local/get_lhotse_manifests.py321 segment["words"] = "placeholder"CODE
LOW…2/chime7_task1/diar_asr1/local/get_lhotse_manifests.py479 segment["words"] = "placeholder"CODE
LOWespnet2/speechlm/model/speechlm/multimodal_io/audio.py831 dummy_data = torch.zeros(CODE
LOWespnet2/speechlm/model/speechlm/multimodal_io/audio.py837 codes = self.encode_batch(dummy_data, dummy_length)CODE
LOWespnet2/speechlm/model/speechlm/multimodal_io/audio.py1114 dummy_data = torch.zeros(CODE
LOWespnet2/speechlm/model/speechlm/multimodal_io/audio.py1120 feats = self.encode_batch(dummy_data, dummy_length)CODE
Hallucination Indicators2 hits · 15 pts
SeverityFileLineSnippetContext
CRITICALespnet3/components/data/dataset_builder.py30 ``espnet3.systems.base.system.BaseSystem.create_dataset()`` instantiatesSTRING
CRITICALdoc/make_release.py224 since = previous.commit.commit.author.date.date().isoformat()CODE
Synthetic Comment Markers1 hit · 8 pts
SeverityFileLineSnippetContext
HIGHespnet2/gan_svs/pits/ying_decoder.py7# TODO(Yifeng): This comment is generated by ChatGPT, which may not be accurate.COMMENT
Magic Placeholder Names2 hits · 5 pts
SeverityFileLineSnippetContext
HIGHdoc/generate_code_doc.py24 --api-key "YOUR_API_KEY"STRING
HIGHdoc/generate_code_doc.py43 --api-key "YOUR_API_KEY" \STRING
Example Usage Blocks2 hits · 4 pts
SeverityFileLineSnippetContext
LOW⚡…ech/tts1/conf/tuning/train_fastspeech2_xpu_bucket.yaml11# Usage:COMMENT
LOWegs2/swbd/asr1/local/eval2000_data_prep.sh15# Example usage:COMMENT
Overly Generic Function Names3 hits · 4 pts
SeverityFileLineSnippetContext
LOW⚡test/doc/test_members2rst.py15 "def helper(): pass\n"CODE
LOWegs2/harpervalley/asr1/local/data_prep.py13def process_data(target_dir, source_dir, audio_dir, filename, min_length):CODE
LOWegs2/swbd_sentiment/asr1/local/prepare_sentiment.py41def process_data(CODE