Job sectors
A sector is one file in data/sectors/, shaped after a Standard Occupational Classification (SOC) major group. Naming a sector replaces a hand-written title list with a curated one. The file supplies the search queries and the role names that recognize a posting, plus the titles to exclude. It also lists the credentials a field expects and the local-language variants.
Sweepy includes 23 sectors: 190 search queries and 1,005 recognized role names.
Sector file fields
| Field | What it becomes | Example (sector 53) |
|---|---|---|
titles | The queries sent to a board | warehouse manager, logistics manager, fleet manager |
aliases | Extra role names scoped to one canonical title | warehouse manager also matches distribution supervisor, fulfillment manager |
exclude_titles | Titles that look close and are a different job | product manager, project manager, case manager |
locales | Local-language search and match titles | es: jefe de almacén |
credentials | Credential words a field expects | forklift certification, OSHA 30, CDL-A |
shifts | Shift words a field uses | 1st shift, overnight, rotating shift |
coverage | How much hiring happens on the open web | high |
notes | One paragraph on what to expect | Carriers and 3PLs publish through SmartRecruiters and Workable |
Aliases stay inside their own title. A warehouse alias can't widen a nursing search. Sweepy stores aliases in a map keyed by the canonical title.
The catalogue
| Code | Sector | Coverage | Queries | Recognized | Local blocks |
|---|---|---|---|---|---|
11 | Management | high | 8 | 42 | none |
13 | Business and Financial Operations | high | 9 | 51 | en-GB |
15 | Computer and Mathematical | high | 9 | 53 | de, es, fr, nl, pt, sv |
17 | Architecture and Engineering | medium | 9 | 46 | none |
19 | Life, Physical, and Social Science | medium | 9 | 47 | none |
21 | Community and Social Service | medium | 8 | 49 | en-GB |
23 | Legal | low | 7 | 32 | en-GB |
25 | Educational Instruction and Library | medium | 9 | 47 | en-CA, en-GB |
27 | Arts, Design, Entertainment, Sports, and Media | high | 9 | 53 | none |
29 | Healthcare Practitioners and Technical | high | 9 | 52 | en-GB, es |
31 | Healthcare Support | high | 8 | 44 | en-CA, en-GB |
33 | Protective Service | medium | 8 | 41 | en-GB |
35 | Food Preparation and Serving Related | high | 9 | 47 | en-GB |
37 | Building and Grounds Cleaning and Maintenance | medium | 8 | 38 | en-GB |
39 | Personal Care and Service | medium | 9 | 43 | en-GB |
41 | Sales and Related | high | 8 | 45 | de, en-GB, es, fr, nl, pt, sv |
43 | Office and Administrative Support | high | 8 | 45 | de, en-GB, es, fr, nl, pt, sv |
45 | Farming, Fishing, and Forestry | low | 8 | 39 | en-GB |
47 | Construction and Extraction | low | 9 | 46 | en-GB |
49 | Installation, Maintenance, and Repair | medium | 8 | 42 | en-GB |
51 | Production | medium | 8 | 46 | en-GB |
53 | Transportation and Material Moving | high | 7 | 37 | de, en-CA, en-GB, es, fr, nl, pt, sv |
55 | Military Specific | low | 6 | 32 | none |
Totals: 23 sectors, 190 queries, 1,005 recognized role names after cross-sector dedupe. The Recognized column sums to 1,017 because twelve duplicates collapse at the catalogue level. high coverage applies to ten sectors, medium to nine, and low to four.
From sector selection to queries
A sector supplies two title lists, and each list does a different job:
- Queries cost requests. A query engine sends one request per title, per location, per board.
- Recognized role names are free. Each board reader returns its postings, and the recognition list sets which of them score.
Sector 53 shows the gap: 7 queries and 37 recognized role names. Sweepy asks for seven words and still matches a posting titled distribution supervisor.
The query budget trims the first list, never the second:
* Query budget: 12 of 190 titles go to the search engines; the other 178 still recognize board postings.
search.max_queries defaults to 12 and search.max_query_pairs defaults to 12, which bounds titles times locations. All 23 sectors together reach the cap, so a sweep that selects everything sends 12 queries and recognizes 1,005 role names.
Stacking sectors
search.sectors takes a list, so related fields stack:
search:
sectors: ["53", "51"]
Stacking follows two rules:
- Duplicates collapse. A title that appears in two sectors becomes one query.
- Sweepy drops an exclude when another selected sector lists that title. Sector 53 excludes
case manageras a different job, while sector 21 wants it. Selecting both keeps social-work case managers, because_prune_excludesdrops an exclude when a wanted title matches it.
The same pruning runs on search.exclude_titles, so a hand-written exclusion can't delete a sector's own title.
Local titles
A locale block stores two lists per canonical title:
| Key | What it does |
|---|---|
search | The local title becomes a query, inside the max_locale_queries budget |
match | The local title joins the recognition list, with no query of its own |
The profile country picks the block, and search.locale overrides it. A GB sales profile sends sales assistant, sales advisor, and sales executive as queries and reaches 46 recognized titles. An ES profile recognizes 54 titles and queues seven Spanish queries, four of which fit the default max_locale_queries.
Italian maps to two countries, and no sector has an Italian block yet. An Italian profile runs the English canonicals. Locale caveats covers the rest of the routing.
Credentials and shifts
A sector lists the credential and shift words a field uses. Filters come from the profile's own shifts, credentials_required, and credentials_excluded lists:
search:
sectors: ["53"]
shifts: [first, second]
credentials_excluded: [CDL-A]
- The sector proposes, the profile decides. Sector 53 lists six shift words and six credential words, and Sweepy filters when the profile sets one.
- A filter that would empty the sweep backs out and says so. The run continues with the filter off.
- Filters are English.
jornada completadoesn't matchfull-time, so leave the filters empty outside an English-language market.
Coverage
The coverage label measures how much of a field's hiring appears on an open endpoint:
| Label | Meaning | Sectors |
|---|---|---|
high | Most roles publish on a board Sweepy reads | 11, 13, 15, 27, 29, 31, 35, 41, 43, 53 |
medium | Supervision and office roles publish. Hourly work often doesn't | 17, 19, 21, 25, 33, 37, 39, 49, 51 |
low | Most hiring happens through referrals, unions, or a paper process | 23, 45, 47, 55 |
A low sector still returns postings. It returns fewer, and a quiet result says more about the field than about the search. Legal work and military roles get low because firms recruit by network and the armed forces recruit through their own channel.
Configure it
Set a sector in the profile:
search:
sectors: ["23"]
titles: ["paralegal", "legal assistant"] # optional, stacks on top
location: "New York, NY"
max_queries: 12
Or override a profile from the terminal:
sweepy --sector 53 --location "Newark, NJ" --radius 25 --radius-unit mi
sweepy --sector 41,43 --locations "London, UK" --nationwide
--sector accepts one code, a comma-separated list, or all. The setup wizard collects titles instead, so add sectors to the profile it writes when you want the catalogue.
Generate a profile from a sector
tools/make_sector_profile.py reads a sector file and checks the employer boards you list. It then writes a profile with the same structure as profiles/warehouse_ops.yaml:
python tools/make_sector_profile.py --sector 29 --name "Healthcare" `
--location "New York, NY" --zip 10029 --radius 20 `
--companies "Mount Sinai" "Northwell Health" --out profiles/healthcare.yaml
| Flag | What it does |
|---|---|
--sector | One code or a comma-separated list |
--companies | Employer names probed on each public board endpoint, in parallel |
--workers | Parallel probes, default 8 |
--verify | Reads one live page and reports counts |
--out | Writes the profile. Prints it when omitted |
A company with no confirmed board goes on an unverified list and stays out of the file. A profile never includes a guess.
Limits
- A sector is a starting point. Add
titlesfor the niche words your market uses, because a sector covers a whole SOC group. - Coverage labels don't measure your fit. A
highsector returns more postings, not better ones. Scoring decides the fit. - No sector replaces a resume. Match percentage still comes from keyword overlap, and a sector sets which postings enter the comparison.
- Local blocks lag the catalogue. Italian has none, even though two countries map to it.