Skip to content

uraniborg: Remove obsolete risk scoring framework.#8

Merged
billy-lau merged 1 commit into
android:mainfrom
billy-lau:uraniborg/remove-risk-scoring
Jun 23, 2026
Merged

uraniborg: Remove obsolete risk scoring framework.#8
billy-lau merged 1 commit into
android:mainfrom
billy-lau:uraniborg/remove-risk-scoring

Conversation

@billy-lau

Copy link
Copy Markdown
Member

The device risk scoring code is no longer relevant to the project. We now remove it to simplify the codebase.

This change includes the removal of:

  • Core scoring logic: risk_analyzer.py and device_scoring.py
  • Baseline generation scripts: generate_baseline_packages.py
  • Preloaded GSI baseline data and whitelists: package_whitelists.py and the data/ directory
  • Related documentation: device_scoring.md and adding_new_baseline.md

Additionally, README.md has been updated to remove references to the risk analysis features and collaboration details.

Change-Id: Ia3c7e790e26ff352635215fd257447f98159be8d

The device risk scoring code is no longer relevant to the project.
We now remove it to simplify the codebase.

This change includes the removal of:
- Core scoring logic: `risk_analyzer.py` and `device_scoring.py`
- Baseline generation scripts: `generate_baseline_packages.py`
- Preloaded GSI baseline data and whitelists: `package_whitelists.py`
  and the `data/` directory
- Related documentation: `device_scoring.md` and `adding_new_baseline.md`

Additionally, `README.md` has been updated to remove references to the
risk analysis features and collaboration details.

Change-Id: Ia3c7e790e26ff352635215fd257447f98159be8d

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request completely removes the device preload risk scoring and analysis framework from the repository. This includes the deletion of the risk analysis documentation, the baseline JSON data files for various Android versions (N through V), the Python scripts for device scoring and baseline package generation, and the underlying package whitelists and risk analyzer modules. Additionally, references to these components have been cleaned up in the README. Since there are no review comments associated with this pull request, I have no further feedback to provide.

Important

The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.

@billy-lau billy-lau merged commit 24a8859 into android:main Jun 23, 2026
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant