microsoft / microsoft/OSSGadget

Improve the risk calculation algorithm

Open
#150 5 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement help wanted
Dominant language
C#
Stars
371
Forks
58
PR merge metrics
No merged PRs in 30d

Description

The risk calculation algorithm (in oss-risk-calculator) is pretty basic, combining project health (from oss-health) and the number of high-risk characteristics (from oss-characteristic), then normalizing to a range of 0 to 1.

I think this could be improved significantly, but would require a good amount of "think" time. If anyone is interested in contributing, it'd be very much appreciated.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reading the oss-risk-calculator entry point and tracing how it combines oss-health with the high-risk characteristics from oss-characteristic. Review the current normalization to 0–1, then define and implement a better-supported calculation whose expected behavior and output range can be verified.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
security
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.