From 9b18e17eee451a9a900f792add2c4c2eeb2af533 Mon Sep 17 00:00:00 2001 From: "Danilo M." Date: Thu, 17 Sep 2026 19:08:13 +0200 Subject: feat: parse the CPU and motherboard model strings Stripping by rule rather than by a table of known parts: a leading vendor word, trademark noise, a trailing core count or clock. The Intel fixture exists to keep it a rule. DMI placeholders read as no board at all. 'To Be Filled By O.E.M.' on the dashboard is worse than a blank row. Co-Authored-By: Claude Opus 5 --- test/fixtures/proc_cpuinfo_intel | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 test/fixtures/proc_cpuinfo_intel (limited to 'test/fixtures/proc_cpuinfo_intel') diff --git a/test/fixtures/proc_cpuinfo_intel b/test/fixtures/proc_cpuinfo_intel new file mode 100644 index 0000000..886b589 --- /dev/null +++ b/test/fixtures/proc_cpuinfo_intel @@ -0,0 +1,6 @@ +processor : 0 +vendor_id : GenuineIntel +cpu family : 6 +model : 158 +model name : Intel(R) Core(TM) i7-8700K CPU @ 3.70GHz +stepping : 10 -- cgit v1.2.3