Skip to content

fix(data): correct storage, battery and display fields from each record's own text - #301

Merged
Seungpyo1007 merged 1 commit into
developfrom
fix/e4-self-consistency
Sep 26, 2026
Merged

Seungpyo1007 merged 1 commit into
developfrom
fix/e4-self-consistency

Conversation

@Seungpyo1007

@Seungpyo1007 Seungpyo1007 commented Sep 26, 2026 •

Copy link
Copy Markdown
Member

What & why

Self-consistency fixes: every corrected value is derived from text already in the same record, with no outside lookups. Closes #296.

  • Tablet/watch storage (259 records): storage_options_gb held the RAM size mixed into the storage list (e.g. [1, 16] for "8/16 GB, 1 GB RAM"). Re-parsed from memory_internal. Records whose raw text lists several editions ("16 GB, 2 GB RAM - Standard edition 32 GB, 3 GB RAM - Premium") were left untouched, because a single-list parse would drop an edition.
  • iPad Pro 12.9 (2015, 2017): battery_mah had lost the thousands digit (307 / 891); restored to 10,307 / 10,891 from the raw battery text.
  • 3 laptops: storage_gb now matches the configuration in the model name (e.g. i7-7500U/8GB/128GB).
  • Monitors: size_inch (3) and resolution (2) now match the listing name. aspect_ratio is nulled where it contradicts the pixel resolution (24, e.g. 78:1 for 1920x1080).

Not changed: 43 devices whose release date is more than 2 years before their chip, and 15 records whose slug RAM disagrees with ram_gb. The correct value isn't derivable from the record, so they need sourcing.

Source

Each record's own memory_internal, raw battery text and product name.

Checklist

  • The PR targets develop
  • python -m app.validate passes locally
  • Files live at the correct path
  • No slugs changed
  • Sources unchanged (values derived from existing cited records)

…itor size/resolution from each record's own text

- tablet/watch storage_options_gb re-parsed from memory_internal where the
  import mixed the RAM size into the storage list (259 records)
- iPad Pro 12.9 (2015, 2017) battery_mah restored from the raw battery text
- 3 laptops: storage_gb taken from the configuration in the model name
- monitors: size_inch and resolution taken from the listing name (5), and
  aspect_ratio nulled where it contradicts the pixel resolution (24)

Refs #296
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.

Data accuracy: corrections, duplicates and dates (workstream)

1 participant