# facebookarchive/device-year-class

A library that analyzes an Android device's specifications and calculates which year the device would be considered "high end”.

Repository: https://github.com/facebookarchive/device-year-class
Canonical: https://ross.abutalabs.com/products/device-year-class
Language: Java
License: NOASSERTION
License Family: other
Archived: true
Last push: 2020-02-28T22:16:43+00:00

## Health v2 (maintenance only)
Score: 10/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 0, release rhythm 8, longevity 100
- inputs: {"age_days": 4198, "days_push": 2378, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: archived, no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 2584, forks 269 (observed 2026-08-28T04:07:02.563748+00:00)

## What it is
An Android library by Facebook that maps a device's RAM, CPU core count, and clock speed to a 'year class' indicating when those specs were considered high end. It lets developers easily tailor app behavior based on hardware capabilities.

## Use cases
- classify Android device performance tier by hardware specs
- disable animations on low-end phones
- send device capability metrics with analytics
- adapt app features based on device hardware year
- segment users by device performance in crash reporting

## When to choose
- you need a lightweight way to gauge Android device capability
- you want to degrade features gracefully on older hardware
- you need a simple hardware metric for analytics segmentation

## When to avoid
- you target iOS or non-Android platforms
- you need modern device benchmarking beyond RAM and CPU specs
- you need an actively maintained library with recent updates

## Facets
- artifact type: library
- maturity: maintenance
- function: machine-learning
- domain: mobile-development, android-tools, developer-tools
- platform: jvm
- tags: android, device-capability, hardware-profiling, performance-tiering, facebook-archive, mobile

## Member repositories
- facebookarchive/device-year-class (main) score 10

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:07:02.563748+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T02:22:29.269569+00:00, confidence not recorded.
  - readme: https://github.com/facebookarchive/device-year-class (fetched 2026-08-28T04:07:02.563748+00:00, sha 4f9af420f232)
- Data as of 2026-08-30T08:39:29.467469+00:00.
