Documentation
¶
Index ¶
- type Candidate
- type CandidateState
- type Dataset
- type Experiment
- type Framework
- func (f *Framework) CalculateMetrics(data metrics.TimeSeriesData, riskFreeRate, periodsPerYear float64) (metrics.MetricsReport, error)
- func (f *Framework) GenerateAudit(packet audit.ResearchAudit, path string) error
- func (f *Framework) GenerateLockfile(lock audit.ResearchLock, path string) error
- func (f *Framework) GeneratePromotionPacket(packet lifecycle.PromotionPacket, path string) error
- func (f *Framework) Integrity() IntegrityNamespace
- func (f *Framework) VerifyLock(current, stored audit.ResearchLock) error
- type IntegrityNamespace
- func (i IntegrityNamespace) CheckLookAheadBias(timestamps []int64) error
- func (i IntegrityNamespace) CheckParameterMining(numObservations, numParameters int) error
- func (i IntegrityNamespace) CheckRegimeLeakage(trainingRegimes, validationRegimes []integrity.Regime) error
- func (i IntegrityNamespace) CheckSampleSize(numObservations, minRequired int) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CandidateState ¶
type CandidateState = core.CandidateState
type Experiment ¶
type Experiment = core.Experiment
type Framework ¶
type Framework struct {
Experiments *registry.ExperimentRegistry
Datasets *registry.DatasetRegistry
HoldoutProtection *registry.HoldoutProtection
Lifecycle *lifecycle.StateTransitionEngine
}
Framework acts as the unified, independent entry point for all Research Integrity features. It is designed to be consumed by ak-engine, ak-trader, and ak-scout.
func NewFramework ¶
NewFramework initializes the RIF components.
func (*Framework) CalculateMetrics ¶
func (f *Framework) CalculateMetrics(data metrics.TimeSeriesData, riskFreeRate, periodsPerYear float64) (metrics.MetricsReport, error)
CalculateMetrics uses the Institutional Metrics Engine to generate standardized performance data.
func (*Framework) GenerateAudit ¶
func (f *Framework) GenerateAudit(packet audit.ResearchAudit, path string) error
GenerateAudit produces a research audit trail document.
func (*Framework) GenerateLockfile ¶
func (f *Framework) GenerateLockfile(lock audit.ResearchLock, path string) error
GenerateLockfile produces a deterministic reproducibility lockfile.
func (*Framework) GeneratePromotionPacket ¶
func (f *Framework) GeneratePromotionPacket(packet lifecycle.PromotionPacket, path string) error
GeneratePromotionPacket produces the evidence packet required for candidate promotion.
func (*Framework) Integrity ¶
func (f *Framework) Integrity() IntegrityNamespace
Integrity provides a namespace for statistical integrity checks.
func (*Framework) VerifyLock ¶
func (f *Framework) VerifyLock(current, stored audit.ResearchLock) error
VerifyLock checks if a current configuration matches the locked configuration.
type IntegrityNamespace ¶
type IntegrityNamespace struct{}
func (IntegrityNamespace) CheckLookAheadBias ¶
func (i IntegrityNamespace) CheckLookAheadBias(timestamps []int64) error
CheckLookAheadBias validates that timestamps do not imply looking into the future.
func (IntegrityNamespace) CheckParameterMining ¶
func (i IntegrityNamespace) CheckParameterMining(numObservations, numParameters int) error
CheckParameterMining checks if the number of parameters is dangerously large.
func (IntegrityNamespace) CheckRegimeLeakage ¶
func (i IntegrityNamespace) CheckRegimeLeakage(trainingRegimes, validationRegimes []integrity.Regime) error
CheckRegimeLeakage ensures that validation regimes do not overlap with training regimes.
func (IntegrityNamespace) CheckSampleSize ¶
func (i IntegrityNamespace) CheckSampleSize(numObservations, minRequired int) error
CheckSampleSize ensures enough statistical power exists.
Directories
¶
| Path | Synopsis |
|---|---|
|
Package contract exposes RIF's side-effect-free canonical contract boundary.
|
Package contract exposes RIF's side-effect-free canonical contract boundary. |
|
internal
|
|
|
pitevidence
Package pitevidence independently consumes the public ak-historian PIT evidence wire contract.
|
Package pitevidence independently consumes the public ak-historian PIT evidence wire contract. |
|
Package persistence provides the only authoritative file-write primitive used by RIF control state and artifacts.
|
Package persistence provides the only authoritative file-write primitive used by RIF control state and artifacts. |
|
Package research implements the additive V4 pre-development research governance authority.
|
Package research implements the additive V4 pre-development research governance authority. |