Skip to content

fix(data/laptop): MacBook year folders and dirty cpu_name values - #192

Merged
Seungpyo1007 merged 2 commits into
developfrom
fix/laptop-year-cpu-name
Sep 22, 2026
Merged

Seungpyo1007 merged 2 commits into
developfrom
fix/laptop-year-cpu-name

Conversation

@Seungpyo1007

@Seungpyo1007 Seungpyo1007 commented Sep 18, 2026 •

Copy link
Copy Markdown
Member

What & why

Fixes two laptop-data issues found in a read-only audit:

  1. Wrong year folder / release_date for 2025 MacBooks — several M4 MacBook Air and M5 MacBook Pro records lived under data/laptop/apple/2024/ with placeholder release_date: 2024-01-01, which also made the Apple laptop year tree stop at 2024.
  2. Dirty cpu_name values — scrape artifacts like Apple M4 M4, Snapdragon Snapdragon X Elite, and Intel 210H 210H.

Source

Apple (Newsroom + Support tech specs):

CPU naming:

  • Apple chip strings from the Support pages above (Apple M3 / Apple M4 / Apple M4 Pro / Apple M4 Max / Apple M5)
  • Snapdragon X Elite / Plus / X SKUs from Qualcomm product page and X Platform brief; X1E-* kept as Elite
  • Intel Core 5 210H from Intel ARK + Lenovo PSREF for the IdeaPad Slim 5 16IRH10R row

Changes

  • Moved 9 Apple records (6× M4 Air 2025, 3× M5 Pro 14) from apple/2024/ → apple/2025/ via git mv
  • Updated 22 Apple records' release_date + source_urls (2024 M3 Air / M4 Pro stay in 2024 with real availability dates)
  • Normalized 63 dirty cpu_name values across Apple and other OEMs (Snapdragon / Intel)

Dump note

site/public/v1 was not regenerated in this PR. Local python -m app.dump against the pinned TechEngine was started but aborted after ~25 minutes still mid-run: the full tree is ~190k+ JSON records (≈93k smartphones alone, plus large software/website collections), so a complete dump is multi-hour work on this machine. Please run TechEngine dump-refresh / weekly-refresh (or regenerate CI-side) before merge if the dump must ship in the same PR.

Checklist

  • The PR targets develop (main only moves through release PRs)
  • python -m app.validate passes locally
  • Files live at the correct data/<category>/<...>/<slug>.json path
  • Slugs are kebab-case and unique within the category
  • source_urls cites at least one canonical reference
  • Final dump commit (site/public/v1) — deferred; see Dump note

Move 2025 M4 Air and M5 Pro records out of the 2024 folder, set
availability dates from Apple Newsroom, and normalize chip names
against Support tech specs.
Collapse scrape artifacts such as "Snapdragon Snapdragon X Elite" and
"Intel 210H 210H" to vendor-canonical names, citing Qualcomm/Intel/OEM
specs in source_urls.
@github-actions github-actions Bot added bug Something isn't working data Dataset changes enhancement New feature or request labels Sep 18, 2026
@Seungpyo1007 Seungpyo1007 moved this from Todo to In Progress in TechAPI-Project Sep 18, 2026
@Seungpyo1007
Seungpyo1007 force-pushed the fix/laptop-year-cpu-name branch from d0f2026 to 7b81791 Compare September 18, 2026 11:02
@Seungpyo1007
Seungpyo1007 merged commit e81170c into develop Sep 22, 2026
5 checks passed
@Seungpyo1007
Seungpyo1007 deleted the fix/laptop-year-cpu-name branch September 22, 2026 10:01
@github-project-automation github-project-automation Bot moved this from In Progress to Done in TechAPI-Project Sep 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working data Dataset changes enhancement New feature or request

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

1 participant