MCPcopy Create free account

hub / github.com/idank/explainshell / functions

Functions2,183 in github.com/idank/explainshell

Functiontest_idempotent
(tmp_path: Path)
tests/test_postprocess_ubuntu_archive.py:151
Methodtest_idempotent_on_rerun
LLM path should produce the same mappings on re-run (no duplicates).
tests/test_store.py:536
Methodtest_identical_files_deduped_in_same_run
Content-identical files should extract once and map the rest.
tests/test_manager.py:877
Methodtest_if
(self)
tests/test_matcher.py:723
Methodtest_if_none_match_returns_304
(self)
tests/test_web_views.py:391
Methodtest_in_run_dedup
(self, _h, _il)
tests/extraction/test_prefilter.py:271
Methodtest_includes_chunk_text
(self)
tests/extraction/llm/test_extractor.py:406
Methodtest_incomplete_batch_result_preserves_prep_stats
Files with missing batch responses should have prep stats.
tests/extraction/test_runner.py:224
Methodtest_inherited_read_methods_work
Non-overridden Store reads must route through the per-thread connection — the ``_conn`` property is the load-bearing piece.
tests/test_caching_store.py:203
Methodtest_int_list_has_argument_recovered
Real case: hdparm --set-sector-size with int enum values.
tests/extraction/llm/test_response.py:501
Methodtest_interrupted_report
Interrupted runs record interrupted=true in the summary.
tests/test_manager.py:2730
Methodtest_invalid_json
(self)
tests/test_manager.py:2957
Methodtest_invalid_lines_raises
(self)
tests/extraction/llm/test_response.py:210
Methodtest_invalid_range
(self)
tests/extraction/llm/test_response.py:131
Methodtest_invalid_response_no_json
(self)
tests/test_manager.py:2949
Methodtest_invalid_schema
(self)
tests/test_manager.py:2966
Methodtest_jobs_one_identical_to_sequential_batch
jobs=1 produces identical results to the default batch path.
tests/extraction/test_runner.py:980
Methodtest_keeps_non_blacklisted_sections
(self)
tests/extraction/llm/test_text.py:319
Methodtest_known_and_unknown_arg
(self)
tests/test_matcher.py:319
Methodtest_known_and_unknown_program
(self)
tests/test_matcher.py:544
Methodtest_known_arg
(self)
tests/test_matcher.py:38
Methodtest_large_only_keeps_files_above_threshold
( self, mock_source, mock_collect, mock_make_ext, mock_run, _m
tests/test_manager.py:3099
Methodtest_large_only_passes_above_threshold
(self, _h, _gs, _il)
tests/extraction/test_prefilter.py:115
Methodtest_large_only_skips_at_threshold
(self, _gs, _il)
tests/extraction/test_prefilter.py:105
Methodtest_large_text_splits_on_sections
(self)
tests/extraction/llm/test_text.py:134
Methodtest_last_agent_message_wins
(self)
tests/extraction/llm/test_codex_provider.py:113
Methodtest_limit
(self, store)
tests/test_store.py:434
Methodtest_line_number_padding
(self)
tests/extraction/llm/test_text.py:288
Methodtest_line_numbers_are_globally_correct
(self)
tests/extraction/llm/test_text.py:160
Methodtest_line_span_coverage
(self)
tests/test_manager.py:2975
Methodtest_list_empty_for_unknown_section
(self)
tests/test_web_views.py:545
Methodtest_list_filtered_by_section
(self)
tests/test_web_views.py:540
Methodtest_list_links_point_to_manpage_view
(self)
tests/test_web_views.py:551
Methodtest_list_links_url_encode_special_chars
(self)
tests/test_web_views.py:555
Methodtest_llm_vs_llm_labels_include_model
When both sides are llm:<model>, labels must distinguish them.
tests/test_manager.py:1996
Methodtest_log_and_get_event
(self, store)
tests/test_store.py:413
Methodtest_long
(self)
tests/test_matcher.py:334
Methodtest_long_flag_not_partial
--sort must not match inside --sort-order.
tests/extraction/test_postprocess.py:272
Methodtest_long_flag_standalone
(self)
tests/extraction/test_postprocess.py:277
Methodtest_long_subset_with_cross_ref
Case 2 from ps: --sort ⊂ {k, --sort} — subset mentions 'k'.
tests/extraction/test_postprocess.py:43
Methodtest_long_validating_without_transition_triggers_stall
A batch stuck in validating with no status or count changes should still be detected as stalled.
tests/extraction/llm/test_openai_provider.py:371
Methodtest_make_poll_client_failure_gives_all_files_entries
If make_poll_client() raises, every file gets a FAILED entry.
tests/extraction/test_runner.py:486
Methodtest_malformed_json_lines_skipped
(self)
tests/extraction/llm/test_codex_provider.py:79
Methodtest_malformed_options_skipped
( self, mock_sha, mock_synopsis, mock_text, mock_common_synopsis,
tests/extraction/llm/test_extractor.py:110
Methodtest_malformed_source
Directly insert a row with a bare source to test the checker.
tests/test_db_check.py:49
Methodtest_mandoc_failed
(self)
tests/test_manager.py:2995
Methodtest_mandoc_output_contains_option
(self)
tests/extraction/llm/test_text.py:70
Methodtest_mandoc_output_has_markdown_formatting
(self)
tests/extraction/llm/test_text.py:74
Methodtest_mandoc_produces_markdown
(self)
tests/extraction/llm/test_text.py:65
Methodtest_manpage_displays_source_text
(self)
tests/test_web_views.py:479
Methodtest_manpage_filename_with_plus
(self)
tests/test_web_views.py:512
Methodtest_manpage_filename_with_spaces
(self)
tests/test_web_views.py:507
Methodtest_manpage_markdown_rendered_as_html
(self)
tests/test_web_views.py:493
Methodtest_manpage_mismatched_dir_file_section
(self)
tests/test_web_views.py:502
Methodtest_manpage_not_found
(self)
tests/test_web_views.py:484
Methodtest_manpage_returns_200
(self)
tests/test_web_views.py:474
Methodtest_manpage_roff_rendered_as_pre
(self)
tests/test_web_views.py:489
Methodtest_manpage_view_sets_etag_and_cache_control
(self)
tests/test_web_views.py:376
Methodtest_mapping_score_and_update
mapping_score returns the score, update_mapping_score changes it.
tests/test_store.py:678
Methodtest_markdown_generator
(self, store)
tests/test_store.py:316
Methodtest_matching_prefix
(self)
tests/test_web_views.py:567
Methodtest_merge_same_match
(self)
tests/test_matcher.py:315
Methodtest_missing_distro_rejected
(self)
tests/test_store.py:397
Methodtest_missing_file_raises
(self)
tests/test_manpage.py:7
Methodtest_missing_lines_raises
(self)
tests/extraction/llm/test_response.py:205
Methodtest_missing_lookup_is_cached
( self, cached_store_factory: _CachedStoreFactory )
tests/test_caching_store.py:105
Methodtest_missing_manpage_is_not_cached
(self)
tests/test_web_views.py:425
Methodtest_missing_options_raises
(self)
tests/extraction/llm/test_response.py:59
Methodtest_missing_options_raises_extraction_error
(self)
tests/extraction/llm/test_response.py:83
Functiontest_missing_section_handled
(tmp_path: Path)
tests/test_postprocess_ubuntu_archive.py:208
Methodtest_missing_usage_field
(self)
tests/extraction/llm/test_codex_provider.py:101
Methodtest_multi_chunk_file_stays_together
A file with more chunks than batch_size gets its own batch.
tests/extraction/test_runner.py:1067
Methodtest_multi_chunk_merges_options
( self, mock_prepare, mock_sha, mock_common_synopsis, mock_nested_cmd,
tests/extraction/llm/test_extractor.py:227
Methodtest_multi_chunk_merges_options
( self, mock_sha, mock_common_synopsis, mock_nested_cmd )
tests/extraction/llm/test_extractor.py:317
Methodtest_multi_chunk_partial_missing
A multi-chunk file with one chunk missing fails, while a single-chunk file in the same batch succeeds.
tests/extraction/test_runner.py:288
Methodtest_multi_distro_creates_per_distro_mappings
Subcommand mappings should be created per distro, not cross-distro.
tests/test_store.py:595
Methodtest_multiple_matches
(self)
tests/test_matcher.py:373
Methodtest_multiple_nests
(self)
tests/test_matcher.py:507
Methodtest_multiple_positionals
each positional arg gets its own help text in definition order
tests/test_matcher.py:77
Methodtest_multiple_positionals_variadic
extra args beyond the defined positionals reuse the last one; adjacent matches with the same text get merged
tests/test_matcher.py:88
Methodtest_multiple_subsets_keep_longest_description
When two subsets both cross-ref the superset, the longest text wins.
tests/extraction/test_postprocess.py:89
Methodtest_multiple_turns
(self)
tests/extraction/llm/test_codex_provider.py:56
Methodtest_nested_cmd_auto_corrects
(self)
tests/extraction/llm/test_response.py:220
Methodtest_nested_cmd_forces_has_argument
(self)
tests/extraction/llm/test_response.py:295
Methodtest_nested_command
(self)
tests/test_matcher.py:408
Methodtest_nested_command_is_unknown
(self)
tests/test_matcher.py:526
Methodtest_nested_controlflows
(self)
tests/test_matcher.py:742
Functiontest_nested_directory_skipped
(tmp_path: Path)
tests/test_postprocess_ubuntu_archive.py:122
Methodtest_nested_option
(self)
tests/test_matcher.py:429
Methodtest_new_file_first_doesnt_block_matching_db_row
A new file appearing earlier in the input must not suppress a filter-matching DB row with the same content hash (finding 1: input-orde
tests/test_manager.py:1577
Methodtest_no_artificial_line_wrapping
Prose paragraphs should not be hard-wrapped at terminal width (~78 cols).
tests/extraction/llm/test_text.py:103
Methodtest_no_db_set
Commands that need a DB fail cleanly when --db is not set.
tests/test_manager.py:2173
Methodtest_no_duplicates
(self, store)
tests/test_store.py:291
Methodtest_no_duplicates
(self, store)
tests/test_store.py:343
Methodtest_no_filter_returns_all
Without distro/release, all matching manpages should be returned.
tests/test_store.py:269
Methodtest_no_json_raises
(self)
tests/extraction/llm/test_response.py:40
Methodtest_no_json_raises_extraction_error
(self)
tests/extraction/llm/test_response.py:90
Methodtest_no_match
(self)
tests/test_web_views.py:574
Methodtest_no_meta_skipped
Options without line metadata are silently ignored.
tests/extraction/test_postprocess.py:370
Methodtest_no_nbsp_entities
clean_mandoc_artifacts replaces &nbsp; entities with plain spaces.
tests/extraction/llm/test_text.py:97
← previousnext →1,801–1,900 of 2,183, ranked by callers