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
Revision09015496d565a172bcaa15cfe9a8e4b072b13df0
Branchworkstream-b-screenmatch
Path or archive memberinternal/modules/matching/engine/frozen_test.go
Original SHA-256ce88ebe586e8dd85f9dfa57e309ede535a0e7578522c18a070ceefc98a387318
Git blob SHAa614214567f9d54d90a2bbcd8936321b0d63e94d
Reading-copy SHA-256ce88ebe586e8dd85f9dfa57e309ede535a0e7578522c18a070ceefc98a387318

Original source ↗

Every recorded occurrence

These 13 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.goworkstream-b-screenmatch09015496d565a172bcaa15cfe9a8e4b072b13df0Open original
Janady13/missionmatch / internal/modules/matching/engine/frozen_test.goworkstream-d-missionmatch3be46ba89edb737182075a2b320509b42dc916f8Open original
Janady13/missionmatch / internal/modules/matching/engine/frozen_test.goworkstream-e-dataflow-deploy433815a042f9741411e60fa553fe72143e9b10dbOpen original
Janady13/missionmatch / internal/modules/matching/engine/frozen_test.gow3-ai-staffing-recommendations43d56387270ef4da4cabd794d97ca6a49909bc7dOpen original
Janady13/missionmatch / internal/modules/matching/engine/frozen_test.goworkstream-c-slatematch5cd60c918301b46ecd6ed3e03e20c395da0062e2Open original
Janady13/missionmatch / internal/modules/matching/engine/frozen_test.goai-intelligence-layer5d5ddff70393a197c5f54a45280bb5dd42b24755Open original
Janady13/missionmatch / internal/modules/matching/engine/frozen_test.goworkstream-a-shared-coree0de03ac3a1ec826bd15d0e048e3b02baa23eeffOpen original
Janady13/missionmatch / internal/modules/matching/engine/frozen_test.goworkstream-c-slatematch5cd60c918301b46ecd6ed3e03e20c395da0062e2Open original
Janady13/missionmatch / internal/modules/matching/engine/frozen_test.gow3-ai-staffing-recommendations43d56387270ef4da4cabd794d97ca6a49909bc7dOpen original
Janady13/missionmatch / internal/modules/matching/engine/frozen_test.goworkstream-e-dataflow-deploy433815a042f9741411e60fa553fe72143e9b10dbOpen original
Janady13/missionmatch / internal/modules/matching/engine/frozen_test.goai-intelligence-layer5d5ddff70393a197c5f54a45280bb5dd42b24755Open original
Janady13/missionmatch / internal/modules/matching/engine/frozen_test.goworkstream-b-screenmatch09015496d565a172bcaa15cfe9a8e4b072b13df0Open original
Janady13/missionmatch / internal/modules/matching/engine/frozen_test.goworkstream-d-missionmatch3be46ba89edb737182075a2b320509b42dc916f8Open 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.8"}, } 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.0.0" { t.Errorf("ModelVersion is %q, frozen value is %q: bump it only when the weights or band cuts change, and register the new version", ModelVersion, "v1.0.0") } }

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