MCPcopy Create free account

hub / github.com/idank/explainshell / functions

Functions2,183 in github.com/idank/explainshell

Methodtest_reason_gate_skipped_under_threshold
(self, mock_collect)
tests/test_manager.py:437
Methodtest_reason_required_for_bulk_extraction
(self, mock_collect)
tests/test_manager.py:396
Methodtest_reasoning_effort_passed
reasoning_effort='high' should pass -c model_reasoning_effort.
tests/extraction/llm/test_codex_provider.py:163
Methodtest_record_replaces_existing_entry
A second record_batch with the same batch_idx replaces the first.
tests/extraction/test_manifest.py:138
Methodtest_records_incrementally
(self)
tests/extraction/test_manifest.py:55
Methodtest_redirect_first_word_of_command
(self)
tests/test_matcher.py:599
Functiontest_regular_files_copied
(tmp_path: Path)
tests/test_postprocess_ubuntu_archive.py:27
Methodtest_reimport_logs_lost_symlink_mapping
Re-importing a canonical logs a debug message about lost non-alias mappings.
tests/test_store.py:644
Methodtest_reimport_no_log_when_only_aliases
Re-importing when all mappings are aliases produces no non-alias log.
tests/test_store.py:666
Methodtest_rejects_non_gz_file
(self)
tests/test_manager.py:3212
Methodtest_release_index
(self)
tests/test_web_views.py:519
Methodtest_release_index_unknown_distro
(self)
tests/test_web_views.py:525
Methodtest_removes_blacklisted_sections
(self)
tests/extraction/llm/test_text.py:304
Methodtest_removes_stale_mappings
Reconciliation removes subcommand mappings no longer declared by parent.
tests/test_store.py:553
Methodtest_removes_subsections_under_blacklisted_top_level
(self)
tests/extraction/llm/test_text.py:325
Methodtest_report_schema
report.json has the expected top-level fields and values.
tests/test_manager.py:2664
Methodtest_reports_issues
Insert an orphaned mapping so db-check has something to report.
tests/test_manager.py:2468
Methodtest_reset_current_option_if_argument_taken
(self)
tests/test_matcher.py:186
Methodtest_returns_distinct_sections
(self, store)
tests/test_store.py:334
Methodtest_returns_distro_release_pairs
(self, store)
tests/test_store.py:281
Methodtest_returns_extractor_and_meta_for_all_rows
(self, store)
tests/test_store.py:173
Methodtest_returns_false_for_missing_source
(self, store)
tests/test_store.py:168
Methodtest_returns_fresh_list_from_cache
( self, cached_store_factory: _CachedStoreFactory )
tests/test_caching_store.py:91
Methodtest_returns_response_and_usage
(self)
tests/extraction/llm/test_codex_provider.py:130
Methodtest_returns_text_and_generator
(self, store)
tests/test_store.py:302
Methodtest_returns_true_for_existing_source
(self, store)
tests/test_store.py:162
Methodtest_same_name_different_distro_succeeds
Same name+section in different distros should be allowed.
tests/test_store.py:234
Methodtest_same_name_different_section_succeeds
Same name in different sections within same distro should be allowed.
tests/test_store.py:241
Methodtest_same_name_section_distro_different_source_raises
Two manpages with same name+section+distro but different source should raise.
tests/test_store.py:216
Functiontest_same_section_symlink_preserved
(tmp_path: Path)
tests/test_postprocess_ubuntu_archive.py:42
Methodtest_same_source_reimport_succeeds
Re-importing the same source should replace the old entry.
tests/test_store.py:210
Methodtest_section_8
(self)
tests/test_web_views.py:577
Methodtest_section_among_multiple
When multiple sections exist, the requested one should come first.
tests/test_store.py:115
Methodtest_section_filter
Specifying a section should return that section first.
tests/test_store.py:89
Methodtest_section_filter_first_result_fully_loaded
The first result should be fully populated (have options data).
tests/test_store.py:99
Methodtest_section_index
(self)
tests/test_web_views.py:533
Methodtest_self_symlink_falls_through
(self, _h, _il, _rp, _gs)
tests/extraction/test_prefilter.py:153
Methodtest_sequential_fallback
No batch_size and jobs=1 runs sequentially.
tests/extraction/test_runner.py:601
Methodtest_sequential_unexpected_exception_aborts_run
Sequential mode also propagates unexpected extractor exceptions as fatal.
tests/extraction/test_runner.py:723
Methodtest_shadowed_duplicate
Two manpages with same name+section+distro should be flagged.
tests/test_db_check.py:89
Methodtest_short_subset_with_cross_ref
Case 1 from ps: Z ⊂ {-M, Z} — subset mentions '-M'.
tests/extraction/test_postprocess.py:34
Methodtest_show_distros
(self)
tests/test_manager.py:2231
Methodtest_show_events_date_format
(self)
tests/test_manager.py:2336
Methodtest_show_events_empty
(self)
tests/test_manager.py:2329
Methodtest_show_events_extraction
(self)
tests/test_manager.py:2361
Methodtest_show_events_extraction_with_reason
(self)
tests/test_manager.py:2392
Methodtest_show_events_limit
(self)
tests/test_manager.py:2417
Methodtest_show_manpage
(self)
tests/test_manager.py:2238
Methodtest_show_manpage_distro_release
(self)
tests/test_manager.py:2247
Methodtest_show_manpage_distro_without_release
(self)
tests/test_manager.py:2273
Methodtest_show_manpage_not_found
(self)
tests/test_manager.py:2293
Methodtest_show_manpage_release_without_distro
(self)
tests/test_manager.py:2283
Methodtest_show_manpages
(self)
tests/test_manager.py:2311
Methodtest_show_mappings
(self)
tests/test_manager.py:2321
Methodtest_show_sections
(self)
tests/test_manager.py:2302
Methodtest_show_stats
(self)
tests/test_manager.py:2223
Methodtest_sigil_not_stripped_when_prefix_present
(self)
tests/extraction/llm/test_response.py:452
Methodtest_sigil_stripped_from_positional_name
(self)
tests/extraction/llm/test_response.py:446
Methodtest_single_char_flag_not_in_prose
Bare 'k' must not match inside words like 'work' or 'make'.
tests/extraction/test_postprocess.py:253
Methodtest_single_char_flag_standalone
Bare 'k' as a standalone token does match.
tests/extraction/test_postprocess.py:258
Methodtest_single_chunk_files_even_split
4 single-chunk files with batch_size=2 → 2 batches of 2.
tests/extraction/test_runner.py:1048
Methodtest_single_count_p90_fallback
statistics.quantiles needs >= 2 points; single point falls back.
tests/test_manager.py:2790
Methodtest_single_file_many_chunks
One file with many chunks → single batch.
tests/extraction/test_runner.py:1082
Methodtest_single_line
(self)
tests/extraction/llm/test_text.py:276
Methodtest_single_option
(self)
tests/extraction/test_postprocess.py:243
Methodtest_single_turn
(self)
tests/extraction/llm/test_codex_provider.py:44
Methodtest_single_unsplittable_line
(self)
tests/extraction/llm/test_text.py:153
Methodtest_size_filter_recorded_in_report
( self, mock_source, mock_collect, mock_make_ext, mock_run, _m
tests/test_manager.py:3166
Methodtest_skipped_files_get_entries
Files that fail prepare() with SkippedExtraction get SKIPPED entries.
tests/extraction/test_runner.py:355
Methodtest_skips_leading_blank_body_lines
(self)
tests/extraction/llm/test_response.py:135
Methodtest_skips_none_file_ids
(self, _cls: MagicMock)
tests/extraction/llm/test_openai_provider.py:860
Methodtest_small_and_large_mutually_exclusive
(self)
tests/test_manager.py:3139
Methodtest_small_only_keeps_files_at_or_below_threshold
( self, mock_source, mock_collect, mock_make_ext, mock_run, _m
tests/test_manager.py:3050
Methodtest_small_only_passes_at_threshold
(self, _h, _gs, _il)
tests/extraction/test_prefilter.py:99
Methodtest_small_only_skips_large_file
(self, _gs, _il)
tests/extraction/test_prefilter.py:88
Methodtest_small_text_no_split
(self)
tests/extraction/llm/test_text.py:126
Methodtest_stale_subcommand_mapping_missing_parent
Subcommand mapping whose parent doesn't exist should be an error.
tests/test_db_check.py:157
Methodtest_stale_subcommand_mapping_not_declared
Subcommand mapping where parent doesn't declare the subcommand should warn.
tests/test_db_check.py:174
Methodtest_stale_symlink_deletes_db_row
(self)
tests/extraction/test_prefilter.py:327
Methodtest_stall_cancels_and_returns_partial
After stall_timeout with no progress, the batch is cancelled and the cancelled batch is returned for partial result collection.
tests/extraction/llm/test_openai_provider.py:56
Methodtest_standalone_manifest_cleaned_up
_write_report removes batch-manifest.json if it exists.
tests/test_manager.py:2718
Functiontest_stats_counts
(tmp_path: Path)
tests/test_postprocess_ubuntu_archive.py:183
Methodtest_stats_only_from_successful_files
Token counts in BatchResult.stats come only from successful finalization.
tests/extraction/test_runner.py:124
Methodtest_stop_event_during_error_backoff
A stop_event set during error backoff should raise KeyboardInterrupt.
tests/extraction/llm/test_openai_provider.py:638
Methodtest_store_is_app_scoped
(self)
tests/test_web_views.py:213
Methodtest_strips_backtick_fence_no_lang
(self)
tests/extraction/llm/test_response.py:35
Methodtest_strips_blockquote_prefix
(self)
tests/extraction/llm/test_response.py:120
Methodtest_strips_both_leading_and_trailing_blank_lines
(self)
tests/extraction/llm/test_response.py:159
Methodtest_strips_markdown_fences
(self)
tests/extraction/llm/test_response.py:30
Methodtest_strips_multiple_trailing_blank_lines
(self)
tests/extraction/llm/test_response.py:147
Methodtest_strips_parent_prefix
(self)
tests/extraction/llm/test_extractor.py:387
Methodtest_strips_trailing_blank_body_lines
(self)
tests/extraction/llm/test_response.py:142
Methodtest_subcommands
(self)
tests/test_matcher.py:355
Methodtest_submit_batch_uses_azure_deployment_name
( self, mock_openai_cls: MagicMock )
tests/extraction/llm/test_openai_provider.py:727
Methodtest_subset_and_exact_dedup_combined
Both subset and exact-match are handled in one pass.
tests/extraction/test_postprocess.py:320
Methodtest_subset_dedup_runs_by_default
(self)
tests/extraction/test_postprocess.py:313
Methodtest_subset_keeps_longer_description
When the subset entry has a longer description, transfer it.
tests/extraction/test_postprocess.py:57
Methodtest_subset_no_cross_ref_long_flags
Subset with long flag, no cross-ref -> not merged.
tests/extraction/test_postprocess.py:164
Methodtest_subset_no_cross_ref_not_merged
False positive guard: no mention of extra flags -> skip merge. Prevents merges like ps ``e`` (show env) ⊂ ``{-A, -e}`` (select all) w
tests/extraction/test_postprocess.py:152
Methodtest_subset_picks_closest_superset
With competing supersets, merge into the closest (fewest extra flags).
tests/extraction/test_postprocess.py:103
← previousnext →2,001–2,100 of 2,183, ranked by callers