feat(scout): Norway outside Oslo via NAV + dedicated boards, language check, reputation, region split

Norway search (user request 2026-10-21/22: Trondheim, Bergen or similar, not Oslo)
- New location policy norway_no_oslo: keeps a role if any Norwegian location
  is outside the Oslo area. Equinor and Telenor move to it.
- New `nav` adapter for the NAV national register (arbeidsplassen.nav.no):
  keyword queries on a fixed request budget, paced; on HTTP 429 it stops and
  returns a PARTIAL run with a warning instead of failing. Full-ad text checks
  are cached in state/nav_detail_cache.json (ignored). Tested against
  fixtures only: the live API was rate-limiting during the build.
- Dedicated boards where NAV was measured thin (2026-10-22: Nordic 0, DNV 2,
  Equinor 2 vs ~10, NATO 0): Nordic Semiconductor (teamtailor custom domain),
  DNV (new `algolia_jobs` adapter; app id/key/index read from the page each
  run), Arm Trondheim (new `radancy` adapter), Microsoft Norway (pcsx).
  Verified live: 7 / 6 / 7 / 6 roles outside Oslo.
- NAV rows that duplicate a dedicated board's posting are dropped
  (employer alias + normalized title).

Language / citizenship check
- classify_language_requirement reads the requirement SENTENCE, not the
  posting language: "norsk og/eller engelsk" is English OK, "kommunisere
  godt ... på norsk og engelsk" is Norwegian required. Only an explicit
  Norwegian requirement or Norwegian-citizenship requirement filters a role;
  clearance is noted, never a gate. Runs on full ad text (NAV detail page,
  untruncated Teamtailor/PCSX descriptions). Telenor Lead Platform Engineer
  now reads NORWEGIAN REQUIRED (it read UNCLEAR on truncated text).
- Norwegian title keywords added (they all scored 0 and were never checked).

Employer reputation (user requirement 2026-10-22)
- state/employer_reputation.json (now tracked): dated Glassdoor lookups with
  sources and the approved thresholds (good >= 3.8 on >= 50 reviews; ok
  3.5-3.79 or thin-but-backed; avoid < 3.5; Vizrt excluded). Every report
  row shows the verdict; unlooked-up employers show UNCHECKED.

Report
- Sections per region: Switzerland, Norway, Europe-remote / Denmark (user
  preference); `--region=ch|no` runs one region only.

Fixes
- Microsoft links: apply.careers.microsoft.com<positionUrl>?jobId=<id>
  with a host alias so all 7 logged Microsoft decisions still resolve; the
  old jobs.careers.microsoft.com form redirected to a generic search page.
  PCSX calls retry on 429.

CLAUDE.md corrections log: design/architecture gap (2026-10-21) and the
Microsoft link fix; the EMEA-suffix location leak stays OPEN.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
dennisthiessenandClaude Opus 5.5 committed 2026-10-22 09:19:05 +02:00
1 parent 7d8166ddd2
commit 92c3c005b4
4 files changed
+867 -73

No files matched your search

