You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add v3 scoring model (Diet Egg) and Fresh Egg advisory (#48)
* Add v3 scoring model (Diet Egg) and Fresh Egg advisory
v3 uses alltime merge rate as the sole scoring input, dropping graph
score and log account age from the v2 logistic regression. Fresh
accounts (under 365 days) get an advisory surfaced in all output
formats without affecting the score. Bots are excluded from the
advisory since their synthetic profiles have unreliable age data.
- Add FreshAccountAdvisory model and TrustScore.fresh_account field
- Add _score_v3() using merge_rate as raw and normalized score
- Add _build_fresh_account_advisory() called in all scoring paths
- Change default scoring_model from v1 to v3
- Add "Diet Egg" brand name for v3 in all formatters
- Widen v2 component breakdown checks to include v3
- Add v3 to CLI, action, and MCP server validation
- Update tests: 332 passing, 94% coverage
* Run action from local checkout with v3 scoring model
Point the Good Egg workflow at ./ instead of the published @v1 tag so
the PR runs the branch code. Set scoring-model to v3.
* Restore action workflow to use published @v1 tag
Remove the local checkout used for testing. Drop the explicit
scoring-model since v3 is now the default.
* Update docs and examples for v3 (Diet Egg) default
- README: update scoring models table, add Fresh Egg section, update
description to reflect v3 as default
- docs/configuration.md: add v3 to scoring model section, YAML schema,
env var table, and scoring_model description
- docs/github-action.md: update inputs/outputs tables, replace "Using
Better Egg" with general "Selecting a Scoring Model" section, add
diet-egg-workflow to example list
- docs/library.md: replace v2-only config section with general scoring
model selection, add fresh_account to TrustScore field table, update
raw_score description
- docs/mcp-server.md: update all parameter tables and return examples
to show v3 as default
- docs/methodology.md: add Diet Egg (v3) section with motivation, Fresh
Egg advisory, and component scores; update scoring section to lead
with v3
- docs/troubleshooting.md: add v3 and Fresh Egg troubleshooting sections
- examples: add diet-egg-workflow.yml, update .good-egg.yml with v3
comments, update library_usage.py with v3 and fresh_account usage
- assets: replace PR comment screenshot with Diet Egg version
* Address review comments on formatter docstring and threshold constant
- Update _brand_name docstring to include Diet Egg
- Use FreshAccountAdvisory.model_fields default instead of hardcoded 365
* Address PR review: changelog, explicit v1 model, stale comment, tests
- Add CHANGELOG entry for v3 (Diet Egg) and Fresh Egg advisory
- Set scoring_model="v1" explicitly in v1 return for consistency
- Add comment explaining why bot short-circuit omits fresh_account
- Fix stale "v2 component score breakdown" comment to include v3
- Add test for MEDIUM trust boundary with 50% merge rate
- Add test for fresh account at 364 days (boundary confirmation)
0 commit comments