Skip to main content

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​

FieldWhat it becomesExample (sector 53)
titlesThe queries sent to a boardwarehouse manager, logistics manager, fleet manager
aliasesExtra role names scoped to one canonical titlewarehouse manager also matches distribution supervisor, fulfillment manager
exclude_titlesTitles that look close and are a different jobproduct manager, project manager, case manager
localesLocal-language search and match titleses: jefe de almacén
credentialsCredential words a field expectsforklift certification, OSHA 30, CDL-A
shiftsShift words a field uses1st shift, overnight, rotating shift
coverageHow much hiring happens on the open webhigh
notesOne paragraph on what to expectCarriers 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​

CodeSectorCoverageQueriesRecognizedLocal blocks
11Managementhigh842none
13Business and Financial Operationshigh951en-GB
15Computer and Mathematicalhigh953de, es, fr, nl, pt, sv
17Architecture and Engineeringmedium946none
19Life, Physical, and Social Sciencemedium947none
21Community and Social Servicemedium849en-GB
23Legallow732en-GB
25Educational Instruction and Librarymedium947en-CA, en-GB
27Arts, Design, Entertainment, Sports, and Mediahigh953none
29Healthcare Practitioners and Technicalhigh952en-GB, es
31Healthcare Supporthigh844en-CA, en-GB
33Protective Servicemedium841en-GB
35Food Preparation and Serving Relatedhigh947en-GB
37Building and Grounds Cleaning and Maintenancemedium838en-GB
39Personal Care and Servicemedium943en-GB
41Sales and Relatedhigh845de, en-GB, es, fr, nl, pt, sv
43Office and Administrative Supporthigh845de, en-GB, es, fr, nl, pt, sv
45Farming, Fishing, and Forestrylow839en-GB
47Construction and Extractionlow946en-GB
49Installation, Maintenance, and Repairmedium842en-GB
51Productionmedium846en-GB
53Transportation and Material Movinghigh737de, en-CA, en-GB, es, fr, nl, pt, sv
55Military Specificlow632none

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:

profiles/warehouse_ops.yaml
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 manager as a different job, while sector 21 wants it. Selecting both keeps social-work case managers, because _prune_excludes drops 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:

KeyWhat it does
searchThe local title becomes a query, inside the max_locale_queries budget
matchThe 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:

profiles/warehouse_ops.yaml
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 completa doesn't match full-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:

LabelMeaningSectors
highMost roles publish on a board Sweepy reads11, 13, 15, 27, 29, 31, 35, 41, 43, 53
mediumSupervision and office roles publish. Hourly work often doesn't17, 19, 21, 25, 33, 37, 39, 49, 51
lowMost hiring happens through referrals, unions, or a paper process23, 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:

profiles/paralegal_nyc.yaml
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:

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:

Terminal
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
FlagWhat it does
--sectorOne code or a comma-separated list
--companiesEmployer names probed on each public board endpoint, in parallel
--workersParallel probes, default 8
--verifyReads one live page and reports counts
--outWrites 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 titles for the niche words your market uses, because a sector covers a whole SOC group.
  • Coverage labels don't measure your fit. A high sector 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.