Skip to content

fix(data/cpu): store two fractional TDP values as whole watts - #401

Merged
Seungpyo1007 merged 1 commit into
developfrom
fix/cpu-integer-tdp
Nov 13, 2026
Merged

Seungpyo1007 merged 1 commit into
developfrom
fix/cpu-integer-tdp

Conversation

@TechEngineBot

Copy link
Copy Markdown
Member

What & why

Closes #296

tdp_w is an integer in the API schema. Two processors added in #395 carry fractional values, which the bundled validator accepts but the engine's serialiser rejects, so generating the API from develop fails (seen in TechEngine's test run against this dataset).

Record Was Now
pentium-3561y 11.5 12
z-01 5.9 6

No other CPU, GPU or SoC record holds a fractional value in an integer field.

Source

The cited Wikipedia lists give 11.5 W and 5.9 W; the values are rounded to fit the field.

Checklist

  • The PR targets develop (main only moves through release PRs)
  • python -m app.validate passes locally
  • Sidebar filled in by hand: assignees, labels, milestone, projects, and the tracker under Development

tdp_w is an integer field in the API schema. Pentium 3561Y (11.5 W) and
AMD Z-01 (5.9 W) were added with fractional values, which the API
serialiser rejects; they are rounded to 12 and 6.
@TechEngineBot TechEngineBot added bug Something isn't working data Dataset changes labels Nov 13, 2026
@Seungpyo1007
Seungpyo1007 merged commit 41f2589 into develop Nov 13, 2026
5 checks passed
@Seungpyo1007
Seungpyo1007 deleted the fix/cpu-integer-tdp branch November 13, 2026 15:02
@github-project-automation github-project-automation Bot moved this from Todo to Done in TechAPI-Project Nov 13, 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

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

Data accuracy: corrections, duplicates and dates (workstream)

2 participants