MCPcopy Create free account

hub / github.com/idank/explainshell / functions

Functions2,183 in github.com/idank/explainshell

↓ 1 callersFunction_html_metrics
(html: str)
tests/evals/render/render_eval.py:165
↓ 1 callersFunction_i
(n,t,e)
explainshell/web/static/js/d3.v3.min.js:2
↓ 1 callersFunction_is_any_section_header
(line: str)
explainshell/roff_utils.py:67
↓ 1 callersFunction_is_section_header
Check if a roff line is a section header (.SH or .Sh) matching name.
explainshell/roff_utils.py:55
↓ 1 callersFunction_is_standard_manpath
Check if filename is under a standard man page directory. Matches manned.org's is_standard_man_location() logic. Prefers man pages installed
tools/fetch_manned.py:419
↓ 1 callersFunction_line_metrics
(markdown: str)
tests/evals/render/render_eval.py:143
↓ 1 callersFunction_make_raw
()
tests/test_caching_store.py:26
↓ 1 callersFunction_mandoc_markdown
(mandoc_path: str, manpage: Path)
tests/evals/render/render_eval.py:125
↓ 1 callersMethod_mark_unparsed_unknown
the parser may leave a remainder at the end of the string if it doesn't match any of the rules, mark them as unknowns
explainshell/matcher.py:894
↓ 1 callersFunction_matches_filter
True if the stored row matches any of the (mode, model) filter specs.
explainshell/extraction/prefilter.py:90
↓ 1 callersMethod_merge_adjacent
(self, matches)
explainshell/matcher.py:938
↓ 1 callersFunction_metrics
(path: str, markdown: str, html: str)
tests/evals/render/render_eval.py:187
↓ 1 callersFunction_open_loop_scheduler
( session, url: str, rng: random.Random, results: list[Result], test_start: float, sto
tools/loadtest.py:300
↓ 1 callersFunction_openai_input
Build the Responses API input message list.
explainshell/extraction/llm/providers/openai.py:29
↓ 1 callersFunction_pad_screenshots_to_match
Top-pad the shorter screenshot with white pixels so both PNGs share the same dimensions. Lets the comparison slider clip cleanly without the
tests/evals/render/render_eval.py:462
↓ 1 callersFunction_para_to_store
Normalise a paragraph dict so text is a plain string.
tools/migrate_mongo_to_sqlite.py:62
↓ 1 callersFunction_parse_date
Parse a YYYY-MM-DD release date into a sortable tuple. Missing or malformed dates (\\N, empty, non-ISO) collapse to (0, 0, 0) so they always
tools/fetch_manned.py:431
↓ 1 callersFunction_parse_so_redirect
If *content* is a pure .so redirect, return the target path; else None.
tools/fetch_manned.py:253
↓ 1 callersFunction_parse_synopsis
>>> _parse_synopsis('/a/b/c', '/a/b/c: "p-r+o++g - foo bar."') ('p-r+o++g', 'foo bar')
explainshell/manpage.py:30
↓ 1 callersFunction_print_audit_report
( run_dir: Path, summary: dict[str, Any], rules: list[tuple[str, AuditScanner, str]], violatio
tests/evals/render/render_eval.py:1327
↓ 1 callersFunction_print_report
(report: dict)
tools/loadtest.py:433
↓ 1 callersFunction_print_summary
(summary: dict[str, Any])
tests/evals/llm/llm_eval.py:212
↓ 1 callersFunction_process_one_batch
Process a single provider batch: submit -> poll -> collect -> finalize. Never raises for normal batch/file failures — returns FAILED entries
explainshell/extraction/runner.py:288
↓ 1 callersFunction_qs
(source: str)
tools/scan_bot_traffic.py:95
↓ 1 callersFunction_query
POST one SQL statement to Better Stack ClickHouse, return JSONEachRow rows.
tools/scan_bot_traffic.py:38
↓ 1 callersFunction_released_to_epoch
Convert a (YYYY, MM, DD) tuple to UTC epoch seconds. Missing dates (0, 0, 0) collapse to 0, matching the gzip ``mtime=0`` convention for "no
tools/fetch_manned.py:583
↓ 1 callersFunction_render_page
(mandoc_path: str, manpage: Path)
tests/evals/render/render_eval.py:196
↓ 1 callersFunction_resolve_mandoc_version_cached
( abs_path: str, _mtime_size: tuple[float, int] )
explainshell/extraction/common.py:90
↓ 1 callersFunction_resolve_so_target
Resolve a .so target string to an actual .gz file under *root*. Handles two formats: - "man<N>/<name>.<N>" → root/<N>/<name>.<N>.gz
tools/fetch_manned.py:262
↓ 1 callersMethod_result_index
return a mapping of `MatchResult`s to their index among all matches, sorted by the start position of the `MatchResult`
explainshell/matcher.py:928
↓ 1 callersFunction_rewrite_target
Rewrite a symlink *target* for the destination directory layout. Returns the (possibly rewritten) target string, or ``None`` if the symlink s
tools/postprocess_ubuntu_archive.py:43
↓ 1 callersFunction_run_lexgrog
Run lexgrog on a man page and return the raw synopsis string. Raises FileNotFoundError if the file does not exist, and RuntimeError if lexgro
explainshell/manpage.py:45
↓ 1 callersFunction_run_plan
Print the prefilter classification for each file; no extraction, no writes.
explainshell/manager.py:293
↓ 1 callersFunction_scan_audit_run
( run_dir: Path, summary: dict[str, Any], rules: list[tuple[str, AuditScanner, str]], )
tests/evals/render/render_eval.py:1303
↓ 1 callersFunction_select_audit_rules
(rules_csv: str | None)
tests/evals/render/render_eval.py:1292
↓ 1 callersFunction_setup_console_logging
Configure stderr logging only — no run dir, no file handler.
explainshell/manager.py:442
↓ 1 callersFunction_slow_reader
( host: str, port: int, path: str, rng: random.Random, read_bps: int, chunk: int,
tools/loadtest.py:482
↓ 1 callersFunction_source
Union of hot tier + s3 archive, restricted to the lookback window. Hot tier retains ~25 min; s3 covers everything older. UNION ALL plus the s
tools/scan_bot_traffic.py:75
↓ 1 callersFunction_split_by_lines
Last-resort split: cut at line boundaries to fit budget.
explainshell/extraction/llm/text.py:233
↓ 1 callersFunction_substitution_markup
>>> _substitution_markup('foo') '<a href="/explain?cmd=foo" title="Zoom in to nested command">foo</a>' >>> _substitution_markup('cat <&3'
explainshell/web/views.py:636
↓ 1 callersFunction_suspicious_aggregate
( base_agg: dict[str, Any], curr_agg: dict[str, Any] )
tests/evals/llm/llm_eval.py:343
↓ 1 callersFunction_suspicious_changes
( path: str, old: dict[str, Any] | None, new: dict[str, Any] | None )
tests/evals/render/render_eval.py:264
↓ 1 callersFunction_suspicious_page_changes
( old: dict[str, Any] | None, new: dict[str, Any] | None )
tests/evals/llm/llm_eval.py:310
↓ 1 callersMethod_upsert_raw_manpage
Insert or replace a RawManpage into the manpages table.
explainshell/store.py:458
↓ 1 callersMethod_walk
(e,t)
explainshell/web/static/js/highlight.min.js:34
↓ 1 callersFunction_witness
( url: str, rng: random.Random, deadline: float, interval_s: float, witness_results: list[
tools/loadtest.py:543
↓ 1 callersFunction_write_diff_index
( report_dir: Path, *, baseline: dict[str, Any], current: dict[str, Any], cards: list[dict
tests/evals/render/render_eval.py:589
↓ 1 callersMethodaddRule
(e,t)
explainshell/web/static/js/highlight.min.js:129
↓ 1 callersFunctionajaxConvert
( s, response )
explainshell/web/static/js/jquery.js:8178
↓ 1 callersFunctionajaxHandleResponses
( s, jqXHR, responses )
explainshell/web/static/js/jquery.js:8117
↓ 1 callersFunctionappend
()
explainshell/web/static/js/d3.v3.js:787
↓ 1 callersFunctionapportion
(node, previousSibling, ancestor)
explainshell/web/static/js/d3.v3.js:5822
↓ 1 callersFunctionar
(n,t,e,r,u,i)
explainshell/web/static/js/d3.v3.min.js:2
↓ 1 callersFunctionassigncolors
()
explainshell/web/static/js/es.js:456
↓ 1 callersFunctionba
(n,t)
explainshell/web/static/js/d3.v3.min.js:3
↓ 1 callersFunctionbench_in_query
Benchmark the IN (...) query used by _discover_manpage_suggestions.
tools/bench_src_index.py:105
↓ 1 callersFunctionbr
(n)
explainshell/web/static/js/d3.v3.min.js:2
↓ 1 callersFunctionbuildParams
( prefix, obj, traditional, add )
explainshell/web/static/js/jquery.js:7368
↓ 1 callersFunctionbuild_manpage_metadata
One place to assemble synopsis, aliases, and detection metadata.
explainshell/extraction/common.py:19
↓ 1 callersFunctionbuild_parser
()
tests/evals/llm/llm_eval.py:508
↓ 1 callersFunctionbuild_parser
()
tests/evals/render/render_eval.py:1381
↓ 1 callersFunctionbuild_prompt
(window: str, summary: dict[str, list[dict]])
tools/scan_bot_traffic.py:259
↓ 1 callersFunctionbuild_query_in
(n: int)
tools/bench_src_index.py:47
↓ 1 callersFunctionbuild_raw_manpage
One place to build RawManpage with SHA256. ``mandoc_path`` identifies the mandoc binary used for the extraction and is resolved into ``genera
explainshell/extraction/common.py:44
↓ 1 callersMethodcall
(self, user_content: str)
explainshell/extraction/llm/providers/openai.py:88
↓ 1 callersMethodcancel_batch
(self, client: Client, job_id: str)
explainshell/extraction/llm/providers/gemini.py:98
↓ 1 callersFunctionceil
(date)
explainshell/web/static/js/d3.v3.js:7873
↓ 1 callersFunctionclearMenus
()
explainshell/web/static/js/bootstrap.js:739
↓ 1 callersFunctioncli
Manage the explainshell manpage database.
explainshell/manager.py:493
↓ 1 callersFunctionclientIP
(r *http.Request)
prod/botshed/module.go:259
↓ 1 callersMethodclose
(self)
explainshell/caching_store.py:146
↓ 1 callersMethodcloseAllNodes
()
explainshell/web/static/js/highlight.min.js:32
↓ 1 callersMethodcloseNode
()
explainshell/web/static/js/highlight.min.js:31
↓ 1 callersFunctioncmd_download
Download all dump files from manned.org.
tools/fetch_manned.py:114
↓ 1 callersFunctioncmd_extract
Extract man pages from the downloaded dump files.
tools/fetch_manned.py:132
↓ 1 callersFunctioncollect
(token: str, n: int, unit: str)
tools/scan_bot_traffic.py:219
↓ 1 callersFunctioncollect_files
(root: str)
tools/experiments/eval_size_routing.py:34
↓ 1 callersFunctioncollect_sample_srcs
Return three lists of src values for benchmarking. - single_dst: src values that map to exactly 1 destination (common case) - multi_dst: src
tools/bench_src_index.py:52
↓ 1 callersFunctioncommandunknowns
()
explainshell/web/static/js/es.js:475
↓ 1 callersFunctioncompare
(a, b)
explainshell/web/static/js/d3.v3.js:2762
↓ 1 callersFunctioncompare_manpages
Compare two ParsedManpage objects and return a list of structured diff entries. Each entry is a dict with: - "type": "field" | "option_chan
explainshell/diff.py:60
↓ 1 callersFunctioncreateActiveXHR
()
explainshell/web/static/js/jquery.js:8445
↓ 1 callersFunctioncreateButtonPseudo
( type )
explainshell/web/static/js/jquery.js:4479
↓ 1 callersFunctioncreateInputPseudo
( type )
explainshell/web/static/js/jquery.js:4471
↓ 1 callersFunctioncreateOptions
( options )
explainshell/web/static/js/jquery.js:974
↓ 1 callersFunctioncreateStandardXHR
()
explainshell/web/static/js/jquery.js:8439
↓ 1 callersFunctioncreateTweens
( animation, props )
explainshell/web/static/js/jquery.js:8691
↓ 1 callersFunctiond3_acos
(x)
explainshell/web/static/js/d3.v3.js:1287
↓ 1 callersFunctiond3_asin
(x)
explainshell/web/static/js/d3.v3.js:1290
↓ 1 callersFunctiond3_cosh
(x)
explainshell/web/static/js/d3.v3.js:1296
↓ 1 callersFunctiond3_ease_clamp
(f)
explainshell/web/static/js/d3.v3.js:4898
↓ 1 callersFunctiond3_ease_reflect
(f)
explainshell/web/static/js/d3.v3.js:4908
↓ 1 callersFunctiond3_ease_reverse
(f)
explainshell/web/static/js/d3.v3.js:4903
↓ 1 callersFunctiond3_geo_cartesianNormalize
(d)
explainshell/web/static/js/d3.v3.js:2238
↓ 1 callersFunctiond3_geo_centroidLineEnd
()
explainshell/web/static/js/d3.v3.js:2217
↓ 1 callersFunctiond3_geo_centroidLineStart
()
explainshell/web/static/js/d3.v3.js:2193
↓ 1 callersFunctiond3_geo_clipAntimeridianIntersect
(λ0, φ0, λ1, φ1)
explainshell/web/static/js/d3.v3.js:2522
↓ 1 callersFunctiond3_geo_clipCircle
(radius)
explainshell/web/static/js/d3.v3.js:2549
↓ 1 callersFunctiond3_geo_clipView
(x0, y0, x1, y1)
explainshell/web/static/js/d3.v3.js:2646
↓ 1 callersFunctiond3_geo_interpolate
(x0, y0, x1, y1)
explainshell/web/static/js/d3.v3.js:3198
← previousnext →701–800 of 2,183, ranked by callers