SLPhilosophySpeculation.sleela
lib/philosophy/SLPhilosophySpeculation.sleela · 89 line(s) · sleela
<< lib/philosophy/SLPhilosophySpeculation.sleela
SLeeLa Standard Library Definition.
Definition: handle to the speculation-invite tool
(philosophy/module/psychiatry-friend/speculation_invite.*). >>
#sleela 2.5
material;
< Family: philosophy. Invites careful, attributed speculation from adult >
< psychiatry professionals ABOUT the programming reach of this software, collected >
< as hypotheses. It makes no diagnosis, gives no treatment advice, verifies no >
< credentials (roles are self-reported), never presents generated text as a >
< professional opinion, and does no network I/O. A speculation with no way to >
< be shown wrong is rejected: falsifiability is required. >
class SLPhilosophySpeculation {
int id() { return 6; }
String name() { return "speculation-invite"; }
String summary() { return "adult-psychiatry hypotheses about programming reach, with falsifiability"; }
< Careful-science contract (mirrors speculation_invite.h). >
boolean requiresFalsifiability() { return true; }
boolean requiresSelfAttestation() { return true; }
boolean verifiesCredentials() { return false; }
boolean makesDiagnosis() { return false; }
boolean givesTreatmentAdvice() { return false; }
boolean aboutSoftwareNotPerson() { return true; }
int aspectCount() { return 5; }
int confidenceLevelCount() { return 3; }
< Aspect names, by ordinal 0..4. >
String aspectName(int a) {
if (a == 0) { return "capability"; }
if (a == 1) { return "limitation"; }
if (a == 2) { return "safety"; }
if (a == 3) { return "ethics"; }
if (a == 4) { return "research-direction"; }
return "unknown";
}
< Confidence band names, by ordinal 0..2 (there is no "certain" level). >
String confidenceName(int c) {
if (c == 0) { return "tentative"; }
if (c == 1) { return "plausible"; }
if (c == 2) { return "well-reasoned"; }
return "unknown";
}
< ---- 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 = 10415;
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 = 7;
< 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; }
}