Skip to main content

7.3 Incentive Verification

Proves the three Stage 2 judge requirements: functional miner logic, working validator evaluation flow, and incentive mechanisms behaving as intended.

Proof 1: Functional Miner Logic

Code: neurons/miner.py · cswon/base/miner.py

Live miners on testnet: All 10 miners serving at 136.185.198.230:8091–8100 (coldkey: 5CswWXnGqrSLGFmHhhv6FVwD6t2gyhmByQirvG2yHwPaZ7Yg). UID 2 (miner/default, hotkey 5H1MrhNSaBJCMsoNNf6KnzA5HG8VVPAsH1JbSvFwjbSp1iaw) registered at block 6798997. UIDs 3–11 registered at blocks 6802785–6803371. Total miner stake: 135.25 ב, total miner emission: 249.81 ב.

Sample response from a running miner:

{
"task_id": "code_003",
"miner_uid": 2,
"scoring_version": "1.0.0",
"workflow_plan": {
"nodes": [
{"id": "step_1", "subnet": "SN1", "action": "generate_code",
"params": {"prompt": "Generate FastAPI endpoint...", "max_tokens": 2000},
"estimated_cost": 0.0012, "estimated_latency": 0.6},
{"id": "step_2", "subnet": "SN62", "action": "review_code",
"params": {"code_input": "${step_1.output.text}"},
"estimated_cost": 0.0035, "estimated_latency": 1.5},
{"id": "step_3", "subnet": "SN45", "action": "generate_tests",
"params": {"code_input": "${step_2.output.artifacts.code}"},
"estimated_cost": 0.0025, "estimated_latency": 2.2}
],
"edges": [{"from": "step_1", "to": "step_2"}, {"from": "step_2", "to": "step_3"}],
"error_handling": {"step_1": {"retry_count": 2}, "step_2": {"retry_count": 1}}
},
"total_estimated_cost": 0.0072,
"total_estimated_latency": 4.3,
"confidence": 0.88
}

Proof 2: Working Validator Evaluation Flow

Code: cswon/validator/executor.py · cswon/validator/reward.py · cswon/validator/weight_setter.py

Live validators on testnet: All 3 validators serving at 136.185.198.230:8101–8103 (coldkey: 5GWjFybcbmdHArkFQZAVZhyz1My1WgqNqGKzRrHML1pHpbG1). UID 1 (vali/default, hotkey 5GYi8aRkGCqQH8YScK4yYDkfZx6DtLVz3G5WJigwwbennZz8) registered at block 6798914, stake 626.61 ב. UID 12 (vali/vali2, hotkey 5EJTJaqfvQovvEKVssXQ6bAfYbJKw71NtktBtHhz1EAiLwaF) stake 14.77 ב, emission 27.49 ב. UID 13 (vali/vali3, hotkey 5CyPsnqJBnZJgwHvPw9rbvagAzNU7VmdBk5juPyGmLD694Qw) stake 10.05 ב, emission 18.72 ב.

See 7.2 Validator Logs for stage-by-stage output.

Proof 3: Incentive Mechanisms Behave as Intended

Success-First Gating Works

Miner UID X:
S_success = 0.650 (below 0.70)
S_cost = 0.000 (GATED)
S_latency = 0.000 (GATED)
S_reliability = 0.800
S = 0.50×0.650 + 0.25×0.000 + 0.15×0.000 + 0.10×0.800 = 0.405

Without gating: S = 0.708 → Gating reduced score by 43%

VRF Anti-Gaming Works

import hashlib
# Validator 1 (vali/default UID 1)
task_1 = int.from_bytes(
hashlib.sha256(b"5GYi8aRkGCqQH8YScK4yYDkfZx6DtLVz3G5WJigwwbennZz8:6804088").digest(),
'big'
) % 50 # → deterministic task index

# Validator 2 (vali/vali2 UID 12)
task_2 = int.from_bytes(
hashlib.sha256(b"5EJTJaqfvQovvEKVssXQ6bAfYbJKw71NtktBtHhz1EAiLwaF:6804088").digest(),
'big'
) % 50 # → different task index

Same block, different tasks. Copy attacks infeasible.

Benchmark Rotation Fires

# cswon/validator/benchmark_lifecycle.py
if fraction_above_threshold > 0.70 and consecutive_tempos >= 3:
task["status"] = "deprecated"

On-Chain Emission Distribution (Block 6804608)

UIDRoleWalletHotkeyStake (ב)Emission (ב)Axon
0Ownerowner/default5FZij...6fvM2,346.300.00
1Validatorvali/default5GYi8...nZz8637.87142.488101
2Minerminer/default5H1Mr...1iaw18.5917.498091
3Minerminer/miner25DoRe...HsV48.6214.508092
4Minerminer/miner35Cu1e...9ZEJ39.1514.508093
5Minerminer/miner45DyTR...kLzq33.1514.508094
6Minerminer/miner65Dyhn...pX1C26.2314.508096
7Minerminer/miner75Grjc...98Sk24.1414.508097
8Minerminer/miner85Gxye...iiGs22.5614.508098
9Minerminer/miner55F1Dq...1tnA29.1014.508095
10Minerminer/miner95HHWx...1BKZ21.3514.508099
11Minerminer/miner105FqZH...ML8L20.3814.508100
12Validatorvali/vali25EJTJ...waF15.033.298102
13Validatorvali/vali35CyPs...4Qw10.232.248103

All 14 nodes are registered and 13 non-owner nodes are actively serving on 136.185.198.230. All 3 validators have submitted weights on-chain. Miners (UIDs 2–11) are receiving emission proportional to their weight-based scores. UID 2 (miner/default) receives the highest miner emission (17.49 ב) due to the 15% weight cap from vali/default's extensive scoring history (869 tasks).

Alignment with Bittensor Standards

StandardImplementationEvidence
Benchmark aligned with goalS weights reflect workflow quality3.2 Scoring Formula
No overfittingRotation at 70%/3-tempo3.4 Anti-Gaming
Copy resistanceVRF per-validator scheduleProof 3 above
Low evaluation varianceDeterministic scoring, no LLM judge3.3 Quality Scoring
TransparencyEvery score reproducible5.2 Evaluation Pipeline
OSS submission formatWorkflowSynapse fully inspectable2.2 Protocol

← Previous7.2 Validator Logs
→ Next8.1 Token Economy
IndexDocumentation Index