MCPcopy Create free account

hub / github.com/idank/explainshell / functions

Functions2,183 in github.com/idank/explainshell

Methodtest_arguments
(self)
tests/test_matcher.py:385
Methodtest_assignment_as_first_word
(self)
tests/test_matcher.py:791
Methodtest_assignment_with_expansion
(self)
tests/test_matcher.py:780
Methodtest_atomic_write_no_tmp_left
After a successful write, no .tmp file should remain.
tests/extraction/test_manifest.py:113
Methodtest_azure_requires_api_key
(self)
tests/extraction/llm/test_openai_provider.py:758
Methodtest_azure_requires_base_url_or_endpoint
(self)
tests/extraction/llm/test_openai_provider.py:765
Methodtest_bad_short_type_raises
(self)
tests/extraction/llm/test_response.py:215
Methodtest_bare_angle_brackets_escaped
(self)
tests/test_web_views.py:627
Methodtest_bare_basename_rejected
(self)
tests/test_store.py:393
Methodtest_bare_codex_raises
Bare 'codex' routes to CodexProvider which rejects it.
tests/extraction/llm/test_codex_provider.py:251
Methodtest_bare_codex_rejected
Bare 'codex' without a model name should raise ValueError.
tests/extraction/llm/test_codex_provider.py:141
Methodtest_bare_sigil_positional_not_stripped
a positional that IS just the sigil isn't emptied out
tests/extraction/llm/test_response.py:465
Methodtest_basic
(self)
tests/extraction/llm/test_response.py:190
Methodtest_basic
(self)
tests/extraction/llm/test_text.py:266
Methodtest_basic_extraction
(self)
tests/extraction/llm/test_response.py:110
Methodtest_batch2_failure_preserves_batch1_writes
If some files fail, successful files must still be in the DB.
tests/test_manager.py:196
Methodtest_batch_failure_preserves_prep_stats
When the whole batch fails, FileEntries should have prep stats.
tests/extraction/test_runner.py:204
Methodtest_batch_manifest_embedded
batch_manifest dict is included when provided.
tests/test_manager.py:2701
Methodtest_batch_mode_dispatches_to_batch_extractor
batch_size set with a BatchExtractor calls run_batch path.
tests/extraction/test_runner.py:583
Methodtest_batch_mode_raises_for_non_batch_extractor
Requesting batch mode with a plain Extractor raises TypeError.
tests/extraction/test_runner.py:566
Methodtest_batch_mode_raises_for_non_batch_llm_model
LLMExtractor with a non-batch model rejects --batch at dispatch.
tests/extraction/test_runner.py:573
Methodtest_batch_size_larger_than_total
All items fit in one batch.
tests/extraction/test_runner.py:1060
Methodtest_batch_size_negative_raises
Negative batch_size raises ValueError.
tests/extraction/test_runner.py:560
Methodtest_batch_size_one
batch_size=1 gives each file its own batch.
tests/extraction/test_runner.py:1088
Methodtest_batch_size_zero_raises
batch_size=0 raises ValueError before dispatch.
tests/extraction/test_runner.py:553
Methodtest_batch_takes_precedence_over_jobs
When both batch_size and jobs are set, batch mode wins.
tests/extraction/test_runner.py:793
Methodtest_blacklisted_skip
Blacklisted source raises SkippedExtraction(reason_class=BLACKLISTED).
tests/test_manager.py:3009
Methodtest_blacklisted_source_skipped
prepare() raises SkippedExtraction for blacklisted source paths.
tests/extraction/llm/test_extractor.py:276
Methodtest_blank_lines_skipped
(self)
tests/extraction/llm/test_codex_provider.py:90
Methodtest_blockquotes_preserved
(self)
tests/test_web_views.py:638
Methodtest_bold_and_italic
(self)
tests/test_web_views.py:622
Methodtest_both_lookups_fail_logs_not_in_db
When neither source nor name is in DB, log 'not in DB'.
tests/test_manager.py:2148
Methodtest_both_skipped_yields_skipped_outcome
When both extractors skip, outcome is SKIPPED (not FAILED).
tests/test_manager.py:1947
Functiontest_broken_same_section_symlink_skipped
(tmp_path: Path)
tests/test_postprocess_ubuntu_archive.py:72
Methodtest_buckets_and_stats
(self)
tests/test_manager.py:2773
Methodtest_buckets_each_decision_type
(self)
tests/extraction/test_prefilter.py:307
Methodtest_cache_respects_entry_limit
( self, cached_store_factory: _CachedStoreFactory )
tests/test_caching_store.py:147
Methodtest_cache_stays_within_total_byte_budget
( self, cached_store_factory: _CachedStoreFactory )
tests/test_caching_store.py:132
Methodtest_call_llm_invalid_response_preserves_raw
_call_llm propagates raw_response when the LLM returns invalid JSON structure.
tests/extraction/llm/test_extractor.py:249
Methodtest_call_uses_azure_endpoint_configuration
( self, mock_openai_cls: MagicMock )
tests/extraction/llm/test_openai_provider.py:695
Methodtest_callbacks_forwarded
on_start and on_result callbacks are forwarded through run().
tests/extraction/test_runner.py:774
Methodtest_cancel_api_failure_raises
If the cancel API call itself fails, raise ExtractionError.
tests/extraction/llm/test_openai_provider.py:189
Methodtest_cancel_wait_measured_from_cancel_time
After cancel, the cancel-wait timeout is measured purely from the cancel time, regardless of continued progress.
tests/extraction/llm/test_openai_provider.py:411
Methodtest_cancel_wait_timeout_returns_batch
If cancellation stalls beyond CANCEL_WAIT_TIMEOUT, return batch for partial collection.
tests/extraction/llm/test_openai_provider.py:144
Methodtest_case_insensitive_matching
(self)
tests/extraction/llm/test_text.py:337
Methodtest_chunk0_invalid_raises_extraction_error
A chunk-0 response missing 'options' raises ExtractionError, not ValueError.
tests/extraction/llm/test_extractor.py:334
Methodtest_chunk_info_included
(self)
tests/extraction/llm/test_extractor.py:410
Methodtest_classified_defaults
(self)
tests/extraction/test_prefilter.py:359
Methodtest_classified_outcomes_recorded
( self, mock_source, mock_collect, mock_make_ext, mock_run, _m
tests/test_manager.py:2808
Methodtest_classify_provider_error
(self)
tests/test_manager.py:3023
Methodtest_clean_db
(self, store, db_path)
tests/test_db_check.py:45
Methodtest_clean_db
(self)
tests/test_manager.py:2459
Methodtest_clean_json
(self)
tests/extraction/llm/test_response.py:25
Methodtest_clean_option_returned_unchanged
(self)
tests/extraction/test_postprocess.py:305
Methodtest_cmd_if_none_match_returns_304
(self)
tests/test_web_views.py:397
Methodtest_cmd_unknown_program_is_not_cached
Missing-manpage error responses render a different template and intentionally skip the cache wrapper — a later backfill would otherwis
tests/test_web_views.py:415
Methodtest_cmd_view_has_no_cache_headers
(self)
tests/test_web_views.py:456
Methodtest_cmd_view_sets_etag_and_cache_control
(self)
tests/test_web_views.py:384
Methodtest_codex_with_model
(self)
tests/extraction/llm/test_codex_provider.py:256
Methodtest_codex_with_model_passes_flag
codex/o3' should pass --model o3.
tests/extraction/llm/test_codex_provider.py:146
Methodtest_codex_with_reasoning_effort
(self)
tests/extraction/llm/test_codex_provider.py:260
Methodtest_comment
(self)
tests/test_matcher.py:880
Methodtest_completed_during_cancel_wait
If the batch completes while we're waiting for cancel, return it.
tests/extraction/llm/test_openai_provider.py:248
Methodtest_comsub
(self)
tests/test_matcher.py:636
Methodtest_comsub_as_arg
(self)
tests/test_matcher.py:674
Methodtest_comsub_as_first_word
(self)
tests/test_matcher.py:692
Methodtest_concurrent_access_is_safe
( self, cached_store_factory: _CachedStoreFactory )
tests/test_caching_store.py:162
Methodtest_coverage_too_high
Every option spanning the whole document triggers coverage check.
tests/extraction/test_postprocess.py:364
Methodtest_create_is_not_supported
(self)
tests/test_caching_store.py:199
Methodtest_creates_parent_directory
FileBatchManifestWriter creates the parent directory if it doesn't exist.
tests/extraction/test_manifest.py:124
Methodtest_cross_release_identical_files_not_deduped
Identical files from different releases must both be extracted.
tests/test_manager.py:1088
Methodtest_cross_section_identical_files_not_deduped
Identical files in different sections must both be extracted.
tests/test_manager.py:1152
Functiontest_cross_section_missing_target_skipped
(tmp_path: Path)
tests/test_postprocess_ubuntu_archive.py:222
Functiontest_cross_section_symlink_rewritten
(tmp_path: Path)
tests/test_postprocess_ubuntu_archive.py:57
Functiontest_cross_section_to_deleted_section_skipped
(tmp_path: Path)
tests/test_postprocess_ubuntu_archive.py:83
Methodtest_dash_flag_not_in_longer_token
-M must not match inside --Macro or re-Make.
tests/extraction/test_postprocess.py:263
Methodtest_dash_flag_standalone
(self)
tests/extraction/test_postprocess.py:268
Methodtest_dashless_opts_with_arguments
(self)
tests/test_matcher.py:68
Methodtest_db_seeded_dedup
(self, _h, _il)
tests/extraction/test_prefilter.py:281
Methodtest_db_writes_after_each_batch
Verify on_result callback writes to DB for each successful file.
tests/test_manager.py:112
Methodtest_debug_dir_writes_files
( self, mock_sha, mock_synopsis, mock_text, mock_common_synopsis,
tests/extraction/llm/test_extractor.py:141
Methodtest_dedup_keeps_longest_span
(self)
tests/extraction/llm/test_response.py:394
Methodtest_dedup_scoped_by_release
(self, _h, _il)
tests/extraction/test_prefilter.py:299
Methodtest_dedup_step_can_be_skipped
(self)
tests/extraction/test_postprocess.py:330
Methodtest_deduplicates
(self)
tests/extraction/llm/test_extractor.py:395
Functiontest_deep_path_symlink_skipped
(tmp_path: Path)
tests/test_postprocess_ubuntu_archive.py:97
Methodtest_default_distro_falls_back
Default distro is arch (sorts last with reverse), but 'uonly' only exists in ubuntu — fallback should find it.
tests/test_web_views.py:283
Methodtest_default_distro_prefers_ubuntu
When multiple distros exist, the default should prefer ubuntu so that commands available only in ubuntu are found without an explicit
tests/test_web_views.py:162
Methodtest_delete_failure_does_not_prevent_results
(self, _cls: MagicMock)
tests/extraction/llm/test_openai_provider.py:827
Methodtest_description_only_first_paragraph
(self)
tests/extraction/llm/test_text.py:226
Methodtest_diff_db_debug_threads_through
--debug is forwarded to _run_diff_db.
tests/test_manager.py:1732
Methodtest_diff_db_invalid_mode
Invalid mode is rejected.
tests/test_manager.py:1765
Methodtest_diff_db_success
Basic diff db invocation succeeds.
tests/test_manager.py:1697
Methodtest_diff_extractors_invalid_mode_in_spec
Invalid mode inside A..B spec is rejected.
tests/test_manager.py:1817
Methodtest_diff_extractors_invalid_spec_no_dots
Spec without '..' is rejected.
tests/test_manager.py:1806
Methodtest_diff_extractors_success
Basic diff extractors invocation succeeds.
tests/test_manager.py:1787
Methodtest_different_distro
(self)
tests/test_store.py:205
Methodtest_different_options_kept
(self)
tests/extraction/llm/test_response.py:371
Methodtest_direct_fatal_extraction_error_propagates
An extractor-raised FatalExtractionError is not swallowed.
tests/extraction/test_runner.py:739
Methodtest_disjoint_overlap_not_merged
Overlapping but non-subset flags: neither is removed.
tests/extraction/test_postprocess.py:222
← previousnext →1,601–1,700 of 2,183, ranked by callers