Skip to content

feat: link 3,310 CPUs to their socket record - #442

Merged
Seungpyo1007 merged 3 commits into
developfrom
feat/cpu-socket-link
Nov 27, 2026
Merged

Seungpyo1007 merged 3 commits into
developfrom
feat/cpu-socket-link

Conversation

@TechEngineBot

Copy link
Copy Markdown
Member

What

Pins TechEngine c625de4 (GetTechAPI/TechEngine#145, #146) and links CPUs to their socket record.

Rule (bundled validator matches the engine)

A CPU may carry socket_slug, which must be the slug of a socket record. The free-text socket field is unchanged. The API serves the field and filters the CPU list with ?socket_slug=.

Data

  • 3,310 of the 5,398 CPUs that name a socket are linked. socket_slug is set where the text names exactly one socket record by name, slug or alias, allowing for spelling (LGA1700, FCLGA1700, Socket AM4, AM4) and for a PGA package whose pin count only one socket has. Each CPU file gains that one line.
  • Four sockets added from the second table of the Wikipedia CPU socket article: Slot B, PAC418, PAC611 and LGA 1248. socket is now 82.

Left unlinked

  • Revisions that share a base socket record (LGA 1151 v2, S1g1 to S1g4, FS1r2): they are not interchangeable with the base socket.
  • BGA packages and modules, which are soldered and are not sockets (about 1,700 CPUs).
  • Texts that fit several sockets (478-pin and 988-pin PGA packages, AM2+/AM3, a bare 940).
  • Sockets without a record (LGA 2011-1, SP7, SP8, sWRX90), and a CPU of another maker than the socket's.

The pin also brings the verification tools merged in TechEngine #144 and #146.

Checks

python3 -m app.validate, TechEngine app.validate --changed-since origin/develop and integrity_check.py ../data --strict pass with the new pin.

Refs #295, #297

A CPU's socket is free text as the source wrote it ("LGA 1700", "FCLGA1700", "Socket AM4"), so it cannot be joined to the socket records. The optional socket_slug carries the link: when set it must be the slug of an existing socket. The socket text is not touched.
socket_slug is set where the CPU's socket text names exactly one socket record by its name, slug or an alias, allowing for spelling (LGA1700, FCLGA1700, Socket AM4, AM4) and a PGA package whose pin count only one socket has (FCPGA946, PPGA604). The socket text itself is unchanged.

Left unlinked: revisions that share a base socket record (LGA1151v2, S1g2, FS1r2), BGA packages and modules, texts naming several sockets, 478-pin and 988-pin PGA packages that fit more than one socket, a bare 940, sockets without a record (LGA 2011-1, SP7, SP8, sWRX90) and CPUs of another maker than the socket's.

Slot B, PAC418, PAC611 and LGA 1248 come from the second table of the Wikipedia CPU socket article and are unverified.
@TechEngineBot TechEngineBot added enhancement New feature or request data Dataset changes labels Nov 27, 2026
@Seungpyo1007
Seungpyo1007 merged commit 5b1cd0a into develop Nov 27, 2026
5 checks passed
@github-project-automation github-project-automation Bot moved this from Todo to Done in TechAPI-Project Nov 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

data Dataset changes enhancement New feature or request

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants