MCPcopy Create free account

hub / github.com/MadsLorentzen/ai-job-search / functions

Functions1,370 in github.com/MadsLorentzen/ai-job-search

↓ 86 callersFunctionrun_guards
Run the guard script in ``root``. ``repository`` pins GITHUB_REPOSITORY for the subprocess so results do not depend on where the suite runs (
tests/test_security_guards.py:17
↓ 84 callersMethodresolve
Substitute the spec's placeholders the way the reader would.
tests/test_apply_records_application.py:439
↓ 60 callersMethodrun_main
(self, *argv, stdin_text=None, stdin_bytes=None)
tests/test_posting_guard.py:46
↓ 50 callersFunctionentry
(**over)
tests/test_rank_state.py:27
↓ 50 callersMethodwrite_state
(self, seen)
tests/test_rank_state.py:48
↓ 45 callersMethodrun_tool
(self, *args, expect=0, today=TODAY, now=None)
tests/test_rank_state.py:51
↓ 43 callersMethodfindings_of
(self, out)
tests/test_posting_guard.py:73
↓ 38 callersFunctionparse_sheet
Parse a single worksheet into a list of company entries and detected categories.
tools/convert_salary_excel.py:167
↓ 38 callersMethodread_state
(self)
tests/test_rank_state.py:62
↓ 31 callersMethodtext_of
(self, out)
tests/test_posting_guard.py:76
↓ 24 callersFunctionallowed
(text, agent, path)
tools/robots_check.py:168
↓ 23 callersFunctionmake_key
The canonical seen_jobs.json key for one posting.
tools/job_key.py:149
↓ 23 callersMethodresults
(self, payload)
tests/test_rank_state.py:284
↓ 22 callersMethodrun_main
(self, *argv)
tests/test_fetch_page.py:151
↓ 21 callersFunction_sections
Split a command spec into {heading: body} by '##' headers. Splitting this way lets a fork's extra sections (e.g. this fork's '## Blocker logg
tests/test_rank_command.py:31
↓ 19 callersFunctionfind_orphans
A page ending on an entry header or section heading whose content resumes overleaf. Two shapes, both documented failures: * the last body l
tools/verify_layout.py:296
↓ 19 callersFunctionmatch_score
Compute a match score between 0 and 100 for ranking results.
salary_lookup.py:276
↓ 18 callersFunctionfind_non_ascii_date_ranges
Return (line, dash) for every year joined to a non-ASCII dash in raw text. Works on the raw text layer, never on `normalize_text()` output: the f
tools/verify_pdf.py:198
↓ 16 callersFunctiongit
(root: Path, *args: str)
tests/test_upstream_triage.py:15
↓ 15 callersMethodrun_triage
(self, *args)
tests/test_upstream_triage.py:57
↓ 14 callersMethodcommit
(self, msg: str)
tests/test_upstream_triage.py:49
↓ 14 callersFunctionsearch_company
Search for a company by name. Returns matching entries sorted by relevance.
salary_lookup.py:286
↓ 14 callersMethodset_upstream_to_head
(self)
tests/test_upstream_triage.py:54
↓ 14 callersMethodwrite
(self, rel: str, text: str)
tests/test_upstream_triage.py:44
↓ 13 callersFunctionat
A bbox line; text_left is where its text starts after a merged list marker.
tests/test_verify_layout.py:115
↓ 13 callersFunctionsection
Body of one markdown section, up to the next heading of any depth.
tests/test_tracker_status_vocab.py:49
↓ 13 callersMethodwrite
(self, seen)
tests/test_job_key.py:340
↓ 13 callersMethodwrite_skill
(self, path, allowed_tools, extra_frontmatter="")
tests/test_security_guards.py:89
↓ 12 callersFunctiondecode_page
Text of a saved page: UTF-8 when valid, else its declared charset, else UTF-8 with replacement.
tools/page_decode.py:58
↓ 12 callersFunctionis_canonical
Structurally safe as a dedup key and as an archive folder name.
tools/job_key.py:199
↓ 12 callersFunctionverify_pdf
( pdf_path, expected_pages=None, min_chars=1, required_text=(), dump_text=None, ascii_
tools/verify_pdf.py:260
↓ 12 callersMethodwrite_gitignore
(self, rules)
tests/test_security_guards.py:115
↓ 11 callersFunctionformat_entry
Format a single company entry for display.
salary_lookup.py:315
↓ 11 callersFunctionpage
(body: str, head: str = "")
tests/test_page_decode.py:19
↓ 11 callersFunctionrun_legacy_stdout
Run a tool the way a Western-locale Windows host pipes it.
tests/test_tools_utf8_output.py:36
↓ 11 callersFunctionslugify
Lowercase ASCII slug. Non-Latin scripts legitimately reduce to ''.
tools/job_key.py:99
↓ 10 callersFunction_entry
(company, city="")
tests/test_salary_lookup.py:229
↓ 10 callersFunction_make_data
(*entries)
tests/test_salary_lookup.py:225
↓ 10 callersMethodadd_cli
(self, name, manifest=None)
tests/test_install_portal_clis.py:48
↓ 10 callersMethodassert_invalid_data
(self, data, expected_message)
tests/test_salary_lookup.py:248
↓ 10 callersFunctionsection
The body of one markdown section, up to the next heading of any depth.
tests/test_apply_records_application.py:47
↓ 9 callersFunction_sections
Split a skill spec into {heading: body} by '##' headers. Splitting this way lets a fork's extra sections sit between the ones under test with
tests/test_upskill_skill.py:28
↓ 9 callersMethodassert_clean_utf8
(self, proc, expect_code, *needles, stream="stdout")
tests/test_tools_utf8_output.py:48
↓ 9 callersMethodassert_hidden
(self, html, secret, blocks=1)
tests/test_posting_guard.py:578
↓ 9 callersFunctionis_upstream_checkout
Whether this checkout is the upstream template rather than a fork. ``GITHUB_REPOSITORY`` decides when set (CI). Otherwise the ``origin`` remo
tests/_upstream.py:40
↓ 9 callersFunctionline
(top: float, left: float = 50.0, height: float = 10.0, text: str = "x")
tests/test_verify_layout.py:25
↓ 9 callersFunctionnormalize_text
Fold a string for comparison: NFC, typographic punctuation, whitespace. NFC covers the pdflatex text layer, which without T1 font encoding stores
tools/verify_pdf.py:102
↓ 9 callersFunctionrun_linter
(root: Path)
tests/test_lint_skills.py:14
↓ 9 callersFunctionsection
The slice of text from the start marker up to the end marker.
tests/test_reset_command.py:107
↓ 9 callersMethodwrite
(self, name, content, encoding="utf-8")
tests/test_posting_guard.py:65
↓ 9 callersMethodwrite_settings
(self, allow, ask=None, deny=None)
tests/test_security_guards.py:107
↓ 8 callersMethodadd_remote
(self, name: str, url: str)
tests/test_check_upstream_updates.py:53
↓ 8 callersMethodlookup
(self, query)
tests/test_salary_unicode_cli.py:35
↓ 8 callersMethodmaterialize_remote_ref
(self, name: str)
tests/test_check_upstream_updates.py:56
↓ 8 callersMethodwrite_manifest
(self, data, path=None)
tests/test_security_guards.py:118
↓ 7 callersFunctiondetect_column_type
Detect whether a column header refers to count or index data.
tools/convert_salary_excel.py:158
↓ 7 callersFunctioninstalled_portal_skills
Every `*-search` skill with a CLI source tree, enabled or not. Rule 1 says "configured job portal in `.agents/skills/`" - a portal that is in
tests/test_apply_host_check.py:37
↓ 7 callersFunctionis_robots_body
Does this actually look like a robots.txt? A misconfigured host can answer /robots.txt with 200 and an HTML error page. That body parses to z
tools/robots_check.py:60
↓ 7 callersMethodmigrate
(self)
tests/test_job_key.py:343
↓ 7 callersFunctionparse_pdf
(path: Path)
tools/verify_layout.py:228
↓ 7 callersMethodrun_checker
(self)
tests/test_check_framework_version.py:57
↓ 7 callersMethodrun_checker
(self, *args)
tests/test_check_upstream_updates.py:64
↓ 7 callersMethodrun_tool
(self, command, jobs)
tests/test_scrape_state.py:26
↓ 7 callersMethodwrite_local
(self, text)
tests/test_security_guards.py:899
↓ 7 callersMethodwrite_settings_with_hooks
(self, hooks)
tests/test_security_guards.py:521
↓ 6 callersFunctiondiscover
Return each portal CLI directory, sorted by portal name.
tools/install_portal_clis.py:45
↓ 6 callersFunctionportal_hosts
The board hosts a portal CLI fetches from, as registrable names. A leading `www.` is dropped so the classifier's exact-or-subdomain rule acce
tests/test_apply_host_check.py:58
↓ 6 callersMethodresults
(self, payload)
tests/test_rank_state.py:693
↓ 6 callersMethodwith_negation
(self, negation)
tests/test_security_guards.py:905
↓ 6 callersMethodwrite_agent
(self, tools, path=None, omit_tools=False)
tests/test_security_guards.py:80
↓ 5 callersMethod_gate
(self, body, url)
tests/test_robots_check.py:325
↓ 5 callersMethod_legacy
`text` saved in cp1254, then read as UTF-8 with bad bytes replaced.
tests/test_robots_check.py:321
↓ 5 callersFunction_no_github_env
Clear GITHUB_REPOSITORY so the origin-remote branch is exercised.
tests/test_upstream_checkout.py:22
↓ 5 callersMethod_scored
(self, **extra)
tests/test_rank_state.py:289
↓ 5 callersMethodbackups
(self)
tests/test_job_key.py:353
↓ 5 callersFunctionclassify_posting_host
Reference implementation of the host provenance rule in /apply Step 1. `installed_portals` defaults to the set discovered from the skills tree, s
tests/test_apply_host_check.py:109
↓ 5 callersFunctioncollect_validation_issues
Return (errors, warnings) for the salary data shape. errors -> hard problems that make lookups crash or emit wrong output (thes
salary_lookup.py:56
↓ 5 callersMethodfail_fetch
(self, now, error="403 after curl retry")
tests/test_rank_state.py:698
↓ 5 callersFunctiongit
(*args: str)
tools/upstream_triage.py:58
↓ 5 callersFunctionheader_matches
Return True when a header contains a meaningful pattern match. Patterns match whole tokens; any pattern also listed in ``COMPOUND_PATTERNS``
tools/convert_salary_excel.py:124
↓ 5 callersFunctionnormalize
Normalize string for robust fuzzy matching.
salary_lookup.py:176
↓ 5 callersFunctionparse_numeric_cell
Parse numeric Excel values, including localized string cells.
tools/convert_salary_excel.py:71
↓ 5 callersMethodreset_script
(self)
tests/test_reset_documents.py:50
↓ 5 callersMethodrun_lookup
(self, metadata, *args)
tests/test_salary_metadata_cli.py:14
↓ 5 callersMethodsetUp
(self)
tests/test_check_upstream_updates.py:190
↓ 5 callersFunctiontag_spelled
ASCII smuggling: each character shadowed in the Unicode tag block.
tests/test_posting_guard.py:220
↓ 5 callersFunctiontext_start
xMin of the first word after leading LIST_MARKERS words, if there were any.
tools/verify_layout.py:282
↓ 5 callersFunctionunsafe_reason
Why this manifest must not be installed unattended, or None when it is safe.
tools/install_portal_clis.py:50
↓ 4 callersFunction_interview_research_step
()
tests/test_company_research_cache.py:44
↓ 4 callersFunctionanglicize
Fold Nordic spellings first, then accents for ASCII-typed queries.
salary_lookup.py:187
↓ 4 callersMethodassert_no_unbraced_bracket_items
(self, path)
tests/test_latex_guidance.py:53
↓ 4 callersFunctioncheck_dump_target
Return why `--dump-text` may not write to `path`, or None if it may.
tools/verify_pdf.py:41
↓ 4 callersFunctionextract_core_words
Extract meaningful words from a company name, ignoring noise.
salary_lookup.py:198
↓ 4 callersFunctionhas_undecodable_rule
Does a User-agent, Allow or Disallow line hold U+FFFD? U+FFFD stands in for a byte that did not decode as UTF-8. A non-conformant robots.txt
tools/robots_check.py:80
↓ 4 callersFunctioninstall
(*args)
tests/test_install_portal_clis.py:26
↓ 4 callersFunctionload_state
Return (document, seen-map). The map is mutated in place by callers.
tools/rank_state.py:84
↓ 4 callersFunctionnorm
Ignore case and separators without discarding non-Latin identity.
tools/rank_state.py:143
↓ 4 callersMethodrun_audit
(self, seen: dict)
tests/test_job_key.py:255
↓ 4 callersMethodwrite_settings
(self, data)
tests/test_lint_skills.py:62
↓ 3 callersFunction_apply_research_step
apply.md's '### 1. Research the Company' subsection, isolated from the other numbered subsections under Step 3.
tests/test_company_research_cache.py:33
next →1–100 of 1,370, ranked by callers