Skip to content

fix: labor hub commentary — Jobs Monitor 2030/2035 ranking drift (Aug 27 run) - #5155

Open
cemreinanc wants to merge 1 commit into
mainfrom
claude/practical-knuth-i0gbmy
Open

fix: labor hub commentary — Jobs Monitor 2030/2035 ranking drift (Aug 27 run)#5155
cemreinanc wants to merge 1 commit into
mainfrom
claude/practical-knuth-i0gbmy

Conversation

@cemreinanc

@cemreinanc cemreinanc commented Aug 27, 2026

Copy link
Copy Markdown
Contributor

Summary

Automated QA pass comparing the Labor Automation Hub's commentary text against its live chart/table data. Found and fixed three ranking mismatches in the Jobs Monitor section where the forecast data has shifted since the Aug 25 QA pass.

Fixes

Jobs Monitor — 2030 gains

  • Before: "By 2030, nurses, construction workers, and physicians are expected to see the largest gains... continued demand for in-person service..."
  • After: "By 2030, nurses, construction workers, and engineers are expected to see the largest gains... continued demand for technical expertise..."
  • Why: Engineers (+1.9%) now edge out physicians (+1.8%) as the third-largest 2030 gainer, reversing the swap made two days ago (fix: labor hub commentary — Jobs Monitor and State-Level ranking drift #5147).

Jobs Monitor — 2030 declines

  • Before: "By 2030, software developers, financial specialists, and sales representatives are expected to see the largest declines... AI absorbs coding, rules-based analysis, and outreach work."
  • After: "By 2030, software developers, financial specialists, and lawyers and law clerks are expected to see the largest declines... AI absorbs coding, rules-based analysis, and legal research work."
  • Why: Lawyers and law clerks (-5.0%) now rank as the third-largest 2030 decline, ahead of sales representatives (-4.6%).

Jobs Monitor — 2035 declines

  • Before: "By 2035, financial specialists, software developers, and sales representatives are expected to see sharp staff reductions... Lawyers and law clerks will also see reductions..."
  • After: "By 2035, lawyers and law clerks, financial specialists, and software developers are expected to see sharp staff reductions... Sales representatives will also see reductions..."
  • Why: Lawyers and law clerks (-14.6%) are now the single largest 2035 decline — ahead of financial specialists (-14.2%) and software developers (-13.9%) — not just an "also affected" afterthought. Sales representatives (-11.6%) drop to fourth place.

Also updated the "Commentary last updated" date in the hero section.

Test plan

  • prettier --write on both changed files
  • eslint clean on both changed files
  • Verified new occupation rankings against the live Jobs Monitor data (all three years: 2027, 2030, 2035)
  • Reviewed all other sections (Overview, Wages, Graduates, Economy, State-Level, Research) — no other misalignments found; other sections are either dynamically computed from live data or already consistent

🤖 Generated with Claude Code


Generated by Claude Code

Summary by CodeRabbit

  • Content Updates

    • Updated Labor Hub insights for 2030 and 2035 to reflect revised job outlooks and explanations.
    • Refined descriptions of roles expected to grow or decline and the factors influencing those trends.
  • Documentation

    • Updated the Labor Hub commentary date to August 27, 2026.

… 27 run)

Live forecast data has shifted since the Aug 25 QA pass:

- 2030 gains: engineers (+1.9%) now edge out physicians (+1.8%) as the
  third-largest gainer, reversing the swap made two days ago.
- 2030 declines: lawyers and law clerks now rank as the third-largest
  decline, ahead of sales representatives, which the commentary
  previously named instead.
- 2035 declines: lawyers and law clerks are now the single largest
  decline (ahead of financial specialists and software developers),
  not just an "also affected" afterthought. Sales representatives drop
  to the fourth-largest decline.

Swapped the named occupations to match current rankings and updated the
commentary last-updated date.
@cemreinanc
cemreinanc deployed to testing_env August 27, 2026 05:24 — with GitHub Actions Active
@cemreinanc
cemreinanc deployed to testing_env August 27, 2026 05:24 — with GitHub Actions Active
@coderabbitai

coderabbitai Bot commented Aug 27, 2026

Copy link
Copy Markdown
Contributor

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro Plus

Run ID: 45e3055f-74c2-41a0-a479-bd586e10e46e

📥 Commits

Reviewing files that changed from the base of the PR and between 3654d33 and 3720fb8.

📒 Files selected for processing (2)
  • front_end/src/app/(main)/labor-hub/jobs_insights.tsx
  • front_end/src/app/(main)/labor-hub/sections/hero.tsx

Included review availability: Your plan provides up to 2 included reviews per hour; 1 remains after this review.


📝 Walkthrough

Walkthrough

The labor-hub outlook text now uses revised role examples and rationales for 2030 and 2035. The hero section now shows Aug 27, 2026, as the commentary update date.

Changes

Labor-hub content updates

Layer / File(s) Summary
Outlook and commentary updates
front_end/src/app/(main)/labor-hub/jobs_insights.tsx, front_end/src/app/(main)/labor-hub/sections/hero.tsx
The 2030 and 2035 outlook text now uses revised roles and rationale wording. The hero date changed from Aug 24 to Aug 27, 2026, in both the display text and dateTime attribute.

Estimated code review effort: 1 (Trivial) | ~5 minutes

Merge Risk: ⚪ Minimal · up to 3720f

This change updates localized Jobs Monitor commentary and its displayed update date to match the stated rankings; no actionable merge-blocking risk remains beyond normal checks.

Poem

A rabbit reviews the labor lines,

Engineers rise while old text declines.
Legal roles hop into view,
Aug 27 marks the update anew.
Clean words now bound the page just right.

🚥 Pre-merge checks | ✅ 4
✅ Passed checks (4 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title clearly identifies the Labor Hub commentary fix and the 2030/2035 ranking updates. It also includes the relevant August 27 run date.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
✨ Finishing Touches
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch claude/practical-knuth-i0gbmy

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@github-actions

Copy link
Copy Markdown
Contributor

🚀 Preview Environment

Your preview environment is ready!

Resource Details
🌐 Preview URL https://metaculus-pr-5155-practical-knuth-i0gbmy-preview.mtcl.cc
📦 Docker Image ghcr.io/metaculus/metaculus:practical-knuth-i0gbmy-3720fb8
🗄️ PostgreSQL NeonDB branch preview/pr-5155-practical-knuth-i0gbmy
Redis Fly Redis mtc-redis-pr-5155-practical-knuth-i0gbmy

Details

  • Commit: 38968f8917e428901d52fb1759d30a45d046c628
  • Branch: claude/practical-knuth-i0gbmy
  • Fly App: metaculus-pr-5155-practical-knuth-i0gbmy

ℹ️ Preview Environment Info

Isolation:

  • PostgreSQL and Redis are fully isolated from production
  • Each PR gets its own database branch and Redis instance
  • Changes pushed to this PR will trigger a new deployment

Limitations:

  • Background workers and cron jobs are not deployed in preview environments
  • If you need to test background jobs, use Heroku staging environments

Cleanup:

  • This preview will be automatically destroyed when the PR is closed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants