@evomap/evolver-core 2.0.0 → 2.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/algo/antiDistill.js +1 -167
- package/dist/algo/bans.js +1 -33
- package/dist/algo/candidateAssembly.js +1 -273
- package/dist/algo/capabilityCandidates.js +1 -146
- package/dist/algo/confidence.js +1 -196
- package/dist/algo/conversationSniffer.js +1 -149
- package/dist/algo/cycleEngine.js +1 -625
- package/dist/algo/cycleFailureClassifier.js +1 -112
- package/dist/algo/epigenetics.js +1 -41
- package/dist/algo/evolutionEvent.js +1 -24
- package/dist/algo/exploration.js +1 -68
- package/dist/algo/geneHealth.js +1 -17
- package/dist/algo/geneIntake.js +1 -128
- package/dist/algo/genePromotion.js +1 -53
- package/dist/algo/geneSelection.js +1 -546
- package/dist/algo/index.js +1 -22
- package/dist/algo/memoryGraph.js +1 -86
- package/dist/algo/mutation.js +1 -22
- package/dist/algo/orchestrator.js +1 -87
- package/dist/algo/publishEligibility.js +1 -52
- package/dist/algo/solidify.js +1 -63
- package/dist/algo/strategyPresets.js +1 -61
- package/dist/algo/ucb1.js +1 -156
- package/dist/benchmark/antiGeneBenchmark.js +1 -252
- package/dist/benchmark/antiGeneImpact.js +1 -34
- package/dist/benchmark/antiGeneRollout.js +1 -269
- package/dist/benchmark/benchmark.js +1 -26
- package/dist/benchmark/evolutionThesisSolver.js +1 -41
- package/dist/benchmark/index.js +1 -7
- package/dist/benchmark/selectionFlatAbstention.js +1 -481
- package/dist/benchmark/thesis.js +1 -150
- package/dist/benchmark/triggerShift.js +1 -106
- package/dist/cycle/cycleTimeline.js +1 -74
- package/dist/cycle/index.js +1 -2
- package/dist/cycle/stateMachine.js +1 -25
- package/dist/hub/agentDirectory.js +1 -104
- package/dist/hub/assetCallLog.js +1 -195
- package/dist/hub/bindings.js +1 -121
- package/dist/hub/capability.js +1 -1
- package/dist/hub/conversationDistiller.js +1 -264
- package/dist/hub/fake.js +1 -70
- package/dist/hub/hubReview.js +1 -106
- package/dist/hub/index.js +1 -11
- package/dist/hub/ingest.js +1 -15
- package/dist/hub/questionGenerator.js +1 -408
- package/dist/hub/reuseDecision.js +1 -127
- package/dist/hub/sanitize.js +1 -322
- package/dist/material/boundary.js +1 -14
- package/dist/material/consumer.js +1 -55
- package/dist/material/emit.js +1 -52
- package/dist/material/factory.js +1 -25
- package/dist/material/index.js +1 -9
- package/dist/material/materialArchive.js +1 -466
- package/dist/material/materialStore.js +1 -69
- package/dist/material/sampling.js +1 -39
- package/dist/material/sources.js +1 -33
- package/dist/material/watermark.js +1 -76
- package/dist/personality/drift.js +1 -106
- package/dist/personality/events.js +1 -37
- package/dist/personality/evolveOps.js +1 -93
- package/dist/personality/index.js +1 -11
- package/dist/personality/mutate.js +1 -39
- package/dist/personality/pivot.js +1 -22
- package/dist/personality/prompt.js +1 -62
- package/dist/personality/riskGate.js +1 -80
- package/dist/personality/schema.js +1 -119
- package/dist/personality/select.js +1 -71
- package/dist/personality/stats.js +1 -82
- package/dist/personality/store.js +1 -92
- package/dist/schema/common.js +1 -17
- package/dist/schema/evolutionGraph.js +1 -187
- package/dist/schema/index.js +1 -6
- package/dist/schema/material.js +1 -50
- package/dist/schema/problem.js +1 -45
- package/dist/schema/proofOfWork.js +1 -9
- package/dist/schema/signal.js +1 -19
- package/dist/signals/curriculum.js +1 -202
- package/dist/signals/cycleHistoryFromEvents.js +1 -105
- package/dist/signals/expand.js +1 -293
- package/dist/signals/extractor.js +1 -82
- package/dist/signals/index.js +1 -8
- package/dist/signals/metaSignals.js +1 -200
- package/dist/signals/signalGate.js +1 -40
- package/dist/signals/taskDomain.js +1 -43
- package/dist/signals/traceSignals.js +1 -123
- package/dist/strategy/constraintAblation.js +1 -2820
- package/dist/strategy/constraintAblationPredicates.js +1 -339
- package/dist/strategy/experiment.js +1 -63
- package/dist/strategy/index.js +1 -3
- package/dist/strategy/strategyPoint.js +1 -23
- package/package.json +1 -1
package/dist/algo/index.js
CHANGED
|
@@ -1,22 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export * from './exploration.js';
|
|
3
|
-
export * from './ucb1.js';
|
|
4
|
-
export * from './epigenetics.js';
|
|
5
|
-
export * from './confidence.js';
|
|
6
|
-
export * from './memoryGraph.js';
|
|
7
|
-
export * from './capabilityCandidates.js';
|
|
8
|
-
export * from './conversationSniffer.js';
|
|
9
|
-
export * from './geneIntake.js';
|
|
10
|
-
export * from './candidateAssembly.js';
|
|
11
|
-
export * from './genePromotion.js';
|
|
12
|
-
export * from './publishEligibility.js';
|
|
13
|
-
export * from './bans.js';
|
|
14
|
-
export * from './antiDistill.js';
|
|
15
|
-
export * from './orchestrator.js';
|
|
16
|
-
export * from './geneSelection.js';
|
|
17
|
-
export * from './mutation.js';
|
|
18
|
-
export * from './solidify.js';
|
|
19
|
-
export * from './evolutionEvent.js';
|
|
20
|
-
export * from './cycleEngine.js';
|
|
21
|
-
export * from './strategyPresets.js';
|
|
22
|
-
export * from './cycleFailureClassifier.js';
|
|
1
|
+
(function(_0x3c063e,_0x470ea3){var _0x10000e=_0x8b8e,_0x36c390=_0x3c063e();while(!![]){try{var _0x133b33=parseInt(_0x10000e(0x13e,'\x57\x61\x69\x31'))/(-0x1d55+0x172c+0x62a)+parseInt(_0x10000e(0x13c,'\x67\x62\x78\x62'))/(-0x7*0x26+-0x1*0x6d6+0x7e2)+parseInt(_0x10000e(0x13f,'\x37\x56\x5d\x43'))/(-0x1*0x1e79+-0x1b8+-0x4*-0x80d)*(parseInt(_0x10000e(0x137,'\x55\x64\x26\x52'))/(0x149e+-0xd7c*0x2+-0x2*-0x32f))+parseInt(_0x10000e(0x139,'\x69\x21\x7a\x51'))/(-0xe88+-0x1e45+0x2cd2)*(-parseInt(_0x10000e(0x136,'\x40\x51\x37\x34'))/(-0x141d+-0x2a*0xb2+-0x3157*-0x1))+-parseInt(_0x10000e(0x138,'\x79\x46\x67\x4c'))/(-0xe5c+-0x486+0x12e9)*(parseInt(_0x10000e(0x13a,'\x64\x49\x4b\x6a'))/(-0x2054*-0x1+0x516+0xa5*-0x3a))+-parseInt(_0x10000e(0x12e,'\x21\x35\x5b\x23'))/(-0x19ae+0x189e+0x1*0x119)*(-parseInt(_0x10000e(0x12d,'\x5b\x41\x28\x46'))/(-0x21fd+0x1*-0x1ee4+0x40eb))+parseInt(_0x10000e(0x12c,'\x32\x5d\x6e\x35'))/(0x1e7+0x2*0x7f+-0x2da);if(_0x133b33===_0x470ea3)break;else _0x36c390['push'](_0x36c390['shift']());}catch(_0x3c80db){_0x36c390['push'](_0x36c390['shift']());}}}(_0x5db5,0xeaf56+0xfb62c+-0x162d8f));export*from'\x2e\x2f\x67\x65\x6e\x65\x48\x65\x61\x6c\x74\x68\x2e\x6a\x73';export*from'\x2e\x2f\x65\x78\x70\x6c\x6f\x72\x61\x74\x69\x6f\x6e\x2e\x6a\x73';export*from'\x2e\x2f\x75\x63\x62\x31\x2e\x6a\x73';export*from'\x2e\x2f\x65\x70\x69\x67\x65\x6e\x65\x74\x69\x63\x73\x2e\x6a\x73';function _0x5db5(){var _0x2dd9ca=['\x61\x75\x68\x64\x50\x38\x6b\x58\x64\x38\x6b\x45\x77\x67\x2f\x63\x54\x48\x68\x64\x48\x59\x33\x64\x4f\x61','\x68\x43\x6b\x53\x57\x35\x7a\x75\x6a\x4c\x46\x64\x4f\x30\x4f','\x57\x37\x52\x64\x56\x6d\x6f\x69\x57\x4f\x54\x66\x7a\x43\x6f\x30\x45\x76\x70\x63\x47\x6d\x6f\x76\x79\x61','\x63\x53\x6f\x7a\x57\x34\x4a\x63\x52\x53\x6b\x5a\x43\x6d\x6b\x48\x57\x35\x53\x6d\x75\x57','\x7a\x43\x6b\x4f\x57\x37\x37\x63\x4d\x32\x42\x63\x51\x6d\x6b\x54\x57\x34\x6d\x45\x6c\x57','\x57\x34\x61\x41\x57\x51\x4e\x64\x4b\x43\x6b\x78\x57\x34\x79\x57\x57\x4f\x46\x63\x47\x71\x34','\x57\x35\x6c\x63\x52\x53\x6f\x6e\x57\x36\x46\x64\x47\x38\x6b\x76\x68\x43\x6b\x58\x61\x38\x6f\x30','\x57\x52\x5a\x64\x4e\x64\x53\x42\x57\x50\x48\x46\x6f\x43\x6f\x47\x57\x50\x6a\x39','\x57\x36\x78\x63\x48\x6d\x6b\x53\x63\x62\x42\x63\x49\x49\x62\x50\x68\x31\x71','\x57\x36\x6c\x63\x48\x43\x6b\x54\x64\x75\x6c\x64\x4d\x68\x35\x71\x66\x77\x72\x53\x57\x51\x2f\x64\x4a\x61','\x67\x71\x53\x75\x69\x58\x72\x68\x57\x36\x65\x62\x77\x43\x6b\x4b\x57\x52\x78\x64\x51\x53\x6f\x44','\x6b\x53\x6b\x78\x57\x36\x62\x55\x6b\x6d\x6b\x4c\x44\x43\x6b\x42\x57\x36\x68\x64\x4e\x53\x6f\x47\x70\x61','\x43\x43\x6f\x39\x57\x35\x64\x63\x52\x5a\x72\x4c\x57\x35\x72\x76\x6d\x61','\x57\x36\x35\x36\x57\x50\x4c\x48\x79\x4d\x74\x63\x54\x6d\x6f\x74\x62\x38\x6b\x31','\x57\x4f\x4e\x64\x49\x43\x6f\x4b\x79\x6d\x6f\x74\x57\x52\x74\x63\x56\x77\x70\x63\x55\x48\x66\x71\x57\x36\x2f\x64\x54\x57','\x61\x4a\x74\x63\x54\x72\x53\x50\x45\x53\x6f\x35\x43\x57','\x57\x34\x64\x64\x50\x43\x6b\x6e\x57\x51\x56\x63\x56\x53\x6b\x45\x57\x37\x78\x63\x55\x43\x6f\x61\x74\x43\x6b\x4c\x57\x50\x53','\x57\x37\x69\x38\x6b\x53\x6f\x43\x75\x43\x6f\x39\x41\x67\x48\x70\x64\x38\x6b\x74\x57\x34\x57','\x63\x62\x5a\x63\x51\x38\x6f\x33\x57\x50\x70\x63\x47\x4a\x53\x63\x42\x6d\x6b\x73','\x77\x6d\x6f\x37\x67\x6d\x6f\x6e\x57\x36\x74\x64\x54\x61\x46\x64\x50\x6d\x6b\x68\x70\x47','\x64\x62\x33\x63\x4f\x53\x6f\x59\x57\x52\x33\x63\x4d\x58\x75\x34\x44\x38\x6b\x75'];_0x5db5=function(){return _0x2dd9ca;};return _0x5db5();}export*from'\x2e\x2f\x63\x6f\x6e\x66\x69\x64\x65\x6e\x63\x65\x2e\x6a\x73';export*from'\x2e\x2f\x6d\x65\x6d\x6f\x72\x79\x47\x72\x61\x70\x68\x2e\x6a\x73';export*from'\x2e\x2f\x63\x61\x70\x61\x62\x69\x6c\x69\x74\x79\x43\x61\x6e\x64\x69\x64\x61\x74\x65\x73\x2e\x6a\x73';export*from'\x2e\x2f\x63\x6f\x6e\x76\x65\x72\x73\x61\x74\x69\x6f\x6e\x53\x6e\x69\x66\x66\x65\x72\x2e\x6a\x73';export*from'\x2e\x2f\x67\x65\x6e\x65\x49\x6e\x74\x61\x6b\x65\x2e\x6a\x73';export*from'\x2e\x2f\x63\x61\x6e\x64\x69\x64\x61\x74\x65\x41\x73\x73\x65\x6d\x62\x6c\x79\x2e\x6a\x73';export*from'\x2e\x2f\x67\x65\x6e\x65\x50\x72\x6f\x6d\x6f\x74\x69\x6f\x6e\x2e\x6a\x73';function _0x8b8e(_0x3c063e,_0x470ea3){_0x3c063e=_0x3c063e-(-0x2477*-0x1+0x1*-0x473+-0x1ed8);var _0x36c390=_0x5db5();var _0x133b33=_0x36c390[_0x3c063e];if(_0x8b8e['\x4e\x68\x44\x7a\x6f\x62']===undefined){var _0x3c80db=function(_0x335baf){var _0x29fcf9='\x61\x62\x63\x64\x65\x66\x67\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f\x70\x71\x72\x73\x74\x75\x76\x77\x78\x79\x7a\x41\x42\x43\x44\x45\x46\x47\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f\x50\x51\x52\x53\x54\x55\x56\x57\x58\x59\x5a\x30\x31\x32\x33\x34\x35\x36\x37\x38\x39\x2b\x2f\x3d';var _0x33cb19='',_0x1c8809='';for(var _0x349eff=-0x1*-0x1123+0x67*-0x33+-0x1b1*-0x2,_0x35b5c,_0x46b742,_0x13200b=-0x1429+0x6a+0x5*0x3f3;_0x46b742=_0x335baf['\x63\x68\x61\x72\x41\x74'](_0x13200b++);~_0x46b742&&(_0x35b5c=_0x349eff%(-0x1d*-0xdc+-0xae1*-0x2+-0x2eaa)?_0x35b5c*(0x904+0x2*-0x6df+0x4fa)+_0x46b742:_0x46b742,_0x349eff++%(0x2291+0x2392*0x1+-0x461f))?_0x33cb19+=String['\x66\x72\x6f\x6d\x43\x68\x61\x72\x43\x6f\x64\x65'](-0x10d*0x6+0x5*0x17f+0x17*-0x2&_0x35b5c>>(-(-0x161*0x1b+0x16c0+0xe7d)*_0x349eff&0x149*-0x11+-0x267b+0x3c5a)):-0x1778+0x8e1+0xe97){_0x46b742=_0x29fcf9['\x69\x6e\x64\x65\x78\x4f\x66'](_0x46b742);}for(var _0xf1ea06=0x1c19+-0x8*-0xe7+0x1*-0x2351,_0x26dda5=_0x33cb19['\x6c\x65\x6e\x67\x74\x68'];_0xf1ea06<_0x26dda5;_0xf1ea06++){_0x1c8809+='\x25'+('\x30\x30'+_0x33cb19['\x63\x68\x61\x72\x43\x6f\x64\x65\x41\x74'](_0xf1ea06)['\x74\x6f\x53\x74\x72\x69\x6e\x67'](-0x11*0x164+0x15bd+0x1f7))['\x73\x6c\x69\x63\x65'](-(0x9*-0x25f+-0x1b73+0x30cc));}return decodeURIComponent(_0x1c8809);};var _0x499b50=function(_0x183648,_0x27cd32){var _0x1f65cf=[],_0xea416a=0x320+-0x1968+0x1648,_0x14fb04,_0x98191f='';_0x183648=_0x3c80db(_0x183648);var _0x53554d;for(_0x53554d=0x1ad4*-0x1+-0x233d+0x3e11;_0x53554d<0x172c+-0x737+-0xef5;_0x53554d++){_0x1f65cf[_0x53554d]=_0x53554d;}for(_0x53554d=-0x6d6+-0x1*-0x18f8+-0x1222;_0x53554d<-0x1*0x1e79+-0x1b8+-0x1*-0x2131;_0x53554d++){_0xea416a=(_0xea416a+_0x1f65cf[_0x53554d]+_0x27cd32['\x63\x68\x61\x72\x43\x6f\x64\x65\x41\x74'](_0x53554d%_0x27cd32['\x6c\x65\x6e\x67\x74\x68']))%(0x149e+-0xd7c*0x2+-0x1*-0x75a),_0x14fb04=_0x1f65cf[_0x53554d],_0x1f65cf[_0x53554d]=_0x1f65cf[_0xea416a],_0x1f65cf[_0xea416a]=_0x14fb04;}_0x53554d=-0xe88+-0x1e45+0x2ccd,_0xea416a=-0x141d+-0x2a*0xb2+-0x9dd*-0x5;for(var _0x3dcb28=-0xe5c+-0x486+0x12e2;_0x3dcb28<_0x183648['\x6c\x65\x6e\x67\x74\x68'];_0x3dcb28++){_0x53554d=(_0x53554d+(-0x2054*-0x1+0x516+0x9d*-0x3d))%(-0x19ae+0x189e+0x1*0x210),_0xea416a=(_0xea416a+_0x1f65cf[_0x53554d])%(-0x21fd+0x1*-0x1ee4+0x41e1),_0x14fb04=_0x1f65cf[_0x53554d],_0x1f65cf[_0x53554d]=_0x1f65cf[_0xea416a],_0x1f65cf[_0xea416a]=_0x14fb04,_0x98191f+=String['\x66\x72\x6f\x6d\x43\x68\x61\x72\x43\x6f\x64\x65'](_0x183648['\x63\x68\x61\x72\x43\x6f\x64\x65\x41\x74'](_0x3dcb28)^_0x1f65cf[(_0x1f65cf[_0x53554d]+_0x1f65cf[_0xea416a])%(0x1e7+0x2*0x7f+-0x1e5)]);}return _0x98191f;};_0x8b8e['\x44\x58\x64\x71\x51\x44']=_0x499b50,_0x8b8e['\x6c\x64\x63\x46\x64\x57']={},_0x8b8e['\x4e\x68\x44\x7a\x6f\x62']=!![];}var _0x5c1083=_0x36c390[0x22e6+0x2557+-0x483d],_0xc0a503=_0x3c063e+_0x5c1083,_0x501439=_0x8b8e['\x6c\x64\x63\x46\x64\x57'][_0xc0a503];return!_0x501439?(_0x8b8e['\x59\x4c\x76\x65\x55\x79']===undefined&&(_0x8b8e['\x59\x4c\x76\x65\x55\x79']=!![]),_0x133b33=_0x8b8e['\x44\x58\x64\x71\x51\x44'](_0x133b33,_0x470ea3),_0x8b8e['\x6c\x64\x63\x46\x64\x57'][_0xc0a503]=_0x133b33):_0x133b33=_0x501439,_0x133b33;}export*from'\x2e\x2f\x70\x75\x62\x6c\x69\x73\x68\x45\x6c\x69\x67\x69\x62\x69\x6c\x69\x74\x79\x2e\x6a\x73';export*from'\x2e\x2f\x62\x61\x6e\x73\x2e\x6a\x73';export*from'\x2e\x2f\x61\x6e\x74\x69\x44\x69\x73\x74\x69\x6c\x6c\x2e\x6a\x73';export*from'\x2e\x2f\x6f\x72\x63\x68\x65\x73\x74\x72\x61\x74\x6f\x72\x2e\x6a\x73';export*from'\x2e\x2f\x67\x65\x6e\x65\x53\x65\x6c\x65\x63\x74\x69\x6f\x6e\x2e\x6a\x73';export*from'\x2e\x2f\x6d\x75\x74\x61\x74\x69\x6f\x6e\x2e\x6a\x73';export*from'\x2e\x2f\x73\x6f\x6c\x69\x64\x69\x66\x79\x2e\x6a\x73';export*from'\x2e\x2f\x65\x76\x6f\x6c\x75\x74\x69\x6f\x6e\x45\x76\x65\x6e\x74\x2e\x6a\x73';export*from'\x2e\x2f\x63\x79\x63\x6c\x65\x45\x6e\x67\x69\x6e\x65\x2e\x6a\x73';export*from'\x2e\x2f\x73\x74\x72\x61\x74\x65\x67\x79\x50\x72\x65\x73\x65\x74\x73\x2e\x6a\x73';export*from'\x2e\x2f\x63\x79\x63\x6c\x65\x46\x61\x69\x6c\x75\x72\x65\x43\x6c\x61\x73\x73\x69\x66\x69\x65\x72\x2e\x6a\x73';
|
package/dist/algo/memoryGraph.js
CHANGED
|
@@ -1,86 +1 @@
|
|
|
1
|
-
const MAX_SIGNALS = 32;
|
|
2
|
-
const MAX_SIGNAL_CHARS = 120;
|
|
3
|
-
const MAX_GENE_CHARS = 240;
|
|
4
|
-
const MIN_SIMILARITY = 0.34;
|
|
5
|
-
const HALF_LIFE_DAYS = 30;
|
|
6
|
-
export function normalizeMemorySignals(signals) {
|
|
7
|
-
return [...new Set(signals
|
|
8
|
-
.filter((signal) => typeof signal === 'string')
|
|
9
|
-
.map((signal) => signal.trim().toLowerCase().slice(0, MAX_SIGNAL_CHARS))
|
|
10
|
-
.filter(Boolean))]
|
|
11
|
-
.sort()
|
|
12
|
-
.slice(0, MAX_SIGNALS);
|
|
13
|
-
}
|
|
14
|
-
export function memorySignalFingerprint(signals) {
|
|
15
|
-
return normalizeMemorySignals(signals).join('|') || '(none)';
|
|
16
|
-
}
|
|
17
|
-
export function safeMemoryGeneId(value) {
|
|
18
|
-
return value.trim().slice(0, MAX_GENE_CHARS);
|
|
19
|
-
}
|
|
20
|
-
export function deriveMemoryGraphAdvice(records, signals, nowMs, diagnostics) {
|
|
21
|
-
const currentSignals = normalizeMemorySignals(signals);
|
|
22
|
-
const aggregates = new Map();
|
|
23
|
-
for (const record of records) {
|
|
24
|
-
const similarity = jaccard(currentSignals, record.signals);
|
|
25
|
-
if (similarity < MIN_SIMILARITY)
|
|
26
|
-
continue;
|
|
27
|
-
const successCount = boundedCount(record.successCount ?? (record.status === 'success' ? 1 : 0));
|
|
28
|
-
const failCount = boundedCount(record.failCount ?? (record.status === 'failed' ? 1 : 0));
|
|
29
|
-
const total = successCount + failCount;
|
|
30
|
-
if (total === 0)
|
|
31
|
-
continue;
|
|
32
|
-
const decay = decayWeight(record.at, nowMs);
|
|
33
|
-
const weight = similarity * decay;
|
|
34
|
-
const current = aggregates.get(record.geneId) ?? { success: 0, fail: 0, weightedSimilarity: 0, weight: 0, lastAt: record.at };
|
|
35
|
-
current.success += successCount * weight;
|
|
36
|
-
current.fail += failCount * weight;
|
|
37
|
-
current.weightedSimilarity += similarity * total;
|
|
38
|
-
current.weight += total;
|
|
39
|
-
if (Date.parse(record.at) > Date.parse(current.lastAt))
|
|
40
|
-
current.lastAt = record.at;
|
|
41
|
-
aggregates.set(record.geneId, current);
|
|
42
|
-
}
|
|
43
|
-
const genes = [];
|
|
44
|
-
for (const [geneId, aggregate] of aggregates) {
|
|
45
|
-
const successCount = Math.round(aggregate.success);
|
|
46
|
-
const failCount = Math.round(aggregate.fail);
|
|
47
|
-
const attempts = successCount + failCount;
|
|
48
|
-
if (attempts === 0)
|
|
49
|
-
continue;
|
|
50
|
-
const expectedSuccess = (aggregate.success + 1) / (aggregate.success + aggregate.fail + 2);
|
|
51
|
-
const similarity = aggregate.weight > 0 ? Math.min(1, aggregate.weightedSimilarity / aggregate.weight) : 0;
|
|
52
|
-
const confidence = Math.min(1, Math.log2(attempts + 1) / 3);
|
|
53
|
-
const boost = clamp((expectedSuccess - 0.5) * 2 * similarity * confidence, -1, 1);
|
|
54
|
-
genes.push({ geneId, boost, expectedSuccess, successCount, failCount, attempts, similarity, lastAt: aggregate.lastAt });
|
|
55
|
-
}
|
|
56
|
-
genes.sort((left, right) => Math.abs(right.boost) - Math.abs(left.boost) || right.attempts - left.attempts || left.geneId.localeCompare(right.geneId));
|
|
57
|
-
return { genes: genes.slice(0, 64), diagnostics };
|
|
58
|
-
}
|
|
59
|
-
function boundedCount(value) {
|
|
60
|
-
if (!Number.isFinite(value) || value <= 0)
|
|
61
|
-
return 0;
|
|
62
|
-
return Math.min(1_000_000, Math.floor(value));
|
|
63
|
-
}
|
|
64
|
-
function jaccard(left, right) {
|
|
65
|
-
const a = new Set(normalizeMemorySignals(left));
|
|
66
|
-
const b = new Set(normalizeMemorySignals(right));
|
|
67
|
-
if (a.size === 0 && b.size === 0)
|
|
68
|
-
return 1;
|
|
69
|
-
if (a.size === 0 || b.size === 0)
|
|
70
|
-
return 0;
|
|
71
|
-
let intersection = 0;
|
|
72
|
-
for (const value of a)
|
|
73
|
-
if (b.has(value))
|
|
74
|
-
intersection += 1;
|
|
75
|
-
return intersection / (a.size + b.size - intersection);
|
|
76
|
-
}
|
|
77
|
-
function decayWeight(at, nowMs) {
|
|
78
|
-
const timestamp = Date.parse(at);
|
|
79
|
-
if (!Number.isFinite(timestamp))
|
|
80
|
-
return 0;
|
|
81
|
-
const ageDays = Math.max(0, nowMs - timestamp) / 86_400_000;
|
|
82
|
-
return Math.pow(0.5, ageDays / HALF_LIFE_DAYS);
|
|
83
|
-
}
|
|
84
|
-
function clamp(value, min, max) {
|
|
85
|
-
return Math.max(min, Math.min(max, value));
|
|
86
|
-
}
|
|
1
|
+
(function(_0x40aed4,_0x42946d){const _0x2ab718=_0x38fb,_0x500c4a=_0x40aed4();while(!![]){try{const _0x627337=parseInt(_0x2ab718(0x11f,'\x4c\x57\x63\x5e'))/(0xdc4+0x1455+-0x8*0x443)*(-parseInt(_0x2ab718(0x164,'\x49\x50\x4f\x33'))/(0x2153+-0x1e2*-0x13+-0x301*0x17))+-parseInt(_0x2ab718(0x150,'\x23\x26\x30\x76'))/(0x3*-0x35d+-0x599+0xfb3)*(parseInt(_0x2ab718(0x168,'\x71\x4e\x77\x4f'))/(0x7b*-0x12+0x1*-0xa4c+-0x1*-0x12f6))+parseInt(_0x2ab718(0x130,'\x68\x56\x55\x25'))/(0x1bb4+0x1*-0xd95+0x2*-0x70d)+parseInt(_0x2ab718(0x14b,'\x23\x26\x30\x76'))/(-0x55*-0x56+-0x1ea5+-0x21d*-0x1)+parseInt(_0x2ab718(0x119,'\x68\x56\x55\x25'))/(0x167*-0x5+-0x2277+0x2981)+-parseInt(_0x2ab718(0x163,'\x4c\x52\x5b\x61'))/(0x1bd5+-0x87a+-0x1353*0x1)*(parseInt(_0x2ab718(0x14d,'\x31\x50\x65\x61'))/(-0x75+-0x22bb*0x1+0x2339))+-parseInt(_0x2ab718(0x133,'\x71\x77\x35\x46'))/(-0xc+-0x1d7f*-0x1+-0x1d69);if(_0x627337===_0x42946d)break;else _0x500c4a['push'](_0x500c4a['shift']());}catch(_0x12eca6){_0x500c4a['push'](_0x500c4a['shift']());}}}(_0x5b6f,0x171b59+-0x1*0x110a00+0x1*0x6843b));const MAX_SIGNALS=-0x48c+-0x355*0x5+0x1*0x1555,MAX_SIGNAL_CHARS=0x33*0x9+0x1204*0x2+-0x1*0x255b,MAX_GENE_CHARS=0x278+-0x787+-0x5*-0x133,MIN_SIMILARITY=-0x2524+0x8e4+-0x20*-0xe2+0.34,HALF_LIFE_DAYS=-0x74d+0x271+0x27d*0x2;export function normalizeMemorySignals(_0x3daedb){const _0x5ea5b7=_0x38fb;return[...new Set(_0x3daedb[_0x5ea5b7(0x14f,'\x23\x5b\x69\x35')](_0x13ab56=>typeof _0x13ab56===_0x5ea5b7(0x12d,'\x40\x41\x59\x21'))[_0x5ea5b7(0x12e,'\x75\x77\x73\x6c')](_0x2a4116=>_0x2a4116[_0x5ea5b7(0x157,'\x29\x73\x46\x5b')]()[_0x5ea5b7(0x15f,'\x71\x6e\x6f\x75')+_0x5ea5b7(0x162,'\x4d\x51\x29\x26')]()[_0x5ea5b7(0x167,'\x5d\x69\x35\x4f')](0x181+0x168f+-0x1810,MAX_SIGNAL_CHARS))[_0x5ea5b7(0x11c,'\x4c\x52\x5b\x61')](Boolean))][_0x5ea5b7(0x151,'\x77\x29\x50\x45')]()[_0x5ea5b7(0x125,'\x54\x7a\x2a\x67')](0x7d3*0x4+-0x16b2+-0x2*0x44d,MAX_SIGNALS);}export function memorySignalFingerprint(_0x242f45){const _0x15d083=_0x38fb;return normalizeMemorySignals(_0x242f45)[_0x15d083(0x15e,'\x32\x66\x39\x76')]('\x7c')||_0x15d083(0x136,'\x4c\x52\x5b\x61');}export function safeMemoryGeneId(_0x725242){const _0x2d68bf=_0x38fb;return _0x725242[_0x2d68bf(0x14c,'\x23\x5b\x69\x35')]()[_0x2d68bf(0x148,'\x53\x34\x77\x50')](-0x197f+-0x10a6+0x2a25*0x1,MAX_GENE_CHARS);}export function deriveMemoryGraphAdvice(_0x410c95,_0x181799,_0x58592c,_0x5bfa35){const _0x588537=_0x38fb,_0x588c57=normalizeMemorySignals(_0x181799),_0x3df6bd=new Map();for(const _0xe4d204 of _0x410c95){const _0x2fa49d=jaccard(_0x588c57,_0xe4d204[_0x588537(0x12f,'\x6c\x6a\x23\x59')]);if(_0x2fa49d<MIN_SIMILARITY)continue;const _0x585a49=boundedCount(_0xe4d204['\x73\x75\x63\x63\x65\x73\x73\x43'+'\x6f\x75\x6e\x74']??(_0xe4d204[_0x588537(0x143,'\x29\x73\x46\x5b')]===_0x588537(0x127,'\x79\x45\x5e\x53')?0x271*0x1+0x1cba+0x1*-0x1f2a:-0xa9f+0x53d+-0x2b1*-0x2)),_0x16c1ea=boundedCount(_0xe4d204[_0x588537(0x132,'\x42\x77\x4b\x24')+'\x74']??(_0xe4d204[_0x588537(0x149,'\x79\x45\x5e\x53')]===_0x588537(0x124,'\x5d\x69\x35\x4f')?0xd*-0x41+-0x11d4+0x1522:-0xf*0x1d2+0x1*0x14a1+0x6ad)),_0x31e6f1=_0x585a49+_0x16c1ea;if(_0x31e6f1===0x984+-0x175*-0x5+-0x10cd*0x1)continue;const _0x1d5647=decayWeight(_0xe4d204['\x61\x74'],_0x58592c),_0x2bc8c4=_0x2fa49d*_0x1d5647,_0x36a027=_0x3df6bd[_0x588537(0x152,'\x66\x63\x43\x28')](_0xe4d204[_0x588537(0x142,'\x26\x55\x4b\x5a')])??{'\x73\x75\x63\x63\x65\x73\x73':0x0,'\x66\x61\x69\x6c':0x0,'\x77\x65\x69\x67\x68\x74\x65\x64\x53\x69\x6d\x69\x6c\x61\x72\x69\x74\x79':0x0,'\x77\x65\x69\x67\x68\x74':0x0,'\x6c\x61\x73\x74\x41\x74':_0xe4d204['\x61\x74']};_0x36a027[_0x588537(0x15d,'\x69\x40\x5b\x4d')]+=_0x585a49*_0x2bc8c4,_0x36a027[_0x588537(0x11d,'\x45\x54\x77\x70')]+=_0x16c1ea*_0x2bc8c4,_0x36a027['\x77\x65\x69\x67\x68\x74\x65\x64'+_0x588537(0x14a,'\x71\x77\x35\x46')+'\x74\x79']+=_0x2fa49d*_0x31e6f1,_0x36a027[_0x588537(0x13c,'\x71\x4e\x77\x4f')]+=_0x31e6f1;if(Date[_0x588537(0x156,'\x49\x50\x4f\x33')](_0xe4d204['\x61\x74'])>Date[_0x588537(0x12a,'\x6a\x63\x35\x70')](_0x36a027[_0x588537(0x141,'\x4e\x53\x56\x62')]))_0x36a027[_0x588537(0x117,'\x54\x7a\x2a\x67')]=_0xe4d204['\x61\x74'];_0x3df6bd[_0x588537(0x139,'\x66\x6d\x47\x5d')](_0xe4d204[_0x588537(0x121,'\x74\x74\x6e\x78')],_0x36a027);}const _0x4b26d4=[];for(const [_0x5c7447,_0x6a1e32]of _0x3df6bd){const _0x38e839=Math[_0x588537(0x15b,'\x23\x26\x30\x76')](_0x6a1e32[_0x588537(0x14e,'\x71\x6e\x6f\x75')]),_0x14dfcf=Math[_0x588537(0x128,'\x49\x78\x63\x36')](_0x6a1e32[_0x588537(0x12b,'\x6c\x24\x24\x46')]),_0x236ab2=_0x38e839+_0x14dfcf;if(_0x236ab2===-0x1166+0x869*-0x3+0x2aa1)continue;const _0x2d7e09=(_0x6a1e32[_0x588537(0x165,'\x6c\x6a\x23\x59')]+(0x1cb+0x16*-0x13a+0x1932))/(_0x6a1e32[_0x588537(0x144,'\x35\x65\x56\x77')]+_0x6a1e32['\x66\x61\x69\x6c']+(-0x472*0x1+0x1be8+-0x1774)),_0x1fc61b=_0x6a1e32[_0x588537(0x129,'\x48\x61\x35\x62')]>-0x1c89+0x2*-0xe8f+0x39a7?Math[_0x588537(0x147,'\x32\x66\x39\x76')](0x2f5+-0x368*-0x6+-0x1764,_0x6a1e32[_0x588537(0x126,'\x5d\x69\x35\x4f')+'\x53\x69\x6d\x69\x6c\x61\x72\x69'+'\x74\x79']/_0x6a1e32[_0x588537(0x146,'\x42\x77\x4b\x24')]):-0x1092+0x1982+-0x8f0,_0x337527=Math[_0x588537(0x11b,'\x4d\x51\x29\x26')](-0x5*-0x5a4+0xde+0x7*-0x427,Math['\x6c\x6f\x67\x32'](_0x236ab2+(-0x1afc+-0x3f1*0x1+-0x6b*-0x4a))/(-0x68*-0x46+0x10c8+0x47*-0xa3)),_0x90818d=clamp((_0x2d7e09-(0xac1*0x3+0xd6e+0x7*-0x687+0.5))*(0x7*-0x481+-0x516+-0x177*-0x19)*_0x1fc61b*_0x337527,-(-0x1*-0x8e4+-0x1*-0x210d+-0x29f0),-0x1391+0x2126+0x1*-0xd94);_0x4b26d4[_0x588537(0x12c,'\x40\x41\x59\x21')]({'\x67\x65\x6e\x65\x49\x64':_0x5c7447,'\x62\x6f\x6f\x73\x74':_0x90818d,'\x65\x78\x70\x65\x63\x74\x65\x64\x53\x75\x63\x63\x65\x73\x73':_0x2d7e09,'\x73\x75\x63\x63\x65\x73\x73\x43\x6f\x75\x6e\x74':_0x38e839,'\x66\x61\x69\x6c\x43\x6f\x75\x6e\x74':_0x14dfcf,'\x61\x74\x74\x65\x6d\x70\x74\x73':_0x236ab2,'\x73\x69\x6d\x69\x6c\x61\x72\x69\x74\x79':_0x1fc61b,'\x6c\x61\x73\x74\x41\x74':_0x6a1e32[_0x588537(0x114,'\x58\x64\x66\x48')]});}return _0x4b26d4[_0x588537(0x135,'\x71\x4e\x77\x4f')]((_0x5cc6d0,_0x17c3fb)=>Math[_0x588537(0x11e,'\x23\x5b\x69\x35')](_0x17c3fb['\x62\x6f\x6f\x73\x74'])-Math[_0x588537(0x153,'\x69\x45\x6f\x6a')](_0x5cc6d0[_0x588537(0x161,'\x38\x67\x44\x26')])||_0x17c3fb[_0x588537(0x138,'\x4d\x64\x54\x68')]-_0x5cc6d0[_0x588537(0x15a,'\x62\x6b\x50\x49')]||_0x5cc6d0[_0x588537(0x13e,'\x76\x23\x69\x26')][_0x588537(0x154,'\x69\x45\x6f\x6a')+_0x588537(0x13d,'\x5d\x69\x35\x4f')](_0x17c3fb[_0x588537(0x13f,'\x68\x39\x68\x73')])),{'\x67\x65\x6e\x65\x73':_0x4b26d4[_0x588537(0x134,'\x69\x45\x6f\x6a')](-0x1418*-0x1+0x1e9c+-0x32b4,-0x30*0x18+-0x939*-0x1+-0x479),'\x64\x69\x61\x67\x6e\x6f\x73\x74\x69\x63\x73':_0x5bfa35};}function _0x38fb(_0x3bef49,_0x1679bb){_0x3bef49=_0x3bef49-(0x1*0x8f5+0x101f+-0x1800);const _0x37b24f=_0x5b6f();let _0x1183d2=_0x37b24f[_0x3bef49];if(_0x38fb['\x65\x46\x4d\x4c\x71\x44']===undefined){var _0x1a73b1=function(_0x24f736){const _0x31e0da='\x61\x62\x63\x64\x65\x66\x67\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f\x70\x71\x72\x73\x74\x75\x76\x77\x78\x79\x7a\x41\x42\x43\x44\x45\x46\x47\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f\x50\x51\x52\x53\x54\x55\x56\x57\x58\x59\x5a\x30\x31\x32\x33\x34\x35\x36\x37\x38\x39\x2b\x2f\x3d';let _0xec14a4='',_0x28d7b8='';for(let _0x38a81f=-0x161b*-0x1+-0x1029+-0x5f2,_0x4100f2,_0x1850d2,_0x2a43b8=0x9b*-0x37+0x2b*-0x31+0x2988;_0x1850d2=_0x24f736['\x63\x68\x61\x72\x41\x74'](_0x2a43b8++);~_0x1850d2&&(_0x4100f2=_0x38a81f%(0xc*0x12f+-0x4d9+-0x3*0x31d)?_0x4100f2*(-0x1*-0x925+-0xfc9*0x2+0x16ad)+_0x1850d2:_0x1850d2,_0x38a81f++%(-0x1113+-0x1d07+0x2*0x170f))?_0xec14a4+=String['\x66\x72\x6f\x6d\x43\x68\x61\x72\x43\x6f\x64\x65'](0x1*-0xbce+-0x9*0x107+0x160c&_0x4100f2>>(-(-0x150f+0xcab+0x866)*_0x38a81f&0x1e16*0x1+0x1*-0x24b+0x1bc5*-0x1)):-0x1*0x83f+-0xae7*-0x2+-0xd8f){_0x1850d2=_0x31e0da['\x69\x6e\x64\x65\x78\x4f\x66'](_0x1850d2);}for(let _0x51bfaa=0x14b+0x1ba8+-0x1cf3,_0x5ed05d=_0xec14a4['\x6c\x65\x6e\x67\x74\x68'];_0x51bfaa<_0x5ed05d;_0x51bfaa++){_0x28d7b8+='\x25'+('\x30\x30'+_0xec14a4['\x63\x68\x61\x72\x43\x6f\x64\x65\x41\x74'](_0x51bfaa)['\x74\x6f\x53\x74\x72\x69\x6e\x67'](-0x1ff9+-0x2*0x797+-0x53f*-0x9))['\x73\x6c\x69\x63\x65'](-(0xb*-0x243+0x2c2+0x5*0x46d));}return decodeURIComponent(_0x28d7b8);};const _0x4bd351=function(_0x7c4be8,_0x181f25){let _0x1be0c5=[],_0xcdbcea=0x5*0x7d+0x1*0x497+-0x708,_0xc267a1,_0x8a81be='';_0x7c4be8=_0x1a73b1(_0x7c4be8);let _0x32e108;for(_0x32e108=-0x1*-0x2159+0x25c4+-0x471d;_0x32e108<0x1*0x23ef+0x1caa*-0x1+0x141*-0x5;_0x32e108++){_0x1be0c5[_0x32e108]=_0x32e108;}for(_0x32e108=-0xd*-0xf0+-0x2*-0xeab+-0x2986;_0x32e108<-0x1ac8+0x568+-0x598*-0x4;_0x32e108++){_0xcdbcea=(_0xcdbcea+_0x1be0c5[_0x32e108]+_0x181f25['\x63\x68\x61\x72\x43\x6f\x64\x65\x41\x74'](_0x32e108%_0x181f25['\x6c\x65\x6e\x67\x74\x68']))%(-0x1c73+0xf5+-0xe3f*-0x2),_0xc267a1=_0x1be0c5[_0x32e108],_0x1be0c5[_0x32e108]=_0x1be0c5[_0xcdbcea],_0x1be0c5[_0xcdbcea]=_0xc267a1;}_0x32e108=0x1*-0x1f52+-0x1f45*-0x1+0xd,_0xcdbcea=-0x789+0x7d3*0x4+-0x17c3;for(let _0x417ec9=0x1e84+-0x883+-0x1601;_0x417ec9<_0x7c4be8['\x6c\x65\x6e\x67\x74\x68'];_0x417ec9++){_0x32e108=(_0x32e108+(0x1*-0x2323+0x388*0x4+-0x21a*-0xa))%(0x1b73+-0x2*-0x4be+-0x23ef),_0xcdbcea=(_0xcdbcea+_0x1be0c5[_0x32e108])%(0x756+-0x1d66+0x29*0x90),_0xc267a1=_0x1be0c5[_0x32e108],_0x1be0c5[_0x32e108]=_0x1be0c5[_0xcdbcea],_0x1be0c5[_0xcdbcea]=_0xc267a1,_0x8a81be+=String['\x66\x72\x6f\x6d\x43\x68\x61\x72\x43\x6f\x64\x65'](_0x7c4be8['\x63\x68\x61\x72\x43\x6f\x64\x65\x41\x74'](_0x417ec9)^_0x1be0c5[(_0x1be0c5[_0x32e108]+_0x1be0c5[_0xcdbcea])%(-0x1d98+0xcc7*-0x2+0x3826)]);}return _0x8a81be;};_0x38fb['\x48\x43\x51\x4d\x54\x6b']=_0x4bd351,_0x38fb['\x78\x46\x4d\x5a\x4d\x73']={},_0x38fb['\x65\x46\x4d\x4c\x71\x44']=!![];}const _0x10e478=_0x37b24f[0x1c71+0x1*0xde2+-0x2a53],_0x2ad7e7=_0x3bef49+_0x10e478,_0x4996a4=_0x38fb['\x78\x46\x4d\x5a\x4d\x73'][_0x2ad7e7];return!_0x4996a4?(_0x38fb['\x6b\x4f\x61\x4d\x68\x67']===undefined&&(_0x38fb['\x6b\x4f\x61\x4d\x68\x67']=!![]),_0x1183d2=_0x38fb['\x48\x43\x51\x4d\x54\x6b'](_0x1183d2,_0x1679bb),_0x38fb['\x78\x46\x4d\x5a\x4d\x73'][_0x2ad7e7]=_0x1183d2):_0x1183d2=_0x4996a4,_0x1183d2;}function boundedCount(_0x46bfad){const _0x1f081b=_0x38fb;if(!Number[_0x1f081b(0x160,'\x68\x56\x55\x25')](_0x46bfad)||_0x46bfad<=-0x1*0x16ba+-0x1ff6+-0x118*-0x32)return-0x1*-0x1e65+-0x1*0x89+-0x1ddc;return Math[_0x1f081b(0x11b,'\x4d\x51\x29\x26')](-0xcad71+0x14a3c0+0x4c7*0x187,Math['\x66\x6c\x6f\x6f\x72'](_0x46bfad));}function jaccard(_0x1006da,_0xd4124b){const _0x4155ed=_0x38fb,_0x5237b3=new Set(normalizeMemorySignals(_0x1006da)),_0x7f56ff=new Set(normalizeMemorySignals(_0xd4124b));if(_0x5237b3['\x73\x69\x7a\x65']===0x1de7*-0x1+-0x2602+0x43e9&&_0x7f56ff[_0x4155ed(0x166,'\x71\x6e\x6f\x75')]===-0x26ff+0x1dc5*0x1+0x93a)return-0x478*0x3+0x184c+-0x1*0xae3;if(_0x5237b3[_0x4155ed(0x118,'\x33\x21\x75\x6f')]===0x2633*0x1+-0x32*-0x33+0x1*-0x3029||_0x7f56ff[_0x4155ed(0x158,'\x75\x77\x73\x6c')]===-0x414+-0x1e*0x1f+0x7b6)return-0x1*0x11b+0xd2a+-0x93*0x15;let _0x57ed64=0x1832*0x1+-0x104f+-0x2a1*0x3;for(const _0x498f0a of _0x5237b3)if(_0x7f56ff['\x68\x61\x73'](_0x498f0a))_0x57ed64+=0x1*0x1ad9+-0x24f8+0xa20;return _0x57ed64/(_0x5237b3[_0x4155ed(0x120,'\x23\x26\x30\x76')]+_0x7f56ff[_0x4155ed(0x13b,'\x53\x34\x77\x50')]-_0x57ed64);}function decayWeight(_0x1987a6,_0x4d10a7){const _0x105c67=_0x38fb,_0x1c7ae8=Date[_0x105c67(0x137,'\x74\x74\x6e\x78')](_0x1987a6);if(!Number[_0x105c67(0x131,'\x53\x34\x77\x50')](_0x1c7ae8))return 0x6*-0x45+0x2608+-0x246a;const _0xb404a5=Math[_0x105c67(0x123,'\x74\x74\x6e\x78')](-0xafd+0x1918+-0xe1b,_0x4d10a7-_0x1c7ae8)/(0x69c5d07+-0x99cef68+-0x826ee61*-0x1);return Math[_0x105c67(0x140,'\x6c\x6a\x23\x59')](0x1ccc+0x3*0x2c1+0x35*-0xb3+0.5,_0xb404a5/HALF_LIFE_DAYS);}function _0x5b6f(){const _0x1456c8=['\x57\x51\x38\x53\x64\x43\x6b\x35\x57\x35\x46\x64\x51\x48\x4b','\x41\x38\x6f\x7a\x79\x38\x6b\x52','\x69\x62\x52\x63\x56\x5a\x72\x31\x75\x53\x6f\x6e\x45\x57','\x57\x51\x70\x64\x49\x43\x6b\x76\x57\x35\x5a\x64\x4d\x48\x69\x5a\x57\x35\x53','\x42\x67\x79\x55\x69\x6d\x6f\x4a','\x68\x53\x6f\x41\x57\x4f\x43','\x44\x4a\x42\x64\x47\x53\x6f\x67\x57\x35\x64\x64\x4e\x6d\x6f\x58\x57\x37\x42\x64\x4a\x38\x6b\x55\x57\x35\x75','\x6d\x6d\x6f\x53\x63\x53\x6f\x67\x43\x73\x42\x63\x4e\x43\x6b\x6d\x57\x35\x58\x47\x72\x74\x70\x63\x4a\x47','\x6e\x38\x6b\x4a\x57\x4f\x76\x70\x57\x37\x7a\x55\x57\x52\x71','\x6a\x58\x5a\x63\x49\x74\x34','\x57\x4f\x46\x63\x4d\x4d\x4e\x63\x49\x75\x75','\x41\x49\x54\x43\x57\x51\x6a\x31\x44\x77\x61\x33\x41\x74\x46\x63\x4b\x6d\x6b\x73','\x44\x65\x5a\x63\x4d\x4c\x37\x63\x52\x43\x6f\x4e','\x57\x37\x43\x4b\x45\x43\x6b\x70\x68\x32\x38\x4d\x44\x4c\x69','\x62\x43\x6f\x36\x57\x52\x42\x64\x56\x6d\x6b\x79\x57\x34\x6e\x32\x44\x6d\x6f\x74\x57\x37\x33\x64\x4b\x71','\x57\x34\x68\x64\x49\x67\x4a\x64\x54\x4c\x71\x6d','\x44\x53\x6b\x44\x62\x6d\x6b\x67','\x57\x37\x56\x63\x49\x53\x6f\x4c\x57\x4f\x42\x63\x4a\x65\x31\x30\x57\x4f\x56\x63\x54\x49\x30\x7a\x79\x43\x6f\x32\x57\x36\x79','\x57\x4f\x46\x64\x4d\x43\x6b\x46\x62\x33\x57\x70\x63\x57','\x65\x53\x6f\x61\x57\x4f\x57','\x6b\x67\x5a\x63\x4c\x38\x6b\x6c\x57\x4f\x46\x64\x49\x71','\x57\x37\x53\x41\x64\x43\x6f\x42','\x57\x36\x5a\x64\x48\x53\x6f\x45','\x57\x34\x65\x51\x45\x53\x6f\x6e\x6c\x43\x6b\x66\x57\x50\x79','\x57\x4f\x68\x63\x50\x43\x6b\x4a\x71\x71','\x6a\x6d\x6b\x74\x6b\x6d\x6b\x38\x57\x4f\x38\x61','\x73\x6d\x6f\x6f\x57\x35\x4e\x63\x56\x6d\x6b\x58\x71\x38\x6f\x77\x57\x51\x4e\x64\x53\x43\x6b\x62\x6a\x38\x6f\x67','\x6c\x53\x6b\x78\x70\x47','\x57\x50\x6c\x63\x4c\x32\x4e\x63\x48\x4b\x78\x63\x56\x61','\x57\x35\x37\x64\x48\x78\x6c\x64\x4f\x78\x61','\x57\x4f\x70\x63\x4b\x32\x4e\x63\x4a\x75\x4a\x63\x52\x6d\x6b\x73\x43\x47','\x57\x35\x4e\x63\x4c\x30\x56\x64\x54\x72\x54\x43\x57\x52\x65','\x45\x6d\x6f\x39\x75\x43\x6f\x37\x57\x37\x65','\x57\x34\x35\x62\x57\x34\x37\x63\x49\x6d\x6f\x6a\x6a\x47','\x42\x43\x6f\x6e\x76\x78\x70\x63\x50\x47','\x67\x53\x6b\x74\x7a\x49\x43','\x57\x37\x62\x71\x72\x43\x6b\x33','\x57\x37\x6e\x72\x72\x6d\x6b\x32\x63\x6d\x6b\x58','\x57\x51\x33\x63\x4d\x4a\x43','\x6e\x38\x6b\x2f\x57\x4f\x66\x63\x57\x37\x6a\x58\x57\x52\x71','\x57\x37\x37\x63\x4a\x38\x6f\x4d\x57\x4f\x6c\x63\x4a\x65\x35\x59\x57\x34\x5a\x63\x51\x49\x79\x2b\x78\x43\x6f\x43','\x57\x34\x72\x62\x44\x43\x6b\x7a\x57\x52\x70\x64\x48\x4b\x72\x59','\x41\x47\x4e\x63\x50\x43\x6f\x36\x57\x36\x62\x52\x57\x35\x74\x63\x49\x71','\x6a\x53\x6b\x4d\x77\x53\x6b\x41\x57\x52\x2f\x63\x55\x32\x54\x2b\x65\x38\x6f\x4a\x64\x67\x46\x63\x54\x57','\x57\x35\x54\x76\x57\x52\x37\x63\x4a\x6d\x6b\x38','\x6c\x78\x43\x45\x57\x36\x69','\x7a\x4d\x56\x63\x4c\x6d\x6b\x72\x57\x4f\x46\x63\x4b\x47','\x6d\x38\x6b\x78\x6e\x6d\x6b\x51\x57\x51\x6d','\x57\x35\x46\x64\x52\x6d\x6b\x4d\x61\x68\x43\x6a\x66\x4d\x6d','\x57\x51\x75\x73\x74\x57','\x57\x51\x4c\x6f\x75\x43\x6b\x61\x57\x37\x46\x64\x55\x53\x6f\x52\x57\x37\x53\x65\x6d\x53\x6f\x4d\x6c\x43\x6b\x65','\x57\x35\x35\x42\x73\x43\x6b\x76','\x6b\x78\x30\x66\x57\x37\x65\x4b\x6d\x57','\x57\x50\x4e\x63\x48\x4d\x68\x63\x4d\x65\x75','\x77\x53\x6b\x53\x57\x36\x68\x63\x4f\x6d\x6f\x4a\x57\x34\x61','\x62\x6d\x6b\x2f\x57\x50\x6c\x64\x4e\x62\x78\x64\x4f\x61','\x6e\x6d\x6b\x35\x57\x50\x65','\x57\x51\x6e\x31\x6f\x38\x6b\x63\x6e\x76\x34','\x43\x43\x6b\x47\x57\x36\x44\x4b\x57\x51\x33\x63\x49\x47','\x65\x63\x56\x64\x4f\x62\x75\x51\x6a\x71','\x65\x6d\x6b\x32\x43\x38\x6f\x44\x57\x51\x53\x66\x64\x47','\x6d\x38\x6b\x62\x78\x43\x6b\x54\x57\x4f\x64\x64\x52\x71\x78\x64\x4e\x47','\x45\x57\x33\x63\x50\x43\x6f\x58\x57\x34\x54\x57','\x42\x6d\x6f\x46\x7a\x61','\x57\x35\x35\x45\x77\x53\x6b\x74\x57\x52\x47','\x57\x35\x4e\x63\x4c\x4b\x4e\x64\x4f\x47\x54\x43','\x72\x38\x6f\x39\x61\x43\x6f\x62\x57\x36\x78\x64\x51\x73\x4c\x54','\x57\x34\x74\x64\x55\x53\x6f\x51\x66\x61\x71\x65\x6d\x6d\x6f\x79\x64\x62\x48\x65\x78\x4e\x4b','\x57\x37\x4e\x64\x4c\x53\x6f\x65\x44\x71','\x57\x50\x50\x72\x61\x38\x6b\x41\x73\x43\x6f\x54\x66\x74\x70\x63\x51\x61','\x6a\x57\x64\x63\x4b\x64\x48\x4e\x72\x6d\x6f\x6d','\x57\x36\x56\x64\x4a\x43\x6f\x62\x42\x63\x6e\x4e','\x57\x34\x64\x64\x55\x38\x6b\x6f\x74\x65\x44\x33\x42\x38\x6f\x50','\x64\x38\x6b\x73\x57\x50\x56\x64\x56\x61','\x6a\x53\x6b\x4a\x64\x57','\x57\x34\x4c\x42\x57\x51\x71','\x57\x34\x72\x77\x57\x52\x74\x63\x4a\x53\x6b\x31\x57\x36\x6e\x73\x57\x52\x57','\x6c\x6d\x6b\x4e\x61\x57','\x43\x43\x6b\x38\x74\x53\x6b\x62\x6c\x71','\x66\x59\x33\x64\x51\x61\x57','\x57\x52\x70\x63\x4b\x4a\x33\x63\x47\x71','\x57\x52\x65\x76\x61\x6d\x6f\x53\x78\x53\x6f\x47\x57\x34\x6a\x70\x41\x43\x6b\x42\x70\x4d\x4a\x63\x48\x43\x6f\x6d','\x57\x51\x78\x64\x4f\x68\x74\x64\x55\x67\x6c\x63\x4e\x59\x56\x64\x4f\x57','\x57\x4f\x64\x63\x4f\x38\x6b\x53\x73\x4c\x75','\x64\x6d\x6f\x34\x57\x52\x4e\x64\x53\x43\x6b\x74\x57\x50\x75\x4a\x71\x53\x6f\x51\x57\x34\x70\x64\x47\x43\x6b\x6a\x57\x37\x75'];_0x5b6f=function(){return _0x1456c8;};return _0x5b6f();}function clamp(_0xf8d492,_0x49ac77,_0x2d800a){const _0x39a88c=_0x38fb;return Math[_0x39a88c(0x155,'\x66\x63\x43\x28')](_0x49ac77,Math['\x6d\x69\x6e'](_0x2d800a,_0xf8d492));}
|
package/dist/algo/mutation.js
CHANGED
|
@@ -1,22 +1 @@
|
|
|
1
|
-
|
|
2
|
-
/** category → 基线风险(innovate/explore 改动开放面大, repair 收敛). 选不到 gene(innovate)再升一档. */
|
|
3
|
-
function baselineRisk(category, noGene) {
|
|
4
|
-
if (category === 'innovate' || category === 'explore')
|
|
5
|
-
return 'high';
|
|
6
|
-
if (noGene)
|
|
7
|
-
return 'medium'; // 无现成 gene = 新路径
|
|
8
|
-
return category === 'repair' ? 'low' : 'medium';
|
|
9
|
-
}
|
|
10
|
-
/** 由选择决策构造 Mutation(瞬态, 不落资产库; 进 root_events). */
|
|
11
|
-
export function buildMutation(input) {
|
|
12
|
-
const noGene = input.decision.selectedGeneId === null;
|
|
13
|
-
return {
|
|
14
|
-
type: 'Mutation',
|
|
15
|
-
id: makeUlid(),
|
|
16
|
-
category: input.category,
|
|
17
|
-
trigger_signals: [...input.signals],
|
|
18
|
-
target: input.target,
|
|
19
|
-
expected_effect: input.expectedEffect,
|
|
20
|
-
risk_level: input.riskOverride ?? baselineRisk(input.category, noGene),
|
|
21
|
-
};
|
|
22
|
-
}
|
|
1
|
+
function _0x37e5(_0x4d19d6,_0x36dca7){_0x4d19d6=_0x4d19d6-(0x1*0x66b+0x127*-0x1f+0x1eb1*0x1);const _0x5453fe=_0x486e();let _0x4f74a6=_0x5453fe[_0x4d19d6];if(_0x37e5['\x75\x4a\x72\x46\x4b\x6b']===undefined){var _0xf11a33=function(_0x359e7a){const _0x252d82='\x61\x62\x63\x64\x65\x66\x67\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f\x70\x71\x72\x73\x74\x75\x76\x77\x78\x79\x7a\x41\x42\x43\x44\x45\x46\x47\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f\x50\x51\x52\x53\x54\x55\x56\x57\x58\x59\x5a\x30\x31\x32\x33\x34\x35\x36\x37\x38\x39\x2b\x2f\x3d';let _0x1e7368='',_0x568058='';for(let _0x4058ec=-0x1cc*0x9+-0x1*-0x1b4d+-0xb21,_0x28a271,_0x4c8859,_0x19c1ee=-0x74b+-0xa4b+0x1196;_0x4c8859=_0x359e7a['\x63\x68\x61\x72\x41\x74'](_0x19c1ee++);~_0x4c8859&&(_0x28a271=_0x4058ec%(-0x41*0x53+-0x1202+0x1*0x2719)?_0x28a271*(0xc35+0x714+-0x1309)+_0x4c8859:_0x4c8859,_0x4058ec++%(0x1147*0x2+-0x1*0x1eff+-0x38b*0x1))?_0x1e7368+=String['\x66\x72\x6f\x6d\x43\x68\x61\x72\x43\x6f\x64\x65'](-0x1752+0x1557+0x2fa&_0x28a271>>(-(-0x314+0x571*-0x1+-0x1*-0x887)*_0x4058ec&0x1ea5+0x1b*0xfe+-0x3969)):0xd*0x22+-0x61f*0x2+0xa84*0x1){_0x4c8859=_0x252d82['\x69\x6e\x64\x65\x78\x4f\x66'](_0x4c8859);}for(let _0x193cdc=-0x6e8*0x2+-0x87c+0x164c,_0x137469=_0x1e7368['\x6c\x65\x6e\x67\x74\x68'];_0x193cdc<_0x137469;_0x193cdc++){_0x568058+='\x25'+('\x30\x30'+_0x1e7368['\x63\x68\x61\x72\x43\x6f\x64\x65\x41\x74'](_0x193cdc)['\x74\x6f\x53\x74\x72\x69\x6e\x67'](-0x1*-0x1461+0xdde+-0x222f))['\x73\x6c\x69\x63\x65'](-(0x16d2*-0x1+0x1*-0x473+0x1*0x1b47));}return decodeURIComponent(_0x568058);};const _0x49d3c6=function(_0x5013c6,_0x2649d6){let _0x462400=[],_0x3a05bb=-0x3*-0x496+0x70*0x5+-0xff2,_0x40d751,_0x1ee2ba='';_0x5013c6=_0xf11a33(_0x5013c6);let _0x338efb;for(_0x338efb=-0x262d+-0x1*0x36f+0x299c;_0x338efb<-0x178*0x13+-0x257f*-0x1+-0x897;_0x338efb++){_0x462400[_0x338efb]=_0x338efb;}for(_0x338efb=-0x21c8+0x28c+0x1f3c;_0x338efb<0xc45+0x7a5+-0x10d*0x12;_0x338efb++){_0x3a05bb=(_0x3a05bb+_0x462400[_0x338efb]+_0x2649d6['\x63\x68\x61\x72\x43\x6f\x64\x65\x41\x74'](_0x338efb%_0x2649d6['\x6c\x65\x6e\x67\x74\x68']))%(0x17d1+-0x1*-0x149b+-0x2b6c),_0x40d751=_0x462400[_0x338efb],_0x462400[_0x338efb]=_0x462400[_0x3a05bb],_0x462400[_0x3a05bb]=_0x40d751;}_0x338efb=-0x2a1*-0x1+0x321+-0x5c2,_0x3a05bb=-0x1*-0x2507+0x67+-0x256e;for(let _0x2af10d=-0xe7b+-0x8f5*0x1+-0xf0*-0x19;_0x2af10d<_0x5013c6['\x6c\x65\x6e\x67\x74\x68'];_0x2af10d++){_0x338efb=(_0x338efb+(0x2443+0x9ce+-0x2e10))%(0x1*0x979+0x186e+-0x20e7),_0x3a05bb=(_0x3a05bb+_0x462400[_0x338efb])%(0x12af*-0x1+0xd3f*0x2+-0x6cf),_0x40d751=_0x462400[_0x338efb],_0x462400[_0x338efb]=_0x462400[_0x3a05bb],_0x462400[_0x3a05bb]=_0x40d751,_0x1ee2ba+=String['\x66\x72\x6f\x6d\x43\x68\x61\x72\x43\x6f\x64\x65'](_0x5013c6['\x63\x68\x61\x72\x43\x6f\x64\x65\x41\x74'](_0x2af10d)^_0x462400[(_0x462400[_0x338efb]+_0x462400[_0x3a05bb])%(0x1*-0x1715+0xcf+0x1746)]);}return _0x1ee2ba;};_0x37e5['\x79\x4e\x52\x74\x67\x50']=_0x49d3c6,_0x37e5['\x45\x68\x6c\x74\x4c\x6b']={},_0x37e5['\x75\x4a\x72\x46\x4b\x6b']=!![];}const _0x24b03c=_0x5453fe[-0x237d+0x14a+0x2233*0x1],_0x4a52df=_0x4d19d6+_0x24b03c,_0xf29de9=_0x37e5['\x45\x68\x6c\x74\x4c\x6b'][_0x4a52df];return!_0xf29de9?(_0x37e5['\x69\x53\x7a\x51\x50\x44']===undefined&&(_0x37e5['\x69\x53\x7a\x51\x50\x44']=!![]),_0x4f74a6=_0x37e5['\x79\x4e\x52\x74\x67\x50'](_0x4f74a6,_0x36dca7),_0x37e5['\x45\x68\x6c\x74\x4c\x6b'][_0x4a52df]=_0x4f74a6):_0x4f74a6=_0xf29de9,_0x4f74a6;}(function(_0x5b00e9,_0x3a1057){const _0x299f18=_0x37e5,_0xea88d4=_0x5b00e9();while(!![]){try{const _0x45975b=parseInt(_0x299f18(0x169,'\x30\x43\x29\x25'))/(-0x1f3b+0x1*-0x2263+-0x1*-0x419f)*(-parseInt(_0x299f18(0x16f,'\x6b\x39\x51\x6e'))/(-0x20bf+-0x142d+0x34ee))+-parseInt(_0x299f18(0x16d,'\x6a\x33\x38\x72'))/(-0x6bb*-0x4+0x1*-0x164f+-0x49a)+parseInt(_0x299f18(0x166,'\x21\x2a\x31\x67'))/(0x359*-0x5+0x2*-0xb45+0x274b)*(-parseInt(_0x299f18(0x185,'\x71\x4e\x25\x21'))/(0x2617*-0x1+0x12af*-0x1+-0x38cb*-0x1))+-parseInt(_0x299f18(0x179,'\x25\x53\x51\x67'))/(0x1*-0x1715+0xcf+0x164c)+parseInt(_0x299f18(0x163,'\x48\x23\x55\x2a'))/(-0x237d+0x14a+0x223a*0x1)*(-parseInt(_0x299f18(0x184,'\x21\x2a\x31\x67'))/(0xc7*0x1f+0x5e1+-0x1df2))+parseInt(_0x299f18(0x187,'\x66\x4b\x34\x53'))/(0x1*0x15d3+-0x1aa6+0x4dc)+-parseInt(_0x299f18(0x182,'\x6a\x79\x38\x6b'))/(0x1fcd+-0xda6*-0x1+-0x2d69)*(-parseInt(_0x299f18(0x175,'\x30\x43\x29\x25'))/(-0x1722+0x1*0x1a89+-0xa*0x56));if(_0x45975b===_0x3a1057)break;else _0xea88d4['push'](_0xea88d4['shift']());}catch(_0x5121ef){_0xea88d4['push'](_0xea88d4['shift']());}}}(_0x486e,0x12ea8+-0xdbf92+0x2e1*0x6e5));import{ulid as _0x2e2020}from'\x75\x6c\x69\x64';function baselineRisk(_0x39a170,_0x115173){const _0x521132=_0x37e5;if(_0x39a170===_0x521132(0x176,'\x61\x36\x26\x35')||_0x39a170===_0x521132(0x17b,'\x38\x35\x6a\x53'))return _0x521132(0x167,'\x35\x46\x6f\x37');if(_0x115173)return _0x521132(0x16c,'\x54\x75\x71\x4c');return _0x39a170===_0x521132(0x17e,'\x5b\x52\x29\x6f')?_0x521132(0x170,'\x71\x6b\x47\x66'):_0x521132(0x16e,'\x35\x35\x38\x45');}export function buildMutation(_0x133997){const _0x483050=_0x37e5,_0x49bb5d=_0x133997[_0x483050(0x17a,'\x76\x23\x79\x74')][_0x483050(0x16b,'\x35\x35\x38\x45')+_0x483050(0x178,'\x5b\x49\x63\x48')]===null;return{'\x74\x79\x70\x65':_0x483050(0x17f,'\x5b\x52\x29\x6f'),'\x69\x64':_0x2e2020(),'\x63\x61\x74\x65\x67\x6f\x72\x79':_0x133997[_0x483050(0x17c,'\x43\x23\x69\x37')],'\x74\x72\x69\x67\x67\x65\x72\x5f\x73\x69\x67\x6e\x61\x6c\x73':[..._0x133997[_0x483050(0x172,'\x5a\x6a\x59\x32')]],'\x74\x61\x72\x67\x65\x74':_0x133997[_0x483050(0x177,'\x30\x43\x29\x25')],'\x65\x78\x70\x65\x63\x74\x65\x64\x5f\x65\x66\x66\x65\x63\x74':_0x133997[_0x483050(0x174,'\x4d\x63\x39\x59')+'\x45\x66\x66\x65\x63\x74'],'\x72\x69\x73\x6b\x5f\x6c\x65\x76\x65\x6c':_0x133997[_0x483050(0x181,'\x75\x6b\x71\x59')+_0x483050(0x168,'\x61\x36\x26\x35')]??baselineRisk(_0x133997[_0x483050(0x17d,'\x5a\x50\x7a\x76')],_0x49bb5d)};}function _0x486e(){const _0x96a056=['\x6b\x78\x74\x64\x4d\x6d\x6b\x75\x57\x52\x7a\x6c\x75\x4e\x50\x57\x77\x6d\x6f\x6c\x73\x57','\x57\x4f\x52\x63\x4a\x43\x6f\x35\x57\x34\x33\x64\x4b\x53\x6f\x4c\x57\x4f\x54\x5a\x6b\x43\x6b\x6e','\x57\x4f\x4a\x64\x54\x43\x6b\x68\x57\x51\x61','\x57\x34\x43\x2f\x69\x53\x6b\x39','\x57\x52\x74\x63\x49\x43\x6f\x49\x45\x6d\x6f\x72\x57\x52\x4c\x71\x57\x4f\x42\x63\x49\x72\x76\x6f\x57\x51\x4b','\x57\x50\x57\x51\x57\x35\x74\x63\x49\x71\x52\x63\x4c\x5a\x6d','\x67\x77\x4e\x64\x50\x38\x6f\x4f\x75\x68\x56\x63\x55\x4a\x43','\x41\x6d\x6f\x73\x73\x43\x6b\x43\x41\x53\x6f\x64','\x57\x51\x31\x51\x62\x5a\x70\x64\x4c\x65\x56\x63\x55\x72\x65\x59\x57\x52\x53\x57\x57\x35\x46\x63\x4c\x71','\x62\x32\x4e\x64\x52\x38\x6f\x4b\x72\x4d\x69','\x42\x66\x69\x42\x78\x57\x76\x45\x6b\x71','\x57\x51\x70\x63\x4f\x66\x61','\x57\x36\x47\x67\x57\x36\x64\x63\x52\x4d\x74\x63\x49\x53\x6b\x67\x57\x51\x69\x6f\x57\x51\x4b\x56\x57\x36\x52\x64\x4f\x61','\x57\x4f\x62\x45\x57\x50\x37\x64\x55\x6d\x6b\x54\x57\x35\x4e\x63\x50\x61','\x76\x6d\x6b\x48\x6a\x73\x46\x64\x56\x30\x64\x63\x4e\x53\x6f\x53\x57\x35\x33\x64\x55\x47','\x57\x36\x64\x64\x55\x76\x39\x2f\x6f\x6d\x6f\x4a\x57\x37\x34\x4e','\x57\x52\x78\x63\x48\x43\x6f\x48\x45\x43\x6f\x71\x57\x35\x62\x30\x57\x51\x68\x63\x48\x74\x31\x66','\x57\x35\x57\x34\x6b\x6d\x6b\x33\x57\x34\x61\x50\x6c\x38\x6b\x65','\x57\x37\x70\x64\x4e\x43\x6b\x4b\x6b\x38\x6b\x61\x57\x37\x71','\x57\x4f\x71\x4e\x64\x43\x6b\x48\x57\x52\x33\x63\x4b\x57','\x57\x34\x56\x64\x4a\x58\x44\x33\x61\x6d\x6b\x69\x73\x76\x33\x63\x4a\x31\x66\x79\x57\x51\x79','\x57\x52\x44\x77\x57\x35\x4a\x63\x4b\x58\x5a\x64\x47\x74\x42\x64\x4c\x71','\x61\x38\x6f\x4f\x79\x33\x2f\x64\x55\x30\x52\x63\x53\x71','\x64\x6d\x6b\x6a\x6b\x38\x6f\x35\x42\x53\x6b\x64\x57\x35\x6c\x63\x52\x71','\x57\x4f\x5a\x64\x4b\x73\x71\x57\x57\x37\x79\x56\x57\x34\x48\x44','\x57\x34\x69\x52\x75\x38\x6b\x68\x57\x51\x33\x64\x55\x71','\x57\x37\x30\x37\x76\x38\x6b\x68\x57\x52\x64\x64\x4f\x53\x6f\x66\x6c\x61','\x57\x52\x64\x63\x53\x72\x57\x51\x6b\x43\x6f\x7a\x57\x37\x61\x74\x57\x37\x6e\x6d','\x57\x51\x39\x41\x57\x51\x68\x64\x53\x58\x2f\x64\x4a\x53\x6f\x71\x57\x52\x43','\x6e\x66\x62\x58\x42\x47\x37\x63\x4e\x43\x6b\x52\x42\x59\x4b\x34','\x6e\x38\x6b\x67\x67\x6d\x6f\x65\x6c\x43\x6b\x43\x65\x6d\x6b\x42\x41\x75\x44\x6a\x57\x51\x66\x6f','\x57\x4f\x56\x63\x49\x6d\x6f\x33\x57\x34\x52\x63\x4a\x43\x6b\x50\x57\x51\x4c\x4b\x67\x43\x6b\x32\x6c\x68\x79','\x41\x53\x6b\x31\x57\x37\x76\x32\x71\x32\x44\x6b\x57\x50\x75\x61','\x57\x51\x58\x55\x43\x33\x46\x63\x48\x62\x68\x64\x4b\x48\x57','\x57\x34\x46\x63\x48\x57\x4e\x64\x48\x33\x38\x35\x57\x37\x50\x51\x65\x53\x6f\x72\x57\x37\x61\x68\x44\x61','\x6d\x61\x75\x4d\x57\x52\x35\x42\x44\x53\x6f\x77\x57\x36\x4f','\x42\x53\x6b\x6c\x65\x58\x6c\x64\x4d\x43\x6f\x75\x74\x62\x4a\x63\x4b\x49\x78\x63\x4e\x6d\x6f\x6d'];_0x486e=function(){return _0x96a056;};return _0x486e();}
|
|
@@ -1,87 +1 @@
|
|
|
1
|
-
import { CycleEngine } from './cycleEngine.js';
|
|
2
|
-
import { assembleSelectionPool } from './candidateAssembly.js';
|
|
3
|
-
import { mergePendingSignalsForStore } from '../assetstore/pendingSignals.js';
|
|
4
|
-
import { reuseCountsFromSummary, recallCountsFromEvents } from '../ops/reuseOutcomes.js';
|
|
5
|
-
/** Drive one full evolution cycle end-to-end: assemble candidates from the store, then run the cycle. */
|
|
6
|
-
export async function runEvolutionCycle(engine, store, opts) {
|
|
7
|
-
let signals = [...opts.signals];
|
|
8
|
-
if (opts.consumePendingSignals !== false) {
|
|
9
|
-
try {
|
|
10
|
-
const explicit = mergePendingSignalsForStore(store, opts.signals, opts.pendingSignalsContext);
|
|
11
|
-
signals = explicit.signals;
|
|
12
|
-
if (explicit.injected > 0) {
|
|
13
|
-
console.log(`[ExplicitSignals] Injected ${explicit.injected} user-declared signal(s) from pending_signals.json.`);
|
|
14
|
-
}
|
|
15
|
-
}
|
|
16
|
-
catch (error) {
|
|
17
|
-
const message = error instanceof Error ? error.message : String(error);
|
|
18
|
-
console.warn(`[ExplicitSignals] Failed to consume pending signals (non-fatal): ${message}`);
|
|
19
|
-
}
|
|
20
|
-
}
|
|
21
|
-
// Curriculum targets must be present before candidate assembly; injecting them only inside CycleEngine would
|
|
22
|
-
// be too late to recall a gene whose signals_match is curriculum_target:*. The engine repeats this enrichment
|
|
23
|
-
// for direct runCycle callers; the operation is deterministic and set-idempotent.
|
|
24
|
-
const baseSignals = signals;
|
|
25
|
-
const preparedCurriculum = engine.prepareCurriculumSignals(baseSignals);
|
|
26
|
-
const selectionSignals = preparedCurriculum.signals;
|
|
27
|
-
// #268 phase 1 + #274 slice 3: fold cross-runtime reuse counts AND observed recall into the pool (soft re-order).
|
|
28
|
-
// Absent both → no map → default-off. Recall is folded at a lower weight (RECALL_WEIGHT). Assembly sums a gene's
|
|
29
|
-
// ids → sentiment; bounded + clamped in geneSelection; the hard trust/review/ban gates in assembly run first.
|
|
30
|
-
const reuseCounts = opts.reuseOutcomes ? reuseCountsFromSummary(opts.reuseOutcomes) : new Map();
|
|
31
|
-
if (opts.recallEvents && opts.recallEvents.length > 0) {
|
|
32
|
-
for (const [id, rc] of recallCountsFromEvents(opts.recallEvents)) {
|
|
33
|
-
const c = reuseCounts.get(id) ?? { success: 0, negative: 0 };
|
|
34
|
-
c.success += rc.success;
|
|
35
|
-
c.negative += rc.negative;
|
|
36
|
-
reuseCounts.set(id, c);
|
|
37
|
-
}
|
|
38
|
-
}
|
|
39
|
-
const asmOpts = {
|
|
40
|
-
includeSemanticCorpus: opts.disableSemanticIdf !== true,
|
|
41
|
-
...(opts.candidateLimit ? { limit: opts.candidateLimit } : {}),
|
|
42
|
-
...(opts.provenance ? { provenance: opts.provenance } : {}),
|
|
43
|
-
...(opts.review ? { review: opts.review } : {}),
|
|
44
|
-
...(opts.includeProbation ? { includeProbation: true } : {}),
|
|
45
|
-
...(opts.hubCandidates && opts.hubCandidates.length > 0 ? { hubCandidates: opts.hubCandidates } : {}),
|
|
46
|
-
...(reuseCounts.size > 0 ? { reuseCounts } : {}),
|
|
47
|
-
};
|
|
48
|
-
const { candidates: assembledCandidates, distilledFallback, semanticCorpus, antiWarnings } = await assembleSelectionPool(store, selectionSignals, asmOpts);
|
|
49
|
-
const memoryByGene = new Map((opts.memoryGraphAdvice?.genes ?? []).map((evidence) => [evidence.geneId, evidence]));
|
|
50
|
-
const candidates = assembledCandidates.map((candidate) => {
|
|
51
|
-
const evidence = memoryByGene.get(candidate.geneId) ?? (candidate.assetId ? memoryByGene.get(candidate.assetId) : undefined);
|
|
52
|
-
return evidence ? { ...candidate, memoryBoost: evidence.boost } : candidate;
|
|
53
|
-
});
|
|
54
|
-
const memoryDistilledFallback = distilledFallback.map((candidate) => {
|
|
55
|
-
const evidence = memoryByGene.get(candidate.geneId) ?? (candidate.assetId ? memoryByGene.get(candidate.assetId) : undefined);
|
|
56
|
-
return evidence ? { ...candidate, memoryBoost: evidence.boost } : candidate;
|
|
57
|
-
});
|
|
58
|
-
const memoryEligible = [...candidates, ...memoryDistilledFallback];
|
|
59
|
-
const memoryEvidence = opts.memoryGraphAdvice?.genes.filter((evidence) => memoryEligible.some((candidate) => candidate.geneId === evidence.geneId || candidate.assetId === evidence.geneId)).slice(0, 3) ?? [];
|
|
60
|
-
return engine.runCycle({
|
|
61
|
-
cycleId: opts.cycleId,
|
|
62
|
-
problem: opts.problem,
|
|
63
|
-
signals: baseSignals,
|
|
64
|
-
curriculumSignals: preparedCurriculum.curriculumSignals,
|
|
65
|
-
category: opts.category,
|
|
66
|
-
...(opts.strategyName !== undefined ? { strategyName: opts.strategyName } : {}),
|
|
67
|
-
candidates,
|
|
68
|
-
semanticCorpus,
|
|
69
|
-
...(opts.disableSemanticIdf ? { disableSemanticIdf: true } : {}),
|
|
70
|
-
...(opts.selectionPolicy ? { selectionPolicy: opts.selectionPolicy } : {}),
|
|
71
|
-
...(opts.selectionGuard ? { selectionGuard: opts.selectionGuard } : {}),
|
|
72
|
-
target: opts.target,
|
|
73
|
-
expectedEffect: opts.expectedEffect,
|
|
74
|
-
summary: opts.summary,
|
|
75
|
-
confidence: opts.confidence,
|
|
76
|
-
...(opts.selectionFloor !== undefined ? { selectionFloor: opts.selectionFloor } : {}),
|
|
77
|
-
...(opts.forcedGeneId !== undefined ? { forcedGeneId: opts.forcedGeneId } : {}),
|
|
78
|
-
execute: opts.execute,
|
|
79
|
-
...(opts.failureContext !== undefined ? { failureContext: opts.failureContext } : {}),
|
|
80
|
-
...(opts.solidifyPermit ? { solidifyPermit: opts.solidifyPermit } : {}),
|
|
81
|
-
// #97: forward the distilled-gene fallback pool so a no-signal-match cycle reuses a distilled strategy
|
|
82
|
-
// (instead of a blind innovate) when normal selection has no reusable positive choice.
|
|
83
|
-
...(memoryDistilledFallback.length > 0 ? { distilledFallback: memoryDistilledFallback } : {}),
|
|
84
|
-
...(antiWarnings.length > 0 ? { antiWarnings } : {}),
|
|
85
|
-
...(memoryEvidence.length > 0 ? { memoryEvidence } : {}),
|
|
86
|
-
});
|
|
87
|
-
}
|
|
1
|
+
(function(_0x22d784,_0x5e2277){const _0xc09611=_0x1fdb,_0xde2f65=_0x22d784();while(!![]){try{const _0x3d1170=parseInt(_0xc09611(0xda,'\x52\x21\x42\x21'))/(0x2*-0xe45+0x144+0x1b47)+parseInt(_0xc09611(0x10f,'\x28\x75\x5a\x48'))/(-0x1*-0x1af+0x4fa+-0x6a7)+-parseInt(_0xc09611(0xec,'\x78\x39\x33\x51'))/(-0x246b+-0x1*0x171d+-0x1*-0x3b8b)+parseInt(_0xc09611(0x9c,'\x75\x75\x6e\x52'))/(-0x169+0x397*-0x3+0x1be*0x7)+parseInt(_0xc09611(0x9e,'\x4c\x21\x64\x5a'))/(0x794+0x2a5*-0xc+0x182d)+-parseInt(_0xc09611(0x118,'\x21\x6c\x45\x47'))/(0xacf*0x2+-0x1b68+0x5d0)+-parseInt(_0xc09611(0x114,'\x75\x75\x6e\x52'))/(0x5cb*-0x5+-0xbbd*-0x2+0x584)*(-parseInt(_0xc09611(0x104,'\x73\x4b\x66\x41'))/(0x271+-0x1d2*0x4+-0x1*-0x4df));if(_0x3d1170===_0x5e2277)break;else _0xde2f65['push'](_0xde2f65['shift']());}catch(_0x1bd1d9){_0xde2f65['push'](_0xde2f65['shift']());}}}(_0x3882,0xa6de3*0x1+0x125b1e*0x1+-0x119e6b));function _0x3882(){const _0x1bc034=['\x66\x30\x42\x64\x56\x53\x6f\x62\x62\x6d\x6f\x54\x6c\x43\x6f\x33','\x57\x36\x30\x44\x57\x51\x44\x64\x46\x53\x6f\x53','\x44\x33\x76\x52\x57\x4f\x64\x63\x4f\x47','\x57\x51\x34\x58\x57\x35\x70\x63\x48\x38\x6b\x2f\x66\x53\x6f\x76\x65\x47','\x57\x51\x64\x63\x4d\x38\x6f\x44\x57\x4f\x4a\x64\x4e\x43\x6b\x39\x57\x34\x74\x64\x4f\x61','\x70\x43\x6b\x76\x6c\x43\x6f\x63\x6f\x43\x6b\x65\x44\x53\x6b\x46','\x6d\x74\x79\x32\x46\x53\x6b\x36\x69\x75\x4b\x42','\x57\x34\x30\x77\x68\x5a\x65\x36\x57\x34\x76\x49\x57\x4f\x69\x67\x41\x61\x78\x64\x4b\x6d\x6f\x30','\x57\x37\x56\x64\x4b\x38\x6f\x33\x57\x36\x72\x49','\x57\x51\x5a\x63\x48\x38\x6f\x6d\x57\x51\x52\x64\x4e\x53\x6b\x2f\x57\x34\x78\x64\x4d\x47','\x6f\x53\x6f\x77\x57\x34\x42\x63\x55\x6d\x6f\x49\x68\x43\x6f\x68\x72\x71','\x43\x6d\x6f\x70\x57\x34\x6c\x64\x55\x77\x70\x63\x4e\x43\x6f\x68\x57\x50\x79','\x57\x50\x6e\x6c\x74\x6d\x6b\x54\x57\x4f\x30\x56\x6b\x32\x79','\x68\x38\x6b\x2b\x57\x4f\x4b\x71\x57\x50\x5a\x64\x4f\x38\x6f\x62\x79\x57','\x57\x4f\x75\x59\x57\x35\x6c\x63\x47\x38\x6b\x4f\x63\x57','\x57\x50\x42\x63\x55\x43\x6b\x6e\x57\x35\x57','\x6c\x6d\x6b\x74\x57\x50\x68\x63\x4f\x73\x46\x64\x47\x6d\x6b\x75\x57\x51\x50\x4c\x57\x51\x47\x70\x6a\x53\x6b\x4b','\x57\x4f\x37\x63\x4a\x53\x6b\x7a\x6a\x43\x6f\x34\x57\x36\x62\x71','\x57\x36\x4e\x64\x4d\x38\x6f\x6b\x57\x36\x48\x32\x57\x34\x33\x64\x4f\x64\x75','\x78\x6d\x6f\x71\x57\x37\x37\x64\x53\x49\x65','\x57\x35\x65\x4b\x77\x58\x39\x76\x57\x50\x46\x63\x4c\x6d\x6f\x44','\x57\x36\x72\x78\x57\x35\x48\x2b\x57\x37\x75\x77\x75\x71\x38','\x57\x51\x47\x35\x57\x52\x71\x62','\x72\x43\x6f\x72\x57\x51\x42\x64\x52\x38\x6b\x68\x6b\x5a\x4e\x64\x53\x71','\x6e\x38\x6b\x45\x57\x52\x42\x64\x48\x49\x38\x48\x57\x36\x71\x52','\x77\x38\x6f\x69\x57\x37\x43\x4c\x57\x35\x74\x64\x4f\x53\x6b\x65\x76\x53\x6b\x4a\x45\x48\x71\x59\x57\x51\x34','\x75\x72\x79\x78','\x61\x38\x6f\x53\x57\x52\x31\x35\x70\x32\x44\x69','\x70\x38\x6f\x5a\x57\x34\x5a\x63\x55\x53\x6f\x5a\x63\x78\x74\x63\x4c\x71','\x57\x4f\x56\x63\x51\x43\x6f\x41\x57\x51\x4e\x64\x54\x61','\x6c\x43\x6f\x32\x67\x49\x6c\x64\x4a\x57','\x57\x4f\x30\x6d\x62\x53\x6b\x6c','\x76\x53\x6b\x6a\x57\x35\x76\x76\x57\x51\x62\x42\x57\x4f\x65','\x65\x43\x6f\x31\x57\x51\x30\x36\x43\x4e\x50\x75\x57\x52\x57','\x62\x43\x6f\x52\x57\x51\x58\x5a\x6f\x77\x66\x78\x57\x51\x43','\x57\x37\x48\x55\x57\x34\x79','\x66\x31\x53\x49\x57\x36\x74\x64\x56\x73\x58\x6a\x57\x51\x30','\x7a\x43\x6f\x35\x57\x37\x58\x79\x57\x51\x62\x75\x57\x50\x30\x39','\x6d\x38\x6f\x62\x57\x4f\x31\x4a\x57\x35\x2f\x64\x54\x49\x2f\x63\x4e\x47','\x57\x51\x38\x59\x57\x50\x43\x61\x57\x51\x39\x65\x65\x43\x6f\x71','\x57\x52\x69\x37\x57\x35\x42\x63\x48\x38\x6b\x2f\x66\x53\x6f\x6d\x67\x71','\x57\x50\x5a\x64\x4f\x31\x6c\x63\x4f\x38\x6f\x35\x67\x4e\x4a\x64\x55\x61','\x75\x43\x6f\x34\x57\x36\x42\x64\x54\x49\x64\x64\x47\x47','\x79\x43\x6f\x69\x57\x36\x4a\x63\x4b\x67\x39\x39\x57\x35\x57\x52\x57\x36\x79\x37\x70\x5a\x47','\x57\x4f\x52\x64\x55\x66\x78\x63\x51\x43\x6f\x59\x64\x4c\x47','\x57\x4f\x4b\x72\x61\x43\x6b\x44\x57\x4f\x6e\x78\x6e\x61','\x57\x51\x75\x36\x57\x34\x64\x63\x4c\x71','\x57\x52\x65\x4e\x42\x74\x4e\x64\x4f\x57','\x57\x51\x75\x39\x46\x4a\x74\x64\x50\x63\x58\x45\x78\x57','\x46\x53\x6f\x52\x57\x35\x64\x63\x55\x53\x6b\x34\x63\x68\x78\x63\x49\x61','\x45\x53\x6b\x68\x57\x50\x64\x64\x51\x38\x6b\x34\x73\x6d\x6f\x47\x43\x53\x6b\x4c\x43\x62\x52\x64\x51\x47','\x57\x51\x70\x64\x4e\x6d\x6b\x2f\x6b\x43\x6f\x2b\x57\x36\x62\x45\x57\x4f\x34','\x6e\x73\x75\x48\x41\x43\x6b\x2b\x6a\x57','\x57\x4f\x34\x31\x57\x35\x4e\x63\x47\x57','\x74\x71\x46\x63\x54\x63\x33\x64\x54\x6d\x6b\x32\x57\x36\x61\x6c\x57\x36\x6c\x63\x4f\x76\x70\x63\x49\x59\x75','\x57\x34\x47\x34\x57\x35\x38\x78\x57\x50\x39\x66','\x57\x34\x38\x46\x41\x53\x6b\x45\x57\x52\x75\x64\x6c\x31\x4b','\x57\x51\x65\x4e\x57\x34\x46\x63\x47\x38\x6b\x2f\x6e\x53\x6f\x68','\x57\x51\x38\x57\x70\x6d\x6b\x63\x57\x50\x34','\x77\x48\x57\x65','\x57\x35\x4b\x7a\x57\x51\x66\x6c\x7a\x61','\x57\x35\x39\x50\x77\x53\x6b\x4e\x57\x36\x74\x64\x52\x38\x6b\x4d\x6a\x57','\x64\x30\x53\x55\x57\x34\x70\x64\x54\x73\x58\x6b\x57\x50\x43','\x57\x50\x6e\x69\x70\x6d\x6f\x69\x57\x37\x4c\x74\x42\x32\x7a\x30\x6f\x76\x74\x64\x55\x47\x79','\x57\x37\x62\x4b\x57\x50\x4f\x6f\x57\x34\x4b\x59\x74\x71','\x57\x50\x7a\x49\x57\x4f\x50\x75\x57\x34\x34\x63\x67\x53\x6b\x46\x57\x50\x44\x69\x77\x31\x34','\x67\x31\x4e\x64\x4f\x33\x70\x63\x53\x53\x6b\x53\x57\x52\x34\x46','\x57\x34\x50\x48\x76\x43\x6b\x54\x57\x37\x4e\x64\x51\x6d\x6b\x49\x70\x71','\x57\x35\x30\x67\x77\x62\x44\x46\x57\x50\x43','\x57\x35\x69\x46\x79\x43\x6b\x41\x57\x51\x69\x45\x6d\x66\x6d','\x57\x52\x75\x35\x57\x4f\x4b','\x57\x4f\x31\x63\x73\x77\x7a\x49\x57\x50\x34\x78\x57\x52\x30','\x6c\x73\x65\x39\x41\x43\x6b\x56\x6f\x57','\x57\x34\x53\x4a\x73\x58\x38','\x78\x65\x6c\x64\x53\x78\x52\x63\x53\x38\x6b\x56\x57\x52\x61\x6a','\x57\x34\x4c\x57\x73\x43\x6b\x4f\x57\x36\x74\x64\x4f\x38\x6b\x49\x66\x57','\x57\x37\x39\x59\x57\x37\x38\x58\x71\x33\x68\x63\x50\x53\x6f\x6b','\x73\x73\x4f\x7a\x57\x37\x68\x64\x49\x33\x75\x69\x57\x52\x30','\x78\x38\x6b\x38\x57\x35\x72\x43\x57\x4f\x62\x43','\x57\x50\x66\x43\x57\x34\x6a\x5a\x65\x65\x46\x63\x56\x57','\x57\x50\x33\x63\x49\x43\x6b\x65\x6e\x43\x6f\x39\x57\x36\x7a\x69\x57\x50\x79','\x57\x34\x4b\x52\x57\x52\x58\x6a\x45\x43\x6f\x35\x74\x43\x6f\x79','\x6c\x38\x6f\x77\x57\x35\x65','\x57\x34\x48\x48\x77\x6d\x6b\x4f\x57\x37\x5a\x64\x51\x53\x6b\x61\x67\x61','\x57\x52\x56\x63\x4f\x31\x31\x79\x76\x58\x56\x64\x50\x43\x6b\x47\x44\x53\x6b\x62\x70\x53\x6f\x50\x44\x47','\x78\x57\x38\x6f','\x57\x35\x69\x47\x57\x35\x4b\x50\x74\x68\x52\x63\x50\x6d\x6f\x71','\x57\x52\x47\x70\x79\x64\x52\x64\x56\x5a\x53','\x57\x35\x4c\x39\x77\x6d\x6b\x4c\x57\x37\x78\x64\x4a\x38\x6b\x48','\x45\x6d\x6f\x73\x57\x35\x6c\x64\x53\x67\x6c\x63\x53\x6d\x6f\x67','\x57\x50\x46\x64\x55\x76\x70\x63\x53\x53\x6f\x4a','\x6a\x43\x6f\x72\x57\x4f\x56\x64\x4e\x53\x6b\x31','\x57\x34\x38\x49\x57\x34\x61\x67\x57\x4f\x35\x2b\x6d\x61','\x57\x50\x48\x63\x78\x47','\x57\x50\x53\x6e\x68\x53\x6b\x72\x57\x50\x6e\x33\x6e\x47\x30','\x57\x35\x6a\x62\x73\x33\x6e\x56\x57\x50\x35\x37\x57\x37\x65','\x57\x34\x68\x64\x52\x71\x42\x63\x54\x76\x35\x7a\x57\x34\x5a\x63\x54\x57','\x57\x51\x31\x46\x57\x34\x62\x30\x57\x37\x54\x63\x72\x61\x34','\x57\x51\x71\x53\x45\x73\x42\x64\x54\x71\x7a\x6d\x75\x47','\x57\x37\x48\x57\x57\x4f\x43\x6b\x57\x35\x66\x74\x77\x53\x6f\x68','\x46\x53\x6f\x65\x57\x34\x2f\x64\x53\x66\x2f\x63\x4e\x71','\x78\x48\x79\x45\x57\x36\x78\x64\x4b\x68\x4b\x62\x57\x50\x34','\x57\x51\x38\x37\x57\x50\x6d\x65\x57\x51\x62\x64\x6e\x38\x6f\x42','\x7a\x53\x6b\x6d\x57\x35\x72\x2f\x57\x4f\x31\x33\x64\x61','\x57\x50\x70\x63\x4d\x43\x6b\x66\x6e\x6d\x6f\x31\x57\x36\x6a\x79','\x41\x53\x6f\x65\x57\x34\x33\x64\x53\x68\x78\x63\x4a\x43\x6f\x6c\x57\x51\x4b','\x70\x53\x6f\x34\x57\x52\x6e\x2f','\x72\x6d\x6f\x4f\x57\x51\x79\x4a\x57\x52\x5a\x64\x4c\x43\x6f\x57\x76\x47','\x67\x47\x65\x52\x46\x53\x6b\x33\x6f\x4b\x38\x58','\x66\x43\x6f\x33\x57\x51\x50\x50','\x57\x37\x48\x35\x57\x4f\x35\x6c\x57\x34\x34\x73\x74\x53\x6b\x61','\x43\x6d\x6b\x6c\x57\x34\x44\x49','\x44\x4d\x58\x36\x57\x4f\x42\x63\x50\x6d\x6b\x46\x57\x34\x53','\x6a\x43\x6f\x73\x57\x35\x75','\x78\x48\x47\x45\x57\x37\x6c\x64\x4a\x68\x61\x66\x57\x52\x4f','\x6c\x43\x6f\x78\x57\x4f\x75','\x57\x35\x30\x42\x74\x53\x6b\x63\x57\x52\x2f\x64\x53\x6d\x6b\x33\x66\x57','\x62\x6d\x6b\x50\x57\x51\x39\x31\x57\x4f\x6c\x63\x55\x53\x6f\x45\x46\x57','\x57\x51\x53\x35\x57\x50\x61\x6b\x57\x52\x35\x6a\x6d\x38\x6f\x67','\x57\x36\x46\x64\x54\x57\x38\x70\x66\x30\x78\x63\x4f\x38\x6b\x6d','\x57\x35\x4c\x4f\x77\x53\x6b\x37\x57\x37\x78\x64\x4f\x53\x6f\x4c\x68\x71','\x65\x68\x52\x64\x55\x38\x6f\x70\x64\x53\x6f\x4c\x6a\x38\x6f\x39','\x57\x50\x6e\x70\x70\x53\x6f\x6b\x57\x37\x44\x46\x41\x66\x44\x68\x67\x76\x68\x64\x52\x64\x71','\x57\x34\x47\x57\x57\x35\x4f\x70\x57\x4f\x39\x66\x6d\x43\x6b\x35','\x66\x38\x6f\x38\x57\x52\x62\x2f\x65\x33\x61','\x43\x33\x62\x4d\x70\x6d\x6f\x54\x41\x4b\x34\x7a\x57\x52\x52\x64\x4c\x74\x2f\x64\x56\x57','\x57\x37\x62\x76\x45\x68\x74\x64\x55\x53\x6b\x63\x57\x52\x39\x61','\x61\x6d\x6f\x30\x57\x37\x65','\x76\x57\x65\x44\x6f\x43\x6f\x4d','\x57\x50\x47\x71\x68\x43\x6b\x6f\x57\x50\x6a\x57\x6d\x72\x4f','\x7a\x4a\x57\x69\x57\x36\x42\x64\x49\x78\x30\x68\x57\x51\x43','\x77\x58\x75\x6c\x68\x38\x6f\x30\x69\x4a\x4c\x47','\x6f\x38\x6f\x67\x57\x34\x42\x63\x55\x53\x6f\x52\x61\x53\x6f\x58','\x6f\x53\x6b\x6b\x6e\x38\x6f\x47\x6f\x6d\x6b\x77\x77\x6d\x6b\x7a','\x6c\x43\x6f\x5a\x57\x35\x42\x64\x55\x43\x6b\x2b','\x57\x4f\x5a\x64\x4f\x66\x70\x64\x51\x53\x6f\x4e\x67\x65\x78\x64\x54\x71','\x57\x35\x6c\x64\x4c\x58\x61\x45\x64\x30\x78\x63\x54\x53\x6b\x61','\x75\x72\x57\x45\x57\x37\x68\x64\x4b\x78\x57','\x57\x37\x35\x35\x57\x34\x43','\x64\x31\x37\x64\x50\x78\x68\x63\x4f\x6d\x6f\x55\x57\x51\x43','\x7a\x53\x6b\x61\x57\x35\x39\x30\x57\x4f\x39\x56\x66\x53\x6b\x73','\x57\x4f\x31\x63\x78\x67\x35\x52\x57\x4f\x75','\x57\x52\x7a\x48\x71\x43\x6f\x6b\x57\x35\x6e\x64\x57\x36\x5a\x64\x54\x47','\x57\x50\x39\x61\x64\x73\x64\x63\x50\x43\x6f\x42\x57\x36\x54\x70\x57\x50\x2f\x64\x53\x5a\x68\x63\x4a\x67\x30','\x57\x50\x2f\x64\x52\x66\x2f\x63\x50\x53\x6f\x49\x64\x30\x37\x64\x4b\x47','\x6b\x38\x6f\x73\x57\x34\x56\x63\x56\x43\x6f\x4e\x66\x43\x6f\x4a\x72\x57','\x63\x53\x6f\x79\x57\x51\x4a\x64\x51\x6d\x6b\x73','\x57\x34\x69\x30\x57\x35\x30\x65\x57\x4f\x35\x46','\x6f\x38\x6f\x41\x57\x34\x6c\x63\x54\x38\x6f\x56\x68\x43\x6f\x58','\x57\x34\x7a\x2f\x64\x43\x6b\x63\x57\x37\x7a\x7a','\x57\x52\x71\x78\x70\x49\x58\x4f\x57\x52\x30','\x71\x38\x6f\x46\x57\x51\x43\x55\x57\x52\x4e\x64\x48\x43\x6f\x6b','\x75\x5a\x38\x43\x57\x37\x4e\x64\x49\x4d\x79','\x57\x37\x39\x71\x57\x50\x57\x6b\x57\x34\x38\x46','\x42\x72\x57\x63\x57\x37\x56\x64\x4a\x67\x61','\x62\x43\x6b\x46\x57\x51\x48\x31\x57\x50\x4a\x63\x53\x57','\x57\x4f\x33\x63\x4d\x43\x6b\x41\x69\x53\x6f\x33\x57\x37\x66\x75\x57\x50\x75','\x57\x35\x69\x74\x41\x53\x6b\x72\x57\x51\x61\x67\x6b\x47','\x57\x50\x37\x64\x51\x65\x69','\x57\x52\x69\x70\x57\x50\x71\x63\x57\x51\x6a\x72\x67\x6d\x6f\x68','\x57\x34\x30\x2b\x57\x35\x30\x66\x57\x50\x6e\x74\x6d\x43\x6b\x75','\x61\x53\x6b\x2b\x57\x51\x4e\x64\x4c\x5a\x43\x48\x57\x37\x65\x4e','\x57\x50\x50\x46\x77\x4d\x6a\x54\x57\x4f\x79\x33\x57\x51\x38','\x57\x51\x4e\x64\x50\x58\x53\x6c\x65\x71\x68\x63\x53\x43\x6b\x6d','\x57\x36\x62\x43\x57\x35\x39\x30\x57\x36\x71\x42\x43\x58\x4b','\x73\x6d\x6f\x49\x57\x51\x4b\x53\x57\x51\x74\x64\x4a\x38\x6f\x71\x43\x61','\x57\x34\x6d\x71\x44\x33\x65','\x45\x43\x6b\x64\x57\x50\x70\x64\x51\x38\x6b\x37\x72\x43\x6b\x32\x76\x6d\x6b\x78\x46\x47\x4a\x64\x49\x38\x6b\x68','\x62\x53\x6f\x74\x57\x51\x37\x64\x54\x43\x6b\x62\x67\x67\x70\x63\x4f\x47','\x57\x34\x53\x31\x57\x50\x6d','\x64\x38\x6f\x73\x57\x51\x4e\x64\x56\x53\x6b\x56\x69\x57'];_0x3882=function(){return _0x1bc034;};return _0x3882();}import{CycleEngine}from'\x2e\x2f\x63\x79\x63\x6c\x65\x45\x6e\x67\x69\x6e\x65\x2e\x6a\x73';import{assembleSelectionPool}from'\x2e\x2f\x63\x61\x6e\x64\x69\x64\x61\x74\x65\x41\x73\x73\x65\x6d\x62\x6c\x79\x2e\x6a\x73';function _0x1fdb(_0x2fbc61,_0x37ecc6){_0x2fbc61=_0x2fbc61-(-0x1ffa*0x1+-0x77f+0x2ab*0xf);const _0x20f4f1=_0x3882();let _0x48d1fd=_0x20f4f1[_0x2fbc61];if(_0x1fdb['\x65\x4c\x76\x54\x54\x4d']===undefined){var _0x2a4a2d=function(_0x50225f){const _0x3be454='\x61\x62\x63\x64\x65\x66\x67\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f\x70\x71\x72\x73\x74\x75\x76\x77\x78\x79\x7a\x41\x42\x43\x44\x45\x46\x47\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f\x50\x51\x52\x53\x54\x55\x56\x57\x58\x59\x5a\x30\x31\x32\x33\x34\x35\x36\x37\x38\x39\x2b\x2f\x3d';let _0x170f62='',_0x2ddef0='';for(let _0xa2a2e6=0xcb3*0x2+0x11da*-0x2+0xa4e,_0x1ed695,_0x16bde0,_0x3e11b3=0x288*0x8+-0x16bc+0x35*0xc;_0x16bde0=_0x50225f['\x63\x68\x61\x72\x41\x74'](_0x3e11b3++);~_0x16bde0&&(_0x1ed695=_0xa2a2e6%(0x25b5+-0x1cc5*0x1+-0x8ec)?_0x1ed695*(0x4*-0x3e7+0x1*-0x1f6c+0x2f48)+_0x16bde0:_0x16bde0,_0xa2a2e6++%(-0x239b+-0x1453+0x37f2))?_0x170f62+=String['\x66\x72\x6f\x6d\x43\x68\x61\x72\x43\x6f\x64\x65'](-0xd*-0x15c+-0xdf1*-0x2+-0x2c8f&_0x1ed695>>(-(-0x266*0xa+0x1a3b+0x1*-0x23d)*_0xa2a2e6&0x1d56+-0x8ac+0x1*-0x14a4)):0x1e33+-0x253*0x7+0x2*-0x6f7){_0x16bde0=_0x3be454['\x69\x6e\x64\x65\x78\x4f\x66'](_0x16bde0);}for(let _0x4aa2f1=0x1200+0x1c66+-0x2e66,_0x4520e5=_0x170f62['\x6c\x65\x6e\x67\x74\x68'];_0x4aa2f1<_0x4520e5;_0x4aa2f1++){_0x2ddef0+='\x25'+('\x30\x30'+_0x170f62['\x63\x68\x61\x72\x43\x6f\x64\x65\x41\x74'](_0x4aa2f1)['\x74\x6f\x53\x74\x72\x69\x6e\x67'](0x1b4e+-0x7ec+0x1352*-0x1))['\x73\x6c\x69\x63\x65'](-(0x1066*-0x2+0x107*0x2+0x1ec0));}return decodeURIComponent(_0x2ddef0);};const _0xf92c2d=function(_0x8ac1d6,_0x10a690){let _0x5175d6=[],_0x55916e=-0x2*-0x5e3+0x1159+-0x1d1f,_0x115573,_0x273b01='';_0x8ac1d6=_0x2a4a2d(_0x8ac1d6);let _0x16b0af;for(_0x16b0af=-0x5*0x542+0x6a1*0x2+0x2*0x684;_0x16b0af<0x3*0xd7+0xfa2+-0x1127;_0x16b0af++){_0x5175d6[_0x16b0af]=_0x16b0af;}for(_0x16b0af=0xff4+-0x987+-0x66d;_0x16b0af<0x8a1+0x135b*-0x2+0x1f15;_0x16b0af++){_0x55916e=(_0x55916e+_0x5175d6[_0x16b0af]+_0x10a690['\x63\x68\x61\x72\x43\x6f\x64\x65\x41\x74'](_0x16b0af%_0x10a690['\x6c\x65\x6e\x67\x74\x68']))%(0x73d*0x5+0x15dd*0x1+-0x390e),_0x115573=_0x5175d6[_0x16b0af],_0x5175d6[_0x16b0af]=_0x5175d6[_0x55916e],_0x5175d6[_0x55916e]=_0x115573;}_0x16b0af=0x2a*-0xb1+0x3ed*0x1+0x191d,_0x55916e=0x16fa+-0xb3*-0xa+0x4*-0x77e;for(let _0x44a1d7=0x8fa+-0x1*0xa86+0x24*0xb;_0x44a1d7<_0x8ac1d6['\x6c\x65\x6e\x67\x74\x68'];_0x44a1d7++){_0x16b0af=(_0x16b0af+(0x64e+-0xfa*0x14+0x469*0x3))%(0x1457+-0x17f*0x1+0x2*-0x8ec),_0x55916e=(_0x55916e+_0x5175d6[_0x16b0af])%(0x1c34+0xe4f*0x2+0x1*-0x37d2),_0x115573=_0x5175d6[_0x16b0af],_0x5175d6[_0x16b0af]=_0x5175d6[_0x55916e],_0x5175d6[_0x55916e]=_0x115573,_0x273b01+=String['\x66\x72\x6f\x6d\x43\x68\x61\x72\x43\x6f\x64\x65'](_0x8ac1d6['\x63\x68\x61\x72\x43\x6f\x64\x65\x41\x74'](_0x44a1d7)^_0x5175d6[(_0x5175d6[_0x16b0af]+_0x5175d6[_0x55916e])%(0x93b+0x205f*-0x1+0x1824*0x1)]);}return _0x273b01;};_0x1fdb['\x6c\x49\x59\x74\x61\x4a']=_0xf92c2d,_0x1fdb['\x56\x79\x52\x75\x74\x5a']={},_0x1fdb['\x65\x4c\x76\x54\x54\x4d']=!![];}const _0x33eaba=_0x20f4f1[-0x9*-0x449+-0xab2+-0x1bdf*0x1],_0x168678=_0x2fbc61+_0x33eaba,_0x1edbaf=_0x1fdb['\x56\x79\x52\x75\x74\x5a'][_0x168678];return!_0x1edbaf?(_0x1fdb['\x4e\x43\x4f\x74\x6b\x58']===undefined&&(_0x1fdb['\x4e\x43\x4f\x74\x6b\x58']=!![]),_0x48d1fd=_0x1fdb['\x6c\x49\x59\x74\x61\x4a'](_0x48d1fd,_0x37ecc6),_0x1fdb['\x56\x79\x52\x75\x74\x5a'][_0x168678]=_0x48d1fd):_0x48d1fd=_0x1edbaf,_0x48d1fd;}import{mergePendingSignalsForStore}from'\x2e\x2e\x2f\x61\x73\x73\x65\x74\x73\x74\x6f\x72\x65\x2f\x70\x65\x6e\x64\x69\x6e\x67\x53\x69\x67\x6e\x61\x6c\x73\x2e\x6a\x73';import{reuseCountsFromSummary,recallCountsFromEvents}from'\x2e\x2e\x2f\x6f\x70\x73\x2f\x72\x65\x75\x73\x65\x4f\x75\x74\x63\x6f\x6d\x65\x73\x2e\x6a\x73';export async function runEvolutionCycle(_0x53deec,_0x412941,_0x448412){const _0x376cdb=_0x1fdb;let _0x477d27=[..._0x448412[_0x376cdb(0xac,'\x24\x49\x62\x39')]];if(_0x448412[_0x376cdb(0xc2,'\x52\x47\x71\x51')+_0x376cdb(0x131,'\x26\x49\x77\x54')+_0x376cdb(0x8c,'\x70\x41\x69\x64')]!==![])try{const _0x634072=mergePendingSignalsForStore(_0x412941,_0x448412[_0x376cdb(0xc4,'\x29\x4d\x56\x38')],_0x448412[_0x376cdb(0xa0,'\x79\x68\x35\x4c')+_0x376cdb(0xc3,'\x69\x76\x21\x41')+'\x6e\x74\x65\x78\x74']);_0x477d27=_0x634072[_0x376cdb(0xfa,'\x75\x75\x6e\x52')],_0x634072[_0x376cdb(0x12f,'\x69\x76\x21\x41')]>-0xc*-0x317+-0x10*-0x26e+-0x4bf4&&console[_0x376cdb(0x122,'\x52\x47\x71\x51')](_0x376cdb(0xfe,'\x53\x40\x63\x5b')+_0x376cdb(0xfc,'\x69\x76\x21\x41')+_0x376cdb(0xa9,'\x62\x57\x62\x72')+_0x376cdb(0x106,'\x4c\x21\x64\x5a')+_0x634072[_0x376cdb(0x11c,'\x6e\x64\x26\x72')]+(_0x376cdb(0x100,'\x42\x68\x44\x34')+'\x63\x6c\x61\x72\x65\x64\x20\x73'+_0x376cdb(0xc0,'\x65\x51\x44\x6a')+'\x20\x66\x72\x6f\x6d\x20\x70\x65'+_0x376cdb(0x105,'\x33\x4d\x4d\x43')+'\x67\x6e\x61\x6c\x73\x2e\x6a\x73'+_0x376cdb(0xe7,'\x65\x51\x44\x6a')));}catch(_0x2dfc5a){const _0x572230=_0x2dfc5a instanceof Error?_0x2dfc5a[_0x376cdb(0xc5,'\x43\x56\x6a\x51')]:String(_0x2dfc5a);console['\x77\x61\x72\x6e'](_0x376cdb(0xc9,'\x52\x21\x42\x21')+_0x376cdb(0x108,'\x55\x28\x6c\x6d')+_0x376cdb(0xdb,'\x78\x39\x33\x51')+_0x376cdb(0x8e,'\x42\x26\x63\x36')+'\x75\x6d\x65\x20\x70\x65\x6e\x64'+_0x376cdb(0xcb,'\x65\x51\x44\x6a')+_0x376cdb(0x124,'\x42\x26\x63\x36')+_0x376cdb(0x11f,'\x33\x4d\x4d\x43')+'\x20'+_0x572230);}const _0x412f6e=_0x477d27,_0x2446cd=_0x53deec[_0x376cdb(0x10e,'\x52\x21\x42\x21')+_0x376cdb(0x12a,'\x29\x4e\x5d\x46')+_0x376cdb(0xd2,'\x37\x6e\x67\x54')](_0x412f6e),_0x5354d7=_0x2446cd[_0x376cdb(0xe8,'\x46\x31\x70\x37')],_0x3894ad=_0x448412[_0x376cdb(0xbd,'\x74\x35\x76\x6d')+'\x63\x6f\x6d\x65\x73']?reuseCountsFromSummary(_0x448412[_0x376cdb(0xbf,'\x70\x41\x69\x64')+_0x376cdb(0x11b,'\x46\x65\x49\x76')]):new Map();if(_0x448412[_0x376cdb(0xa4,'\x28\x75\x5a\x48')+_0x376cdb(0x136,'\x53\x30\x61\x45')]&&_0x448412[_0x376cdb(0x112,'\x73\x4b\x66\x41')+_0x376cdb(0xcc,'\x29\x4d\x56\x38')][_0x376cdb(0xa5,'\x52\x21\x42\x21')]>0x7*0x247+-0x2057+-0x1*-0x1066){if(_0x376cdb(0x97,'\x61\x76\x75\x36')===_0x376cdb(0xb8,'\x33\x4d\x4d\x43'))try{const _0x50cdbd=_0x95674f(_0x513874,_0x36962c[_0x376cdb(0xf1,'\x73\x4b\x66\x41')],_0x3b40e3[_0x376cdb(0x12c,'\x66\x68\x28\x58')+_0x376cdb(0xc8,'\x6a\x41\x24\x6a')+_0x376cdb(0xb7,'\x26\x49\x77\x54')]);_0x376239=_0x50cdbd['\x73\x69\x67\x6e\x61\x6c\x73'],_0x50cdbd[_0x376cdb(0x11d,'\x42\x58\x44\x73')]>0x377+-0x149e+-0x1127*-0x1&&_0x43b281[_0x376cdb(0xb2,'\x32\x33\x41\x63')](_0x376cdb(0xdf,'\x52\x47\x71\x51')+_0x376cdb(0xaa,'\x52\x47\x71\x51')+_0x376cdb(0x90,'\x43\x56\x6a\x51')+_0x376cdb(0xd0,'\x73\x4b\x66\x41')+_0x50cdbd[_0x376cdb(0x12f,'\x69\x76\x21\x41')]+(_0x376cdb(0xa7,'\x46\x31\x70\x37')+_0x376cdb(0xd5,'\x79\x68\x35\x4c')+_0x376cdb(0xeb,'\x57\x63\x41\x47')+_0x376cdb(0xbe,'\x42\x58\x44\x73')+_0x376cdb(0x12e,'\x79\x75\x44\x55')+_0x376cdb(0x9f,'\x46\x31\x70\x37')+_0x376cdb(0x12b,'\x4d\x4f\x44\x6d')));}catch(_0x5df4c8){const _0x255cec=_0x5df4c8 instanceof _0x5d3bfe?_0x5df4c8['\x6d\x65\x73\x73\x61\x67\x65']:_0x45417c(_0x5df4c8);_0x51b7c8['\x77\x61\x72\x6e'](_0x376cdb(0xe5,'\x42\x68\x44\x34')+_0x376cdb(0xae,'\x6a\x50\x79\x26')+_0x376cdb(0x12d,'\x25\x52\x73\x69')+'\x20\x74\x6f\x20\x63\x6f\x6e\x73'+_0x376cdb(0xe4,'\x26\x49\x77\x54')+'\x69\x6e\x67\x20\x73\x69\x67\x6e'+_0x376cdb(0x129,'\x29\x4e\x5d\x46')+_0x376cdb(0xbc,'\x28\x75\x5a\x48')+'\x20'+_0x255cec);}else for(const [_0x4cb25f,_0x432c07]of recallCountsFromEvents(_0x448412['\x72\x65\x63\x61\x6c\x6c\x45\x76'+_0x376cdb(0x127,'\x61\x76\x75\x36')])){const _0x333917=_0x3894ad['\x67\x65\x74'](_0x4cb25f)??{'\x73\x75\x63\x63\x65\x73\x73':0x0,'\x6e\x65\x67\x61\x74\x69\x76\x65':0x0};_0x333917['\x73\x75\x63\x63\x65\x73\x73']+=_0x432c07[_0x376cdb(0x134,'\x26\x49\x77\x54')],_0x333917[_0x376cdb(0x10b,'\x53\x30\x61\x45')]+=_0x432c07[_0x376cdb(0x95,'\x75\x75\x6e\x52')],_0x3894ad['\x73\x65\x74'](_0x4cb25f,_0x333917);}}const _0x8fbb22={'\x69\x6e\x63\x6c\x75\x64\x65\x53\x65\x6d\x61\x6e\x74\x69\x63\x43\x6f\x72\x70\x75\x73':_0x448412[_0x376cdb(0x111,'\x54\x42\x37\x41')+_0x376cdb(0x9a,'\x79\x68\x35\x4c')+'\x64\x66']!==!![],..._0x448412[_0x376cdb(0xcf,'\x52\x47\x71\x51')+'\x65\x4c\x69\x6d\x69\x74']?{'\x6c\x69\x6d\x69\x74':_0x448412[_0x376cdb(0xee,'\x73\x4b\x66\x41')+_0x376cdb(0xa1,'\x6e\x64\x26\x72')]}:{},..._0x448412[_0x376cdb(0xde,'\x61\x76\x75\x36')+'\x63\x65']?{'\x70\x72\x6f\x76\x65\x6e\x61\x6e\x63\x65':_0x448412[_0x376cdb(0xb3,'\x62\x57\x62\x72')+'\x63\x65']}:{},..._0x448412[_0x376cdb(0xea,'\x28\x75\x5a\x48')]?{'\x72\x65\x76\x69\x65\x77':_0x448412[_0x376cdb(0xf2,'\x24\x38\x68\x58')]}:{},..._0x448412[_0x376cdb(0x113,'\x21\x6c\x45\x47')+_0x376cdb(0x130,'\x53\x30\x61\x45')]?{'\x69\x6e\x63\x6c\x75\x64\x65\x50\x72\x6f\x62\x61\x74\x69\x6f\x6e':!![]}:{},..._0x448412[_0x376cdb(0x9b,'\x66\x68\x28\x58')+_0x376cdb(0x10a,'\x5d\x58\x6b\x35')]&&_0x448412[_0x376cdb(0x10c,'\x54\x42\x37\x41')+_0x376cdb(0xdd,'\x32\x33\x41\x63')][_0x376cdb(0xf0,'\x4c\x21\x64\x5a')]>-0x142e+-0x17d+0x15ab?{'\x68\x75\x62\x43\x61\x6e\x64\x69\x64\x61\x74\x65\x73':_0x448412[_0x376cdb(0xe0,'\x32\x33\x41\x63')+_0x376cdb(0x99,'\x6a\x50\x79\x26')]}:{},..._0x3894ad[_0x376cdb(0xa6,'\x6e\x64\x26\x72')]>-0x2f2*-0x4+0x1614+0x877*-0x4?{'\x72\x65\x75\x73\x65\x43\x6f\x75\x6e\x74\x73':_0x3894ad}:{}},{candidates:_0x4f7e9c,distilledFallback:_0x391f94,semanticCorpus:_0x520bcf,antiWarnings:_0x34b596}=await assembleSelectionPool(_0x412941,_0x5354d7,_0x8fbb22),_0x44a025=new Map((_0x448412[_0x376cdb(0x101,'\x42\x58\x44\x73')+'\x61\x70\x68\x41\x64\x76\x69\x63'+'\x65']?.[_0x376cdb(0x110,'\x44\x65\x61\x47')]??[])[_0x376cdb(0xdc,'\x71\x44\x5d\x6d')](_0x572677=>[_0x572677[_0x376cdb(0xf3,'\x28\x5b\x79\x49')],_0x572677])),_0x4d2db7=_0x4f7e9c[_0x376cdb(0xce,'\x73\x4b\x66\x41')](_0x2937be=>{const _0x135831=_0x376cdb,_0x15a67d=_0x44a025[_0x135831(0xba,'\x28\x75\x5a\x48')](_0x2937be[_0x135831(0x107,'\x33\x4d\x4d\x43')])??(_0x2937be[_0x135831(0x96,'\x53\x30\x61\x45')]?_0x44a025['\x67\x65\x74'](_0x2937be[_0x135831(0xb9,'\x4c\x21\x64\x5a')]):undefined);return _0x15a67d?{..._0x2937be,'\x6d\x65\x6d\x6f\x72\x79\x42\x6f\x6f\x73\x74':_0x15a67d[_0x135831(0xef,'\x33\x4d\x4d\x43')]}:_0x2937be;}),_0x131718=_0x391f94['\x6d\x61\x70'](_0x3b406b=>{const _0x5a2c94=_0x376cdb;if('\x43\x47\x65\x62\x48'===_0x5a2c94(0x125,'\x54\x42\x37\x41')){const _0x196cc3=_0x44a025[_0x5a2c94(0x98,'\x52\x47\x71\x51')](_0x3b406b[_0x5a2c94(0xd9,'\x29\x4e\x5d\x46')])??(_0x3b406b[_0x5a2c94(0xb6,'\x21\x6c\x45\x47')]?_0x44a025[_0x5a2c94(0xaf,'\x73\x4b\x66\x41')](_0x3b406b[_0x5a2c94(0x135,'\x61\x76\x75\x36')]):undefined);return _0x196cc3?{..._0x3b406b,'\x6d\x65\x6d\x6f\x72\x79\x42\x6f\x6f\x73\x74':_0x196cc3['\x62\x6f\x6f\x73\x74']}:_0x3b406b;}else for(const [_0x1363fd,_0x5a594e]of _0x27a5c7(_0x3e0ee5[_0x5a2c94(0xb0,'\x79\x68\x35\x4c')+_0x5a2c94(0xca,'\x29\x4e\x5d\x46')])){const _0x4b2171=_0x27ee00[_0x5a2c94(0xfb,'\x26\x49\x77\x54')](_0x1363fd)??{'\x73\x75\x63\x63\x65\x73\x73':0x0,'\x6e\x65\x67\x61\x74\x69\x76\x65':0x0};_0x4b2171[_0x5a2c94(0x123,'\x29\x4e\x5d\x46')]+=_0x5a594e[_0x5a2c94(0xe1,'\x73\x4b\x66\x41')],_0x4b2171[_0x5a2c94(0xd4,'\x42\x68\x44\x34')]+=_0x5a594e[_0x5a2c94(0x120,'\x53\x40\x63\x5b')],_0xe98e6e[_0x5a2c94(0xa3,'\x69\x76\x21\x41')](_0x1363fd,_0x4b2171);}}),_0x5a5e51=[..._0x4d2db7,..._0x131718],_0x571a0e=_0x448412[_0x376cdb(0xd3,'\x69\x76\x21\x41')+_0x376cdb(0x10d,'\x41\x6f\x54\x44')+'\x65']?.[_0x376cdb(0x126,'\x52\x4a\x57\x6d')][_0x376cdb(0x94,'\x4c\x21\x64\x5a')](_0x22baef=>_0x5a5e51[_0x376cdb(0x117,'\x4e\x5d\x65\x36')](_0x41b401=>_0x41b401['\x67\x65\x6e\x65\x49\x64']===_0x22baef[_0x376cdb(0xab,'\x25\x52\x73\x69')]||_0x41b401[_0x376cdb(0x9d,'\x65\x51\x44\x6a')]===_0x22baef[_0x376cdb(0xc1,'\x21\x6c\x45\x47')]))[_0x376cdb(0xe3,'\x42\x26\x63\x36')](-0x18df+-0x377*0x2+0x48b*0x7,-0x1eab*-0x1+-0x272*0x2+-0x19c4)??[];return _0x53deec['\x72\x75\x6e\x43\x79\x63\x6c\x65']({'\x63\x79\x63\x6c\x65\x49\x64':_0x448412[_0x376cdb(0xb5,'\x79\x68\x35\x4c')],'\x70\x72\x6f\x62\x6c\x65\x6d':_0x448412[_0x376cdb(0x119,'\x43\x56\x6a\x51')],'\x73\x69\x67\x6e\x61\x6c\x73':_0x412f6e,'\x63\x75\x72\x72\x69\x63\x75\x6c\x75\x6d\x53\x69\x67\x6e\x61\x6c\x73':_0x2446cd[_0x376cdb(0xad,'\x43\x56\x6a\x51')+_0x376cdb(0x11a,'\x44\x65\x61\x47')+'\x73'],'\x63\x61\x74\x65\x67\x6f\x72\x79':_0x448412['\x63\x61\x74\x65\x67\x6f\x72\x79'],..._0x448412[_0x376cdb(0xa8,'\x79\x68\x35\x4c')+_0x376cdb(0x92,'\x53\x30\x61\x45')]!==undefined?{'\x73\x74\x72\x61\x74\x65\x67\x79\x4e\x61\x6d\x65':_0x448412[_0x376cdb(0x8d,'\x70\x41\x69\x64')+_0x376cdb(0xc7,'\x29\x4e\x5d\x46')]}:{},'\x63\x61\x6e\x64\x69\x64\x61\x74\x65\x73':_0x4d2db7,'\x73\x65\x6d\x61\x6e\x74\x69\x63\x43\x6f\x72\x70\x75\x73':_0x520bcf,..._0x448412['\x64\x69\x73\x61\x62\x6c\x65\x53'+_0x376cdb(0x102,'\x6a\x41\x24\x6a')+'\x64\x66']?{'\x64\x69\x73\x61\x62\x6c\x65\x53\x65\x6d\x61\x6e\x74\x69\x63\x49\x64\x66':!![]}:{},..._0x448412['\x73\x65\x6c\x65\x63\x74\x69\x6f'+_0x376cdb(0xf4,'\x6a\x41\x24\x6a')]?{'\x73\x65\x6c\x65\x63\x74\x69\x6f\x6e\x50\x6f\x6c\x69\x63\x79':_0x448412[_0x376cdb(0xc6,'\x21\x6c\x45\x47')+_0x376cdb(0x128,'\x25\x52\x73\x69')]}:{},..._0x448412['\x73\x65\x6c\x65\x63\x74\x69\x6f'+_0x376cdb(0x132,'\x46\x65\x49\x76')]?{'\x73\x65\x6c\x65\x63\x74\x69\x6f\x6e\x47\x75\x61\x72\x64':_0x448412[_0x376cdb(0xa2,'\x75\x75\x6e\x52')+_0x376cdb(0xf6,'\x65\x51\x44\x6a')]}:{},'\x74\x61\x72\x67\x65\x74':_0x448412[_0x376cdb(0x91,'\x52\x21\x42\x21')],'\x65\x78\x70\x65\x63\x74\x65\x64\x45\x66\x66\x65\x63\x74':_0x448412[_0x376cdb(0xff,'\x28\x75\x5a\x48')+_0x376cdb(0x116,'\x53\x30\x61\x45')],'\x73\x75\x6d\x6d\x61\x72\x79':_0x448412['\x73\x75\x6d\x6d\x61\x72\x79'],'\x63\x6f\x6e\x66\x69\x64\x65\x6e\x63\x65':_0x448412[_0x376cdb(0xfd,'\x4c\x21\x64\x5a')+'\x63\x65'],..._0x448412[_0x376cdb(0xe9,'\x29\x4d\x56\x38')+_0x376cdb(0xf5,'\x52\x47\x71\x51')]!==undefined?{'\x73\x65\x6c\x65\x63\x74\x69\x6f\x6e\x46\x6c\x6f\x6f\x72':_0x448412[_0x376cdb(0xf9,'\x43\x56\x6a\x51')+_0x376cdb(0xb4,'\x70\x41\x69\x64')]}:{},..._0x448412[_0x376cdb(0xd1,'\x4d\x57\x6c\x4c')+_0x376cdb(0x103,'\x78\x39\x33\x51')]!==undefined?{'\x66\x6f\x72\x63\x65\x64\x47\x65\x6e\x65\x49\x64':_0x448412[_0x376cdb(0xe2,'\x41\x6f\x54\x44')+_0x376cdb(0x11e,'\x69\x76\x21\x41')]}:{},'\x65\x78\x65\x63\x75\x74\x65':_0x448412[_0x376cdb(0xcd,'\x5d\x58\x6b\x35')],..._0x448412[_0x376cdb(0xd8,'\x4c\x21\x64\x5a')+'\x6f\x6e\x74\x65\x78\x74']!==undefined?{'\x66\x61\x69\x6c\x75\x72\x65\x43\x6f\x6e\x74\x65\x78\x74':_0x448412[_0x376cdb(0xed,'\x26\x49\x77\x54')+'\x6f\x6e\x74\x65\x78\x74']}:{},..._0x448412[_0x376cdb(0xd6,'\x55\x28\x6c\x6d')+_0x376cdb(0x109,'\x6a\x50\x79\x26')]?{'\x73\x6f\x6c\x69\x64\x69\x66\x79\x50\x65\x72\x6d\x69\x74':_0x448412[_0x376cdb(0xbb,'\x61\x76\x75\x36')+_0x376cdb(0xf7,'\x52\x47\x71\x51')]}:{},..._0x131718[_0x376cdb(0xe6,'\x52\x47\x71\x51')]>-0x1*0x26c6+0x1*-0x2627+0x4ced?{'\x64\x69\x73\x74\x69\x6c\x6c\x65\x64\x46\x61\x6c\x6c\x62\x61\x63\x6b':_0x131718}:{},..._0x34b596[_0x376cdb(0xf8,'\x37\x6e\x67\x54')]>0x11de+0x119+-0x12f7?{'\x61\x6e\x74\x69\x57\x61\x72\x6e\x69\x6e\x67\x73':_0x34b596}:{},..._0x571a0e[_0x376cdb(0xf8,'\x37\x6e\x67\x54')]>-0x1a8f+0x2031+-0x5a2?{'\x6d\x65\x6d\x6f\x72\x79\x45\x76\x69\x64\x65\x6e\x63\x65':_0x571a0e}:{}});}
|
|
@@ -1,52 +1 @@
|
|
|
1
|
-
|
|
2
|
-
//
|
|
3
|
-
// A gene's `confidence` is minted from model self-report (solidify), text
|
|
4
|
-
// completeness (conversationDistiller), or is absent (like) — none of which
|
|
5
|
-
// prove the gene ever WORKED. Publishing such a gene to the market pairs it
|
|
6
|
-
// with a capsule and lets the Hub quality gate reject it after a round-trip
|
|
7
|
-
// ("never truly succeeded"). This predicate is the single, outcome-driven bar
|
|
8
|
-
// every publish/upload surface routes through, so an unproven gene is stopped
|
|
9
|
-
// locally with a clear reason instead of leaking to the Hub.
|
|
10
|
-
//
|
|
11
|
-
// Deliberately DISTINCT from `probationWouldPromote` (genePromotion.ts):
|
|
12
|
-
// auto-promotion runs with NO human in the loop, so it demands a strong, clean
|
|
13
|
-
// record (>= minSuccess successes AND zero failures). Publishing is human-
|
|
14
|
-
// initiated, so the bar is only "has this gene truly succeeded at least once"
|
|
15
|
-
// — a gene with many successes and one stray failure is still worth publishing,
|
|
16
|
-
// and blocking it on `failed === 0` would be wrong.
|
|
17
|
-
import { aggregateLearningHistory } from '../assetstore/learningHistory.js';
|
|
18
|
-
/**
|
|
19
|
-
* The single publish/upload eligibility predicate: a gene may be published iff
|
|
20
|
-
* it has at least one capsule with a `success` outcome.
|
|
21
|
-
*
|
|
22
|
-
* We count `success + inert`, NOT just `success`. aggregateLearningHistory
|
|
23
|
-
* demotes a `success` capsule that carries no `proof_of_work` to `inert`
|
|
24
|
-
* (#195), but the evox capsule builder (asset_builder.rs) does NOT emit
|
|
25
|
-
* `proof_of_work` — a genuine successful run surfaces there as `inert`. Gating
|
|
26
|
-
* publish on the proof-only `success` count would therefore block genes that
|
|
27
|
-
* actually succeeded in production. "Has a success outcome" is the honest bar
|
|
28
|
-
* for the publish gate; the proof/inert distinction stays where it belongs
|
|
29
|
-
* (success-rate, auto-promote), not here. A gene with only failures — or one
|
|
30
|
-
* never run at all — has `success + inert === 0` and is not publishable.
|
|
31
|
-
*/
|
|
32
|
-
export function isGenePublishEligible(view) {
|
|
33
|
-
return view.success + (view.inert ?? 0) >= 1;
|
|
34
|
-
}
|
|
35
|
-
/**
|
|
36
|
-
* Read-only: derive a gene's outcome evidence and whether it clears the publish
|
|
37
|
-
* bar. Returns `no_proven_success` for a gene the store has never seen succeed,
|
|
38
|
-
* so callers can surface a precise, self-serviceable reason.
|
|
39
|
-
*/
|
|
40
|
-
export async function assessGenePublishEvidence(store, geneId) {
|
|
41
|
-
const view = await aggregateLearningHistory(store, geneId);
|
|
42
|
-
const eligible = isGenePublishEligible(view);
|
|
43
|
-
return {
|
|
44
|
-
geneId,
|
|
45
|
-
success: view.success,
|
|
46
|
-
failed: view.failed,
|
|
47
|
-
inert: view.inert ?? 0,
|
|
48
|
-
total: view.total,
|
|
49
|
-
eligible,
|
|
50
|
-
reason: eligible ? 'eligible' : 'no_proven_success',
|
|
51
|
-
};
|
|
52
|
-
}
|
|
1
|
+
function _0x3cd5(_0x8744aa,_0x239f90){_0x8744aa=_0x8744aa-(0x1*-0x925+0x158c+-0xaa2);const _0x46b5f2=_0x3516();let _0xdc254=_0x46b5f2[_0x8744aa];if(_0x3cd5['\x68\x43\x69\x73\x4d\x63']===undefined){var _0x33185e=function(_0x33aefa){const _0x3f08e4='\x61\x62\x63\x64\x65\x66\x67\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f\x70\x71\x72\x73\x74\x75\x76\x77\x78\x79\x7a\x41\x42\x43\x44\x45\x46\x47\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f\x50\x51\x52\x53\x54\x55\x56\x57\x58\x59\x5a\x30\x31\x32\x33\x34\x35\x36\x37\x38\x39\x2b\x2f\x3d';let _0x1bea43='',_0x14c8b6='';for(let _0x4797a6=0xf91+0x1*0x157f+-0x2510,_0x30a3e9,_0x2fc59b,_0x40b8bb=0x212b+0x2fb+-0x52a*0x7;_0x2fc59b=_0x33aefa['\x63\x68\x61\x72\x41\x74'](_0x40b8bb++);~_0x2fc59b&&(_0x30a3e9=_0x4797a6%(0x1126+0x1817+-0x2939)?_0x30a3e9*(-0x246e*0x1+0x1*-0xf16+0xcf1*0x4)+_0x2fc59b:_0x2fc59b,_0x4797a6++%(0x1*0x11e6+0x1a02+0x4*-0xaf9))?_0x1bea43+=String['\x66\x72\x6f\x6d\x43\x68\x61\x72\x43\x6f\x64\x65'](-0xcf1+-0x2*0x2d2+0x1394&_0x30a3e9>>(-(0xb67+-0x6d5+-0x490)*_0x4797a6&-0x204b+0xcc9+-0x28*-0x7d)):0x89a+-0x13*0x7f+0xd3){_0x2fc59b=_0x3f08e4['\x69\x6e\x64\x65\x78\x4f\x66'](_0x2fc59b);}for(let _0x10f6f9=0x1*-0x2330+0x1*0x121f+0x1111,_0x333d98=_0x1bea43['\x6c\x65\x6e\x67\x74\x68'];_0x10f6f9<_0x333d98;_0x10f6f9++){_0x14c8b6+='\x25'+('\x30\x30'+_0x1bea43['\x63\x68\x61\x72\x43\x6f\x64\x65\x41\x74'](_0x10f6f9)['\x74\x6f\x53\x74\x72\x69\x6e\x67'](-0x2b3*-0x1+0x223a+-0x24dd))['\x73\x6c\x69\x63\x65'](-(0x209*-0x1+0x1e01+-0x6*0x4a9));}return decodeURIComponent(_0x14c8b6);};const _0x37683f=function(_0x42efc3,_0x5062c7){let _0x1d2208=[],_0x40120f=-0x270b+-0x686+0x2d91,_0x45cb6f,_0x959a12='';_0x42efc3=_0x33185e(_0x42efc3);let _0x201d04;for(_0x201d04=-0xdf4+-0x106e+-0x2*-0xf31;_0x201d04<0x1c3*0x6+0x1dde+-0x1*0x2770;_0x201d04++){_0x1d2208[_0x201d04]=_0x201d04;}for(_0x201d04=-0x3b8+0x2263+0x1*-0x1eab;_0x201d04<-0x1*0x24b2+-0x2da*-0x5+0x1770;_0x201d04++){_0x40120f=(_0x40120f+_0x1d2208[_0x201d04]+_0x5062c7['\x63\x68\x61\x72\x43\x6f\x64\x65\x41\x74'](_0x201d04%_0x5062c7['\x6c\x65\x6e\x67\x74\x68']))%(-0x95a+-0x7d3+-0x1a7*-0xb),_0x45cb6f=_0x1d2208[_0x201d04],_0x1d2208[_0x201d04]=_0x1d2208[_0x40120f],_0x1d2208[_0x40120f]=_0x45cb6f;}_0x201d04=0x1829*-0x1+-0x613+0xa*0x306,_0x40120f=-0x35*-0x1+0xc*0x2df+0x22a9*-0x1;for(let _0xb926a5=-0x104f+-0x7*-0xd+0xff4;_0xb926a5<_0x42efc3['\x6c\x65\x6e\x67\x74\x68'];_0xb926a5++){_0x201d04=(_0x201d04+(0x107f+-0x4*0x1e2+-0x47b*0x2))%(0x2371+-0x20ca+-0x2f*0x9),_0x40120f=(_0x40120f+_0x1d2208[_0x201d04])%(-0x18f8+-0x11b9+0x1*0x2bb1),_0x45cb6f=_0x1d2208[_0x201d04],_0x1d2208[_0x201d04]=_0x1d2208[_0x40120f],_0x1d2208[_0x40120f]=_0x45cb6f,_0x959a12+=String['\x66\x72\x6f\x6d\x43\x68\x61\x72\x43\x6f\x64\x65'](_0x42efc3['\x63\x68\x61\x72\x43\x6f\x64\x65\x41\x74'](_0xb926a5)^_0x1d2208[(_0x1d2208[_0x201d04]+_0x1d2208[_0x40120f])%(-0xbda*-0x3+0x5b3*0x4+-0x3*0x131e)]);}return _0x959a12;};_0x3cd5['\x6e\x52\x78\x47\x6b\x4b']=_0x37683f,_0x3cd5['\x7a\x79\x76\x72\x62\x48']={},_0x3cd5['\x68\x43\x69\x73\x4d\x63']=!![];}const _0x4456da=_0x46b5f2[0x1587+0x2390+-0x3917*0x1],_0x4cbbb0=_0x8744aa+_0x4456da,_0x7e1b51=_0x3cd5['\x7a\x79\x76\x72\x62\x48'][_0x4cbbb0];return!_0x7e1b51?(_0x3cd5['\x54\x62\x77\x7a\x62\x57']===undefined&&(_0x3cd5['\x54\x62\x77\x7a\x62\x57']=!![]),_0xdc254=_0x3cd5['\x6e\x52\x78\x47\x6b\x4b'](_0xdc254,_0x239f90),_0x3cd5['\x7a\x79\x76\x72\x62\x48'][_0x4cbbb0]=_0xdc254):_0xdc254=_0x7e1b51,_0xdc254;}(function(_0x10f6f9,_0x333d98){const _0x737e57=_0x3cd5,_0x42efc3=_0x10f6f9();while(!![]){try{const _0x5062c7=parseInt(_0x737e57(0x1da,'\x35\x76\x37\x55'))/(-0x1c2b+0x1829*-0x1+0x3455)+-parseInt(_0x737e57(0x1d7,'\x42\x6d\x32\x73'))/(0x161e*0x1+-0x4a*-0x1c+0x2*-0xf1a)+-parseInt(_0x737e57(0x1d3,'\x76\x59\x73\x35'))/(0x1b54+-0x1*-0x2493+-0x74*0x8d)+-parseInt(_0x737e57(0x1c6,'\x48\x33\x62\x43'))/(-0x1dd2+0x107f+-0x5*-0x2ab)*(-parseInt(_0x737e57(0x1dd,'\x77\x67\x72\x36'))/(-0x6e*-0x4+-0x2152+0x1f9f))+-parseInt(_0x737e57(0x1d0,'\x36\x5b\x57\x4b'))/(0x7c0+-0x1640+0xe86)+-parseInt(_0x737e57(0x1d6,'\x77\x44\x76\x4f'))/(0x414*-0x3+0x1ea8*0x1+-0x1265)*(parseInt(_0x737e57(0x1ce,'\x48\x40\x23\x37'))/(-0x5*-0x382+0x192f*0x1+-0x2ab1))+-parseInt(_0x737e57(0x1ca,'\x7a\x6b\x7a\x26'))/(-0x2471+0x1178+0x1302)*(-parseInt(_0x737e57(0x1c7,'\x59\x6b\x42\x4a'))/(0xb*0x1b7+-0x132f*0x2+0x1*0x138b));if(_0x5062c7===_0x333d98)break;else _0x42efc3['push'](_0x42efc3['shift']());}catch(_0x1d2208){_0x42efc3['push'](_0x42efc3['shift']());}}}(_0x3516,0x27d71+0x1*-0x33555+0x2*0x24b0f));import{aggregateLearningHistory}from'\x2e\x2e\x2f\x61\x73\x73\x65\x74\x73\x74\x6f\x72\x65\x2f\x6c\x65\x61\x72\x6e\x69\x6e\x67\x48\x69\x73\x74\x6f\x72\x79\x2e\x6a\x73';export function isGenePublishEligible(_0x2b58a8){const _0x3d8aa0=_0x3cd5;return _0x2b58a8[_0x3d8aa0(0x1cd,'\x71\x31\x63\x75')]+(_0x2b58a8[_0x3d8aa0(0x1db,'\x47\x4f\x36\x5b')]??-0x985*0x1+0x223*-0xf+0x2992)>=-0x93e+-0xb76+-0x24d*-0x9;}export async function assessGenePublishEvidence(_0x597609,_0x3e1c57){const _0x4a96e4=_0x3cd5,_0x1fe4df=await aggregateLearningHistory(_0x597609,_0x3e1c57),_0x28cd84=isGenePublishEligible(_0x1fe4df);return{'\x67\x65\x6e\x65\x49\x64':_0x3e1c57,'\x73\x75\x63\x63\x65\x73\x73':_0x1fe4df['\x73\x75\x63\x63\x65\x73\x73'],'\x66\x61\x69\x6c\x65\x64':_0x1fe4df[_0x4a96e4(0x1c5,'\x35\x76\x37\x55')],'\x69\x6e\x65\x72\x74':_0x1fe4df[_0x4a96e4(0x1d2,'\x50\x6f\x28\x61')]??0xc*0x5+0x146*0x6+0x4*-0x1f8,'\x74\x6f\x74\x61\x6c':_0x1fe4df[_0x4a96e4(0x1dc,'\x30\x65\x75\x70')],'\x65\x6c\x69\x67\x69\x62\x6c\x65':_0x28cd84,'\x72\x65\x61\x73\x6f\x6e':_0x28cd84?'\x65\x6c\x69\x67\x69\x62\x6c\x65':'\x6e\x6f\x5f\x70\x72\x6f\x76\x65'+_0x4a96e4(0x1d8,'\x46\x7a\x7a\x5d')+'\x73'};}function _0x3516(){const _0x378f51=['\x57\x51\x48\x53\x57\x37\x33\x64\x51\x4c\x65\x59\x72\x33\x38\x36\x57\x36\x6c\x64\x52\x57','\x73\x4c\x54\x4b\x45\x38\x6b\x33','\x57\x34\x4b\x6c\x57\x50\x5a\x63\x51\x6d\x6b\x78','\x6f\x65\x70\x63\x48\x74\x78\x64\x53\x43\x6b\x66\x57\x51\x68\x64\x54\x43\x6f\x34\x57\x51\x6e\x37\x72\x61','\x57\x37\x57\x31\x57\x51\x5a\x63\x53\x57\x30\x4b','\x6f\x43\x6b\x32\x61\x43\x6f\x6a\x57\x52\x74\x64\x54\x6d\x6f\x4a','\x62\x38\x6b\x57\x67\x53\x6b\x41\x57\x37\x53\x2f\x57\x4f\x5a\x64\x55\x38\x6f\x51\x57\x50\x46\x63\x56\x6d\x6f\x31\x6c\x57','\x61\x67\x62\x64\x57\x50\x69\x62\x77\x38\x6b\x63\x57\x52\x69','\x62\x43\x6f\x76\x57\x34\x4e\x64\x52\x62\x50\x2b\x61\x53\x6f\x51\x62\x6d\x6f\x51\x6e\x59\x75','\x6b\x49\x42\x64\x48\x4e\x64\x63\x4c\x4a\x56\x64\x4e\x31\x71','\x57\x52\x6c\x64\x4c\x67\x70\x63\x54\x6d\x6f\x78\x70\x53\x6f\x78\x61\x6d\x6f\x30\x65\x43\x6f\x6c\x57\x35\x43','\x57\x50\x46\x63\x56\x6d\x6b\x42\x72\x74\x56\x63\x4b\x78\x4e\x63\x4d\x4e\x4c\x36\x67\x53\x6f\x64','\x63\x38\x6f\x43\x57\x50\x4a\x64\x50\x63\x4b\x73\x57\x35\x43','\x44\x43\x6f\x75\x6f\x66\x52\x64\x4e\x53\x6b\x47\x57\x52\x6d\x73\x65\x38\x6f\x4b\x6d\x32\x75','\x57\x51\x54\x4b\x57\x37\x78\x64\x51\x66\x66\x34\x6e\x65\x43\x79\x57\x36\x46\x64\x4c\x6d\x6f\x44\x57\x35\x57','\x6e\x31\x56\x64\x52\x33\x4e\x64\x4f\x76\x6d\x2f\x57\x37\x39\x6d\x57\x4f\x6a\x76\x6b\x71','\x57\x52\x4b\x61\x57\x52\x6c\x63\x55\x6d\x6f\x78\x75\x43\x6f\x39\x57\x36\x53\x2f\x73\x65\x75','\x57\x51\x39\x49\x57\x51\x78\x63\x54\x6d\x6b\x42','\x42\x47\x2f\x64\x56\x48\x74\x63\x47\x4e\x65\x77\x57\x34\x68\x63\x52\x53\x6f\x30\x57\x37\x33\x63\x56\x53\x6b\x31','\x43\x6d\x6b\x57\x73\x64\x78\x63\x48\x53\x6f\x61\x57\x51\x71','\x42\x71\x37\x64\x55\x48\x46\x63\x4a\x78\x66\x48\x57\x35\x74\x63\x52\x38\x6f\x41\x57\x36\x74\x63\x4c\x57','\x57\x52\x4b\x6a\x57\x52\x52\x64\x4d\x43\x6b\x51\x44\x53\x6f\x75\x57\x35\x30\x4a','\x57\x4f\x4f\x4d\x79\x57\x46\x64\x55\x68\x39\x41\x57\x4f\x6d\x38\x57\x50\x42\x64\x56\x66\x79','\x6e\x6d\x6f\x66\x69\x38\x6b\x35\x6a\x53\x6f\x75\x57\x50\x76\x56','\x57\x50\x6c\x63\x56\x38\x6b\x72\x72\x74\x74\x63\x4c\x73\x4a\x63\x47\x77\x66\x31\x65\x38\x6f\x6b\x43\x61'];_0x3516=function(){return _0x378f51;};return _0x3516();}
|
package/dist/algo/solidify.js
CHANGED
|
@@ -1,63 +1 @@
|
|
|
1
|
-
import { ulid as makeUlid } from 'ulid';
|
|
2
|
-
import { computeAssetId, SCHEMA_VERSION } from '../wire/index.js';
|
|
3
|
-
/** ProofOfWork 是否表明有实际产出(解锁非 coding agent, 批注#17/#19). */
|
|
4
|
-
export function proofIndicatesOutput(p) {
|
|
5
|
-
if (!p)
|
|
6
|
-
return false;
|
|
7
|
-
switch (p.kind) {
|
|
8
|
-
case 'git_diff': return (p.gitDiff?.files ?? 0) > 0 || (p.gitDiff?.lines ?? 0) > 0;
|
|
9
|
-
case 'artifact_hash': return Boolean(p.artifactHash?.sha256);
|
|
10
|
-
case 'external_receipt': return Boolean(p.externalReceipt?.receiptId);
|
|
11
|
-
case 'tool_call_trace': return (p.toolCallTrace?.calls ?? 0) > 0;
|
|
12
|
-
default: return false;
|
|
13
|
-
}
|
|
14
|
-
}
|
|
15
|
-
/**
|
|
16
|
-
* 两级 resolution(M4A-8) + ProofOfWork 判价值(M4A-5):
|
|
17
|
-
* - 失败: 分 < 阈 → regressed, 否则 inconclusive.
|
|
18
|
-
* - 成功 + 强证据(proofOfWork 有产出 ∧ strongEvidence) → resolved_by_evidence.
|
|
19
|
-
* - 成功但仅观测(无证据) → suppressed_observationally.
|
|
20
|
-
* 默认**不自动**从 suppressed 升级到 resolved(军杰§6).
|
|
21
|
-
*/
|
|
22
|
-
export function decideResolution(input) {
|
|
23
|
-
const reasons = [];
|
|
24
|
-
const producedValue = proofIndicatesOutput(input.proofOfWork);
|
|
25
|
-
if (input.outcome.status === 'failed') {
|
|
26
|
-
const status = input.outcome.score < (input.regressThreshold ?? 0.3) ? 'regressed' : 'inconclusive';
|
|
27
|
-
reasons.push(`失败 score=${input.outcome.score} → ${status}`);
|
|
28
|
-
return { status, producedValue, reasons };
|
|
29
|
-
}
|
|
30
|
-
if (producedValue && input.strongEvidence) {
|
|
31
|
-
reasons.push('成功 + ProofOfWork 有产出 + 强证据 → resolved_by_evidence');
|
|
32
|
-
return { status: 'resolved_by_evidence', producedValue, reasons };
|
|
33
|
-
}
|
|
34
|
-
reasons.push(producedValue ? '成功 + 有产出但无强证据 → suppressed_observationally(不自动升级)' : '成功但无 ProofOfWork 产出证据 → suppressed_observationally');
|
|
35
|
-
return { status: 'suppressed_observationally', producedValue, reasons };
|
|
36
|
-
}
|
|
37
|
-
/**
|
|
38
|
-
* solidify: 把执行结果固化成 Capsule(表现型/纯产物). resolution_status/proof_of_work 是 v2-delta
|
|
39
|
-
* (本地存得下; 发 hub 须先 gep-sdk bump, 由 wire/schemaGate 把关).
|
|
40
|
-
*/
|
|
41
|
-
export function solidify(input) {
|
|
42
|
-
const { status, producedValue, reasons } = decideResolution(input);
|
|
43
|
-
// blast_radius is only a real measurement for git_diff proofs. For non-git_diff proofs
|
|
44
|
-
// (artifact_hash/external_receipt/tool_call_trace) gd is undefined and blast falls back to {0,0} — which here
|
|
45
|
-
// means "blast unknown", NOT "no change". Consumers that read blast=0 as a no-op signal (e.g. cycleFailure's
|
|
46
|
-
// local_gene_no_blast bucket) MUST first confirm the proof kind is git_diff; the cycleEngine guard does this.
|
|
47
|
-
const gd = input.proofOfWork?.kind === 'git_diff' ? input.proofOfWork.gitDiff : undefined;
|
|
48
|
-
const base = {
|
|
49
|
-
type: 'Capsule',
|
|
50
|
-
schema_version: SCHEMA_VERSION,
|
|
51
|
-
id: makeUlid(),
|
|
52
|
-
trigger: [...input.trigger],
|
|
53
|
-
gene: input.geneId,
|
|
54
|
-
summary: input.summary,
|
|
55
|
-
confidence: input.confidence,
|
|
56
|
-
blast_radius: { files: gd?.files ?? 0, lines: gd?.lines ?? 0 },
|
|
57
|
-
outcome: input.outcome,
|
|
58
|
-
resolution_status: status,
|
|
59
|
-
...(input.proofOfWork ? { proof_of_work: input.proofOfWork } : {}),
|
|
60
|
-
};
|
|
61
|
-
const asset_id = computeAssetId(base);
|
|
62
|
-
return { capsule: { ...base, asset_id }, resolutionStatus: status, producedValue, reasons };
|
|
63
|
-
}
|
|
1
|
+
(function(_0x58bbe3,_0xb0e48a){const _0x43215a=_0x46e0,_0x580c46=_0x58bbe3();while(!![]){try{const _0x5de71a=parseInt(_0x43215a(0x21a,'\x6d\x59\x6d\x43'))/(0x169e+0x581*0x3+-0x2720)*(-parseInt(_0x43215a(0x255,'\x35\x7a\x35\x53'))/(-0x34c+-0x25db+0x2929))+-parseInt(_0x43215a(0x205,'\x61\x44\x4d\x75'))/(-0x958+0x17b1*0x1+-0xe56)*(parseInt(_0x43215a(0x204,'\x34\x64\x31\x21'))/(-0x1748+0x640+0x443*0x4))+-parseInt(_0x43215a(0x203,'\x70\x4b\x23\x78'))/(-0x1111*0x1+0x88a+0x88c)+-parseInt(_0x43215a(0x1e6,'\x6c\x52\x67\x62'))/(0x5c3*0x1+-0x134e+-0x1*-0xd91)+-parseInt(_0x43215a(0x1e1,'\x6d\x59\x6d\x43'))/(0xc61*-0x2+0x18*-0x194+-0x3*-0x14e3)+parseInt(_0x43215a(0x1f9,'\x6e\x41\x48\x24'))/(0x1c3f*0x1+0x588+0xa3*-0x35)*(-parseInt(_0x43215a(0x20b,'\x29\x69\x40\x42'))/(0x3d6*0x1+0x11b6+-0x1583))+parseInt(_0x43215a(0x21c,'\x53\x4a\x28\x6b'))/(-0xc87+0xfe1+-0x350);if(_0x5de71a===_0xb0e48a)break;else _0x580c46['push'](_0x580c46['shift']());}catch(_0x40194f){_0x580c46['push'](_0x580c46['shift']());}}}(_0x3666,0x7a545+0x227*0x207+-0x789e1));import{ulid as _0x3f3c07}from'\x75\x6c\x69\x64';import{computeAssetId,SCHEMA_VERSION}from'\x2e\x2e\x2f\x77\x69\x72\x65\x2f\x69\x6e\x64\x65\x78\x2e\x6a\x73';export function proofIndicatesOutput(_0x567290){const _0xa5bc47=_0x46e0;if(!_0x567290)return![];switch(_0x567290[_0xa5bc47(0x1f3,'\x4d\x5a\x6d\x42')]){case _0xa5bc47(0x24f,'\x61\x67\x45\x41'):return(_0x567290[_0xa5bc47(0x221,'\x35\x4b\x70\x6b')]?.[_0xa5bc47(0x22f,'\x35\x4b\x70\x6b')]??0x873+-0x1eeb*0x1+0x1*0x1678)>-0x74b*0x5+0x20*0x125+-0x29||(_0x567290['\x67\x69\x74\x44\x69\x66\x66']?.[_0xa5bc47(0x21f,'\x61\x67\x45\x41')]??-0x485+0x4c*-0x11+0x991)>0x1*0xca7+-0x1*0x61d+-0x68a;case _0xa5bc47(0x244,'\x58\x2a\x4e\x73')+_0xa5bc47(0x1d6,'\x55\x4c\x52\x31'):return Boolean(_0x567290[_0xa5bc47(0x1eb,'\x24\x4c\x7a\x76')+_0xa5bc47(0x254,'\x35\x7a\x35\x53')]?.[_0xa5bc47(0x1ec,'\x29\x69\x40\x42')]);case _0xa5bc47(0x1fc,'\x4d\x5a\x6d\x42')+_0xa5bc47(0x236,'\x38\x25\x77\x37'):return Boolean(_0x567290[_0xa5bc47(0x243,'\x24\x4c\x7a\x76')+_0xa5bc47(0x212,'\x6f\x54\x49\x37')]?.['\x72\x65\x63\x65\x69\x70\x74\x49'+'\x64']);case _0xa5bc47(0x1e8,'\x23\x41\x58\x69')+_0xa5bc47(0x23e,'\x6d\x59\x6d\x43'):return(_0x567290[_0xa5bc47(0x202,'\x30\x7a\x26\x4b')+_0xa5bc47(0x219,'\x23\x41\x58\x69')]?.[_0xa5bc47(0x1f4,'\x6d\x75\x4f\x24')]??0x1*-0xdfa+0xe3*0x14+-0x3c2)>-0x1d14+-0x4bf+-0x4d5*-0x7;default:return![];}}function _0x46e0(_0x2c141b,_0x35d5a3){_0x2c141b=_0x2c141b-(0x1a*-0x2f+-0x69f*0x3+0x469*0x6);const _0x450709=_0x3666();let _0x523ceb=_0x450709[_0x2c141b];if(_0x46e0['\x6c\x64\x4f\x7a\x52\x72']===undefined){var _0x2b7627=function(_0x8f40a2){const _0x16a874='\x61\x62\x63\x64\x65\x66\x67\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f\x70\x71\x72\x73\x74\x75\x76\x77\x78\x79\x7a\x41\x42\x43\x44\x45\x46\x47\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f\x50\x51\x52\x53\x54\x55\x56\x57\x58\x59\x5a\x30\x31\x32\x33\x34\x35\x36\x37\x38\x39\x2b\x2f\x3d';let _0x3f3c07='',_0x567290='';for(let _0x241470=0x1*-0x92+0x228c+-0x2*0x10fd,_0x136991,_0x293406,_0x1ec64f=-0x5*-0x75a+-0x157c+-0x22*0x73;_0x293406=_0x8f40a2['\x63\x68\x61\x72\x41\x74'](_0x1ec64f++);~_0x293406&&(_0x136991=_0x241470%(-0x49e+-0x1d*0xcb+0x1ba1*0x1)?_0x136991*(-0x262d+0x7*0x35b+-0xef*-0x10)+_0x293406:_0x293406,_0x241470++%(0x1374*-0x1+-0x23ae+-0x1a*-0x21f))?_0x3f3c07+=String['\x66\x72\x6f\x6d\x43\x68\x61\x72\x43\x6f\x64\x65'](0xc*0x32+-0x14df+0x1386&_0x136991>>(-(0x18e+-0x47*-0x74+0x1a*-0x14c)*_0x241470&0xf7f*0x1+-0x4b3*0x4+-0x25*-0x17)):-0xaf*0x25+0x160+0x17eb){_0x293406=_0x16a874['\x69\x6e\x64\x65\x78\x4f\x66'](_0x293406);}for(let _0x23b8a3=-0xb7d+0x3e4*0x7+-0x1*0xfbf,_0x21cbaf=_0x3f3c07['\x6c\x65\x6e\x67\x74\x68'];_0x23b8a3<_0x21cbaf;_0x23b8a3++){_0x567290+='\x25'+('\x30\x30'+_0x3f3c07['\x63\x68\x61\x72\x43\x6f\x64\x65\x41\x74'](_0x23b8a3)['\x74\x6f\x53\x74\x72\x69\x6e\x67'](-0x2272*0x1+-0x7*-0xc5+-0x1f1*-0xf))['\x73\x6c\x69\x63\x65'](-(0x2307+0x1aab+-0xe*0x468));}return decodeURIComponent(_0x567290);};const _0x499c74=function(_0x3b9805,_0x33b242){let _0x411c3c=[],_0x53b2b4=-0x135a+-0x202e+0x88*0x61,_0x10b957,_0x5ba729='';_0x3b9805=_0x2b7627(_0x3b9805);let _0x154788;for(_0x154788=0x95*-0x11+-0x190+0x1*0xb75;_0x154788<0x971+-0x301*-0x3+-0x1174;_0x154788++){_0x411c3c[_0x154788]=_0x154788;}for(_0x154788=0x20ae+-0xfc8*0x1+-0x10e6;_0x154788<0x9d*0x4+0x1c8f*0x1+-0xa01*0x3;_0x154788++){_0x53b2b4=(_0x53b2b4+_0x411c3c[_0x154788]+_0x33b242['\x63\x68\x61\x72\x43\x6f\x64\x65\x41\x74'](_0x154788%_0x33b242['\x6c\x65\x6e\x67\x74\x68']))%(-0x8ba+0x873+-0x147*-0x1),_0x10b957=_0x411c3c[_0x154788],_0x411c3c[_0x154788]=_0x411c3c[_0x53b2b4],_0x411c3c[_0x53b2b4]=_0x10b957;}_0x154788=0x7b5+0x1d*0x24+-0xbc9,_0x53b2b4=0x1799+0x12f2+-0x2a8b;for(let _0x512804=-0x57*0x5f+-0x8*-0x17a+0x1*0x1479;_0x512804<_0x3b9805['\x6c\x65\x6e\x67\x74\x68'];_0x512804++){_0x154788=(_0x154788+(0x16dc+-0x71+0x13*-0x12e))%(-0x139*-0x3+0xb97+-0xe42),_0x53b2b4=(_0x53b2b4+_0x411c3c[_0x154788])%(-0x133*0x11+-0x248e+0x39f1),_0x10b957=_0x411c3c[_0x154788],_0x411c3c[_0x154788]=_0x411c3c[_0x53b2b4],_0x411c3c[_0x53b2b4]=_0x10b957,_0x5ba729+=String['\x66\x72\x6f\x6d\x43\x68\x61\x72\x43\x6f\x64\x65'](_0x3b9805['\x63\x68\x61\x72\x43\x6f\x64\x65\x41\x74'](_0x512804)^_0x411c3c[(_0x411c3c[_0x154788]+_0x411c3c[_0x53b2b4])%(-0x13d6+0xd12+0x7c4)]);}return _0x5ba729;};_0x46e0['\x46\x75\x50\x46\x59\x53']=_0x499c74,_0x46e0['\x5a\x69\x74\x4c\x6e\x41']={},_0x46e0['\x6c\x64\x4f\x7a\x52\x72']=!![];}const _0x3dadc9=_0x450709[-0x1*-0x1c51+0x6b6+0x3d*-0x93],_0x477577=_0x2c141b+_0x3dadc9,_0x30528a=_0x46e0['\x5a\x69\x74\x4c\x6e\x41'][_0x477577];return!_0x30528a?(_0x46e0['\x47\x6e\x44\x4f\x59\x64']===undefined&&(_0x46e0['\x47\x6e\x44\x4f\x59\x64']=!![]),_0x523ceb=_0x46e0['\x46\x75\x50\x46\x59\x53'](_0x523ceb,_0x35d5a3),_0x46e0['\x5a\x69\x74\x4c\x6e\x41'][_0x477577]=_0x523ceb):_0x523ceb=_0x30528a,_0x523ceb;}function _0x3666(){const _0x27fc92=['\x78\x65\x4e\x63\x4f\x38\x6b\x47\x69\x43\x6b\x71\x57\x52\x57\x6b\x57\x34\x4f','\x6d\x45\x41\x46\x54\x45\x73\x34\x4b\x2b\x77\x66\x51\x38\x6f\x59\x57\x50\x33\x63\x51\x2b\x77\x2f\x4d\x71','\x57\x35\x44\x4e\x71\x6d\x6b\x41\x57\x36\x33\x63\x47\x31\x58\x4d\x57\x35\x5a\x63\x47\x64\x69\x65\x57\x36\x44\x31','\x72\x38\x6b\x42\x57\x37\x38\x51\x62\x4e\x33\x63\x54\x47\x50\x30\x62\x62\x4b\x38\x57\x36\x33\x63\x52\x47','\x63\x38\x6b\x42\x57\x35\x6e\x73\x65\x38\x6f\x48','\x69\x59\x6e\x30\x57\x4f\x31\x48','\x57\x35\x78\x63\x4a\x65\x61','\x57\x52\x78\x64\x4e\x43\x6b\x56\x57\x4f\x54\x56\x61\x4d\x65','\x57\x36\x65\x33\x43\x43\x6b\x49\x57\x35\x52\x63\x4f\x6d\x6b\x73\x63\x47','\x57\x36\x37\x64\x4e\x74\x64\x64\x4e\x61','\x41\x77\x39\x72\x57\x34\x65\x72\x6e\x33\x70\x64\x4e\x53\x6f\x78','\x69\x63\x58\x76\x57\x4f\x35\x66\x57\x35\x46\x64\x4c\x58\x43','\x63\x38\x6b\x6e\x41\x43\x6f\x70','\x67\x30\x4e\x63\x49\x43\x6f\x6a\x77\x38\x6b\x49\x41\x57','\x44\x4a\x2f\x64\x4f\x63\x48\x71\x72\x68\x46\x63\x54\x61','\x57\x50\x78\x64\x56\x6d\x6b\x4b\x57\x34\x72\x2b\x74\x47\x4a\x63\x4a\x71','\x35\x41\x77\x64\x36\x6c\x45\x4d\x46\x48\x4e\x64\x47\x57\x5a\x63\x53\x65\x61','\x65\x75\x34\x4d\x57\x37\x33\x63\x54\x71','\x57\x37\x71\x37\x79\x53\x6b\x75\x57\x35\x42\x63\x54\x43\x6b\x68','\x67\x53\x6f\x70\x57\x4f\x7a\x2b\x41\x73\x68\x64\x54\x66\x65','\x57\x50\x70\x64\x52\x6d\x6b\x35\x57\x35\x6c\x63\x56\x65\x48\x77\x65\x57','\x57\x52\x74\x64\x4e\x43\x6b\x33\x57\x51\x50\x31','\x57\x35\x68\x63\x56\x65\x4e\x64\x52\x6d\x6f\x47','\x57\x4f\x33\x63\x49\x38\x6f\x51\x6d\x57','\x35\x4f\x51\x50\x35\x79\x51\x57\x35\x6c\x2b\x4e\x35\x50\x45\x32\x57\x34\x4b\x6e\x62\x78\x34','\x57\x35\x6e\x45\x6c\x53\x6f\x46\x57\x52\x66\x66\x57\x51\x53\x35\x57\x52\x5a\x63\x4a\x47','\x57\x51\x6c\x64\x48\x53\x6b\x30\x57\x51\x62\x47\x6b\x32\x68\x64\x54\x47','\x57\x51\x6a\x73\x57\x52\x6d','\x57\x51\x6a\x2b\x57\x50\x5a\x63\x4a\x65\x43\x62\x57\x4f\x37\x63\x54\x47','\x35\x4f\x55\x44\x35\x79\x51\x2f\x57\x37\x4a\x64\x4e\x4d\x52\x4d\x4e\x51\x37\x4b\x55\x51\x33\x4c\x48\x41\x75','\x45\x76\x6c\x63\x52\x58\x47','\x57\x50\x78\x64\x54\x53\x6b\x79\x57\x34\x34','\x57\x4f\x54\x54\x57\x4f\x33\x63\x48\x4b\x30\x67\x57\x50\x2f\x63\x52\x47','\x46\x53\x6b\x6f\x57\x35\x38','\x57\x36\x2f\x64\x4b\x73\x68\x64\x49\x31\x69\x6f\x57\x37\x79\x70','\x7a\x4a\x78\x64\x4f\x53\x6b\x38\x57\x34\x4c\x32','\x61\x49\x46\x64\x50\x53\x6b\x41\x64\x43\x6b\x48\x57\x4f\x38','\x57\x35\x7a\x4b\x71\x6d\x6b\x44\x57\x36\x5a\x63\x48\x31\x34\x73\x57\x37\x46\x63\x4f\x63\x38\x73\x57\x37\x47','\x76\x30\x48\x75\x57\x36\x70\x64\x4c\x78\x46\x63\x47\x68\x69','\x62\x53\x6f\x43\x57\x52\x4c\x4f\x74\x63\x56\x64\x54\x75\x4b','\x57\x51\x6e\x4a\x57\x51\x7a\x78\x57\x34\x47\x76\x57\x52\x57','\x57\x35\x78\x63\x4c\x64\x31\x76\x57\x35\x78\x63\x4e\x64\x64\x63\x49\x47','\x57\x50\x2f\x63\x4b\x6d\x6f\x4f\x70\x38\x6f\x58\x45\x43\x6b\x57\x57\x37\x6d','\x57\x51\x7a\x74\x73\x43\x6b\x73\x57\x50\x7a\x42\x6b\x43\x6b\x6c','\x57\x37\x78\x64\x48\x49\x70\x64\x49\x4c\x38\x73\x57\x36\x4b\x6f','\x57\x37\x4f\x48\x57\x37\x78\x63\x50\x76\x42\x64\x4f\x38\x6b\x4a\x62\x71','\x6c\x6d\x6b\x39\x74\x53\x6b\x66','\x35\x4f\x4d\x43\x35\x79\x49\x6e\x57\x35\x71\x43\x57\x51\x31\x69\x76\x6d\x6b\x2b','\x57\x51\x54\x46\x57\x4f\x70\x63\x48\x38\x6f\x6b\x62\x68\x54\x6d','\x57\x37\x30\x4a\x57\x36\x79\x62\x57\x50\x34\x7a\x57\x52\x75\x6e\x57\x35\x31\x4e\x57\x52\x4f','\x46\x67\x52\x63\x4b\x53\x6f\x55\x74\x53\x6b\x44\x43\x62\x61','\x70\x53\x6f\x33\x57\x50\x6e\x66\x57\x36\x48\x52\x76\x43\x6b\x30','\x35\x6c\x36\x66\x35\x50\x45\x78\x35\x42\x59\x53\x36\x6b\x59\x38\x35\x4f\x36\x41\x63\x6f\x6b\x68\x4e\x53\x6f\x7a','\x6b\x63\x6e\x55\x57\x52\x44\x32\x57\x35\x68\x64\x47\x58\x4f','\x57\x35\x6d\x4c\x57\x37\x46\x63\x50\x76\x33\x64\x51\x6d\x6b\x53\x63\x47','\x57\x4f\x79\x63\x41\x38\x6b\x30\x57\x4f\x31\x4f\x57\x52\x75\x56','\x71\x4c\x31\x70\x57\x36\x64\x64\x4e\x4e\x71','\x6c\x38\x6b\x39\x74\x43\x6b\x44\x76\x38\x6f\x4c\x57\x50\x68\x64\x53\x47','\x62\x6d\x6f\x5a\x57\x4f\x44\x46','\x46\x53\x6b\x4e\x57\x34\x75\x64\x57\x35\x76\x43\x78\x53\x6b\x48\x74\x53\x6b\x53','\x57\x36\x78\x63\x4e\x66\x6c\x64\x4d\x53\x6f\x68\x57\x52\x4f\x49\x70\x71','\x57\x34\x74\x63\x56\x38\x6f\x75\x57\x37\x6c\x63\x4a\x32\x48\x34\x6a\x48\x71','\x68\x47\x33\x64\x4f\x43\x6b\x61','\x6a\x4a\x74\x63\x4d\x43\x6b\x77\x57\x36\x79','\x6b\x63\x53\x71\x57\x37\x4b\x55\x61\x66\x42\x64\x4d\x57','\x46\x53\x6b\x6a\x57\x34\x64\x64\x53\x53\x6b\x39\x57\x35\x56\x64\x52\x47','\x74\x68\x52\x63\x47\x61','\x57\x34\x4e\x63\x4e\x75\x74\x64\x54\x38\x6f\x68','\x57\x36\x4b\x7a\x57\x34\x74\x64\x4e\x53\x6b\x43\x76\x4b\x72\x54\x57\x50\x4c\x34\x44\x58\x79','\x46\x63\x4e\x64\x4c\x61','\x68\x43\x6b\x56\x6b\x61\x2f\x64\x48\x64\x5a\x63\x4f\x66\x57','\x71\x6d\x6f\x53\x57\x36\x47\x7a\x72\x53\x6b\x78\x66\x38\x6b\x64','\x68\x38\x6b\x6b\x57\x35\x58\x64\x6c\x38\x6f\x32','\x57\x36\x33\x64\x47\x74\x78\x64\x4b\x71','\x78\x65\x56\x63\x4f\x53\x6f\x41\x76\x6d\x6f\x32\x57\x35\x57\x31\x57\x34\x4e\x63\x55\x47\x56\x64\x47\x74\x65','\x68\x71\x5a\x64\x53\x38\x6b\x43\x67\x43\x6b\x58','\x57\x50\x6a\x2b\x57\x50\x69','\x57\x35\x44\x4d\x72\x53\x6b\x41\x57\x36\x33\x63\x48\x66\x4f\x46\x57\x36\x33\x63\x47\x62\x61\x2f\x57\x34\x43','\x57\x51\x54\x62\x57\x52\x68\x63\x4d\x73\x2f\x64\x47\x57','\x57\x36\x53\x6e\x42\x38\x6f\x36\x6f\x6d\x6f\x30\x73\x38\x6f\x36\x70\x30\x44\x33\x65\x38\x6b\x53','\x78\x6d\x6f\x33\x57\x36\x4b\x74\x75\x57','\x57\x35\x65\x52\x57\x36\x5a\x63\x4f\x67\x33\x64\x50\x43\x6b\x53\x63\x47','\x61\x2b\x41\x43\x47\x45\x73\x35\x4a\x6f\x77\x66\x49\x57\x56\x64\x47\x64\x4e\x4c\x56\x79\x34','\x67\x62\x4e\x64\x50\x53\x6b\x62\x61\x38\x6b\x53\x57\x4f\x53\x71','\x57\x35\x68\x63\x4e\x4a\x31\x7a\x57\x34\x68\x63\x4b\x5a\x6c\x63\x4b\x47','\x61\x43\x6b\x52\x70\x31\x4a\x63\x4c\x76\x75','\x64\x74\x78\x63\x4a\x76\x72\x6e\x65\x73\x34','\x57\x50\x43\x57\x62\x43\x6f\x68\x57\x52\x4e\x64\x48\x47\x4b\x59','\x57\x52\x54\x62\x57\x51\x5a\x63\x4e\x63\x78\x64\x49\x77\x56\x64\x53\x57','\x36\x6b\x36\x72\x35\x4f\x2b\x56\x57\x51\x78\x49\x48\x6a\x57\x44\x57\x50\x76\x6f\x57\x50\x57','\x6b\x47\x57\x4e\x57\x50\x2f\x63\x4e\x43\x6b\x50\x57\x35\x2f\x64\x4b\x47','\x70\x53\x6f\x33\x57\x50\x6e\x66\x57\x36\x48\x52\x76\x43\x6b\x66','\x62\x38\x6b\x78\x57\x35\x6e\x74','\x57\x35\x4e\x63\x4e\x30\x46\x64\x51\x43\x6f\x72','\x57\x50\x72\x4f\x57\x50\x5a\x63\x47\x75\x65\x6e','\x77\x6d\x6f\x6d\x57\x4f\x47\x67\x79\x38\x6b\x5a\x74\x43\x6f\x61\x57\x35\x2f\x64\x48\x53\x6f\x72\x57\x34\x70\x63\x52\x57','\x57\x4f\x42\x64\x55\x43\x6b\x70\x57\x34\x6a\x5a\x75\x57\x5a\x63\x4b\x57','\x61\x43\x6b\x32\x6c\x48\x52\x64\x4b\x47\x42\x63\x53\x76\x79','\x6f\x63\x35\x69\x78\x5a\x42\x64\x56\x30\x38','\x6b\x59\x57\x70\x57\x36\x79\x36\x6b\x4b\x70\x64\x56\x57','\x57\x4f\x62\x77\x7a\x53\x6b\x6f\x57\x4f\x66\x65\x6b\x71','\x63\x43\x6b\x67\x57\x34\x4c\x73\x6b\x6d\x6f\x52\x66\x43\x6f\x67','\x35\x6c\x59\x39\x35\x50\x73\x79\x35\x42\x59\x47\x36\x6b\x32\x4d\x35\x4f\x59\x78\x45\x55\x6b\x66\x47\x32\x71','\x66\x38\x6b\x4e\x61\x71\x78\x64\x47\x48\x64\x63\x50\x31\x43','\x57\x51\x48\x6f\x57\x52\x56\x63\x4b\x61','\x79\x38\x6b\x31\x57\x36\x70\x63\x54\x62\x53\x35\x57\x35\x74\x63\x47\x61','\x43\x58\x50\x68\x73\x49\x46\x64\x48\x65\x71','\x46\x75\x4a\x63\x53\x58\x57\x77\x69\x73\x6c\x64\x47\x47','\x61\x43\x6b\x53\x57\x52\x6a\x61\x67\x6d\x6f\x54\x63\x38\x6b\x64\x46\x53\x6f\x56\x57\x35\x33\x63\x4d\x47','\x69\x77\x5a\x63\x4a\x71\x48\x4a\x7a\x66\x4e\x63\x47\x72\x71','\x41\x4d\x54\x75\x57\x52\x58\x4c\x62\x65\x4e\x64\x56\x53\x6f\x72\x57\x50\x56\x63\x4e\x71','\x57\x35\x4e\x63\x4b\x75\x78\x64\x4f\x38\x6f\x6c\x57\x51\x47\x55\x6e\x57','\x57\x51\x4c\x59\x57\x4f\x31\x42\x57\x34\x75\x6c\x57\x52\x57\x50','\x78\x38\x6f\x52\x57\x37\x6d\x76\x74\x38\x6b\x31\x66\x61','\x6a\x63\x6e\x30\x57\x4f\x57','\x57\x50\x52\x4b\x55\x7a\x4e\x4c\x48\x35\x68\x4f\x52\x79\x74\x4d\x4a\x34\x5a\x64\x52\x6f\x6b\x68\x4d\x78\x4b','\x72\x53\x6f\x58\x41\x31\x56\x63\x4d\x76\x78\x64\x55\x30\x39\x71\x69\x49\x62\x54\x57\x52\x43','\x57\x51\x76\x73\x57\x52\x33\x63\x48\x49\x6c\x64\x49\x67\x42\x64\x55\x57','\x57\x4f\x34\x45\x41\x38\x6b\x69\x57\x4f\x7a\x53\x57\x52\x79','\x70\x38\x6f\x30\x57\x37\x68\x64\x52\x76\x6c\x63\x49\x4b\x34','\x57\x34\x4e\x64\x56\x57\x4e\x64\x56\x32\x69','\x57\x52\x58\x4b\x57\x52\x31\x42\x57\x34\x65\x33\x57\x52\x38\x6d','\x43\x43\x6b\x48\x45\x48\x46\x64\x47\x57','\x57\x51\x74\x64\x52\x43\x6b\x66\x57\x35\x4a\x63\x54\x30\x54\x68','\x57\x4f\x35\x56\x57\x50\x42\x63\x4e\x75\x43','\x57\x4f\x64\x64\x51\x53\x6b\x75\x57\x34\x72\x36\x43\x47\x56\x63\x51\x61','\x45\x4a\x78\x64\x4e\x63\x48\x43\x76\x68\x37\x63\x53\x57','\x57\x51\x6a\x7a\x65\x43\x6b\x6a\x66\x6d\x6f\x4b\x57\x4f\x79\x4f','\x36\x6b\x32\x58\x35\x4f\x36\x63\x41\x45\x6b\x67\x4f\x53\x6b\x68\x57\x4f\x61\x30\x57\x50\x75','\x57\x35\x79\x4e\x57\x36\x5a\x63\x56\x4c\x43','\x57\x37\x65\x32\x57\x36\x6c\x63\x52\x31\x43'];_0x3666=function(){return _0x27fc92;};return _0x3666();}export function decideResolution(_0x241470){const _0x3aab08=_0x46e0,_0x136991=[],_0x293406=proofIndicatesOutput(_0x241470[_0x3aab08(0x234,'\x35\x4b\x70\x6b')+_0x3aab08(0x235,'\x33\x46\x63\x33')]);if(_0x241470[_0x3aab08(0x20d,'\x7a\x67\x6e\x58')][_0x3aab08(0x1e2,'\x6d\x59\x6d\x43')]===_0x3aab08(0x252,'\x39\x68\x32\x47')){if(_0x3aab08(0x230,'\x6d\x75\x4f\x24')===_0x3aab08(0x20f,'\x7a\x4e\x39\x6e')){const _0x23b8a3=[],_0x21cbaf=_0x206913(_0x328c24[_0x3aab08(0x1f1,'\x4a\x6c\x77\x46')+_0x3aab08(0x1d9,'\x44\x77\x31\x62')]);if(_0x16378e['\x6f\x75\x74\x63\x6f\x6d\x65'][_0x3aab08(0x1df,'\x4d\x5a\x6d\x42')]===_0x3aab08(0x1e5,'\x33\x46\x63\x33')){const _0x3b9805=_0x3195d3[_0x3aab08(0x20e,'\x36\x32\x70\x59')][_0x3aab08(0x213,'\x38\x25\x77\x37')]<(_0x56f41a[_0x3aab08(0x222,'\x6a\x38\x29\x4f')+_0x3aab08(0x246,'\x7a\x4e\x39\x6e')]??-0x3f+-0x287*0x2+0x54d+0.3)?_0x3aab08(0x24d,'\x35\x7a\x35\x53')+'\x64':'\x69\x6e\x63\x6f\x6e\x63\x6c\x75'+_0x3aab08(0x231,'\x58\x2a\x4e\x73');return _0x23b8a3[_0x3aab08(0x248,'\x50\x51\x51\x77')]('\u5931\u8d25\x20\x73\x63\x6f\x72\x65'+'\x3d'+_0x240845['\x6f\x75\x74\x63\x6f\x6d\x65'][_0x3aab08(0x1da,'\x6d\x75\x4f\x24')]+'\x20\u2192\x20'+_0x3b9805),{'\x73\x74\x61\x74\x75\x73':_0x3b9805,'\x70\x72\x6f\x64\x75\x63\x65\x64\x56\x61\x6c\x75\x65':_0x21cbaf,'\x72\x65\x61\x73\x6f\x6e\x73':_0x23b8a3};}if(_0x21cbaf&&_0x18b652[_0x3aab08(0x24a,'\x38\x51\x24\x33')+_0x3aab08(0x1f5,'\x38\x25\x77\x37')])return _0x23b8a3[_0x3aab08(0x1e0,'\x7a\x4e\x39\x6e')]('\u6210\u529f\x20\x2b\x20\x50\x72\x6f'+_0x3aab08(0x22d,'\x46\x55\x73\x58')+_0x3aab08(0x21b,'\x6e\x58\x55\x75')+_0x3aab08(0x1f0,'\x36\x32\x70\x59')+_0x3aab08(0x216,'\x58\x33\x4c\x6b')+'\x5f\x65\x76\x69\x64\x65\x6e\x63'+'\x65'),{'\x73\x74\x61\x74\x75\x73':'\x72\x65\x73\x6f\x6c\x76\x65\x64'+_0x3aab08(0x24c,'\x44\x77\x31\x62')+_0x3aab08(0x1ff,'\x33\x46\x63\x33'),'\x70\x72\x6f\x64\x75\x63\x65\x64\x56\x61\x6c\x75\x65':_0x21cbaf,'\x72\x65\x61\x73\x6f\x6e\x73':_0x23b8a3};return _0x23b8a3['\x70\x75\x73\x68'](_0x21cbaf?'\u6210\u529f\x20\x2b\x20\u6709\u4ea7\u51fa'+_0x3aab08(0x24e,'\x57\x61\x5e\x29')+_0x3aab08(0x241,'\x46\x55\x73\x58')+_0x3aab08(0x22e,'\x6f\x54\x49\x37')+_0x3aab08(0x250,'\x23\x41\x58\x69')+'\x6c\x79\x28\u4e0d\u81ea\u52a8\u5347\u7ea7'+'\x29':_0x3aab08(0x232,'\x74\x6b\x72\x33')+_0x3aab08(0x225,'\x61\x67\x45\x41')+_0x3aab08(0x20a,'\x6d\x75\x4f\x24')+'\x73\x75\x70\x70\x72\x65\x73\x73'+_0x3aab08(0x228,'\x34\x64\x31\x21')+'\x76\x61\x74\x69\x6f\x6e\x61\x6c'+'\x6c\x79'),{'\x73\x74\x61\x74\x75\x73':_0x3aab08(0x1f8,'\x29\x69\x40\x42')+_0x3aab08(0x229,'\x45\x5d\x6e\x47')+_0x3aab08(0x1ef,'\x33\x46\x63\x33')+'\x6c\x79','\x70\x72\x6f\x64\x75\x63\x65\x64\x56\x61\x6c\x75\x65':_0x21cbaf,'\x72\x65\x61\x73\x6f\x6e\x73':_0x23b8a3};}else{const _0x33b242=_0x241470[_0x3aab08(0x1d8,'\x6e\x58\x55\x75')][_0x3aab08(0x22b,'\x7a\x78\x75\x48')]<(_0x241470[_0x3aab08(0x1f2,'\x35\x7a\x35\x53')+_0x3aab08(0x20c,'\x33\x46\x63\x33')]??0x19d5*-0x1+0x1c51+-0x27c+0.3)?_0x3aab08(0x23c,'\x7a\x4e\x39\x6e')+'\x64':_0x3aab08(0x215,'\x34\x64\x31\x21')+_0x3aab08(0x223,'\x7a\x4e\x39\x6e');return _0x136991[_0x3aab08(0x226,'\x67\x30\x71\x65')](_0x3aab08(0x22a,'\x29\x69\x40\x42')+'\x3d'+_0x241470[_0x3aab08(0x208,'\x70\x4b\x23\x78')][_0x3aab08(0x218,'\x23\x41\x58\x69')]+'\x20\u2192\x20'+_0x33b242),{'\x73\x74\x61\x74\x75\x73':_0x33b242,'\x70\x72\x6f\x64\x75\x63\x65\x64\x56\x61\x6c\x75\x65':_0x293406,'\x72\x65\x61\x73\x6f\x6e\x73':_0x136991};}}if(_0x293406&&_0x241470[_0x3aab08(0x240,'\x39\x68\x32\x47')+_0x3aab08(0x23d,'\x79\x48\x78\x21')])return _0x136991[_0x3aab08(0x1d5,'\x6d\x59\x6d\x43')](_0x3aab08(0x249,'\x35\x7a\x35\x53')+_0x3aab08(0x200,'\x54\x54\x6c\x4d')+_0x3aab08(0x1e9,'\x44\x77\x31\x62')+_0x3aab08(0x217,'\x24\x4c\x7a\x76')+_0x3aab08(0x1dd,'\x29\x69\x40\x42')+_0x3aab08(0x247,'\x23\x41\x58\x69')+'\x65'),{'\x73\x74\x61\x74\x75\x73':_0x3aab08(0x1ee,'\x53\x4a\x28\x6b')+_0x3aab08(0x1d3,'\x6d\x75\x4f\x24')+_0x3aab08(0x239,'\x45\x5d\x6e\x47'),'\x70\x72\x6f\x64\x75\x63\x65\x64\x56\x61\x6c\x75\x65':_0x293406,'\x72\x65\x61\x73\x6f\x6e\x73':_0x136991};return _0x136991[_0x3aab08(0x238,'\x30\x7a\x26\x4b')](_0x293406?_0x3aab08(0x237,'\x33\x46\x63\x33')+_0x3aab08(0x1fd,'\x67\x30\x71\x65')+_0x3aab08(0x1d7,'\x61\x44\x4d\x75')+_0x3aab08(0x245,'\x57\x61\x5e\x29')+_0x3aab08(0x23a,'\x38\x25\x77\x37')+'\x6c\x79\x28\u4e0d\u81ea\u52a8\u5347\u7ea7'+'\x29':'\u6210\u529f\u4f46\u65e0\x20\x50\x72\x6f'+'\x6f\x66\x4f\x66\x57\x6f\x72\x6b'+'\x20\u4ea7\u51fa\u8bc1\u636e\x20\u2192\x20'+_0x3aab08(0x253,'\x50\x51\x51\x77')+_0x3aab08(0x1fe,'\x29\x69\x40\x42')+_0x3aab08(0x1ea,'\x6d\x59\x6d\x43')+'\x6c\x79'),{'\x73\x74\x61\x74\x75\x73':'\x73\x75\x70\x70\x72\x65\x73\x73'+_0x3aab08(0x207,'\x4c\x25\x72\x6b')+_0x3aab08(0x1f7,'\x45\x5d\x6e\x47')+'\x6c\x79','\x70\x72\x6f\x64\x75\x63\x65\x64\x56\x61\x6c\x75\x65':_0x293406,'\x72\x65\x61\x73\x6f\x6e\x73':_0x136991};}export function solidify(_0x411c3c){const _0x8a14a9=_0x46e0,{status:_0x53b2b4,producedValue:_0x10b957,reasons:_0x5ba729}=decideResolution(_0x411c3c),_0x154788=_0x411c3c[_0x8a14a9(0x210,'\x4c\x25\x72\x6b')+_0x8a14a9(0x1e3,'\x38\x25\x77\x37')]?.[_0x8a14a9(0x209,'\x61\x67\x45\x41')]===_0x8a14a9(0x251,'\x7a\x67\x6e\x58')?_0x411c3c[_0x8a14a9(0x1de,'\x70\x4b\x23\x78')+_0x8a14a9(0x220,'\x6d\x75\x4f\x24')][_0x8a14a9(0x22c,'\x6a\x38\x29\x4f')]:undefined,_0x512804={'\x74\x79\x70\x65':_0x8a14a9(0x1fb,'\x57\x61\x5e\x29'),'\x73\x63\x68\x65\x6d\x61\x5f\x76\x65\x72\x73\x69\x6f\x6e':SCHEMA_VERSION,'\x69\x64':_0x3f3c07(),'\x74\x72\x69\x67\x67\x65\x72':[..._0x411c3c[_0x8a14a9(0x1ed,'\x5e\x35\x41\x62')]],'\x67\x65\x6e\x65':_0x411c3c[_0x8a14a9(0x21e,'\x4d\x5a\x6d\x42')],'\x73\x75\x6d\x6d\x61\x72\x79':_0x411c3c[_0x8a14a9(0x201,'\x6e\x41\x48\x24')],'\x63\x6f\x6e\x66\x69\x64\x65\x6e\x63\x65':_0x411c3c[_0x8a14a9(0x206,'\x6d\x75\x4f\x24')+'\x63\x65'],'\x62\x6c\x61\x73\x74\x5f\x72\x61\x64\x69\x75\x73':{'\x66\x69\x6c\x65\x73':_0x154788?.[_0x8a14a9(0x211,'\x6d\x5d\x57\x39')]??0x1007+0x34*0x57+-0x1*0x21b3,'\x6c\x69\x6e\x65\x73':_0x154788?.[_0x8a14a9(0x1e7,'\x70\x4b\x23\x78')]??0xa3*0x12+0x137a+-0x1ef0},'\x6f\x75\x74\x63\x6f\x6d\x65':_0x411c3c[_0x8a14a9(0x242,'\x4c\x25\x72\x6b')],'\x72\x65\x73\x6f\x6c\x75\x74\x69\x6f\x6e\x5f\x73\x74\x61\x74\x75\x73':_0x53b2b4,..._0x411c3c[_0x8a14a9(0x1fa,'\x61\x44\x4d\x75')+_0x8a14a9(0x1dc,'\x34\x64\x31\x21')]?{'\x70\x72\x6f\x6f\x66\x5f\x6f\x66\x5f\x77\x6f\x72\x6b':_0x411c3c[_0x8a14a9(0x214,'\x45\x5d\x6e\x47')+_0x8a14a9(0x23b,'\x6e\x58\x55\x75')]}:{}},_0x1c16ba=computeAssetId(_0x512804);return{'\x63\x61\x70\x73\x75\x6c\x65':{..._0x512804,'\x61\x73\x73\x65\x74\x5f\x69\x64':_0x1c16ba},'\x72\x65\x73\x6f\x6c\x75\x74\x69\x6f\x6e\x53\x74\x61\x74\x75\x73':_0x53b2b4,'\x70\x72\x6f\x64\x75\x63\x65\x64\x56\x61\x6c\x75\x65':_0x10b957,'\x72\x65\x61\x73\x6f\x6e\x73':_0x5ba729};}
|