P3 scoring: BlockFLow validation (P3-SCR), on-chain median, scenario-driven scoring redesign
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 30/100
- Issue type
- Feature
- Clarity
- Mostly clear
- Activity status
- Active
- Tech stack
- machine-learning, python, solidity
- Domain
- blockchain, databases, machine-learning, testing
Research direction
Start with MECHANISM_DESIGN §6 and Developer/issues/scoring-mechanism.md, then locate the shipped BlockFLow scoring implementation and its pytest integration tests. Validate poison detection, duplicate fold-in, permutation averaging, and sequential fold-in across the stated cases; inspect the finalizeEvaluation path for the on-chain auditor-batch median and eligibility gate. Done means the tests cover the specified scoring properties and the median score is the canonical basis for eligibility, rewards, and S3 slashing.
Written by the indexing model from the issue text.
Description
Part of the P3 mechanism-design push (#36).
Summary
Two workstreams before scoring can safely drive rewards and slashing:
- Validate the shipped BlockFLow-inspired scoring (WP 2.2 ✅) empirically — P3-SCR. High correctness risk in the subtle properties (sequential fold-in, permutation averaging).
- Scenario-driven scoring redesign — separate eligibility from utility instead of one test shard / one accuracy number / one average threshold (issues/scoring-mechanism.md).
Scope (from MECHANISM_DESIGN §6)
- P3-SCR validation: poison detection (label-flip, sign-flip, scaling, garbage), duplicate discounting via fold-in, cosine-to-consensus / norm-bound / marginal-gain gates at multiple ε values; pytest integration tests for permutation averaging and sequential fold-in
- Compute the median across the auditor batch on-chain at
finalizeEvaluationso the canonical per-model score exists on-chain as both the S3 slashing reference and the reward basis (today eligibility voting exists but no canonical score is derived) - Eligibility: median ≥
passScoregates T1 aggregation; below ⇒ rejected, zero reward - S3 deviation threshold: start wide, warning-only shadow mode for the first weeks of DevNet 2.0, then tighten (avoid punishing honest variance from heterogeneous audit test sets)
Threat coverage
In scope: crude poisoning, Sybil clients (spam costs compute, earns nothing below pass score), score inflation (median-bounded). Out of scope for 2.0: backdoors (RES-2), >50% auditor collusion.
Design sources
MECHANISM_DESIGN §6 · issues/scoring-mechanism.md · whitepaper-summary §4.4, §8 gap items 3, 11, 14 · rejected-ideas/tknn-shapley.md
Roadmap anchors: P3-SCR (validation), WP 2.2 (implementation, shipped)
- Dominant language
- Python
- Stars
- 4
- Forks
- 7
- Avg merge
- 3d 5h
- Merged PRs (30d)
- 34
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from InfiniteZeroFoundation/DevNet
-
ROADMAP.md: refresh "What is still open for P3" (several items were fixed in October)Possibly taken @umermjd11 claimed this 4 days ago. Opendocumentation good first issue
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
InfiniteZeroFoundation/DevNet#285 · 1 comment · 1 assignee ·
Maintainers usually reply within 1 day
-
Update the 25 translated organisation READMEs to match the English versionPossibly taken @mrCabez claimed this 2 days ago. Opengood first issue help wanted
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
InfiniteZeroFoundation/DevNet#277 · 2 comments · 1 assignee ·
Maintainers usually reply within 1 day
-
Update the client-service guide to explain training and uploading separatelyPossibly taken @Santiagocetran claimed this 1 day ago. Open
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
InfiniteZeroFoundation/DevNet#266 · 1 assignee ·
Maintainers usually reply within 1 day
-
Few questions related to GI2 aggregatorPossibly taken @Abidoyesimze claimed this 1 day ago. Open
InfiniteZeroFoundation/DevNet#307 · 1 reaction · 4 assignees ·
Maintainers usually reply within 1 day
-
bug python
Difficulty 4/5 3-5 days Newbie friendliness 52/100
InfiniteZeroFoundation/DevNet#306 ·
Maintainers usually reply within 1 day
All issues in InfiniteZeroFoundation/DevNet
Similar issues
-
_chunk_scan_fwd launches its Triton kernel without a device guard: NaN when a model is split across GPUsPossibly taken @toddwbucy claimed this today. Open
Difficulty 1/5 Under an hour Newbie friendliness 85/100
state-spaces/mamba#1072 ·
-
Difficulty 1/5 Under an hour Newbie friendliness 85/100
loopj/aiovantage#414 ·
Maintainers usually reply within 1 day
-
power_mismatch_deline docstring: the rear-to-total RMAD conversion has an extra bifaciality factorOpen
Difficulty 1/5 Under an hour Newbie friendliness 85/100
pvlib/pvlib-python#2929 ·
Maintainers usually reply within 1 day
-
data good first issue launch-day unverified
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
BradGroux/wow-forever-mission-control#8 ·
Maintainers usually reply within 1 day
-
check bilibili falsely reports read/subtitle as broken: live_test fixture BV1GJ411x7h7 is gone (404)Open
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Panniantong/Agent-Reach#889 ·
Maintainers usually reply within 2 days