MCPcopy Create free account

hub / github.com/idank/explainshell / functions

Functions2,183 in github.com/idank/explainshell

Methodtest_dispatcher_forwards_jobs_to_batch
run() with batch_size and jobs > 1 forwards jobs to run_batch.
tests/extraction/test_runner.py:1007
Methodtest_distro_only_no_cmd_redirects
(self)
tests/test_web_views.py:198
Methodtest_distro_path
(self)
tests/test_store.py:202
Methodtest_does_not_create_false_positive
LLM parent without the child in its subcommands list should not create a mapping even if the hyphenated name exists.
tests/test_store.py:507
Methodtest_does_not_mutate_input
(self)
tests/extraction/llm/test_response.py:441
Methodtest_does_not_remove_subsections_with_blacklisted_name
## AUTHORS under a non-blacklisted parent should not be removed.
tests/extraction/llm/test_text.py:344
Methodtest_does_not_set_subcommands_on_parent
The method must leave the parent's existing subcommands list alone.
tests/test_store.py:523
Methodtest_dot_command
The '.' command (source) should be looked up without splitting on dot.
tests/test_store.py:147
Functiontest_dry_run
(tmp_path: Path)
tests/test_postprocess_ubuntu_archive.py:170
Methodtest_dry_run_classifies_without_extracting
( self, _mock_source, mock_collect, mock_make_ext, mock_run, _
tests/test_manager.py:298
Methodtest_dry_run_reports_already_stored
( self, _mock_source, mock_collect, _mock_link, _mock_sha )
tests/test_manager.py:345
Methodtest_dry_run_requires_existing_db
(self)
tests/test_manager.py:376
Methodtest_duplicates_keep_longest_description
(self)
tests/extraction/llm/test_response.py:350
Methodtest_duplicates_same_length_keeps_one
(self)
tests/extraction/llm/test_response.py:363
Methodtest_empty
(self)
tests/extraction/test_runner.py:1056
Methodtest_empty_for_unknown_distro
(self, store)
tests/test_store.py:352
Methodtest_empty_metadata
(self, store)
tests/test_store.py:439
Methodtest_empty_options_skipped
(self)
tests/extraction/test_postprocess.py:375
Methodtest_empty_output
(self)
tests/extraction/llm/test_codex_provider.py:66
Methodtest_empty_output_raises
(self, mock_run, _mock_isfile)
tests/extraction/llm/test_text.py:44
Methodtest_empty_result
(self, store)
tests/test_store.py:379
Methodtest_empty_returns_zero_summary
Empty counts yield a zero-everything summary, never None.
tests/test_manager.py:2762
Methodtest_empty_text
(self)
tests/extraction/llm/test_text.py:357
Methodtest_etag_flips_on_code_deploy
(self)
tests/test_web_views.py:409
Methodtest_etag_flips_on_db_rebuild
(self)
tests/test_web_views.py:403
Methodtest_exact_boundary
Batch boundary falls exactly between files.
tests/extraction/test_runner.py:1094
Methodtest_exact_match_first_occurrence_position
With 3+ duplicates, the survivor appears at the first position.
tests/extraction/test_postprocess.py:191
Methodtest_exact_match_preserves_all_fields
When a later duplicate has longer text, all its fields are kept.
tests/extraction/test_postprocess.py:205
Methodtest_exact_match_removed
Identical flag sets — longer description kept at first position.
tests/extraction/test_postprocess.py:174
Methodtest_exact_match_same_length_keeps_first
(self)
tests/extraction/test_postprocess.py:184
Methodtest_exact_source_match_preferred
When the exact source path exists in DB, use it directly.
tests/test_manager.py:2096
Methodtest_expansion_limit
(self)
tests/test_matcher.py:802
Methodtest_explain_cmd_no_distro
(self)
tests/test_web_views.py:81
Methodtest_explain_cmd_with_distro
(self)
tests/test_web_views.py:121
Methodtest_explain_empty_cmd_redirects
(self)
tests/test_web_views.py:91
Methodtest_explain_no_cmd_redirects
(self)
tests/test_web_views.py:86
Methodtest_explain_prefix_in_command_links
(self)
tests/test_web_views.py:152
Methodtest_explain_prefix_with_distro_in_form
(self)
tests/test_web_views.py:143
Methodtest_explain_prefix_without_distro_in_command_links
(self)
tests/test_web_views.py:157
Methodtest_explain_prefix_without_distro_in_form
(self)
tests/test_web_views.py:147
Methodtest_explain_program_links_to_raw_source_in_debug
(self)
tests/test_web_views.py:105
Methodtest_explain_program_no_distro
(self)
tests/test_web_views.py:95
Methodtest_explain_program_no_synopsis
(self)
tests/test_web_views.py:609
Methodtest_explain_program_omits_raw_source_link_outside_debug
(self)
tests/test_web_views.py:112
Methodtest_explain_program_returns_str_options
(self)
tests/test_web_views.py:596
Methodtest_explain_program_with_distro
(self)
tests/test_web_views.py:126
Methodtest_explain_program_with_suggestions
(self)
tests/test_web_views.py:614
Methodtest_explain_section_program_no_distro
(self)
tests/test_web_views.py:100
Methodtest_explain_section_program_with_distro
(self)
tests/test_web_views.py:131
Methodtest_external_cancel_still_raises
A cancelled batch that we did NOT cancel should still raise.
tests/extraction/llm/test_openai_provider.py:222
Methodtest_extract_at_file_skips_blanks_and_comments
( self, _mock_source: MagicMock, _mock_link: MagicMock, _mock_sha: MagicMock,
tests/test_manager.py:2549
Methodtest_extract_expands_at_file
@file arg is expanded to the file's contents and reaches the classifier.
tests/test_manager.py:2508
Methodtest_extract_invalid_chunk0_dumps_failed_response
Interactive extract() dumps the raw response when chunk 0 fails validation.
tests/extraction/llm/test_extractor.py:286
Methodtest_extract_mixed_plain_and_at_file
( self, _mock_source: MagicMock, _mock_link: MagicMock, _mock_sha: MagicMock,
tests/test_manager.py:2591
Methodtest_extract_returns_manpage
( self, mock_sha, mock_synopsis, mock_text, mock_common_synopsis,
tests/extraction/llm/test_extractor.py:68
Methodtest_extracts_outermost_braces
(self)
tests/extraction/llm/test_response.py:44
Methodtest_factory_routes_azure_models_to_openai_provider
( self, _mock_openai_cls: MagicMock )
tests/extraction/llm/test_openai_provider.py:678
Methodtest_failed_batch_recorded
(self)
tests/extraction/test_manifest.py:79
Methodtest_failed_takes_precedence_over_skipped
When one side is SKIPPED and the other FAILED, outcome is FAILED.
tests/test_manager.py:1902
Methodtest_falls_back_to_name_when_source_not_found
When exact source is not in DB, fall back to name lookup.
tests/test_manager.py:2124
Methodtest_fatal_error_report
Fatal errors are recorded in summary.fatal_error.
tests/test_manager.py:2741
Methodtest_file_matching_db_hash_gets_mapped
A new file whose hash matches an already-extracted page gets mapped, not extracted.
tests/test_manager.py:957
Methodtest_filter_by_distro
find_man_page with distro/release should only return matching manpages.
tests/test_store.py:250
Methodtest_filter_by_event_type
(self, store)
tests/test_store.py:421
Methodtest_filter_db_lets_new_files_through
Files not in the DB are extracted regardless of filter.
tests/test_manager.py:1408
Methodtest_filter_db_llm_model_scope
Only rows matching the filter model reach run().
tests/test_manager.py:1280
Methodtest_filter_db_matches_extra_meta_keys
LLM filter matches rows that carry meta keys outside the schema.
tests/test_manager.py:1463
Methodtest_filter_db_rejects_bogus_spec
(self)
tests/test_manager.py:1255
Methodtest_filter_db_repeatable_matches_any
Repeated --filter-db lets rows matching any of the specs through.
tests/test_manager.py:1338
Methodtest_filter_db_requires_overwrite
(self)
tests/test_manager.py:1236
Methodtest_filter_match_does_not_seed_dedup
(self, _h, _il)
tests/extraction/test_prefilter.py:190
Methodtest_filter_match_returns_work
(self, _h, _il)
tests/extraction/test_prefilter.py:174
Methodtest_filter_matches_any_of_multiple_specs
(self, _h, _il)
tests/extraction/test_prefilter.py:222
Methodtest_filter_matches_none_of_multiple_specs
(self, _il)
tests/extraction/test_prefilter.py:233
Methodtest_filter_no_match_returns_filter_skip
(self, _il)
tests/extraction/test_prefilter.py:180
Methodtest_filter_skip_does_not_seed_dedup
(self, _h, _il)
tests/extraction/test_prefilter.py:203
Methodtest_filter_skipped_row_doesnt_block_matching_sibling
An earlier non-matching DB row must not suppress a later matching DB row with the same content hash (finding 1 regression test).
tests/test_manager.py:1520
Methodtest_filter_skipped_row_doesnt_block_new_sibling
An earlier filter-skipped DB row must not suppress a later new (not-in-DB) file with the same content hash. The new file is extracted;
tests/test_manager.py:1634
Methodtest_filter_with_no_db_row_falls_through
(self, _h, _il)
tests/extraction/test_prefilter.py:212
Methodtest_finalize_failure_preserves_prep_stats
When finalize() fails, the result should still have prep stats.
tests/extraction/test_runner.py:179
Methodtest_finalize_normalizes_subcommands
finalize() strips parent prefix from subcommand names.
tests/extraction/llm/test_extractor.py:353
Methodtest_flag_line_only
(self)
tests/extraction/llm/test_response.py:116
Methodtest_for_expansion
(self)
tests/test_matcher.py:763
Methodtest_fresh_symlink_no_delete
(self)
tests/extraction/test_prefilter.py:345
Methodtest_function_reference
(self)
tests/test_matcher.py:857
Methodtest_functions
(self)
tests/test_matcher.py:825
Methodtest_generic_error_in_middle_batch_continues
If batch 1 succeeds but batch 2 raises a generic error, batch 1 files are SUCCESS and batch 2 files are FAILED.
tests/extraction/test_runner.py:508
Methodtest_generic_prepare_exception_gives_failed_entry
A generic exception from prepare() must not abort the whole batch.
tests/extraction/test_runner.py:395
Methodtest_generic_provider_error_gives_all_files_entries
A raw SDK/network error from the provider still produces FAILED entries.
tests/extraction/test_runner.py:467
Methodtest_get_events_empty
(self, store)
tests/test_store.py:444
Functiontest_get_store_uses_app_scoped_cache_when_debug_disabled
(tmp_path: Path)
tests/test_web_views.py:50
Functiontest_get_store_uses_per_request_store_in_debug
(tmp_path: Path)
tests/test_web_views.py:29
Methodtest_gz_lookup
Looking up by .gz source path should return an exact match.
tests/test_store.py:129
Methodtest_gz_lookup_not_found_raises
(self, store)
tests/test_store.py:137
Methodtest_has_argument_list_of_ints_becomes_strings
(self)
tests/extraction/llm/test_response.py:421
Methodtest_has_argument_list_of_strings_unchanged
(self)
tests/extraction/llm/test_response.py:426
Methodtest_has_argument_null_becomes_false
(self)
tests/extraction/llm/test_response.py:410
Methodtest_has_argument_null_not_in_raw_unchanged
If has_argument key is absent, don't inject False.
tests/extraction/llm/test_response.py:415
Methodtest_heredoc_at_eof
(self)
tests/test_matcher.py:901
Methodtest_higher_score_wins
When multiple mappings exist for the same src, higher score wins.
tests/test_store.py:57
← previousnext →1,701–1,800 of 2,183, ranked by callers