+100
View File
@@ -0,0 +1,100 @@
{
"description": "Employer reputation lookups for job_scout (user requirement 2026-10-22: only recommend roles at employers with a good reputation as a place to work). Glassdoor blocks direct access (HTTP 403), so every figure here is a dated lookup from search results, not live data. Verdicts are computed by scout.reputation_verdict() from the thresholds below unless verdict_override is set. Entries older than 365 days show as STALE and must be re-checked. An employer missing from this file is UNCHECKED: look it up before recommending a role there.",
"thresholds": {
"good_min_rating": 3.8,
"good_min_reviews": 50,
"ok_min_rating": 3.5,
"rule": "good: Glassdoor >= 3.8 with >= 50 reviews. ok: 3.5-3.79, or >= 3.8 on fewer than 50 reviews backed by a second source, or no Glassdoor page but a solid second source. avoid: below 3.5 unless the user overrides. excluded: user decision.",
"approved": "user, 2026-10-22"
},
"employers": {
"Vizrt": {
"aliases": [],
"verdict_override": "excluded",
"note": "User decision 2026-10-22: worked there (Bergen, 2017-18) and does not want to work there again. Roles are hidden from reports.",
"checked": "2026-10-22"
},
"Arm": {
"aliases": ["Arm Norway", "ARM Norway"],
"glassdoor": {"rating": 4.5, "reviews": 2633, "scope": "company-wide"},
"note": "Trondheim-specific reviews are mixed: recent ones positive, a 2023 one criticised local middle management for engineers relocating from abroad.",
"sources": ["https://static.glassdoor.at/Reviews/Arm-Reviews-E7834_P800.htm", "https://static-pc.glassdoor.fr/Reviews/Employee-Review-Arm-E7834-RVW80607582.htm"],
"checked": "2026-10-22"
},
"Nordic Semiconductor": {
"aliases": ["Nordic Semi"],
"glassdoor": {"rating": 4.0, "reviews": 103, "recommend_pct": 83, "scope": "company-wide"},
"secondary": "TrueUp 82% recommend (100+ reviews)",
"sources": ["https://www.glassdoor.com/Overview/X-EI_IE681660.htm", "https://www.trueup.io/co/nordic-semi"],
"checked": "2026-10-22"
},
"Equinor": {
"aliases": [],
"glassdoor": {"rating": 4.3, "reviews": 769, "recommend_pct": 87, "scope": "company-wide"},
"secondary": "Indeed 4.0 (299); Universum: top student employer in engineering/business/technology 2024",
"sources": ["https://www.glassdoor.co.uk/Reviews/Equinor-Reviews-E10408.htm", "https://uk.indeed.com/cmp/Equinor/reviews"],
"checked": "2026-10-22"
},
"Kongsberg": {
"aliases": ["Kongsberg Gruppen", "Kongsberg Maritime", "Kongsberg Digital", "Kongsberg Defence", "Kongsberg Discovery", "Kongsberg Satellite Services", "KSAT", "Kongsberg Norcontrol", "Kongsberg Seatex"],
"not_aliases": ["Kongsberg Automotive"],
"glassdoor": {"rating": null, "reviews": null},
"secondary": "No Glassdoor page found; Indeed 3.8 (101 reviews, group); Universum 2025 professionals: 3rd in IT, 2nd in Engineering",
"note": "Ratings vary by division; Kongsberg Maritime JobStreet sample is small (7). Kongsberg Automotive is an unrelated company and is NOT covered by this entry.",
"sources": ["https://uk.indeed.com/cmp/Kongsberg-1", "https://www.kongsberg.com/news/stories/2025/11/Professionals-place-KONGSBERG-among-Norways-top-employers-in-Universum/"],
"checked": "2026-10-22"
},
"DNV": {
"aliases": ["DNV AS"],
"glassdoor": {"rating": 4.2, "reviews": 94, "recommend_pct": 82, "scope": "company-wide (CA/NZ snapshot; UK page 3.9 on 47)"},
"secondary": "Indeed 3.8 (444 reviews, Feb 2026)",
"note": "Praised for flexibility and people; common complaints are pay and slow progression.",
"sources": ["https://www.glassdoor.ca/Reviews/DNV-Reviews-E6648554.htm", "https://uk.indeed.com/cmp/Dnv/reviews"],
"checked": "2026-10-22"
},
"SINTEF": {
"aliases": [],
"glassdoor": {"rating": 4.0, "reviews": 62, "recommend_pct": 81, "scope": "company-wide"},
"note": "Autonomy and good people; salary on the lower end, some bureaucracy for project leads.",
"sources": ["https://www.glassdoor.co.in/Reviews/SINTEF-Reviews-E458950.htm"],
"checked": "2026-10-22"
},
"Telenor": {
"aliases": ["Telenor Norge", "Telenor ASA"],
"glassdoor": {"rating": 3.8, "reviews": 1305, "recommend_pct": 65, "scope": "company-wide, not Norway-specific"},
"secondary": "Indeed 4.1 (311)",
"note": "Exactly at the threshold. Good work-life balance; complaints about limited growth and frequently changing strategy.",
"sources": ["https://www.glassdoor.com/Reviews/Telenor-Reviews-E11282.htm"],
"checked": "2026-10-22"
},
"Microsoft": {
"aliases": ["Microsoft Norge", "Microsoft Development Center Norway"],
"glassdoor": {"rating": 4.0, "reviews": 54474, "recommend_pct": 76, "scope": "company-wide"},
"sources": ["https://static-pc.glassdoor.fr/Reviews/Microsoft-Reviews-E1651.htm"],
"checked": "2026-10-22"
},
"NATO": {
"aliases": ["NATO JWC", "Joint Warfare Centre"],
"glassdoor": {"rating": 4.0, "reviews": 240, "recommend_pct": 93, "scope": "all NATO bodies"},
"note": "Pay, benefits, international setting; heavy workload, bureaucracy, rigid military structure. Reviews do not separate civilian staff.",
"sources": ["https://www.glassdoor.com/Reviews/NATO-Reviews-E22846.htm"],
"checked": "2026-10-22"
},
"Nammo": {
"aliases": [],
"glassdoor": {"rating": 3.9, "reviews": 21, "recommend_pct": 56, "scope": "company-wide"},
"secondary": "Indeed 3.2 (87 reviews)",
"verdict_override": "avoid",
"note": "Thin and mixed: Glassdoor 3.9 on only 21 reviews with 56% recommending; the larger Indeed sample is 3.2, below the 3.5 line. A 2026 review alleges production pressure compromising safety. User may override.",
"sources": ["https://www.glassdoor.co.nz/Reviews/Nammo-Reviews-E4444878.htm", "https://www.indeed.com/cmp/Nammo"],
"checked": "2026-10-22"
},
"Kitron": {
"aliases": [],
"glassdoor": {"rating": 3.1, "reviews": 15, "recommend_pct": 34, "scope": "company-wide"},
"note": "Below threshold on a thin sample: limited growth, pay, unclear strategy.",
"sources": ["https://www.glassdoor.co.uk/Reviews/Kitron-Reviews-E311133.htm"],
"checked": "2026-10-22"
}
}
}