Skip to content

ingest: synthesized device names mangle brand casing (INTEL / Oneplus) #13

Description

@Seungpyo1007

Problem

When a Wikipedia row's model string omits the brand, name synthesis prefixed manufacturer.upper() (CPU/GPU) or brand.title() (smartphone), producing INTEL Core 2 Duo E6300 and (latently) Oneplus ... for bare model numbers.

Impact

Reproduced the casing artifact that had to be hand-fixed in TechAPI data, and would recur on every weekly ingest. GPU (Intel Arc) and smartphone (OnePlus) shared the same latent bug.

Fix

Per-brand display map so Intel stays Intel while genuinely all-caps brands (AMD, NVIDIA) keep their casing.

Files: app/ingest/sources/wikipedia_cpu.py, wikipedia_gpu.py, wikipedia_smartphone.py

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions