SLPhilosophyConsistency.sleela
lib/philosophy/SLPhilosophyConsistency.sleela · 75 line(s) · sleela
<< lib/philosophy/SLPhilosophyConsistency.sleela
SLeeLa Standard Library Definition.
Definition: handle to the tree-consistency signal-toss tool
(philosophy/consistency_monitor.* and philosophy/signal_toss.*). >>
#sleela 2.5
material;
< Family: philosophy. Capability contract + metadata for the consistency tool. >
< Samples branches at about 44 Hz and commits consistency updates in the >
< 800-1200/hour band; accrues 4 updates per branch considered and 5 per mature >
< length considered; maturity is reference-weighted at the 0.80/0.97/0.51 gates. >
class SLPhilosophyConsistency {
int id() { return 2; }
String name() { return "consistency-signal-toss"; }
String summary() { return "44 Hz branch-consistency sampler, 800-1200 commits/hour"; }
< Cadence contract (mirrors signal_toss.h). >
int sampleHz() { return 44; }
int commitMinPerHour() { return 800; }
int commitMaxPerHour() { return 1200; }
< Update accounting (mirrors consistency_monitor.h). >
int updatesPerBranch() { return 4; }
int updatesPerMatureLength() { return 5; }
< Structural invariants. >
int traitMax() { return 45; }
int traitWarn() { return 44; }
int weightMin() { return 1; }
int weightMax() { return 9; }
int economyStudyArity() { return 2; }
int sideBranchpointMax() { return 15; }
< ---- Descriptive metadata (version 1.11 nested-friendly accessors) ---- >
<< Eleven catalogued attributes with getter/setter pairs, so a GUI, loader,
or catalog can read and (where appropriate) override this record.
Values are faithful to the real origin of the subject where publicly known. >>
String metaVersion = "1.0.0";
int metaId = 10411;
String metaAuthor = "Kiro Agent";
String metaDate = "2026-10-30";
String metaCopyright = "SLeeLa project";
String metaTrademark = "none";
String metaCorporation = "none";
< metaOrigin: National | <nation> | International | Galactic >
String metaOrigin = "International";
String metaBirthDate = "2026-10-30";
< metaScienceRating: maturity/robustness on a 1..10 scale >
int metaScienceRating = 8;
< metaNationalSchedule: a real, citable instrument or "none" >
String metaNationalSchedule = "none";
String getMetaVersion() { return metaVersion; }
void setMetaVersion(String v) { metaVersion = v; }
int getMetaId() { return metaId; }
void setMetaId(int v) { metaId = v; }
String getAuthor() { return metaAuthor; }
void setAuthor(String v) { metaAuthor = v; }
String getDate() { return metaDate; }
void setDate(String v) { metaDate = v; }
String getCopyright() { return metaCopyright; }
void setCopyright(String v) { metaCopyright = v; }
String getTrademark() { return metaTrademark; }
void setTrademark(String v) { metaTrademark = v; }
String getCorporation() { return metaCorporation; }
void setCorporation(String v) { metaCorporation = v; }
String getOrigin() { return metaOrigin; }
void setOrigin(String v) { metaOrigin = v; }
String getBirthDate() { return metaBirthDate; }
void setBirthDate(String v) { metaBirthDate = v; }
int getScienceRating() { return metaScienceRating; }
void setScienceRating(int v) { metaScienceRating = v; }
String getNationalSchedule() { return metaNationalSchedule; }
void setNationalSchedule(String v) { metaNationalSchedule = v; }
}