Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/MadsLorentzen/ai-job-search
/ functions
Functions
1,370 in github.com/MadsLorentzen/ai-job-search
⨍
Functions
1,370
◇
Types & classes
229
↳
Endpoints
15
↓ 86 callers
Function
run_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 callers
Method
resolve
Substitute the spec's placeholders the way the reader would.
tests/test_apply_records_application.py:439
↓ 60 callers
Method
run_main
(self, *argv, stdin_text=None, stdin_bytes=None)
tests/test_posting_guard.py:46
↓ 50 callers
Function
entry
(**over)
tests/test_rank_state.py:27
↓ 50 callers
Method
write_state
(self, seen)
tests/test_rank_state.py:48
↓ 45 callers
Method
run_tool
(self, *args, expect=0, today=TODAY, now=None)
tests/test_rank_state.py:51
↓ 43 callers
Method
findings_of
(self, out)
tests/test_posting_guard.py:73
↓ 38 callers
Function
parse_sheet
Parse a single worksheet into a list of company entries and detected categories.
tools/convert_salary_excel.py:167
↓ 38 callers
Method
read_state
(self)
tests/test_rank_state.py:62
↓ 31 callers
Method
text_of
(self, out)
tests/test_posting_guard.py:76
↓ 24 callers
Function
allowed
(text, agent, path)
tools/robots_check.py:168
↓ 23 callers
Function
make_key
The canonical seen_jobs.json key for one posting.
tools/job_key.py:149
↓ 23 callers
Method
results
(self, payload)
tests/test_rank_state.py:284
↓ 22 callers
Method
run_main
(self, *argv)
tests/test_fetch_page.py:151
↓ 21 callers
Function
_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 callers
Function
find_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 callers
Function
match_score
Compute a match score between 0 and 100 for ranking results.
salary_lookup.py:276
↓ 18 callers
Function
find_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 callers
Function
git
(root: Path, *args: str)
tests/test_upstream_triage.py:15
↓ 15 callers
Method
run_triage
(self, *args)
tests/test_upstream_triage.py:57
↓ 14 callers
Method
commit
(self, msg: str)
tests/test_upstream_triage.py:49
↓ 14 callers
Function
search_company
Search for a company by name. Returns matching entries sorted by relevance.
salary_lookup.py:286
↓ 14 callers
Method
set_upstream_to_head
(self)
tests/test_upstream_triage.py:54
↓ 14 callers
Method
write
(self, rel: str, text: str)
tests/test_upstream_triage.py:44
↓ 13 callers
Function
at
A bbox line; text_left is where its text starts after a merged list marker.
tests/test_verify_layout.py:115
↓ 13 callers
Function
section
Body of one markdown section, up to the next heading of any depth.
tests/test_tracker_status_vocab.py:49
↓ 13 callers
Method
write
(self, seen)
tests/test_job_key.py:340
↓ 13 callers
Method
write_skill
(self, path, allowed_tools, extra_frontmatter="")
tests/test_security_guards.py:89
↓ 12 callers
Function
decode_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 callers
Function
is_canonical
Structurally safe as a dedup key and as an archive folder name.
tools/job_key.py:199
↓ 12 callers
Function
verify_pdf
( pdf_path, expected_pages=None, min_chars=1, required_text=(), dump_text=None, ascii_
tools/verify_pdf.py:260
↓ 12 callers
Method
write_gitignore
(self, rules)
tests/test_security_guards.py:115
↓ 11 callers
Function
format_entry
Format a single company entry for display.
salary_lookup.py:315
↓ 11 callers
Function
page
(body: str, head: str = "")
tests/test_page_decode.py:19
↓ 11 callers
Function
run_legacy_stdout
Run a tool the way a Western-locale Windows host pipes it.
tests/test_tools_utf8_output.py:36
↓ 11 callers
Function
slugify
Lowercase ASCII slug. Non-Latin scripts legitimately reduce to ''.
tools/job_key.py:99
↓ 10 callers
Function
_entry
(company, city="")
tests/test_salary_lookup.py:229
↓ 10 callers
Function
_make_data
(*entries)
tests/test_salary_lookup.py:225
↓ 10 callers
Method
add_cli
(self, name, manifest=None)
tests/test_install_portal_clis.py:48
↓ 10 callers
Method
assert_invalid_data
(self, data, expected_message)
tests/test_salary_lookup.py:248
↓ 10 callers
Function
section
The body of one markdown section, up to the next heading of any depth.
tests/test_apply_records_application.py:47
↓ 9 callers
Function
_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 callers
Method
assert_clean_utf8
(self, proc, expect_code, *needles, stream="stdout")
tests/test_tools_utf8_output.py:48
↓ 9 callers
Method
assert_hidden
(self, html, secret, blocks=1)
tests/test_posting_guard.py:578
↓ 9 callers
Function
is_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 callers
Function
line
(top: float, left: float = 50.0, height: float = 10.0, text: str = "x")
tests/test_verify_layout.py:25
↓ 9 callers
Function
normalize_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 callers
Function
run_linter
(root: Path)
tests/test_lint_skills.py:14
↓ 9 callers
Function
section
The slice of text from the start marker up to the end marker.
tests/test_reset_command.py:107
↓ 9 callers
Method
write
(self, name, content, encoding="utf-8")
tests/test_posting_guard.py:65
↓ 9 callers
Method
write_settings
(self, allow, ask=None, deny=None)
tests/test_security_guards.py:107
↓ 8 callers
Method
add_remote
(self, name: str, url: str)
tests/test_check_upstream_updates.py:53
↓ 8 callers
Method
lookup
(self, query)
tests/test_salary_unicode_cli.py:35
↓ 8 callers
Method
materialize_remote_ref
(self, name: str)
tests/test_check_upstream_updates.py:56
↓ 8 callers
Method
write_manifest
(self, data, path=None)
tests/test_security_guards.py:118
↓ 7 callers
Function
detect_column_type
Detect whether a column header refers to count or index data.
tools/convert_salary_excel.py:158
↓ 7 callers
Function
installed_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 callers
Function
is_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 callers
Method
migrate
(self)
tests/test_job_key.py:343
↓ 7 callers
Function
parse_pdf
(path: Path)
tools/verify_layout.py:228
↓ 7 callers
Method
run_checker
(self)
tests/test_check_framework_version.py:57
↓ 7 callers
Method
run_checker
(self, *args)
tests/test_check_upstream_updates.py:64
↓ 7 callers
Method
run_tool
(self, command, jobs)
tests/test_scrape_state.py:26
↓ 7 callers
Method
write_local
(self, text)
tests/test_security_guards.py:899
↓ 7 callers
Method
write_settings_with_hooks
(self, hooks)
tests/test_security_guards.py:521
↓ 6 callers
Function
discover
Return each portal CLI directory, sorted by portal name.
tools/install_portal_clis.py:45
↓ 6 callers
Function
portal_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 callers
Method
results
(self, payload)
tests/test_rank_state.py:693
↓ 6 callers
Method
with_negation
(self, negation)
tests/test_security_guards.py:905
↓ 6 callers
Method
write_agent
(self, tools, path=None, omit_tools=False)
tests/test_security_guards.py:80
↓ 5 callers
Method
_gate
(self, body, url)
tests/test_robots_check.py:325
↓ 5 callers
Method
_legacy
`text` saved in cp1254, then read as UTF-8 with bad bytes replaced.
tests/test_robots_check.py:321
↓ 5 callers
Function
_no_github_env
Clear GITHUB_REPOSITORY so the origin-remote branch is exercised.
tests/test_upstream_checkout.py:22
↓ 5 callers
Method
_scored
(self, **extra)
tests/test_rank_state.py:289
↓ 5 callers
Method
backups
(self)
tests/test_job_key.py:353
↓ 5 callers
Function
classify_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 callers
Function
collect_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 callers
Method
fail_fetch
(self, now, error="403 after curl retry")
tests/test_rank_state.py:698
↓ 5 callers
Function
git
(*args: str)
tools/upstream_triage.py:58
↓ 5 callers
Function
header_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 callers
Function
normalize
Normalize string for robust fuzzy matching.
salary_lookup.py:176
↓ 5 callers
Function
parse_numeric_cell
Parse numeric Excel values, including localized string cells.
tools/convert_salary_excel.py:71
↓ 5 callers
Method
reset_script
(self)
tests/test_reset_documents.py:50
↓ 5 callers
Method
run_lookup
(self, metadata, *args)
tests/test_salary_metadata_cli.py:14
↓ 5 callers
Method
setUp
(self)
tests/test_check_upstream_updates.py:190
↓ 5 callers
Function
tag_spelled
ASCII smuggling: each character shadowed in the Unicode tag block.
tests/test_posting_guard.py:220
↓ 5 callers
Function
text_start
xMin of the first word after leading LIST_MARKERS words, if there were any.
tools/verify_layout.py:282
↓ 5 callers
Function
unsafe_reason
Why this manifest must not be installed unattended, or None when it is safe.
tools/install_portal_clis.py:50
↓ 4 callers
Function
_interview_research_step
()
tests/test_company_research_cache.py:44
↓ 4 callers
Function
anglicize
Fold Nordic spellings first, then accents for ASCII-typed queries.
salary_lookup.py:187
↓ 4 callers
Method
assert_no_unbraced_bracket_items
(self, path)
tests/test_latex_guidance.py:53
↓ 4 callers
Function
check_dump_target
Return why `--dump-text` may not write to `path`, or None if it may.
tools/verify_pdf.py:41
↓ 4 callers
Function
extract_core_words
Extract meaningful words from a company name, ignoring noise.
salary_lookup.py:198
↓ 4 callers
Function
has_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 callers
Function
install
(*args)
tests/test_install_portal_clis.py:26
↓ 4 callers
Function
load_state
Return (document, seen-map). The map is mutated in place by callers.
tools/rank_state.py:84
↓ 4 callers
Function
norm
Ignore case and separators without discarding non-Latin identity.
tools/rank_state.py:143
↓ 4 callers
Method
run_audit
(self, seen: dict)
tests/test_job_key.py:255
↓ 4 callers
Method
write_settings
(self, data)
tests/test_lint_skills.py:62
↓ 3 callers
Function
_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