ThatAIguyA world of ideas

THE CONSCIOUSNESS ATLAS
Read. Experiment. Follow the evidence.

ConsciousnessLearn · Explore · Joseph Anady

Janady13/missionmatch / internal/modules/matching/engine/frozen_test.go

Source identity, revision, and recovered contents.

GitHub sourceSource text recovered

Source identity

FieldRecorded value
Source typeGitHub source
Original recordJanady13/missionmatch / internal/modules/matching/engine/frozen_test.go
DateNot specified in source
RepositoryJanady13/missionmatch
Revision9bde0f9a74b89d01980fa658e5253acda7528d0c
Branchper-tenant-routing
Path or archive memberinternal/modules/matching/engine/frozen_test.go
Original SHA-256501cb35301af20542d5b301320b0a4b0be10c86abdb8becfb1f35e9f60666a1a
Git blob SHAaaf5c52ebfaca5a6d5ad6485ec152114d7b64ceb
Reading-copy SHA-256501cb35301af20542d5b301320b0a4b0be10c86abdb8becfb1f35e9f60666a1a

Original source ↗

Every recorded occurrence

These 7 records contain identical original source bytes. Their paths and revisions remain part of the archive.

Original recordBranch or archiveRevision / identifierOriginal location
Janady13/missionmatch / internal/modules/matching/engine/frozen_test.goper-tenant-routing9bde0f9a74b89d01980fa658e5253acda7528d0cOpen original
Janady13/missionmatch / internal/modules/matching/engine/frozen_test.goai-brain-liveaac32fc49c878cc5bca099459307611562d0bac1Open original
Janady13/missionmatch / internal/modules/matching/engine/frozen_test.gows1-ontology-syncb596f449a32a1016fbd403c36505cc00a1ac9ee6Open original
Janady13/missionmatch / internal/modules/matching/engine/frozen_test.godeploy-and-opsbdacd9d0b4d5998d25fc74bf4007f4c3ec538c7aOpen original
Janady13/missionmatch / internal/modules/matching/engine/frozen_test.goper-tenant-routing9bde0f9a74b89d01980fa658e5253acda7528d0cOpen original
Janady13/missionmatch / internal/modules/matching/engine/frozen_test.gows1-ontology-syncb596f449a32a1016fbd403c36505cc00a1ac9ee6Open original
Janady13/missionmatch / internal/modules/matching/engine/frozen_test.goai-brain-liveaac32fc49c878cc5bca099459307611562d0bac1Open original

Recovered source transcript

package engine import "testing" // TestFrozenScoringConstants pins the EXACT value of every scoring constant, not merely an invariant // over them. TestWeightsSumToOne proves the six weights add to 1.00, but a redistribution (say // clearance 0.30 and skills 0.20) still sums to 1.00 while silently changing every score. The platform // is a shared, three tool product whose acceptance criterion is that the same candidate shows the same // Match and Mission Readiness numbers in screenMATCH, slateMATCH, and missionMATCH, and that the // weights and bands never change. This test is the guard: any edit to a weight, a band cut, the // semantic threshold, or the model version fails the build, so a refactor that splits the one engine // across three tool routers can never drift a number. Change a value here only with explicit // instruction, and bump and register ModelVersion when you do. func TestFrozenScoringConstants(t *testing.T) { cases := []struct { name string got string want string }{ {"WeightClearance", WeightClearance.String(), "0.25"}, {"WeightSkills", WeightSkills.String(), "0.25"}, {"WeightCerts", WeightCerts.String(), "0.15"}, {"WeightCustomer", WeightCustomer.String(), "0.15"}, {"WeightExperience", WeightExperience.String(), "0.1"}, {"WeightLocation", WeightLocation.String(), "0.1"}, {"BandGreenMin", BandGreenMin.String(), "90"}, {"BandYellowMin", BandYellowMin.String(), "75"}, {"DefaultSemanticThreshold", DefaultSemanticThreshold.String(), "0.62"}, } for _, c := range cases { if c.got != c.want { t.Errorf("%s is %s, frozen value is %s: weights and bands must not change", c.name, c.got, c.want) } } if ModelVersion != "v1.1.0" { t.Errorf("ModelVersion is %q, frozen value is %q: bump it only when the weights, band cuts, or semantic threshold change, and register the new version", ModelVersion, "v1.1.0") } }

Search equations, builds, manuscript text, and recovered sources.