oryn_core library
Oryn Core Library
Core engine for the Oryn truth-resolution protocol.
Pure Dart. No external dependencies.
Usage
import 'package:oryn_core/oryn_core.dart';
// Create a claim
final claim = Claim.create(
statement: 'The Earth orbits the Sun',
scope: 'Astronomy',
);
// Add evidence
final withEvidence = claim.addEvidence(
Evidence.create(
type: EvidenceType.link,
reference: 'https://nasa.gov',
strength: 0.8,
),
);
// Compute confidence
final confidence = ConfidenceEngine.compute(withEvidence);
Classes
- Claim
- A claim in the Oryn protocol
- ClaimValidator
- Claim Validator
- ConfidenceBreakdown
- Detailed breakdown of confidence calculation
- ConfidenceEngine
- Confidence Engine
- CounterEvidence
- Counter-evidence challenging a claim
- DecayEngine
- Decay Engine
- Evidence
- Evidence supporting or countering a claim
- ValidationResult
- Result of validation
Enums
- ConfidenceLevel
- Confidence level categories
- CounterEvidenceType
- Counter-evidence types supported by Oryn
- DecayStatus
- Decay status categories
- EvidenceType
- Evidence types supported by Oryn