@evomap/evolver-core 2.0.0 → 2.0.1

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.
Files changed (91) hide show
  1. package/dist/algo/antiDistill.js +1 -167
  2. package/dist/algo/bans.js +1 -33
  3. package/dist/algo/candidateAssembly.js +1 -273
  4. package/dist/algo/capabilityCandidates.js +1 -146
  5. package/dist/algo/confidence.js +1 -196
  6. package/dist/algo/conversationSniffer.js +1 -149
  7. package/dist/algo/cycleEngine.js +1 -625
  8. package/dist/algo/cycleFailureClassifier.js +1 -112
  9. package/dist/algo/epigenetics.js +1 -41
  10. package/dist/algo/evolutionEvent.js +1 -24
  11. package/dist/algo/exploration.js +1 -68
  12. package/dist/algo/geneHealth.js +1 -17
  13. package/dist/algo/geneIntake.js +1 -128
  14. package/dist/algo/genePromotion.js +1 -53
  15. package/dist/algo/geneSelection.js +1 -546
  16. package/dist/algo/index.js +1 -22
  17. package/dist/algo/memoryGraph.js +1 -86
  18. package/dist/algo/mutation.js +1 -22
  19. package/dist/algo/orchestrator.js +1 -87
  20. package/dist/algo/publishEligibility.js +1 -52
  21. package/dist/algo/solidify.js +1 -63
  22. package/dist/algo/strategyPresets.js +1 -61
  23. package/dist/algo/ucb1.js +1 -156
  24. package/dist/benchmark/antiGeneBenchmark.js +1 -252
  25. package/dist/benchmark/antiGeneImpact.js +1 -34
  26. package/dist/benchmark/antiGeneRollout.js +1 -269
  27. package/dist/benchmark/benchmark.js +1 -26
  28. package/dist/benchmark/evolutionThesisSolver.js +1 -41
  29. package/dist/benchmark/index.js +1 -7
  30. package/dist/benchmark/selectionFlatAbstention.js +1 -481
  31. package/dist/benchmark/thesis.js +1 -150
  32. package/dist/benchmark/triggerShift.js +1 -106
  33. package/dist/cycle/cycleTimeline.js +1 -74
  34. package/dist/cycle/index.js +1 -2
  35. package/dist/cycle/stateMachine.js +1 -25
  36. package/dist/hub/agentDirectory.js +1 -104
  37. package/dist/hub/assetCallLog.js +1 -195
  38. package/dist/hub/bindings.js +1 -121
  39. package/dist/hub/capability.js +1 -1
  40. package/dist/hub/conversationDistiller.js +1 -264
  41. package/dist/hub/fake.js +1 -70
  42. package/dist/hub/hubReview.js +1 -106
  43. package/dist/hub/index.js +1 -11
  44. package/dist/hub/ingest.js +1 -15
  45. package/dist/hub/questionGenerator.js +1 -408
  46. package/dist/hub/reuseDecision.js +1 -127
  47. package/dist/hub/sanitize.js +1 -322
  48. package/dist/material/boundary.js +1 -14
  49. package/dist/material/consumer.js +1 -55
  50. package/dist/material/emit.js +1 -52
  51. package/dist/material/factory.js +1 -25
  52. package/dist/material/index.js +1 -9
  53. package/dist/material/materialArchive.js +1 -466
  54. package/dist/material/materialStore.js +1 -69
  55. package/dist/material/sampling.js +1 -39
  56. package/dist/material/sources.js +1 -33
  57. package/dist/material/watermark.js +1 -76
  58. package/dist/personality/drift.js +1 -106
  59. package/dist/personality/events.js +1 -37
  60. package/dist/personality/evolveOps.js +1 -93
  61. package/dist/personality/index.js +1 -11
  62. package/dist/personality/mutate.js +1 -39
  63. package/dist/personality/pivot.js +1 -22
  64. package/dist/personality/prompt.js +1 -62
  65. package/dist/personality/riskGate.js +1 -80
  66. package/dist/personality/schema.js +1 -119
  67. package/dist/personality/select.js +1 -71
  68. package/dist/personality/stats.js +1 -82
  69. package/dist/personality/store.js +1 -92
  70. package/dist/schema/common.js +1 -17
  71. package/dist/schema/evolutionGraph.js +1 -187
  72. package/dist/schema/index.js +1 -6
  73. package/dist/schema/material.js +1 -50
  74. package/dist/schema/problem.js +1 -45
  75. package/dist/schema/proofOfWork.js +1 -9
  76. package/dist/schema/signal.js +1 -19
  77. package/dist/signals/curriculum.js +1 -202
  78. package/dist/signals/cycleHistoryFromEvents.js +1 -105
  79. package/dist/signals/expand.js +1 -293
  80. package/dist/signals/extractor.js +1 -82
  81. package/dist/signals/index.js +1 -8
  82. package/dist/signals/metaSignals.js +1 -200
  83. package/dist/signals/signalGate.js +1 -40
  84. package/dist/signals/taskDomain.js +1 -43
  85. package/dist/signals/traceSignals.js +1 -123
  86. package/dist/strategy/constraintAblation.js +1 -2820
  87. package/dist/strategy/constraintAblationPredicates.js +1 -339
  88. package/dist/strategy/experiment.js +1 -63
  89. package/dist/strategy/index.js +1 -3
  90. package/dist/strategy/strategyPoint.js +1 -23
  91. package/package.json +1 -1
@@ -1,22 +1 @@
1
- export * from './geneHealth.js';
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(_0x247fb2,_0x1d4299){var _0x176a0b=_0xe881,_0x73f9c0=_0x247fb2();while(!![]){try{var _0x4e7928=parseInt(_0x176a0b(0x1d8,'\x40\x6a\x55\x56'))/(-0x2*-0x15b+-0x1*-0x2283+-0x2*0x129c)*(parseInt(_0x176a0b(0x1cd,'\x77\x34\x4b\x79'))/(0xb*0x2ea+-0x611*0x2+-0x13ea))+-parseInt(_0x176a0b(0x1d3,'\x78\x61\x4d\x6b'))/(0x1efa+0x6cd*-0x3+0x152*-0x8)*(-parseInt(_0x176a0b(0x1cc,'\x49\x76\x76\x25'))/(0x1*0xaf1+0x2063*-0x1+0x1*0x1576))+-parseInt(_0x176a0b(0x1ca,'\x29\x21\x56\x70'))/(-0x5d*0x64+0xfb0+0x7b*0x2b)+parseInt(_0x176a0b(0x1c9,'\x33\x2a\x77\x53'))/(0x25ce+0x2b1+-0x2879*0x1)*(parseInt(_0x176a0b(0x1d4,'\x49\x76\x76\x25'))/(-0x1125+0x21a*-0x1+0x1346))+parseInt(_0x176a0b(0x1d5,'\x62\x2a\x68\x55'))/(0x1c84+0x2208+0x4*-0xfa1)+-parseInt(_0x176a0b(0x1d0,'\x28\x4e\x45\x6f'))/(0xf*-0x195+0x2520+-0xd5c)*(-parseInt(_0x176a0b(0x1d1,'\x61\x74\x57\x4e'))/(-0x16b+-0xc17*0x2+-0x19a3*-0x1))+-parseInt(_0x176a0b(0x1cb,'\x75\x23\x32\x31'))/(-0xeab+0x1*-0xa2e+0x18e4);if(_0x4e7928===_0x1d4299)break;else _0x73f9c0['push'](_0x73f9c0['shift']());}catch(_0x3de5c3){_0x73f9c0['push'](_0x73f9c0['shift']());}}}(_0x2a81,-0x2bc7a+0xcb*-0x253+0x64d25));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';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';function _0xe881(_0x73f9c0,_0x4e7928){_0x73f9c0=_0x73f9c0-(-0x1eba+0x243d+0x1de*-0x2);var _0x3de5c3=_0x2a81();var _0x5d6a96=_0x3de5c3[_0x73f9c0];if(_0xe881['\x66\x59\x68\x6b\x46\x44']===undefined){var _0x3582f2=function(_0x17d758){var _0x4bb303='\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 _0x346c03='',_0x574a93='';for(var _0x2a38c4=0x21aa+-0x19d3*0x1+0x1*-0x7d7,_0x5c7d03,_0x13eda5,_0x1984d7=0xe59*-0x2+0x60*0x1f+-0x73*-0x26;_0x13eda5=_0x17d758['\x63\x68\x61\x72\x41\x74'](_0x1984d7++);~_0x13eda5&&(_0x5c7d03=_0x2a38c4%(-0x1*0x1194+-0x757*-0x4+-0xbc4)?_0x5c7d03*(0x17cb+0x2378+-0x3b03)+_0x13eda5:_0x13eda5,_0x2a38c4++%(0x1*-0x18d9+-0x10a9*0x1+-0x84e*-0x5))?_0x346c03+=String['\x66\x72\x6f\x6d\x43\x68\x61\x72\x43\x6f\x64\x65'](-0x1cb2+-0x23a+0x1feb&_0x5c7d03>>(-(-0x1*0x1219+-0x371*-0x1+0xeaa)*_0x2a38c4&0x4d7+-0x1cd7+0x1806)):-0xf51+-0x1dd0+0x2d21){_0x13eda5=_0x4bb303['\x69\x6e\x64\x65\x78\x4f\x66'](_0x13eda5);}for(var _0x45bdd4=0xd22+0xc11+-0x1933,_0x287c51=_0x346c03['\x6c\x65\x6e\x67\x74\x68'];_0x45bdd4<_0x287c51;_0x45bdd4++){_0x574a93+='\x25'+('\x30\x30'+_0x346c03['\x63\x68\x61\x72\x43\x6f\x64\x65\x41\x74'](_0x45bdd4)['\x74\x6f\x53\x74\x72\x69\x6e\x67'](0x121e*-0x1+-0x1db6+0x14*0x265))['\x73\x6c\x69\x63\x65'](-(-0x1*-0x25cd+-0x21b6+-0xd1*0x5));}return decodeURIComponent(_0x574a93);};var _0x2db7e3=function(_0x31cff6,_0x527f72){var _0x1b70af=[],_0x3dd61a=-0x2*-0x11c9+-0xf33*0x1+-0x7*0x2e9,_0x3112cf,_0x42a552='';_0x31cff6=_0x3582f2(_0x31cff6);var _0x5dbd19;for(_0x5dbd19=-0x7*0x32+0xa8*0x3+-0x7*0x16;_0x5dbd19<-0x1*-0x2002+-0xb*0x11+0x17*-0x151;_0x5dbd19++){_0x1b70af[_0x5dbd19]=_0x5dbd19;}for(_0x5dbd19=0x25ce+-0x59f*0x4+-0xf52;_0x5dbd19<0xb7*0x5+-0x17ef*-0x1+0x3a*-0x75;_0x5dbd19++){_0x3dd61a=(_0x3dd61a+_0x1b70af[_0x5dbd19]+_0x527f72['\x63\x68\x61\x72\x43\x6f\x64\x65\x41\x74'](_0x5dbd19%_0x527f72['\x6c\x65\x6e\x67\x74\x68']))%(0x1*0x132e+0x1a83+0x1*-0x2cb1),_0x3112cf=_0x1b70af[_0x5dbd19],_0x1b70af[_0x5dbd19]=_0x1b70af[_0x3dd61a],_0x1b70af[_0x3dd61a]=_0x3112cf;}_0x5dbd19=0x89*-0x23+0x1*-0xb7f+0x1e3a,_0x3dd61a=-0xe80+0x124a+-0x3ca;for(var _0x16683b=-0x192*0x13+0xd7d*0x2+0x2dc;_0x16683b<_0x31cff6['\x6c\x65\x6e\x67\x74\x68'];_0x16683b++){_0x5dbd19=(_0x5dbd19+(-0x93*0x1f+0x1*0x1daf+-0xbe1*0x1))%(-0x2674+-0x16b+-0x28df*-0x1),_0x3dd61a=(_0x3dd61a+_0x1b70af[_0x5dbd19])%(0x1a0b+-0x1c9f+0x394),_0x3112cf=_0x1b70af[_0x5dbd19],_0x1b70af[_0x5dbd19]=_0x1b70af[_0x3dd61a],_0x1b70af[_0x3dd61a]=_0x3112cf,_0x42a552+=String['\x66\x72\x6f\x6d\x43\x68\x61\x72\x43\x6f\x64\x65'](_0x31cff6['\x63\x68\x61\x72\x43\x6f\x64\x65\x41\x74'](_0x16683b)^_0x1b70af[(_0x1b70af[_0x5dbd19]+_0x1b70af[_0x3dd61a])%(0x254d+0x5f2+-0x2a3f)]);}return _0x42a552;};_0xe881['\x7a\x5a\x49\x79\x4b\x74']=_0x2db7e3,_0xe881['\x4c\x52\x49\x5a\x4d\x76']={},_0xe881['\x66\x59\x68\x6b\x46\x44']=!![];}var _0x1c561e=_0x3de5c3[-0x1*0xe49+0x1a2+0xca7],_0x22ca19=_0x73f9c0+_0x1c561e,_0xcf43fa=_0xe881['\x4c\x52\x49\x5a\x4d\x76'][_0x22ca19];return!_0xcf43fa?(_0xe881['\x73\x6d\x42\x66\x4a\x6b']===undefined&&(_0xe881['\x73\x6d\x42\x66\x4a\x6b']=!![]),_0x5d6a96=_0xe881['\x7a\x5a\x49\x79\x4b\x74'](_0x5d6a96,_0x4e7928),_0xe881['\x4c\x52\x49\x5a\x4d\x76'][_0x22ca19]=_0x5d6a96):_0x5d6a96=_0xcf43fa,_0x5d6a96;}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';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';function _0x2a81(){var _0x672976=['\x57\x52\x5a\x63\x50\x63\x34\x48\x75\x53\x6f\x6a\x57\x4f\x70\x64\x4e\x6d\x6f\x30\x63\x6d\x6b\x4b','\x57\x34\x69\x33\x45\x6d\x6f\x6e\x57\x37\x31\x4c\x44\x38\x6b\x68\x57\x4f\x70\x63\x4b\x66\x57','\x57\x35\x68\x63\x53\x53\x6b\x6c\x57\x50\x56\x63\x4d\x38\x6f\x76\x57\x34\x75','\x67\x38\x6f\x6d\x57\x37\x6d\x32\x57\x34\x33\x63\x49\x59\x34\x46\x66\x38\x6f\x46\x61\x72\x57','\x6d\x4b\x68\x63\x4a\x53\x6b\x77\x62\x75\x35\x35\x57\x37\x4e\x63\x53\x4d\x70\x64\x52\x77\x38','\x57\x35\x42\x63\x50\x38\x6b\x64\x57\x34\x57\x71\x57\x4f\x30\x50\x57\x36\x56\x64\x4a\x78\x37\x63\x52\x53\x6f\x67\x57\x4f\x30','\x57\x35\x64\x64\x4b\x38\x6b\x50\x57\x36\x4e\x64\x50\x53\x6b\x4c\x72\x61','\x57\x4f\x35\x2b\x57\x34\x58\x41\x65\x38\x6f\x31\x74\x31\x75','\x70\x5a\x70\x63\x4e\x43\x6b\x63\x57\x36\x6c\x63\x4c\x38\x6b\x51\x43\x53\x6f\x56\x46\x53\x6b\x6c\x57\x37\x65','\x6d\x53\x6f\x64\x76\x32\x46\x63\x47\x4c\x4e\x64\x56\x78\x47','\x57\x34\x2f\x64\x48\x43\x6f\x47\x6b\x38\x6f\x36\x76\x43\x6f\x6e\x57\x51\x39\x6b\x70\x6d\x6f\x52','\x6e\x38\x6f\x69\x63\x68\x6c\x63\x54\x75\x37\x64\x51\x67\x44\x4c','\x57\x51\x2f\x64\x48\x49\x52\x64\x47\x38\x6f\x71\x57\x34\x46\x64\x49\x58\x70\x63\x47\x62\x78\x64\x4b\x43\x6b\x44','\x66\x38\x6b\x51\x57\x4f\x6e\x77\x57\x37\x33\x63\x49\x43\x6f\x4c\x57\x51\x38\x78\x43\x53\x6f\x32','\x57\x35\x2f\x64\x54\x6d\x6b\x6e\x57\x34\x64\x64\x50\x53\x6b\x7a\x72\x57','\x57\x37\x2f\x64\x4f\x63\x75\x59\x57\x51\x52\x64\x50\x43\x6f\x6b\x78\x43\x6b\x4e\x6c\x73\x74\x63\x53\x53\x6f\x30','\x45\x30\x4f\x63\x41\x43\x6b\x2f\x57\x51\x4b\x44\x6e\x75\x61\x32\x42\x53\x6b\x33\x57\x51\x4b','\x65\x53\x6b\x52\x57\x35\x78\x64\x56\x65\x4a\x64\x49\x62\x79\x58\x57\x35\x30','\x6d\x77\x4c\x54\x42\x5a\x2f\x63\x49\x4b\x35\x47\x57\x50\x37\x63\x4a\x57','\x57\x50\x47\x70\x57\x36\x43\x38\x57\x34\x6d\x55\x74\x61'];_0x2a81=function(){return _0x672976;};return _0x2a81();}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';
@@ -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(_0x51d7da,_0x1c566a){const _0x33527d=_0x1fd9,_0x16a5e6=_0x51d7da();while(!![]){try{const _0x171d71=parseInt(_0x33527d(0x1cd,'\x69\x56\x66\x35'))/(0x1079+-0x2*0x1203+0x2*0x9c7)*(parseInt(_0x33527d(0x1ca,'\x70\x48\x52\x26'))/(0x2*-0x386+-0x1afd+-0x69*-0x53))+parseInt(_0x33527d(0x1db,'\x63\x51\x58\x2a'))/(0x2091*0x1+0x1d75+-0x27b*0x19)+-parseInt(_0x33527d(0x1e8,'\x43\x23\x77\x57'))/(0x2383*0x1+-0x2532+0x1b3)*(parseInt(_0x33527d(0x1c4,'\x66\x71\x25\x67'))/(0x6*0x535+-0x2*0xacc+0x9a1*-0x1))+parseInt(_0x33527d(0x1d2,'\x40\x49\x40\x55'))/(0x10d1+0x3b9+0x4*-0x521)*(parseInt(_0x33527d(0x201,'\x63\x31\x4d\x56'))/(0xec9*0x1+-0x1*0x1e95+0xfd3))+parseInt(_0x33527d(0x206,'\x31\x69\x41\x4a'))/(0x13*-0x9b+0x3db+0x7ae)+-parseInt(_0x33527d(0x20c,'\x66\x70\x6c\x52'))/(0x1cf+0x2538+-0x26fe)+parseInt(_0x33527d(0x1d3,'\x74\x6a\x68\x65'))/(-0x1*-0x1999+0xa0a+0xd*-0x2bd);if(_0x171d71===_0x1c566a)break;else _0x16a5e6['push'](_0x16a5e6['shift']());}catch(_0x2ff0db){_0x16a5e6['push'](_0x16a5e6['shift']());}}}(_0x2c6a,-0x1f*0xa24d+0x4a11a+0x1b62d7));const MAX_SIGNALS=0xa3b+0x1*-0xf95+-0x2*-0x2bd,MAX_SIGNAL_CHARS=-0x8*0x23c+-0x14d5+-0x1*-0x272d,MAX_GENE_CHARS=-0xf68+0x2318+-0x12c0,MIN_SIMILARITY=0xbe0+-0x2402+-0x1822*-0x1+0.34,HALF_LIFE_DAYS=0x20d6+0x1*-0x12b2+-0xe06;export function normalizeMemorySignals(_0x18a78a){const _0x3ccda4=_0x1fd9;return[...new Set(_0x18a78a[_0x3ccda4(0x202,'\x6c\x21\x72\x6f')](_0x135413=>typeof _0x135413===_0x3ccda4(0x20f,'\x43\x23\x77\x57'))[_0x3ccda4(0x1f9,'\x5d\x46\x73\x44')](_0xcd4d4e=>_0xcd4d4e[_0x3ccda4(0x1bf,'\x33\x40\x78\x2a')]()[_0x3ccda4(0x1de,'\x28\x34\x4e\x63')+_0x3ccda4(0x1c2,'\x5d\x5b\x69\x72')]()[_0x3ccda4(0x1c5,'\x28\x34\x4e\x63')](-0x5*0x69d+-0x5e3*0x3+0x32ba,MAX_SIGNAL_CHARS))[_0x3ccda4(0x1ed,'\x63\x51\x58\x2a')](Boolean))][_0x3ccda4(0x1f7,'\x25\x40\x40\x58')]()[_0x3ccda4(0x215,'\x67\x6d\x72\x45')](0xc76+0x1871+-0x24e7,MAX_SIGNALS);}export function memorySignalFingerprint(_0x4be4cf){const _0x5bc37a=_0x1fd9;return normalizeMemorySignals(_0x4be4cf)[_0x5bc37a(0x1eb,'\x28\x34\x4e\x63')]('\x7c')||_0x5bc37a(0x1d0,'\x66\x48\x6a\x31');}function _0x1fd9(_0x53d03d,_0x20f274){_0x53d03d=_0x53d03d-(0xb2a+-0x2485+0x1b19);const _0x122590=_0x2c6a();let _0x1f0a7a=_0x122590[_0x53d03d];if(_0x1fd9['\x76\x58\x77\x6d\x74\x72']===undefined){var _0x4205da=function(_0x2a2b5d){const _0x2b5ca4='\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 _0x4bbb2a='',_0x2ad939='';for(let _0x39bf3b=0x6c0*0x3+-0x8d7*0x2+-0x2f*0xe,_0x7b6dde,_0x2608e6,_0x6cb4f=-0x65*-0x4f+0x11bf+0x1*-0x30ea;_0x2608e6=_0x2a2b5d['\x63\x68\x61\x72\x41\x74'](_0x6cb4f++);~_0x2608e6&&(_0x7b6dde=_0x39bf3b%(-0x5*-0x79+0x1ee1+-0x213a)?_0x7b6dde*(-0x18d*-0x5+-0x140f+0xc8e)+_0x2608e6:_0x2608e6,_0x39bf3b++%(0xbf7+-0xb7*0x3+-0x9ce))?_0x4bbb2a+=String['\x66\x72\x6f\x6d\x43\x68\x61\x72\x43\x6f\x64\x65'](-0x26c8+-0x1*0x1cdd+0x44a4&_0x7b6dde>>(-(0xb*-0x1da+0x14+0x144c)*_0x39bf3b&0x9c6*-0x3+0x259*-0x3+0x2463)):0x146a+0x1e2e*-0x1+0x9c4){_0x2608e6=_0x2b5ca4['\x69\x6e\x64\x65\x78\x4f\x66'](_0x2608e6);}for(let _0x4f2c45=-0x3*-0x317+0x94*0x10+-0x1285,_0x2c2b4a=_0x4bbb2a['\x6c\x65\x6e\x67\x74\x68'];_0x4f2c45<_0x2c2b4a;_0x4f2c45++){_0x2ad939+='\x25'+('\x30\x30'+_0x4bbb2a['\x63\x68\x61\x72\x43\x6f\x64\x65\x41\x74'](_0x4f2c45)['\x74\x6f\x53\x74\x72\x69\x6e\x67'](0x17*-0xc7+0xc46+0x5ab))['\x73\x6c\x69\x63\x65'](-(-0x1d*0x9c+0x54b*0x5+0xd*-0xad));}return decodeURIComponent(_0x2ad939);};const _0x4c9467=function(_0x2e8064,_0x3f7166){let _0x3c0637=[],_0x2044b2=-0x21f5+0x235*-0xa+0x3807,_0x1b1f69,_0x3f00f4='';_0x2e8064=_0x4205da(_0x2e8064);let _0x4f9d9e;for(_0x4f9d9e=0xf18+0xfcc*-0x1+0xb4;_0x4f9d9e<-0x1*-0x22f3+-0xf1b*-0x2+-0x1563*0x3;_0x4f9d9e++){_0x3c0637[_0x4f9d9e]=_0x4f9d9e;}for(_0x4f9d9e=0x20ba+0xf*0xf7+-0x2f33;_0x4f9d9e<0x2*-0xe0d+0x1f12+-0x1f8;_0x4f9d9e++){_0x2044b2=(_0x2044b2+_0x3c0637[_0x4f9d9e]+_0x3f7166['\x63\x68\x61\x72\x43\x6f\x64\x65\x41\x74'](_0x4f9d9e%_0x3f7166['\x6c\x65\x6e\x67\x74\x68']))%(-0x14d5+0x170a+-0x1*0x135),_0x1b1f69=_0x3c0637[_0x4f9d9e],_0x3c0637[_0x4f9d9e]=_0x3c0637[_0x2044b2],_0x3c0637[_0x2044b2]=_0x1b1f69;}_0x4f9d9e=-0xf68+0x2318+-0x13b0,_0x2044b2=0xbe0+-0x2402+-0x1822*-0x1;for(let _0x40c5c5=0x20d6+0x1*-0x12b2+-0xe24;_0x40c5c5<_0x2e8064['\x6c\x65\x6e\x67\x74\x68'];_0x40c5c5++){_0x4f9d9e=(_0x4f9d9e+(-0x5*0x69d+-0x5e3*0x3+0x32bb))%(0xc76+0x1871+-0x23e7),_0x2044b2=(_0x2044b2+_0x3c0637[_0x4f9d9e])%(0x24bb*0x1+-0x751*0x5+0xda),_0x1b1f69=_0x3c0637[_0x4f9d9e],_0x3c0637[_0x4f9d9e]=_0x3c0637[_0x2044b2],_0x3c0637[_0x2044b2]=_0x1b1f69,_0x3f00f4+=String['\x66\x72\x6f\x6d\x43\x68\x61\x72\x43\x6f\x64\x65'](_0x2e8064['\x63\x68\x61\x72\x43\x6f\x64\x65\x41\x74'](_0x40c5c5)^_0x3c0637[(_0x3c0637[_0x4f9d9e]+_0x3c0637[_0x2044b2])%(-0x984+0x1704+-0x5*0x280)]);}return _0x3f00f4;};_0x1fd9['\x4b\x45\x66\x51\x70\x4b']=_0x4c9467,_0x1fd9['\x77\x73\x53\x41\x61\x4b']={},_0x1fd9['\x76\x58\x77\x6d\x74\x72']=!![];}const _0x19589e=_0x122590[-0x43*0x86+-0xe17+-0x3*-0x1063],_0x1d1a4e=_0x53d03d+_0x19589e,_0x37c93f=_0x1fd9['\x77\x73\x53\x41\x61\x4b'][_0x1d1a4e];return!_0x37c93f?(_0x1fd9['\x55\x50\x6b\x72\x75\x72']===undefined&&(_0x1fd9['\x55\x50\x6b\x72\x75\x72']=!![]),_0x1f0a7a=_0x1fd9['\x4b\x45\x66\x51\x70\x4b'](_0x1f0a7a,_0x20f274),_0x1fd9['\x77\x73\x53\x41\x61\x4b'][_0x1d1a4e]=_0x1f0a7a):_0x1f0a7a=_0x37c93f,_0x1f0a7a;}export function safeMemoryGeneId(_0x475685){const _0x5d3aaa=_0x1fd9;return _0x475685[_0x5d3aaa(0x1f3,'\x6c\x21\x72\x6f')]()[_0x5d3aaa(0x1cf,'\x6c\x21\x72\x6f')](0x24bb*0x1+-0x751*0x5+-0x26,MAX_GENE_CHARS);}export function deriveMemoryGraphAdvice(_0x2be3f4,_0x43aa90,_0xf629fd,_0x5323e9){const _0xb38166=_0x1fd9,_0xcdea0c=normalizeMemorySignals(_0x43aa90),_0x11ab78=new Map();for(const _0x19a4ed of _0x2be3f4){const _0x4f51a8=jaccard(_0xcdea0c,_0x19a4ed[_0xb38166(0x1f8,'\x58\x4d\x4d\x23')]);if(_0x4f51a8<MIN_SIMILARITY)continue;const _0x3ecf8c=boundedCount(_0x19a4ed[_0xb38166(0x218,'\x74\x6a\x68\x65')+_0xb38166(0x1f0,'\x70\x48\x52\x26')]??(_0x19a4ed['\x73\x74\x61\x74\x75\x73']===_0xb38166(0x1ec,'\x38\x76\x41\x45')?-0x984+0x1704+-0x1*0xd7f:-0x43*0x86+-0xe17+-0x3*-0x1063)),_0x4873f8=boundedCount(_0x19a4ed[_0xb38166(0x219,'\x4b\x21\x56\x33')+'\x74']??(_0x19a4ed[_0xb38166(0x204,'\x28\x34\x4e\x63')]===_0xb38166(0x1da,'\x40\x25\x35\x76')?0x1d99+-0xc14+-0x3b*0x4c:-0x1*0xf3a+0x6a2+-0x4*-0x226)),_0x105df0=_0x3ecf8c+_0x4873f8;if(_0x105df0===0x83e+-0x20c0+-0x1*-0x1882)continue;const _0x474cf5=decayWeight(_0x19a4ed['\x61\x74'],_0xf629fd),_0x2fe289=_0x4f51a8*_0x474cf5,_0x45073b=_0x11ab78['\x67\x65\x74'](_0x19a4ed[_0xb38166(0x1e7,'\x51\x57\x62\x37')])??{'\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':_0x19a4ed['\x61\x74']};_0x45073b[_0xb38166(0x214,'\x63\x51\x58\x2a')]+=_0x3ecf8c*_0x2fe289,_0x45073b[_0xb38166(0x200,'\x33\x40\x78\x2a')]+=_0x4873f8*_0x2fe289,_0x45073b[_0xb38166(0x1e1,'\x57\x59\x61\x25')+_0xb38166(0x207,'\x31\x4d\x33\x74')+'\x74\x79']+=_0x4f51a8*_0x105df0,_0x45073b[_0xb38166(0x1c0,'\x38\x76\x41\x45')]+=_0x105df0;if(Date[_0xb38166(0x1d4,'\x33\x40\x78\x2a')](_0x19a4ed['\x61\x74'])>Date[_0xb38166(0x205,'\x75\x37\x74\x78')](_0x45073b[_0xb38166(0x20b,'\x69\x56\x66\x35')]))_0x45073b[_0xb38166(0x203,'\x74\x6a\x68\x65')]=_0x19a4ed['\x61\x74'];_0x11ab78[_0xb38166(0x1f2,'\x51\x57\x62\x37')](_0x19a4ed[_0xb38166(0x1e4,'\x66\x70\x6c\x52')],_0x45073b);}const _0x305715=[];for(const [_0x54e73a,_0x4e1acc]of _0x11ab78){if(_0xb38166(0x21a,'\x54\x6d\x4e\x31')!=='\x52\x79\x51\x65\x54'){const _0x2cf537=Math[_0xb38166(0x1dd,'\x66\x48\x6a\x31')](_0x4e1acc[_0xb38166(0x21b,'\x35\x52\x76\x75')]),_0x49b8fd=Math['\x72\x6f\x75\x6e\x64'](_0x4e1acc[_0xb38166(0x1dc,'\x31\x69\x41\x4a')]),_0x36f72b=_0x2cf537+_0x49b8fd;if(_0x36f72b===-0x3*0x53+0xce8+0xeb*-0xd)continue;const _0x4b6253=(_0x4e1acc[_0xb38166(0x20d,'\x75\x37\x74\x78')]+(0xdff+-0x81a+0x1a*-0x3a))/(_0x4e1acc[_0xb38166(0x1d7,'\x41\x4a\x23\x69')]+_0x4e1acc[_0xb38166(0x1c1,'\x66\x70\x37\x75')]+(-0x9cd*-0x3+0x18ae+-0x3613)),_0x443558=_0x4e1acc[_0xb38166(0x1e9,'\x33\x40\x78\x2a')]>-0x188*0x2+-0x63*-0x3+0x1e7?Math[_0xb38166(0x212,'\x51\x57\x62\x37')](-0xff0+-0x1d89+0x2d7a,_0x4e1acc[_0xb38166(0x1d5,'\x59\x78\x78\x56')+_0xb38166(0x211,'\x40\x49\x40\x55')+'\x74\x79']/_0x4e1acc[_0xb38166(0x1f6,'\x4b\x21\x56\x33')]):-0x12*0xd5+-0x5*0x3a9+0x4c1*0x7,_0x5cdda9=Math['\x6d\x69\x6e'](-0x721+0x4e4*-0x4+0x1ab2,Math['\x6c\x6f\x67\x32'](_0x36f72b+(0x1*0x301+-0xdbd+-0xabd*-0x1))/(0xc7*-0x9+0x26d+-0x495*-0x1)),_0x28b3eb=clamp((_0x4b6253-(-0x10*0x24b+0x2*-0x865+0x25*0x172+0.5))*(-0x13d3+0x412+0xf*0x10d)*_0x443558*_0x5cdda9,-(0x1*0x1bef+-0x1c9b*0x1+0xad*0x1),0x694+0x1*0xfdc+-0x166f);_0x305715[_0xb38166(0x1df,'\x63\x51\x58\x2a')]({'\x67\x65\x6e\x65\x49\x64':_0x54e73a,'\x62\x6f\x6f\x73\x74':_0x28b3eb,'\x65\x78\x70\x65\x63\x74\x65\x64\x53\x75\x63\x63\x65\x73\x73':_0x4b6253,'\x73\x75\x63\x63\x65\x73\x73\x43\x6f\x75\x6e\x74':_0x2cf537,'\x66\x61\x69\x6c\x43\x6f\x75\x6e\x74':_0x49b8fd,'\x61\x74\x74\x65\x6d\x70\x74\x73':_0x36f72b,'\x73\x69\x6d\x69\x6c\x61\x72\x69\x74\x79':_0x443558,'\x6c\x61\x73\x74\x41\x74':_0x4e1acc[_0xb38166(0x1fb,'\x28\x34\x4e\x63')]});}else{const _0x389ea6=new _0xcb9fa8(_0xbe6dc3(_0x271764)),_0x1bb821=new _0x59bf51(_0x568896(_0x42d953));if(_0x389ea6[_0xb38166(0x1e2,'\x54\x6d\x4e\x31')]===-0x12*-0x1bb+0xcfa+0x2*-0x1610&&_0x1bb821[_0xb38166(0x1d8,'\x59\x78\x78\x56')]===-0x1751+0x25c7+-0xe76)return-0x11*0x1d3+0xa75+0x148f*0x1;if(_0x389ea6[_0xb38166(0x1f4,'\x67\x6d\x72\x45')]===0x24d*0xb+-0x2246+0x8f7||_0x1bb821[_0xb38166(0x1c8,'\x5e\x50\x4d\x35')]===0x1501+-0x62b*-0x5+-0xed*0x38)return 0xdcd+0x1372+-0x3*0xb15;let _0x55b4db=-0x19*0x49+-0x150+0x871*0x1;for(const _0x4eb74c of _0x389ea6)if(_0x1bb821[_0xb38166(0x1f1,'\x5a\x62\x33\x23')](_0x4eb74c))_0x55b4db+=0x1a6f+0x1d51+-0x37bf;return _0x55b4db/(_0x389ea6[_0xb38166(0x1ea,'\x35\x49\x37\x69')]+_0x1bb821[_0xb38166(0x1e6,'\x51\x57\x62\x37')]-_0x55b4db);}}return _0x305715[_0xb38166(0x1f7,'\x25\x40\x40\x58')]((_0x49d410,_0x5bc909)=>Math['\x61\x62\x73'](_0x5bc909['\x62\x6f\x6f\x73\x74'])-Math[_0xb38166(0x1fc,'\x6b\x69\x38\x28')](_0x49d410[_0xb38166(0x1d1,'\x58\x4d\x4d\x23')])||_0x5bc909['\x61\x74\x74\x65\x6d\x70\x74\x73']-_0x49d410['\x61\x74\x74\x65\x6d\x70\x74\x73']||_0x49d410[_0xb38166(0x1be,'\x38\x68\x54\x4c')][_0xb38166(0x20a,'\x5e\x50\x4d\x35')+_0xb38166(0x1ef,'\x67\x6d\x72\x45')](_0x5bc909[_0xb38166(0x1cc,'\x30\x58\x31\x4e')])),{'\x67\x65\x6e\x65\x73':_0x305715[_0xb38166(0x1c3,'\x65\x26\x49\x24')](-0x12c5+-0x1240+0x2505,-0x1*-0x1ec1+0xba2+0x43*-0xa1),'\x64\x69\x61\x67\x6e\x6f\x73\x74\x69\x63\x73':_0x5323e9};}function boundedCount(_0x60cf4b){const _0x1cb7eb=_0x1fd9;if(!Number[_0x1cb7eb(0x208,'\x35\x52\x76\x75')](_0x60cf4b)||_0x60cf4b<=0x153c+0x1*-0x1d4+-0x4da*0x4)return-0x214b*0x1+-0x47*-0x21+-0xc12*-0x2;return Math[_0x1cb7eb(0x1c9,'\x31\x69\x41\x4a')](-0x2bf1d*0x3+0x5*-0x1313c+0x1d75c3,Math[_0x1cb7eb(0x1ff,'\x5e\x50\x4d\x35')](_0x60cf4b));}function jaccard(_0x4d59f1,_0x497b59){const _0x2006d9=_0x1fd9,_0x3459b8=new Set(normalizeMemorySignals(_0x4d59f1)),_0x5ab609=new Set(normalizeMemorySignals(_0x497b59));if(_0x3459b8[_0x2006d9(0x1f4,'\x67\x6d\x72\x45')]===-0x28*0x18+-0x1ee7+0x22a7&&_0x5ab609['\x73\x69\x7a\x65']===-0xbed+-0x221*-0x7+-0x2fa)return-0x466*-0x1+0x19a+0x5ff*-0x1;if(_0x3459b8[_0x2006d9(0x210,'\x33\x40\x78\x2a')]===0x15ca*-0x1+0x11*-0x7+-0x1*-0x1641||_0x5ab609[_0x2006d9(0x1e5,'\x6b\x69\x38\x28')]===-0x3c0+0x8f3+-0x533)return 0x1f2+0x184f+0x205*-0xd;let _0x34b49f=0x8*0x332+-0x26fa+-0x6b5*-0x2;for(const _0x1d47f5 of _0x3459b8)if(_0x5ab609[_0x2006d9(0x1ce,'\x63\x51\x58\x2a')](_0x1d47f5))_0x34b49f+=-0x2655+0x1*-0x115f+-0x1*-0x37b5;return _0x34b49f/(_0x3459b8[_0x2006d9(0x1fa,'\x5a\x75\x46\x54')]+_0x5ab609[_0x2006d9(0x213,'\x5d\x46\x73\x44')]-_0x34b49f);}function _0x2c6a(){const _0x406497=['\x6a\x53\x6b\x43\x57\x37\x31\x73','\x73\x53\x6f\x70\x57\x37\x66\x72\x62\x5a\x70\x63\x54\x71','\x44\x38\x6f\x4f\x74\x30\x64\x64\x55\x38\x6b\x33','\x57\x50\x4a\x64\x4a\x73\x71\x79\x57\x37\x33\x64\x4b\x4e\x39\x4f\x69\x43\x6f\x59\x57\x50\x72\x4d\x57\x4f\x47','\x57\x4f\x64\x64\x49\x53\x6f\x56\x57\x37\x4f','\x6c\x43\x6f\x38\x57\x36\x79\x50\x74\x47','\x62\x64\x7a\x4b\x76\x47\x78\x63\x51\x6d\x6b\x2b\x66\x57','\x57\x35\x4e\x63\x49\x32\x39\x68','\x57\x50\x4e\x63\x53\x49\x4e\x63\x4f\x38\x6b\x48','\x70\x64\x56\x63\x4e\x32\x4f\x46\x63\x47\x54\x6d','\x57\x52\x2f\x64\x55\x4b\x5a\x64\x50\x47','\x57\x50\x76\x4b\x57\x50\x64\x63\x4a\x57\x52\x63\x56\x38\x6b\x76\x57\x4f\x4f','\x79\x53\x6f\x7a\x44\x53\x6b\x48\x44\x76\x4f','\x6b\x58\x75\x73\x57\x37\x4f','\x44\x31\x64\x64\x51\x62\x61','\x79\x31\x5a\x64\x56\x62\x62\x4f\x57\x36\x43','\x79\x6d\x6f\x30\x6d\x75\x39\x63\x57\x36\x5a\x64\x55\x58\x57\x36\x72\x43\x6f\x74\x57\x37\x5a\x64\x51\x47','\x57\x36\x5a\x63\x4c\x6d\x6b\x7a\x57\x52\x46\x63\x47\x38\x6b\x47','\x70\x72\x37\x64\x54\x6d\x6f\x31','\x67\x4a\x7a\x62\x76\x57','\x44\x67\x4f\x39\x45\x59\x69\x34\x41\x47','\x57\x34\x2f\x63\x4c\x33\x62\x42\x57\x51\x37\x63\x4c\x61','\x79\x77\x78\x63\x51\x43\x6f\x41\x70\x5a\x52\x64\x4f\x31\x2f\x63\x49\x68\x53\x47\x6e\x53\x6f\x49','\x75\x6d\x6b\x77\x57\x34\x50\x36\x57\x50\x57','\x77\x61\x30\x5a\x6d\x61','\x72\x6d\x6f\x46\x44\x47','\x44\x31\x5a\x64\x50\x47','\x57\x35\x66\x38\x76\x64\x34','\x74\x53\x6b\x70\x57\x35\x66\x54','\x57\x50\x4a\x64\x52\x47\x56\x63\x52\x6d\x6b\x66\x57\x50\x33\x63\x53\x38\x6f\x6f\x57\x50\x37\x64\x56\x73\x57\x65\x78\x57','\x57\x50\x68\x64\x52\x76\x37\x64\x55\x57\x4f\x46','\x42\x65\x4e\x63\x54\x6d\x6f\x38','\x57\x35\x37\x63\x54\x66\x56\x64\x53\x53\x6f\x74\x57\x34\x4e\x64\x55\x61','\x57\x4f\x70\x63\x4e\x33\x69','\x57\x52\x68\x64\x54\x4a\x43\x37','\x68\x64\x48\x42\x74\x74\x70\x63\x55\x71','\x6f\x72\x34\x42','\x57\x35\x74\x63\x4d\x53\x6f\x4b\x57\x37\x78\x63\x52\x38\x6b\x49\x57\x52\x35\x77','\x71\x47\x39\x47\x71\x57\x6c\x63\x51\x53\x6b\x64','\x57\x34\x50\x6e\x57\x51\x53\x4c\x57\x37\x75','\x57\x37\x33\x63\x4b\x6d\x6b\x7a\x57\x52\x57','\x57\x35\x56\x64\x4f\x4a\x4e\x63\x53\x38\x6b\x57\x57\x37\x62\x5a\x57\x50\x53','\x57\x34\x6e\x4e\x75\x73\x46\x63\x55\x53\x6f\x6d','\x70\x64\x46\x64\x4f\x53\x6b\x7a\x73\x68\x4f','\x61\x59\x31\x6a\x74\x71\x46\x63\x56\x47','\x79\x38\x6b\x2b\x46\x4d\x37\x63\x49\x57','\x57\x35\x37\x63\x4d\x53\x6b\x33\x57\x51\x68\x64\x52\x38\x6f\x79\x57\x35\x39\x76\x57\x50\x2f\x63\x49\x43\x6f\x49\x71\x38\x6f\x6a','\x57\x37\x4a\x63\x4e\x75\x54\x45\x45\x64\x52\x64\x52\x78\x65','\x41\x77\x31\x38\x69\x6d\x6f\x4f\x57\x35\x78\x63\x4a\x49\x6d','\x57\x4f\x6d\x6c\x57\x51\x64\x64\x4c\x6d\x6f\x43\x57\x52\x62\x41\x75\x43\x6f\x77\x70\x4d\x6d\x70\x6a\x53\x6f\x39','\x57\x34\x62\x6f\x57\x51\x43\x52\x57\x36\x56\x63\x51\x43\x6b\x6d\x79\x71','\x46\x61\x79\x45\x69\x73\x48\x45','\x6e\x6d\x6b\x6f\x6b\x43\x6f\x57\x64\x61\x47\x2f\x77\x38\x6b\x74\x57\x50\x68\x63\x4b\x43\x6f\x52\x41\x78\x79','\x79\x6d\x6b\x51\x42\x33\x37\x63\x49\x38\x6f\x67\x74\x61','\x57\x34\x74\x63\x4c\x33\x69','\x6a\x53\x6b\x5a\x44\x62\x79\x42\x57\x52\x6d','\x57\x36\x4a\x63\x4d\x6d\x6b\x6b\x57\x52\x75','\x57\x36\x74\x63\x52\x67\x4a\x64\x56\x38\x6b\x57\x75\x43\x6f\x43\x57\x52\x38','\x41\x76\x64\x64\x56\x61','\x57\x50\x33\x63\x4c\x33\x4a\x63\x50\x47','\x57\x35\x52\x63\x49\x33\x39\x6d\x57\x51\x37\x63\x4c\x74\x30','\x74\x53\x6b\x6b\x57\x34\x6a\x52\x57\x50\x57','\x57\x4f\x74\x63\x47\x53\x6b\x4b','\x57\x4f\x58\x34\x57\x51\x65','\x69\x59\x70\x64\x53\x53\x6b\x6f\x42\x68\x33\x63\x4f\x77\x47','\x57\x4f\x64\x64\x51\x76\x37\x64\x53\x63\x65\x65\x57\x34\x48\x54','\x57\x4f\x6c\x64\x49\x75\x6c\x64\x4d\x38\x6b\x65','\x43\x32\x54\x7a\x6b\x53\x6f\x4a\x57\x34\x2f\x63\x49\x71','\x67\x6d\x6f\x2f\x57\x37\x62\x48\x6e\x48\x30','\x57\x36\x2f\x63\x47\x38\x6b\x7a\x57\x52\x30','\x43\x68\x4f\x33\x46\x59\x38\x2f','\x57\x36\x31\x37\x76\x43\x6b\x72','\x76\x65\x78\x63\x4d\x61','\x72\x38\x6f\x4e\x6f\x6d\x6f\x38\x7a\x47','\x6b\x33\x44\x72\x45\x38\x6f\x4b\x57\x34\x33\x64\x4a\x47','\x61\x5a\x76\x62\x77\x48\x43','\x57\x50\x71\x2b\x64\x77\x42\x64\x50\x38\x6b\x6b\x57\x52\x46\x63\x54\x48\x44\x77\x57\x35\x43\x38\x6e\x47','\x45\x4d\x5a\x64\x48\x5a\x4c\x68\x73\x66\x30\x7a\x6e\x59\x5a\x63\x4d\x6d\x6f\x45\x57\x50\x33\x63\x4e\x47','\x57\x35\x39\x69\x57\x52\x34\x56','\x57\x4f\x56\x64\x47\x53\x6f\x4f','\x62\x73\x34\x76\x70\x53\x6b\x7a\x79\x53\x6b\x53','\x64\x6d\x6b\x5a\x41\x43\x6b\x50\x41\x71\x4a\x63\x4a\x4e\x34\x66\x57\x50\x57','\x77\x38\x6b\x4e\x71\x53\x6f\x69\x57\x51\x64\x63\x48\x61','\x69\x76\x44\x44\x79\x66\x65\x45\x79\x43\x6f\x69\x57\x51\x66\x62\x57\x34\x70\x63\x47\x63\x47','\x57\x34\x68\x63\x4e\x32\x38','\x57\x35\x7a\x49\x76\x64\x64\x63\x55\x47','\x44\x38\x6f\x39\x57\x37\x57\x50\x74\x38\x6f\x59','\x57\x34\x2f\x63\x53\x4c\x70\x64\x52\x38\x6f\x67','\x57\x4f\x2f\x64\x56\x74\x33\x63\x4f\x6d\x6b\x32\x73\x6d\x6f\x68\x57\x50\x68\x63\x50\x49\x71','\x79\x77\x42\x63\x4f\x6d\x6f\x7a\x6f\x5a\x4e\x64\x51\x48\x56\x63\x4f\x75\x47\x63\x65\x43\x6f\x4f\x63\x57','\x57\x36\x56\x63\x4b\x6d\x6b\x63\x57\x51\x70\x63\x4a\x47','\x69\x53\x6b\x71\x57\x36\x35\x71\x7a\x33\x4a\x64\x4a\x61\x30','\x57\x52\x52\x63\x4a\x43\x6f\x45\x68\x38\x6f\x76\x41\x53\x6b\x64\x57\x36\x48\x4c\x78\x62\x4a\x63\x53\x49\x4f','\x77\x77\x46\x64\x52\x38\x6f\x61\x57\x52\x42\x64\x4b\x38\x6b\x4d'];_0x2c6a=function(){return _0x406497;};return _0x2c6a();}function decayWeight(_0xa3ae4c,_0x3cfc9e){const _0x37fa59=_0x1fd9,_0x57391b=Date[_0x37fa59(0x1e0,'\x63\x31\x4d\x56')](_0xa3ae4c);if(!Number[_0x37fa59(0x1e3,'\x46\x68\x34\x49')](_0x57391b))return 0x14cf+-0xf89+0x1b*-0x32;const _0x55ef27=Math[_0x37fa59(0x216,'\x44\x4a\x28\x45')](-0x1ab7+-0x11d7+-0x1*-0x2c8e,_0x3cfc9e-_0x57391b)/(0x185a255*0x3+0x80acf2a*-0x1+0x8a0442b);return Math[_0x37fa59(0x217,'\x46\x68\x34\x49')](0x1c89+-0x2*-0x296+-0x21b5*0x1+0.5,_0x55ef27/HALF_LIFE_DAYS);}function clamp(_0x47523b,_0x1d1929,_0xcac0f1){const _0x2af2ed=_0x1fd9;return Math['\x6d\x61\x78'](_0x1d1929,Math[_0x2af2ed(0x20e,'\x63\x51\x58\x2a')](_0xcac0f1,_0x47523b));}
@@ -1,22 +1 @@
1
- import { ulid as makeUlid } from 'ulid';
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 _0x2bfd(_0xcb8e8b,_0x404f0b){_0xcb8e8b=_0xcb8e8b-(-0x1*0x615+0x25*0x18+0x1*0x3b3);const _0x4e7431=_0x4b6b();let _0x2ff327=_0x4e7431[_0xcb8e8b];if(_0x2bfd['\x50\x4b\x4c\x4f\x64\x73']===undefined){var _0x237765=function(_0x6e8950){const _0x27c6b1='\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 _0x2a9684='',_0x3e29b0='';for(let _0x43e759=0x56*-0x1+-0x199e+0x19f4,_0x3bd310,_0x280a59,_0x1f1ebc=-0x540*0x2+-0x25b6+0x3036;_0x280a59=_0x6e8950['\x63\x68\x61\x72\x41\x74'](_0x1f1ebc++);~_0x280a59&&(_0x3bd310=_0x43e759%(0x1*0x18d4+0x2312*0x1+-0x3be2)?_0x3bd310*(0x1023+0x5*0x4d5+-0x280c)+_0x280a59:_0x280a59,_0x43e759++%(-0x1*-0x1802+0xe2+0x31c*-0x8))?_0x2a9684+=String['\x66\x72\x6f\x6d\x43\x68\x61\x72\x43\x6f\x64\x65'](-0xeb9+0x1d*-0x6b+0x1bd7&_0x3bd310>>(-(-0x25a+-0x10*0x47+0x6cc)*_0x43e759&-0x3*-0x1d7+0x194b+0x2*-0xf65)):-0x1*0x394+0x25ef+-0x1*0x225b){_0x280a59=_0x27c6b1['\x69\x6e\x64\x65\x78\x4f\x66'](_0x280a59);}for(let _0x39633d=-0x219+0x252e*-0x1+-0x5*-0x7db,_0x13eb41=_0x2a9684['\x6c\x65\x6e\x67\x74\x68'];_0x39633d<_0x13eb41;_0x39633d++){_0x3e29b0+='\x25'+('\x30\x30'+_0x2a9684['\x63\x68\x61\x72\x43\x6f\x64\x65\x41\x74'](_0x39633d)['\x74\x6f\x53\x74\x72\x69\x6e\x67'](-0x3*-0x4ab+0x18*-0x47+0x175*-0x5))['\x73\x6c\x69\x63\x65'](-(0x115*0x7+0x10bb+0x5*-0x4dc));}return decodeURIComponent(_0x3e29b0);};const _0x527210=function(_0x9d052a,_0x17d085){let _0x457893=[],_0x4a3d65=0x1*0x889+0x12b5+-0xd9f*0x2,_0x32aebd,_0x4197f9='';_0x9d052a=_0x237765(_0x9d052a);let _0x30deef;for(_0x30deef=0x39*0x11+-0x1*-0x599+-0x1*0x962;_0x30deef<-0x2303+-0x1fb9+-0x6*-0xb4a;_0x30deef++){_0x457893[_0x30deef]=_0x30deef;}for(_0x30deef=-0x214b+0x1*-0x77f+-0x2*-0x1465;_0x30deef<-0x121e+-0x172c+0x2a4a;_0x30deef++){_0x4a3d65=(_0x4a3d65+_0x457893[_0x30deef]+_0x17d085['\x63\x68\x61\x72\x43\x6f\x64\x65\x41\x74'](_0x30deef%_0x17d085['\x6c\x65\x6e\x67\x74\x68']))%(0x31*0x2+-0x1c17+0x1cb5),_0x32aebd=_0x457893[_0x30deef],_0x457893[_0x30deef]=_0x457893[_0x4a3d65],_0x457893[_0x4a3d65]=_0x32aebd;}_0x30deef=-0x1*-0x1fd5+-0x2649+0x674,_0x4a3d65=-0x2507+0x29*0x94+0xd53;for(let _0x33f268=0x2c7*0xc+-0x1050+-0x1104;_0x33f268<_0x9d052a['\x6c\x65\x6e\x67\x74\x68'];_0x33f268++){_0x30deef=(_0x30deef+(-0x373*-0x1+0x1f77*-0x1+0x3*0x957))%(-0x12d*0x5+-0x1e8a+0x256b),_0x4a3d65=(_0x4a3d65+_0x457893[_0x30deef])%(-0x35c+0x2bd*0x7+0x11*-0xdf),_0x32aebd=_0x457893[_0x30deef],_0x457893[_0x30deef]=_0x457893[_0x4a3d65],_0x457893[_0x4a3d65]=_0x32aebd,_0x4197f9+=String['\x66\x72\x6f\x6d\x43\x68\x61\x72\x43\x6f\x64\x65'](_0x9d052a['\x63\x68\x61\x72\x43\x6f\x64\x65\x41\x74'](_0x33f268)^_0x457893[(_0x457893[_0x30deef]+_0x457893[_0x4a3d65])%(0xa65*-0x1+-0x1666+-0x29*-0xd3)]);}return _0x4197f9;};_0x2bfd['\x6e\x72\x70\x61\x4c\x50']=_0x527210,_0x2bfd['\x57\x59\x6b\x63\x6b\x4b']={},_0x2bfd['\x50\x4b\x4c\x4f\x64\x73']=!![];}const _0x33539e=_0x4e7431[0xb29+0x14d+-0x63b*0x2],_0x17d163=_0xcb8e8b+_0x33539e,_0x1b160d=_0x2bfd['\x57\x59\x6b\x63\x6b\x4b'][_0x17d163];return!_0x1b160d?(_0x2bfd['\x62\x41\x68\x67\x63\x4d']===undefined&&(_0x2bfd['\x62\x41\x68\x67\x63\x4d']=!![]),_0x2ff327=_0x2bfd['\x6e\x72\x70\x61\x4c\x50'](_0x2ff327,_0x404f0b),_0x2bfd['\x57\x59\x6b\x63\x6b\x4b'][_0x17d163]=_0x2ff327):_0x2ff327=_0x1b160d,_0x2ff327;}(function(_0x4197f9,_0x30deef){const _0x2b302d=_0x2bfd,_0x33f268=_0x4197f9();while(!![]){try{const _0x3286ad=-parseInt(_0x2b302d(0x11c,'\x44\x63\x5d\x45'))/(-0xaea+-0x1*-0x1fd5+-0x14ea)*(-parseInt(_0x2b302d(0x138,'\x64\x30\x69\x64'))/(-0x21f*0x12+0x1*-0x2507+0x4b37))+parseInt(_0x2b302d(0x135,'\x21\x47\x59\x6c'))/(0x2c7*0xc+-0x1050+-0x1101)+parseInt(_0x2b302d(0x12a,'\x44\x63\x5d\x45'))/(-0x373*-0x1+0x1f77*-0x1+0x18*0x12b)*(-parseInt(_0x2b302d(0x131,'\x45\x5a\x30\x72'))/(-0x12d*0x5+-0x1e8a+0x2470))+-parseInt(_0x2b302d(0x116,'\x4e\x63\x31\x71'))/(-0x35c+0x2bd*0x7+0x3*-0x543)*(parseInt(_0x2b302d(0x120,'\x5d\x37\x28\x51'))/(0xa65*-0x1+-0x1666+-0x2*-0x1069))+-parseInt(_0x2b302d(0x134,'\x6a\x4f\x5a\x48'))/(0xb29+0x14d+-0xc6e*0x1)+parseInt(_0x2b302d(0x11e,'\x51\x48\x32\x41'))/(0x1*-0x1ca6+0xd9e+-0x85*-0x1d)*(-parseInt(_0x2b302d(0x139,'\x26\x26\x70\x54'))/(-0x10e1+0x1c7a+-0xb8f))+parseInt(_0x2b302d(0x119,'\x74\x79\x49\x4f'))/(-0x4*-0x2f7+0x1090+-0x1c61);if(_0x3286ad===_0x30deef)break;else _0x33f268['push'](_0x33f268['shift']());}catch(_0xf6129b){_0x33f268['push'](_0x33f268['shift']());}}}(_0x4b6b,-0x7ff67+-0xae871+0x1*0x19c57d));import{ulid as _0x99c76b}from'\x75\x6c\x69\x64';function baselineRisk(_0x544e2d,_0x508bcf){const _0x25b653=_0x2bfd;if(_0x544e2d===_0x25b653(0x117,'\x5d\x37\x28\x51')||_0x544e2d===_0x25b653(0x12b,'\x24\x43\x41\x7a'))return'\x68\x69\x67\x68';if(_0x508bcf)return _0x25b653(0x121,'\x63\x75\x72\x38');return _0x544e2d===_0x25b653(0x11f,'\x37\x43\x77\x4e')?'\x6c\x6f\x77':_0x25b653(0x129,'\x21\x45\x62\x38');}function _0x4b6b(){const _0x4b8ffe=['\x57\x52\x6a\x58\x57\x36\x5a\x63\x4c\x6d\x6b\x2b\x69\x43\x6b\x64\x73\x71','\x57\x34\x2f\x63\x55\x53\x6f\x41\x68\x43\x6f\x4b\x57\x50\x57','\x62\x6d\x6f\x41\x57\x37\x30\x58\x57\x4f\x65\x65\x57\x35\x70\x64\x51\x6d\x6f\x51\x57\x52\x47\x43\x57\x50\x61','\x45\x53\x6b\x6b\x73\x43\x6b\x55\x57\x52\x6a\x76\x57\x37\x6d','\x57\x51\x37\x64\x4f\x5a\x50\x51\x6b\x75\x37\x63\x4d\x4b\x69\x76\x78\x38\x6f\x65','\x57\x35\x42\x63\x51\x73\x42\x63\x4b\x4e\x34\x46\x6c\x59\x38\x31\x74\x6d\x6f\x49\x6f\x53\x6f\x6a\x6f\x71','\x68\x53\x6b\x49\x75\x57\x79','\x57\x4f\x56\x63\x4e\x33\x64\x64\x50\x61\x48\x6b','\x43\x67\x68\x63\x48\x73\x52\x64\x52\x53\x6f\x70\x57\x50\x68\x64\x4d\x71','\x57\x4f\x69\x63\x77\x71\x5a\x63\x51\x38\x6b\x56\x57\x51\x50\x4f','\x70\x53\x6f\x48\x57\x52\x64\x64\x56\x43\x6b\x45\x63\x43\x6b\x58\x6d\x61','\x57\x4f\x58\x73\x57\x34\x65\x76\x57\x4f\x75\x74\x57\x4f\x2f\x63\x47\x61','\x6d\x62\x6c\x63\x4a\x53\x6f\x7a\x57\x36\x47\x4b\x57\x52\x57\x7a\x57\x36\x64\x64\x4e\x38\x6f\x43\x57\x36\x38','\x7a\x38\x6f\x6e\x77\x58\x6a\x55\x57\x37\x64\x63\x48\x53\x6f\x72\x44\x38\x6f\x46\x57\x50\x37\x64\x4c\x31\x38','\x57\x35\x69\x37\x57\x50\x54\x6f\x57\x51\x47\x39\x57\x50\x53\x54','\x57\x35\x70\x63\x52\x61\x34\x46\x71\x43\x6b\x35\x75\x53\x6f\x70','\x79\x43\x6b\x7a\x71\x43\x6f\x53\x57\x4f\x70\x64\x48\x38\x6b\x33\x57\x34\x38\x4a\x57\x35\x52\x64\x49\x71','\x57\x51\x6a\x51\x57\x51\x66\x71\x57\x36\x37\x64\x53\x61\x78\x64\x54\x71\x6e\x42\x79\x43\x6b\x6f\x57\x51\x38','\x57\x34\x44\x77\x7a\x72\x5a\x63\x47\x38\x6b\x43','\x57\x34\x2f\x63\x50\x30\x4f\x42\x57\x51\x39\x39\x57\x4f\x78\x64\x48\x57','\x66\x74\x74\x63\x50\x43\x6b\x67\x75\x38\x6f\x64\x57\x35\x5a\x64\x4a\x47','\x6f\x30\x74\x63\x4f\x43\x6b\x4e\x78\x6d\x6b\x47\x57\x34\x79\x52','\x45\x6d\x6b\x39\x57\x52\x74\x64\x53\x53\x6b\x4e\x62\x38\x6b\x66\x62\x61','\x57\x52\x47\x74\x57\x52\x5a\x64\x53\x75\x54\x6e\x57\x50\x7a\x50\x57\x36\x71\x70\x67\x38\x6f\x50\x57\x35\x57\x4b','\x6e\x38\x6f\x31\x57\x50\x68\x63\x4e\x63\x42\x64\x4a\x4b\x68\x64\x4f\x6d\x6f\x31\x43\x43\x6f\x50\x57\x51\x34\x37','\x57\x37\x4a\x64\x47\x53\x6b\x61\x57\x52\x46\x64\x56\x75\x47\x33\x57\x52\x78\x64\x49\x6d\x6f\x51\x67\x38\x6f\x63','\x62\x6d\x6b\x57\x57\x50\x4c\x57\x57\x35\x31\x4f\x57\x36\x43','\x57\x52\x2f\x63\x4c\x38\x6f\x43\x57\x36\x74\x63\x50\x57\x4f\x46\x57\x4f\x4b','\x6d\x53\x6f\x32\x57\x35\x46\x64\x49\x4d\x4a\x63\x4a\x59\x64\x64\x54\x71','\x78\x53\x6b\x4d\x45\x31\x37\x63\x4e\x6d\x6b\x76','\x79\x62\x2f\x64\x56\x43\x6f\x58\x65\x53\x6b\x66\x57\x37\x47\x46\x57\x51\x4e\x64\x50\x47\x4b','\x75\x43\x6f\x69\x57\x4f\x6c\x64\x47\x38\x6f\x58\x63\x57','\x70\x5a\x39\x50\x70\x49\x68\x63\x53\x62\x43','\x6e\x6d\x6f\x5a\x57\x50\x6c\x63\x4e\x63\x5a\x63\x4a\x48\x70\x64\x48\x38\x6f\x68\x72\x53\x6f\x76','\x74\x6d\x6b\x45\x57\x36\x58\x4c\x67\x43\x6f\x38\x43\x38\x6b\x66','\x68\x38\x6b\x69\x57\x35\x52\x63\x53\x38\x6f\x38\x57\x36\x71\x33','\x6a\x38\x6f\x64\x64\x53\x6f\x33\x57\x36\x30\x74\x57\x36\x68\x64\x4a\x4b\x37\x64\x56\x53\x6b\x42\x75\x47','\x67\x53\x6f\x49\x57\x52\x37\x64\x53\x38\x6b\x52\x57\x4f\x54\x2b\x6c\x53\x6b\x45\x57\x4f\x4c\x42\x57\x37\x2f\x64\x4e\x61'];_0x4b6b=function(){return _0x4b8ffe;};return _0x4b6b();}export function buildMutation(_0x1db865){const _0x42bfb9=_0x2bfd,_0x20e521=_0x1db865[_0x42bfb9(0x136,'\x72\x73\x61\x54')][_0x42bfb9(0x11d,'\x74\x4b\x33\x56')+_0x42bfb9(0x12f,'\x78\x6e\x6b\x6f')]===null;return{'\x74\x79\x70\x65':_0x42bfb9(0x128,'\x32\x6a\x77\x59'),'\x69\x64':_0x99c76b(),'\x63\x61\x74\x65\x67\x6f\x72\x79':_0x1db865[_0x42bfb9(0x13b,'\x26\x2a\x47\x40')],'\x74\x72\x69\x67\x67\x65\x72\x5f\x73\x69\x67\x6e\x61\x6c\x73':[..._0x1db865[_0x42bfb9(0x122,'\x55\x78\x2a\x47')]],'\x74\x61\x72\x67\x65\x74':_0x1db865[_0x42bfb9(0x13a,'\x45\x5a\x30\x72')],'\x65\x78\x70\x65\x63\x74\x65\x64\x5f\x65\x66\x66\x65\x63\x74':_0x1db865[_0x42bfb9(0x137,'\x63\x72\x23\x4b')+'\x45\x66\x66\x65\x63\x74'],'\x72\x69\x73\x6b\x5f\x6c\x65\x76\x65\x6c':_0x1db865[_0x42bfb9(0x118,'\x71\x45\x25\x5a')+_0x42bfb9(0x12e,'\x6f\x70\x4b\x73')]??baselineRisk(_0x1db865[_0x42bfb9(0x130,'\x5e\x69\x23\x44')],_0x20e521)};}
@@ -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(_0x2f29a2,_0x3c432e){const _0x4460e7=_0x58d7,_0x30a555=_0x2f29a2();while(!![]){try{const _0x570b93=-parseInt(_0x4460e7(0x16f,'\x65\x78\x6a\x52'))/(0x72e*0x1+-0x2543*0x1+0xf0b*0x2)*(parseInt(_0x4460e7(0x143,'\x68\x58\x6c\x73'))/(-0x1752*0x1+-0xdbe+0x2512))+-parseInt(_0x4460e7(0x1f7,'\x78\x79\x56\x4d'))/(-0x1*-0x12b9+0x2*0x85+-0x13c0)+parseInt(_0x4460e7(0x141,'\x73\x66\x59\x75'))/(-0x1a3e+0xbf9+0xe49)+parseInt(_0x4460e7(0x188,'\x29\x75\x34\x43'))/(0xb*-0x3e+0xfa+-0x1*-0x1b5)+parseInt(_0x4460e7(0x151,'\x23\x5d\x4f\x50'))/(0x5*-0x3c7+-0x131d+0x2606)+parseInt(_0x4460e7(0x1bd,'\x78\x79\x56\x4d'))/(0x14*0x88+0x1*-0x1b93+0x10fa)+parseInt(_0x4460e7(0x1ca,'\x46\x4c\x4d\x49'))/(0x6*0x449+-0x1*0x33+-0x197b*0x1);if(_0x570b93===_0x3c432e)break;else _0x30a555['push'](_0x30a555['shift']());}catch(_0x5adeff){_0x30a555['push'](_0x30a555['shift']());}}}(_0x52bb,-0x1284+-0x5fe5*0x5+-0x1189d*-0x4));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';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';function _0x58d7(_0x4ac26b,_0x42af3a){_0x4ac26b=_0x4ac26b-(0x1561*0x1+0x1*-0x50d+-0xf13);const _0x2b4b9b=_0x52bb();let _0x6c3966=_0x2b4b9b[_0x4ac26b];if(_0x58d7['\x6e\x4f\x72\x56\x66\x46']===undefined){var _0x51e094=function(_0x1c7afd){const _0x367b4f='\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 _0x5058ab='',_0x237866='';for(let _0x43f5d6=-0x15e+-0x6*-0xf1+0x2*-0x224,_0x1b8e9f,_0x55aca0,_0x5c3ff7=0x1557+0x1f*-0x11f+0xd6a;_0x55aca0=_0x1c7afd['\x63\x68\x61\x72\x41\x74'](_0x5c3ff7++);~_0x55aca0&&(_0x1b8e9f=_0x43f5d6%(-0x89a+0x13*-0x4a+0xe1c)?_0x1b8e9f*(0xdc*-0x1e+0xb27*0x1+0xee1)+_0x55aca0:_0x55aca0,_0x43f5d6++%(-0x4*-0x35b+-0x1da5+0x103d))?_0x5058ab+=String['\x66\x72\x6f\x6d\x43\x68\x61\x72\x43\x6f\x64\x65'](-0x29f*-0x3+0xabe+0x2*-0x8ce&_0x1b8e9f>>(-(0x3ad+-0xfdf+0xc34)*_0x43f5d6&-0x12c2*0x2+-0x1*-0xa51+0x1b39)):-0x411*0x1+-0x59b*0x3+0x1b*0xc6){_0x55aca0=_0x367b4f['\x69\x6e\x64\x65\x78\x4f\x66'](_0x55aca0);}for(let _0x850855=0x5f4+0x3*0xc2d+-0x2d5*0xf,_0x3fd7c3=_0x5058ab['\x6c\x65\x6e\x67\x74\x68'];_0x850855<_0x3fd7c3;_0x850855++){_0x237866+='\x25'+('\x30\x30'+_0x5058ab['\x63\x68\x61\x72\x43\x6f\x64\x65\x41\x74'](_0x850855)['\x74\x6f\x53\x74\x72\x69\x6e\x67'](0x2287*-0x1+0x2*0xd73+0x1*0x7b1))['\x73\x6c\x69\x63\x65'](-(0x973+-0x873+0x1*-0xfe));}return decodeURIComponent(_0x237866);};const _0x45a5bc=function(_0xde648e,_0x4893b4){let _0x2654c5=[],_0xd1785d=0x1c93+0x46*0x76+-0x1*0x3cd7,_0x432cb9,_0x122d00='';_0xde648e=_0x51e094(_0xde648e);let _0xc7672;for(_0xc7672=-0x1*0x169f+-0x84c+-0x5*-0x62f;_0xc7672<0x18eb+-0x15db+-0x58*0x6;_0xc7672++){_0x2654c5[_0xc7672]=_0xc7672;}for(_0xc7672=0x5e7*-0x1+0x11b*-0xe+0x1a5*0xd;_0xc7672<-0x1*-0xc+-0x44a+0x53e;_0xc7672++){_0xd1785d=(_0xd1785d+_0x2654c5[_0xc7672]+_0x4893b4['\x63\x68\x61\x72\x43\x6f\x64\x65\x41\x74'](_0xc7672%_0x4893b4['\x6c\x65\x6e\x67\x74\x68']))%(-0x237d+0x109*-0x25+0x18ee*0x3),_0x432cb9=_0x2654c5[_0xc7672],_0x2654c5[_0xc7672]=_0x2654c5[_0xd1785d],_0x2654c5[_0xd1785d]=_0x432cb9;}_0xc7672=0x3*0x443+-0x107e+0x49*0xd,_0xd1785d=0x332+-0x244+-0xee;for(let _0x448216=-0x15a3+-0x32*0x8a+-0x1*-0x3097;_0x448216<_0xde648e['\x6c\x65\x6e\x67\x74\x68'];_0x448216++){_0xc7672=(_0xc7672+(-0x25ae+0x13df*0x1+0x11d0))%(0x1*-0x16f6+-0x2338+0x3b2e),_0xd1785d=(_0xd1785d+_0x2654c5[_0xc7672])%(0x6f*0x52+0x2*-0x130a+0x386),_0x432cb9=_0x2654c5[_0xc7672],_0x2654c5[_0xc7672]=_0x2654c5[_0xd1785d],_0x2654c5[_0xd1785d]=_0x432cb9,_0x122d00+=String['\x66\x72\x6f\x6d\x43\x68\x61\x72\x43\x6f\x64\x65'](_0xde648e['\x63\x68\x61\x72\x43\x6f\x64\x65\x41\x74'](_0x448216)^_0x2654c5[(_0x2654c5[_0xc7672]+_0x2654c5[_0xd1785d])%(-0xf4f+-0x312*-0xb+-0x107*0x11)]);}return _0x122d00;};_0x58d7['\x55\x56\x74\x46\x76\x4d']=_0x45a5bc,_0x58d7['\x48\x7a\x54\x46\x6a\x7a']={},_0x58d7['\x6e\x4f\x72\x56\x66\x46']=!![];}const _0xbd0839=_0x2b4b9b[0x1324+-0x2*-0xa8b+-0x13*0x21e],_0x1ebe02=_0x4ac26b+_0xbd0839,_0x2bdb91=_0x58d7['\x48\x7a\x54\x46\x6a\x7a'][_0x1ebe02];return!_0x2bdb91?(_0x58d7['\x58\x59\x6e\x74\x6c\x41']===undefined&&(_0x58d7['\x58\x59\x6e\x74\x6c\x41']=!![]),_0x6c3966=_0x58d7['\x55\x56\x74\x46\x76\x4d'](_0x6c3966,_0x42af3a),_0x58d7['\x48\x7a\x54\x46\x6a\x7a'][_0x1ebe02]=_0x6c3966):_0x6c3966=_0x2bdb91,_0x6c3966;}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';function _0x52bb(){const _0x21a22a=['\x57\x35\x65\x76\x57\x35\x68\x64\x49\x67\x69','\x57\x34\x37\x63\x50\x66\x47','\x69\x43\x6b\x55\x57\x34\x70\x63\x4f\x38\x6f\x65\x64\x72\x4f','\x70\x6d\x6b\x45\x57\x52\x71','\x57\x51\x56\x64\x4c\x4e\x6a\x53\x57\x52\x4e\x63\x52\x53\x6f\x67','\x43\x6d\x6f\x51\x76\x49\x6c\x64\x4f\x63\x76\x4d\x57\x34\x75','\x57\x4f\x6c\x63\x50\x64\x57\x38\x57\x35\x42\x64\x52\x58\x6d','\x57\x51\x33\x64\x47\x67\x39\x53\x57\x4f\x74\x63\x47\x57','\x41\x43\x6f\x5a\x57\x34\x4c\x67\x6f\x53\x6b\x54\x57\x35\x4c\x79','\x57\x52\x65\x51\x57\x52\x4a\x63\x52\x43\x6f\x37\x57\x4f\x4a\x64\x51\x48\x54\x39\x6e\x61\x64\x63\x4b\x6d\x6f\x52','\x6b\x33\x52\x64\x50\x71','\x7a\x43\x6b\x4d\x72\x53\x6b\x6c\x57\x34\x57','\x57\x52\x52\x64\x4d\x32\x78\x64\x4c\x53\x6f\x31\x57\x50\x37\x64\x4f\x71','\x57\x50\x75\x31\x6d\x71','\x57\x51\x4e\x63\x4b\x6d\x6f\x58','\x57\x34\x2f\x64\x4e\x6d\x6f\x77\x6f\x53\x6b\x79\x75\x73\x39\x35','\x57\x37\x42\x64\x51\x64\x64\x63\x50\x4c\x50\x44\x57\x37\x2f\x63\x55\x63\x70\x64\x52\x6d\x6f\x64\x42\x47','\x6d\x38\x6f\x4a\x70\x59\x70\x63\x4d\x53\x6b\x36\x57\x34\x6c\x63\x4f\x61','\x57\x51\x42\x63\x55\x78\x74\x64\x54\x57\x30\x62\x57\x35\x33\x63\x4f\x47','\x6d\x38\x6b\x52\x57\x35\x46\x64\x52\x43\x6b\x6e\x64\x57\x42\x64\x54\x71','\x57\x36\x6a\x44\x66\x6d\x6b\x76\x57\x4f\x42\x64\x55\x57','\x65\x38\x6f\x4e\x65\x43\x6f\x47\x69\x68\x72\x68\x79\x71','\x6f\x38\x6b\x51\x70\x43\x6b\x55\x6f\x4e\x72\x6b\x43\x71','\x57\x36\x62\x6b\x64\x43\x6b\x6b\x57\x4f\x42\x64\x4f\x53\x6f\x6c\x69\x71','\x57\x36\x70\x64\x48\x53\x6b\x73\x66\x59\x6a\x6d\x46\x71','\x57\x52\x79\x59\x76\x4d\x33\x63\x50\x57','\x6e\x47\x50\x6e\x7a\x61','\x45\x49\x70\x64\x4a\x53\x6b\x56\x6e\x53\x6b\x59\x7a\x5a\x69','\x57\x37\x70\x64\x4e\x6d\x6b\x43\x65\x74\x71','\x75\x38\x6b\x64\x62\x53\x6b\x66','\x6c\x77\x5a\x64\x4f\x49\x56\x64\x50\x53\x6f\x41\x6b\x47','\x69\x4d\x56\x64\x54\x64\x42\x64\x50\x47','\x46\x38\x6f\x36\x71\x61','\x57\x4f\x6c\x63\x4f\x4a\x43\x37\x57\x35\x70\x64\x51\x47\x7a\x56','\x57\x51\x38\x39\x62\x38\x6b\x53\x6d\x71','\x57\x37\x58\x44\x64\x6d\x6b\x42\x57\x50\x46\x64\x50\x61','\x57\x4f\x47\x65\x57\x35\x4b\x57\x57\x37\x75\x33\x57\x34\x53\x64\x65\x57\x65\x53\x57\x37\x54\x46','\x57\x35\x74\x64\x4e\x53\x6f\x6e\x6b\x6d\x6b\x72\x6e\x49\x4b\x4b','\x61\x43\x6f\x46\x72\x6d\x6f\x64\x64\x4a\x37\x64\x50\x43\x6b\x4c\x67\x38\x6f\x4c\x57\x50\x53','\x57\x34\x5a\x63\x52\x58\x53\x75\x57\x51\x64\x63\x50\x6d\x6f\x67\x57\x50\x4f','\x46\x72\x37\x63\x4a\x67\x74\x64\x49\x6d\x6f\x56\x75\x57','\x57\x34\x37\x64\x4e\x6d\x6f\x70\x6c\x6d\x6b\x45\x41\x4a\x6e\x49','\x57\x4f\x42\x64\x56\x68\x6e\x42','\x41\x38\x6f\x32\x75\x57\x2f\x64\x4f\x63\x44\x58','\x57\x36\x65\x6e\x65\x71','\x57\x51\x75\x68\x71\x38\x6f\x4c\x57\x34\x66\x52\x74\x6d\x6b\x62','\x6b\x77\x46\x64\x4f\x73\x56\x64\x53\x43\x6f\x4e\x6b\x31\x79','\x57\x37\x69\x45\x57\x50\x56\x64\x49\x6d\x6f\x36\x65\x38\x6b\x4d','\x57\x52\x43\x37\x77\x6d\x6f\x48\x57\x34\x50\x55\x7a\x38\x6b\x78','\x6e\x6d\x6b\x48\x6a\x38\x6b\x45\x57\x37\x53\x34\x57\x36\x33\x64\x48\x57','\x57\x52\x61\x79\x77\x65\x64\x63\x48\x43\x6b\x61\x57\x37\x38','\x57\x52\x62\x31\x6c\x6d\x6b\x44\x71\x75\x54\x43\x57\x36\x30','\x7a\x53\x6b\x53\x76\x4e\x69\x66\x57\x52\x4a\x63\x4a\x32\x79','\x57\x51\x66\x58\x6e\x38\x6b\x6b\x74\x77\x62\x69\x57\x36\x30','\x45\x38\x6f\x64\x57\x37\x46\x63\x4e\x38\x6b\x6a\x67\x6d\x6f\x42\x74\x4d\x79\x53\x57\x34\x6e\x31','\x57\x51\x37\x64\x48\x68\x76\x53\x57\x52\x34','\x64\x78\x46\x63\x55\x6d\x6b\x41\x62\x31\x64\x63\x54\x31\x74\x63\x4c\x38\x6f\x6a\x65\x47','\x64\x53\x6f\x44\x79\x43\x6f\x53\x57\x37\x47\x6f','\x57\x52\x56\x64\x54\x4a\x62\x38\x57\x37\x53\x35\x63\x63\x2f\x64\x4f\x43\x6b\x4f','\x7a\x53\x6b\x4d\x76\x33\x69','\x57\x34\x33\x63\x52\x58\x47\x43\x57\x51\x42\x63\x54\x71','\x57\x36\x71\x64\x57\x50\x6c\x64\x4a\x53\x6f\x53\x65\x38\x6b\x51\x65\x57','\x57\x4f\x53\x37\x6b\x53\x6f\x63\x57\x52\x47\x55\x6c\x53\x6b\x4e','\x61\x43\x6f\x75\x42\x53\x6f\x35\x57\x36\x4b\x63\x57\x34\x6c\x64\x54\x61','\x45\x43\x6f\x47\x6d\x64\x6c\x63\x53\x53\x6b\x59','\x57\x52\x61\x44\x78\x6d\x6f\x52\x57\x34\x76\x39\x43\x47','\x57\x35\x39\x50\x42\x62\x64\x64\x4f\x38\x6f\x57\x62\x4b\x53','\x77\x73\x78\x64\x50\x43\x6f\x65\x71\x4c\x70\x63\x4e\x77\x30','\x43\x53\x6b\x43\x77\x38\x6b\x46','\x57\x4f\x4e\x64\x51\x4b\x4c\x41\x71\x38\x6b\x79\x6c\x71','\x57\x35\x71\x46\x57\x34\x4f','\x76\x38\x6b\x35\x74\x6d\x6f\x59\x79\x73\x79\x79\x79\x6d\x6b\x4f\x57\x35\x61\x6c\x57\x4f\x75\x71','\x6f\x6d\x6f\x68\x65\x38\x6f\x6e\x57\x4f\x61\x68\x57\x51\x33\x63\x4c\x43\x6b\x51\x57\x4f\x38\x32\x6f\x47','\x57\x34\x53\x72\x57\x37\x54\x53\x6a\x4d\x39\x66','\x57\x50\x46\x64\x47\x47\x57\x6b\x6e\x65\x34\x50','\x63\x68\x7a\x5a\x57\x37\x4f\x4f\x62\x38\x6b\x72\x57\x50\x79','\x57\x4f\x6c\x63\x51\x64\x43\x33\x57\x35\x74\x64\x54\x57\x4c\x35','\x57\x35\x6c\x63\x56\x58\x75\x79\x57\x52\x46\x63\x52\x53\x6f\x59','\x62\x47\x5a\x63\x54\x6d\x6f\x6e\x73\x53\x6b\x38\x45\x6d\x6f\x49','\x57\x4f\x4b\x45\x6c\x38\x6b\x4b\x6d\x47','\x57\x50\x43\x7a\x70\x6d\x6f\x63\x57\x51\x79\x4d','\x44\x38\x6f\x58\x71\x61\x74\x64\x55\x74\x38','\x46\x38\x6f\x58\x76\x71\x33\x64\x53\x4d\x76\x4f\x57\x35\x38','\x64\x6d\x6f\x43\x7a\x53\x6f\x4c\x57\x36\x53\x35\x57\x50\x68\x64\x52\x47','\x6a\x67\x52\x64\x53\x57\x33\x64\x53\x38\x6f\x39\x6b\x4c\x53','\x69\x43\x6b\x49\x57\x35\x61','\x57\x35\x75\x39\x57\x51\x33\x64\x47\x43\x6f\x53\x57\x50\x4f\x39\x57\x34\x53','\x57\x51\x71\x30\x74\x4c\x71\x4b','\x42\x59\x68\x64\x56\x53\x6f\x66\x78\x4c\x75','\x57\x34\x34\x4d\x57\x51\x4e\x64\x50\x38\x6f\x32\x57\x4f\x30\x30\x57\x34\x4f','\x57\x50\x57\x73\x69\x6d\x6f\x6f\x57\x52\x30\x32','\x42\x4b\x44\x46\x57\x52\x74\x63\x4c\x53\x6f\x68\x45\x65\x38','\x57\x51\x74\x63\x53\x77\x37\x64\x55\x48\x4f\x46\x57\x35\x33\x63\x53\x47','\x57\x52\x52\x64\x4c\x32\x72\x35\x57\x51\x5a\x63\x4c\x43\x6f\x68\x72\x57','\x6c\x77\x2f\x64\x55\x71\x2f\x64\x54\x53\x6f\x4c\x6a\x31\x65','\x57\x50\x4c\x78\x57\x50\x35\x52\x57\x51\x4f\x4a\x57\x4f\x6d\x70','\x79\x43\x6b\x41\x75\x33\x61\x69\x57\x51\x33\x63\x49\x4e\x4f','\x41\x4b\x7a\x71\x57\x51\x56\x63\x4b\x61','\x57\x36\x43\x69\x72\x73\x38\x4d\x66\x53\x6f\x52\x77\x71','\x70\x43\x6f\x70\x64\x6d\x6b\x57\x70\x68\x48\x6b\x42\x61','\x57\x50\x6d\x70\x57\x34\x33\x64\x4e\x4d\x74\x64\x4b\x38\x6b\x54\x61\x61','\x57\x50\x74\x63\x51\x78\x53','\x46\x59\x4a\x63\x51\x63\x2f\x64\x4d\x38\x6f\x34\x67\x75\x52\x64\x54\x71','\x61\x59\x46\x63\x51\x66\x71\x4c\x57\x35\x64\x64\x50\x61\x6e\x66\x57\x52\x65\x59\x63\x47','\x57\x52\x78\x63\x53\x78\x78\x64\x55\x61','\x57\x50\x4e\x63\x4c\x78\x2f\x64\x50\x47\x6d\x65\x57\x35\x56\x63\x4d\x61','\x75\x33\x6c\x64\x54\x61\x6a\x39\x57\x34\x37\x64\x50\x31\x61','\x57\x50\x6c\x64\x47\x6d\x6f\x5a\x68\x32\x7a\x43\x75\x71','\x57\x51\x2f\x64\x47\x73\x65','\x57\x4f\x37\x64\x54\x4b\x48\x43\x75\x53\x6b\x31\x64\x53\x6f\x39','\x6f\x6d\x6f\x51\x72\x57\x74\x64\x53\x32\x7a\x4d\x57\x34\x4b','\x68\x68\x52\x64\x4f\x59\x70\x64\x55\x38\x6f\x4e','\x63\x38\x6f\x46\x79\x43\x6f\x51\x57\x36\x62\x6f\x57\x50\x68\x63\x52\x47','\x57\x52\x31\x73\x6c\x53\x6b\x77\x72\x31\x30','\x57\x52\x4f\x4c\x72\x75\x47\x35\x61\x43\x6b\x4b\x57\x52\x65','\x57\x37\x4c\x77\x61\x43\x6b\x71\x57\x50\x42\x64\x51\x6d\x6f\x70\x68\x57','\x45\x43\x6f\x52\x70\x5a\x56\x63\x49\x6d\x6f\x34\x57\x4f\x68\x64\x51\x71','\x57\x51\x2f\x63\x53\x78\x43','\x6b\x53\x6b\x77\x57\x51\x68\x64\x47\x43\x6f\x69\x71\x43\x6f\x2f\x74\x47','\x57\x35\x53\x32\x57\x52\x6d','\x66\x53\x6b\x6c\x61\x6d\x6b\x7a\x75\x31\x78\x64\x4a\x6d\x6b\x34','\x46\x43\x6f\x47\x57\x35\x6a\x76\x6c\x61','\x57\x35\x65\x32\x57\x51\x52\x64\x49\x38\x6f\x39\x57\x50\x43\x46\x57\x35\x30','\x57\x51\x4e\x63\x53\x30\x2f\x64\x4c\x61\x57','\x74\x73\x68\x64\x55\x53\x6f\x62\x75\x4c\x79','\x43\x53\x6b\x7a\x73\x6d\x6b\x7a\x57\x35\x65','\x57\x37\x61\x64\x57\x50\x64\x64\x4a\x53\x6f\x67\x61\x57','\x7a\x66\x79\x70\x69\x53\x6f\x6e\x57\x37\x4a\x64\x4f\x38\x6b\x64\x57\x52\x33\x63\x48\x6d\x6f\x6f','\x57\x36\x6d\x6d\x78\x59\x38\x69\x68\x71','\x42\x6d\x6f\x6d\x78\x71\x42\x64\x52\x59\x50\x55\x57\x35\x38','\x64\x38\x6f\x4e\x57\x36\x33\x63\x4f\x38\x6f\x70\x62\x61\x52\x64\x52\x57','\x57\x51\x5a\x64\x4a\x67\x31\x39\x57\x51\x4a\x63\x4c\x71','\x57\x35\x62\x77\x57\x4f\x6a\x4c\x57\x51\x54\x57\x57\x52\x61\x66','\x57\x52\x61\x44\x75\x53\x6f\x4c\x57\x34\x66\x38\x45\x61','\x57\x35\x74\x63\x55\x61\x71\x73\x57\x52\x68\x63\x51\x6d\x6f\x54\x57\x50\x30','\x57\x36\x71\x73\x57\x4f\x5a\x64\x49\x53\x6f\x37\x61\x53\x6b\x4b\x62\x71','\x43\x53\x6b\x71\x74\x43\x6b\x46\x57\x35\x44\x66\x57\x52\x74\x63\x47\x61','\x61\x38\x6b\x62\x6d\x43\x6b\x6a\x57\x36\x6d\x35','\x57\x37\x44\x44\x64\x6d\x6b\x7a\x57\x51\x52\x64\x51\x61','\x57\x4f\x70\x64\x4c\x53\x6f\x55\x68\x4e\x54\x37\x75\x4d\x61','\x76\x4e\x64\x64\x54\x61\x72\x4c\x57\x4f\x34','\x64\x53\x6b\x75\x6e\x38\x6b\x56\x57\x37\x6d\x4e\x57\x36\x46\x64\x4a\x71','\x57\x37\x31\x52\x63\x38\x6b\x42\x57\x4f\x33\x64\x52\x43\x6f\x67\x70\x61','\x72\x43\x6b\x7a\x61\x6d\x6b\x78\x73\x48\x64\x64\x4d\x38\x6b\x4b','\x42\x43\x6f\x47\x6d\x4a\x6c\x63\x4d\x6d\x6b\x49\x57\x4f\x6c\x64\x54\x71','\x57\x37\x57\x74\x57\x36\x37\x64\x49\x31\x69','\x57\x51\x68\x64\x48\x32\x64\x64\x55\x38\x6f\x31\x57\x50\x5a\x64\x54\x53\x6f\x32','\x57\x50\x61\x30\x6d\x43\x6f\x4c\x64\x38\x6b\x66\x67\x32\x30','\x57\x37\x70\x64\x54\x38\x6f\x4a\x57\x52\x46\x64\x56\x57','\x70\x43\x6b\x50\x57\x4f\x4f','\x57\x36\x65\x4c\x77\x63\x43\x4f\x64\x71','\x62\x43\x6f\x4c\x67\x53\x6b\x4d\x6f\x78\x76\x6d\x41\x57','\x70\x6d\x6b\x62\x57\x34\x4a\x63\x4f\x53\x6f\x6b\x65\x57','\x62\x43\x6f\x44\x45\x57','\x79\x75\x44\x77','\x57\x35\x6d\x39\x57\x52\x70\x64\x47\x43\x6f\x33\x57\x50\x4f','\x46\x43\x6f\x51\x6d\x5a\x6c\x63\x49\x61','\x57\x50\x68\x64\x4e\x6d\x6f\x56\x63\x77\x79','\x57\x35\x4f\x75\x57\x35\x74\x64\x4e\x4e\x78\x63\x49\x53\x6b\x53\x61\x71','\x57\x35\x4b\x6c\x57\x36\x39\x4e\x6d\x30\x50\x73','\x57\x35\x4a\x64\x4f\x53\x6f\x6a\x57\x4f\x64\x64\x47\x48\x4f','\x57\x36\x62\x38\x67\x38\x6b\x44\x57\x51\x30','\x62\x38\x6f\x76\x42\x53\x6f\x4c\x57\x37\x47\x70\x57\x4f\x68\x64\x4a\x47','\x70\x6d\x6b\x6f\x57\x51\x70\x64\x4a\x6d\x6f\x7a\x77\x38\x6f\x56','\x57\x35\x54\x41\x57\x37\x78\x64\x51\x43\x6b\x4c\x57\x35\x78\x63\x53\x72\x53','\x57\x4f\x42\x64\x56\x66\x31\x45\x71\x38\x6b\x34\x70\x38\x6f\x39','\x65\x33\x44\x37\x57\x37\x34\x2f\x67\x53\x6b\x42\x57\x50\x57','\x57\x36\x6e\x78\x64\x53\x6b\x76\x57\x4f\x46\x64\x50\x43\x6f\x6d\x6e\x47','\x57\x35\x74\x64\x4a\x48\x57\x64\x69\x59\x4f\x50\x57\x36\x34','\x57\x52\x64\x63\x4b\x6d\x6f\x5a\x6d\x43\x6b\x57\x71\x57','\x45\x53\x6b\x4e\x66\x61','\x57\x51\x61\x6a\x78\x38\x6f\x49\x57\x34\x31\x52\x41\x53\x6b\x71','\x57\x36\x35\x36\x57\x36\x52\x64\x55\x6d\x6b\x39\x57\x35\x78\x63\x50\x62\x43','\x57\x4f\x38\x4d\x74\x75\x4b\x5a\x67\x57','\x57\x51\x46\x64\x4c\x4d\x56\x64\x4c\x53\x6f\x5a\x57\x51\x33\x64\x4f\x43\x6f\x32','\x6e\x43\x6b\x50\x57\x34\x78\x63\x4f\x43\x6f\x77\x74\x57\x70\x64\x51\x61','\x57\x51\x34\x70\x46\x4b\x79','\x73\x68\x64\x64\x55\x71\x6a\x39\x57\x4f\x52\x64\x4b\x71\x38','\x6b\x6d\x6b\x45\x57\x52\x71','\x41\x65\x7a\x76\x57\x51\x37\x63\x4a\x43\x6f\x6e\x74\x4e\x79','\x46\x53\x6f\x69\x57\x37\x4a\x63\x4e\x43\x6b\x6e\x68\x38\x6b\x54\x79\x4e\x69\x41\x57\x36\x72\x76\x6d\x61','\x57\x50\x31\x6b\x43\x75\x70\x63\x47\x6d\x6b\x6a\x57\x37\x43\x43','\x57\x51\x70\x63\x4c\x6d\x6f\x56\x6d\x38\x6b\x43\x75\x57','\x57\x34\x74\x63\x50\x77\x75\x56'];_0x52bb=function(){return _0x21a22a;};return _0x52bb();}export async function runEvolutionCycle(_0x5df549,_0x477e50,_0x38c7d4){const _0x5ce330=_0x58d7;let _0x5b13cf=[..._0x38c7d4[_0x5ce330(0x1cd,'\x28\x4a\x49\x75')]];if(_0x38c7d4[_0x5ce330(0x164,'\x67\x26\x5b\x75')+_0x5ce330(0x1bc,'\x67\x26\x5b\x75')+_0x5ce330(0x16a,'\x67\x26\x5b\x75')]!==![])try{if(_0x5ce330(0x158,'\x33\x45\x66\x6a')!==_0x5ce330(0x1aa,'\x5e\x41\x26\x68')){const _0xb2e3d3=_0xe0402d(_0x1e664e,_0x3c47d1[_0x5ce330(0x1a8,'\x40\x41\x63\x24')],_0x34f16c[_0x5ce330(0x194,'\x4a\x2a\x5d\x26')+'\x69\x67\x6e\x61\x6c\x73\x43\x6f'+_0x5ce330(0x1e0,'\x65\x78\x6a\x52')]);_0x47719a=_0xb2e3d3['\x73\x69\x67\x6e\x61\x6c\x73'],_0xb2e3d3[_0x5ce330(0x154,'\x6d\x21\x63\x67')]>0x1f1f+-0x2cf*-0xd+-0x2*0x21d1&&_0x2b19db[_0x5ce330(0x1ce,'\x33\x45\x66\x6a')](_0x5ce330(0x1ad,'\x46\x4c\x4d\x49')+_0x5ce330(0x1f1,'\x70\x6e\x50\x75')+'\x5d\x20\x49\x6e\x6a\x65\x63\x74'+_0x5ce330(0x16e,'\x76\x47\x7a\x78')+_0xb2e3d3['\x69\x6e\x6a\x65\x63\x74\x65\x64']+(_0x5ce330(0x16d,'\x54\x4d\x37\x4d')+_0x5ce330(0x148,'\x4d\x64\x33\x39')+_0x5ce330(0x1e6,'\x37\x54\x41\x32')+_0x5ce330(0x181,'\x77\x46\x7a\x2a')+_0x5ce330(0x1b7,'\x28\x4a\x49\x75')+_0x5ce330(0x1b8,'\x66\x59\x53\x76')+_0x5ce330(0x19e,'\x66\x59\x53\x76')));}else{const _0x40dba2=mergePendingSignalsForStore(_0x477e50,_0x38c7d4[_0x5ce330(0x1c3,'\x66\x59\x53\x76')],_0x38c7d4[_0x5ce330(0x17b,'\x58\x24\x4e\x4f')+_0x5ce330(0x18d,'\x74\x24\x40\x5a')+_0x5ce330(0x160,'\x58\x24\x4e\x4f')]);_0x5b13cf=_0x40dba2[_0x5ce330(0x1c7,'\x76\x47\x7a\x78')],_0x40dba2['\x69\x6e\x6a\x65\x63\x74\x65\x64']>-0x1c59+0xff7+0xc62*0x1&&console[_0x5ce330(0x1a3,'\x67\x26\x5b\x75')](_0x5ce330(0x172,'\x24\x61\x77\x46')+_0x5ce330(0x18a,'\x37\x2a\x40\x34')+_0x5ce330(0x1d7,'\x4b\x38\x69\x40')+_0x5ce330(0x175,'\x30\x68\x5b\x6a')+_0x40dba2[_0x5ce330(0x15f,'\x41\x57\x4e\x6d')]+(_0x5ce330(0x177,'\x37\x2a\x40\x34')+'\x63\x6c\x61\x72\x65\x64\x20\x73'+_0x5ce330(0x173,'\x48\x64\x54\x64')+_0x5ce330(0x1dc,'\x61\x57\x49\x4a')+'\x6e\x64\x69\x6e\x67\x5f\x73\x69'+_0x5ce330(0x17d,'\x50\x7a\x6c\x26')+_0x5ce330(0x1b3,'\x29\x74\x24\x40')));}}catch(_0x25c7a3){if(_0x5ce330(0x184,'\x24\x61\x77\x46')===_0x5ce330(0x1da,'\x55\x61\x28\x44')){const _0x1bc24c=_0x95318[_0x5ce330(0x1bb,'\x78\x79\x56\x4d')](_0x497de1)??{'\x73\x75\x63\x63\x65\x73\x73':0x0,'\x6e\x65\x67\x61\x74\x69\x76\x65':0x0};_0x1bc24c[_0x5ce330(0x18e,'\x70\x6e\x50\x75')]+=_0x182a72[_0x5ce330(0x1d9,'\x72\x4a\x32\x78')],_0x1bc24c['\x6e\x65\x67\x61\x74\x69\x76\x65']+=_0x4e19c1[_0x5ce330(0x1b5,'\x46\x4c\x4d\x49')],_0x150406[_0x5ce330(0x15e,'\x66\x59\x53\x76')](_0x27a2c8,_0x1bc24c);}else{const _0x448523=_0x25c7a3 instanceof Error?_0x25c7a3[_0x5ce330(0x1e9,'\x35\x44\x66\x76')]:String(_0x25c7a3);console[_0x5ce330(0x171,'\x24\x61\x77\x46')](_0x5ce330(0x1f2,'\x40\x46\x51\x69')+'\x74\x53\x69\x67\x6e\x61\x6c\x73'+_0x5ce330(0x1be,'\x55\x61\x28\x44')+'\x20\x74\x6f\x20\x63\x6f\x6e\x73'+_0x5ce330(0x1d6,'\x4b\x38\x69\x40')+_0x5ce330(0x19c,'\x33\x45\x66\x6a')+_0x5ce330(0x1d4,'\x66\x59\x53\x76')+_0x5ce330(0x1d2,'\x50\x7a\x6c\x26')+'\x20'+_0x448523);}}const _0x1cb73f=_0x5b13cf,_0x3a1346=_0x5df549[_0x5ce330(0x166,'\x30\x68\x5b\x6a')+_0x5ce330(0x18f,'\x71\x73\x2a\x34')+_0x5ce330(0x197,'\x5e\x41\x26\x68')](_0x1cb73f),_0x571217=_0x3a1346[_0x5ce330(0x1ec,'\x37\x2a\x40\x34')],_0x31301e=_0x38c7d4[_0x5ce330(0x1f6,'\x59\x48\x66\x5a')+_0x5ce330(0x1dd,'\x72\x4a\x32\x78')]?reuseCountsFromSummary(_0x38c7d4[_0x5ce330(0x1d0,'\x37\x54\x41\x32')+_0x5ce330(0x1a5,'\x50\x7a\x6c\x26')]):new Map();if(_0x38c7d4[_0x5ce330(0x1ba,'\x48\x64\x54\x64')+_0x5ce330(0x1de,'\x77\x46\x7a\x2a')]&&_0x38c7d4[_0x5ce330(0x147,'\x38\x78\x61\x7a')+_0x5ce330(0x1db,'\x29\x75\x34\x43')][_0x5ce330(0x1e4,'\x5e\x41\x26\x68')]>0x1e7e+0x1*-0x1703+-0x77b){if(_0x5ce330(0x1e3,'\x33\x45\x66\x6a')===_0x5ce330(0x19a,'\x54\x4d\x37\x4d'))_0x4a4727['\x6c\x6f\x67'](_0x5ce330(0x16c,'\x4b\x38\x69\x40')+_0x5ce330(0x169,'\x29\x74\x24\x40')+_0x5ce330(0x18b,'\x66\x59\x53\x76')+_0x5ce330(0x1ed,'\x43\x6c\x6f\x32')+_0x1c800c[_0x5ce330(0x1a7,'\x54\x4d\x37\x4d')]+(_0x5ce330(0x1b1,'\x61\x46\x34\x36')+_0x5ce330(0x148,'\x4d\x64\x33\x39')+_0x5ce330(0x179,'\x4d\x64\x33\x39')+_0x5ce330(0x168,'\x74\x24\x40\x5a')+_0x5ce330(0x15c,'\x4d\x64\x33\x39')+_0x5ce330(0x15b,'\x37\x2a\x40\x34')+_0x5ce330(0x1c2,'\x71\x73\x2a\x34')));else for(const [_0x4c1bc5,_0x486002]of recallCountsFromEvents(_0x38c7d4['\x72\x65\x63\x61\x6c\x6c\x45\x76'+'\x65\x6e\x74\x73'])){const _0x40acb9=_0x31301e['\x67\x65\x74'](_0x4c1bc5)??{'\x73\x75\x63\x63\x65\x73\x73':0x0,'\x6e\x65\x67\x61\x74\x69\x76\x65':0x0};_0x40acb9[_0x5ce330(0x156,'\x71\x73\x2a\x34')]+=_0x486002[_0x5ce330(0x1ac,'\x78\x79\x56\x4d')],_0x40acb9[_0x5ce330(0x1ae,'\x51\x30\x77\x69')]+=_0x486002[_0x5ce330(0x1ae,'\x51\x30\x77\x69')],_0x31301e[_0x5ce330(0x1c4,'\x78\x79\x56\x4d')](_0x4c1bc5,_0x40acb9);}}const _0x213d73={'\x69\x6e\x63\x6c\x75\x64\x65\x53\x65\x6d\x61\x6e\x74\x69\x63\x43\x6f\x72\x70\x75\x73':_0x38c7d4[_0x5ce330(0x1d3,'\x24\x61\x77\x46')+_0x5ce330(0x1ab,'\x4d\x64\x33\x39')+'\x64\x66']!==!![],..._0x38c7d4[_0x5ce330(0x1b4,'\x70\x6e\x50\x75')+_0x5ce330(0x163,'\x38\x78\x61\x7a')]?{'\x6c\x69\x6d\x69\x74':_0x38c7d4[_0x5ce330(0x1f4,'\x59\x48\x66\x5a')+_0x5ce330(0x19f,'\x43\x6c\x6f\x32')]}:{},..._0x38c7d4[_0x5ce330(0x1d8,'\x5e\x41\x26\x68')+'\x63\x65']?{'\x70\x72\x6f\x76\x65\x6e\x61\x6e\x63\x65':_0x38c7d4[_0x5ce330(0x1c9,'\x4c\x4c\x51\x62')+'\x63\x65']}:{},..._0x38c7d4[_0x5ce330(0x185,'\x73\x66\x59\x75')]?{'\x72\x65\x76\x69\x65\x77':_0x38c7d4[_0x5ce330(0x1d5,'\x5e\x41\x26\x68')]}:{},..._0x38c7d4[_0x5ce330(0x17c,'\x5e\x41\x26\x68')+_0x5ce330(0x1af,'\x6d\x21\x63\x67')]?{'\x69\x6e\x63\x6c\x75\x64\x65\x50\x72\x6f\x62\x61\x74\x69\x6f\x6e':!![]}:{},..._0x38c7d4[_0x5ce330(0x1c6,'\x37\x2a\x40\x34')+_0x5ce330(0x1f8,'\x30\x68\x5b\x6a')]&&_0x38c7d4[_0x5ce330(0x15d,'\x65\x78\x6a\x52')+_0x5ce330(0x182,'\x4c\x4c\x51\x62')][_0x5ce330(0x145,'\x71\x73\x2a\x34')]>-0x1999*0x1+-0x22ec+0x3c85?{'\x68\x75\x62\x43\x61\x6e\x64\x69\x64\x61\x74\x65\x73':_0x38c7d4[_0x5ce330(0x19b,'\x28\x4a\x49\x75')+_0x5ce330(0x182,'\x4c\x4c\x51\x62')]}:{},..._0x31301e[_0x5ce330(0x14d,'\x23\x5d\x4f\x50')]>-0x204b*-0x1+0x1d44+-0x3d8f?{'\x72\x65\x75\x73\x65\x43\x6f\x75\x6e\x74\x73':_0x31301e}:{}},{candidates:_0x33116a,distilledFallback:_0x595e3d,semanticCorpus:_0x42695f,antiWarnings:_0x386ea0}=await assembleSelectionPool(_0x477e50,_0x571217,_0x213d73),_0x5c0a3a=new Map((_0x38c7d4[_0x5ce330(0x1e8,'\x71\x73\x2a\x34')+_0x5ce330(0x167,'\x65\x78\x6a\x52')+'\x65']?.['\x67\x65\x6e\x65\x73']??[])[_0x5ce330(0x1cf,'\x6b\x28\x4a\x4e')](_0x524785=>[_0x524785[_0x5ce330(0x1a9,'\x33\x5a\x49\x4f')],_0x524785])),_0x315522=_0x33116a[_0x5ce330(0x17e,'\x24\x61\x77\x46')](_0x3af8db=>{const _0x102e5f=_0x5ce330;if(_0x102e5f(0x1cc,'\x23\x5d\x4f\x50')===_0x102e5f(0x19d,'\x33\x5a\x49\x4f')){const _0x2d82c8=_0x52a50b[_0x102e5f(0x1e1,'\x37\x2a\x40\x34')](_0x4cafa5[_0x102e5f(0x193,'\x5e\x41\x26\x68')])??(_0x2fbef2[_0x102e5f(0x1df,'\x65\x78\x6a\x52')]?_0x2a743d['\x67\x65\x74'](_0x54ff5d[_0x102e5f(0x174,'\x4a\x2a\x5d\x26')]):_0x2eb789);return _0x2d82c8?{..._0xa6aa6d,'\x6d\x65\x6d\x6f\x72\x79\x42\x6f\x6f\x73\x74':_0x2d82c8['\x62\x6f\x6f\x73\x74']}:_0x109700;}else{const _0x5e0913=_0x5c0a3a[_0x102e5f(0x1cb,'\x65\x78\x6a\x52')](_0x3af8db[_0x102e5f(0x187,'\x29\x67\x53\x77')])??(_0x3af8db['\x61\x73\x73\x65\x74\x49\x64']?_0x5c0a3a[_0x102e5f(0x1a2,'\x4d\x64\x33\x39')](_0x3af8db[_0x102e5f(0x1c5,'\x30\x68\x5b\x6a')]):undefined);return _0x5e0913?{..._0x3af8db,'\x6d\x65\x6d\x6f\x72\x79\x42\x6f\x6f\x73\x74':_0x5e0913[_0x102e5f(0x1c1,'\x54\x4d\x37\x4d')]}:_0x3af8db;}}),_0x3673c5=_0x595e3d[_0x5ce330(0x17e,'\x24\x61\x77\x46')](_0x377013=>{const _0x3b71d7=_0x5ce330,_0x2140d4=_0x5c0a3a[_0x3b71d7(0x14f,'\x54\x4d\x37\x4d')](_0x377013[_0x3b71d7(0x149,'\x50\x7a\x6c\x26')])??(_0x377013[_0x3b71d7(0x14e,'\x51\x30\x77\x69')]?_0x5c0a3a[_0x3b71d7(0x180,'\x41\x57\x4e\x6d')](_0x377013['\x61\x73\x73\x65\x74\x49\x64']):undefined);return _0x2140d4?{..._0x377013,'\x6d\x65\x6d\x6f\x72\x79\x42\x6f\x6f\x73\x74':_0x2140d4[_0x3b71d7(0x1a6,'\x4a\x2a\x5d\x26')]}:_0x377013;}),_0x369744=[..._0x315522,..._0x3673c5],_0x177d17=_0x38c7d4[_0x5ce330(0x183,'\x41\x57\x4e\x6d')+_0x5ce330(0x196,'\x40\x46\x51\x69')+'\x65']?.['\x67\x65\x6e\x65\x73'][_0x5ce330(0x18c,'\x30\x68\x5b\x6a')](_0xfbcafb=>_0x369744[_0x5ce330(0x144,'\x29\x74\x24\x40')](_0x1a6357=>_0x1a6357[_0x5ce330(0x189,'\x43\x6c\x6f\x32')]===_0xfbcafb[_0x5ce330(0x1bf,'\x6b\x28\x4a\x4e')]||_0x1a6357[_0x5ce330(0x152,'\x40\x41\x63\x24')]===_0xfbcafb[_0x5ce330(0x1c8,'\x30\x68\x5b\x6a')]))[_0x5ce330(0x186,'\x23\x5d\x4f\x50')](-0x250f+0xe*0x277+-0x28d*-0x1,0x18b3+-0x24f4+0xc44)??[];return _0x5df549[_0x5ce330(0x162,'\x41\x57\x4e\x6d')]({'\x63\x79\x63\x6c\x65\x49\x64':_0x38c7d4[_0x5ce330(0x153,'\x61\x46\x34\x36')],'\x70\x72\x6f\x62\x6c\x65\x6d':_0x38c7d4[_0x5ce330(0x1f3,'\x55\x61\x28\x44')],'\x73\x69\x67\x6e\x61\x6c\x73':_0x1cb73f,'\x63\x75\x72\x72\x69\x63\x75\x6c\x75\x6d\x53\x69\x67\x6e\x61\x6c\x73':_0x3a1346[_0x5ce330(0x157,'\x23\x61\x32\x58')+'\x75\x6d\x53\x69\x67\x6e\x61\x6c'+'\x73'],'\x63\x61\x74\x65\x67\x6f\x72\x79':_0x38c7d4[_0x5ce330(0x16b,'\x43\x6c\x6f\x32')],..._0x38c7d4[_0x5ce330(0x190,'\x29\x67\x53\x77')+_0x5ce330(0x1c0,'\x68\x58\x6c\x73')]!==undefined?{'\x73\x74\x72\x61\x74\x65\x67\x79\x4e\x61\x6d\x65':_0x38c7d4[_0x5ce330(0x198,'\x77\x46\x7a\x2a')+'\x4e\x61\x6d\x65']}:{},'\x63\x61\x6e\x64\x69\x64\x61\x74\x65\x73':_0x315522,'\x73\x65\x6d\x61\x6e\x74\x69\x63\x43\x6f\x72\x70\x75\x73':_0x42695f,..._0x38c7d4[_0x5ce330(0x14b,'\x26\x6a\x78\x79')+_0x5ce330(0x17f,'\x78\x79\x56\x4d')+'\x64\x66']?{'\x64\x69\x73\x61\x62\x6c\x65\x53\x65\x6d\x61\x6e\x74\x69\x63\x49\x64\x66':!![]}:{},..._0x38c7d4[_0x5ce330(0x1f5,'\x29\x74\x24\x40')+'\x6e\x50\x6f\x6c\x69\x63\x79']?{'\x73\x65\x6c\x65\x63\x74\x69\x6f\x6e\x50\x6f\x6c\x69\x63\x79':_0x38c7d4[_0x5ce330(0x199,'\x50\x7a\x6c\x26')+'\x6e\x50\x6f\x6c\x69\x63\x79']}:{},..._0x38c7d4[_0x5ce330(0x191,'\x23\x5d\x4f\x50')+_0x5ce330(0x159,'\x38\x78\x61\x7a')]?{'\x73\x65\x6c\x65\x63\x74\x69\x6f\x6e\x47\x75\x61\x72\x64':_0x38c7d4[_0x5ce330(0x146,'\x29\x67\x53\x77')+'\x6e\x47\x75\x61\x72\x64']}:{},'\x74\x61\x72\x67\x65\x74':_0x38c7d4[_0x5ce330(0x1b2,'\x6b\x28\x4a\x4e')],'\x65\x78\x70\x65\x63\x74\x65\x64\x45\x66\x66\x65\x63\x74':_0x38c7d4[_0x5ce330(0x1ef,'\x65\x78\x6a\x52')+_0x5ce330(0x1b6,'\x58\x24\x4e\x4f')],'\x73\x75\x6d\x6d\x61\x72\x79':_0x38c7d4[_0x5ce330(0x14a,'\x70\x6e\x50\x75')],'\x63\x6f\x6e\x66\x69\x64\x65\x6e\x63\x65':_0x38c7d4[_0x5ce330(0x1a0,'\x4b\x38\x69\x40')+'\x63\x65'],..._0x38c7d4[_0x5ce330(0x155,'\x76\x47\x7a\x78')+_0x5ce330(0x17a,'\x59\x48\x66\x5a')]!==undefined?{'\x73\x65\x6c\x65\x63\x74\x69\x6f\x6e\x46\x6c\x6f\x6f\x72':_0x38c7d4[_0x5ce330(0x1ea,'\x37\x54\x41\x32')+_0x5ce330(0x1a1,'\x66\x59\x53\x76')]}:{},..._0x38c7d4[_0x5ce330(0x176,'\x51\x30\x77\x69')+_0x5ce330(0x1b9,'\x55\x61\x28\x44')]!==undefined?{'\x66\x6f\x72\x63\x65\x64\x47\x65\x6e\x65\x49\x64':_0x38c7d4[_0x5ce330(0x1ee,'\x70\x6e\x50\x75')+_0x5ce330(0x1eb,'\x51\x30\x77\x69')]}:{},'\x65\x78\x65\x63\x75\x74\x65':_0x38c7d4[_0x5ce330(0x1f0,'\x29\x67\x53\x77')],..._0x38c7d4[_0x5ce330(0x14c,'\x73\x66\x59\x75')+_0x5ce330(0x15a,'\x37\x2a\x40\x34')]!==undefined?{'\x66\x61\x69\x6c\x75\x72\x65\x43\x6f\x6e\x74\x65\x78\x74':_0x38c7d4[_0x5ce330(0x165,'\x24\x61\x77\x46')+_0x5ce330(0x1a4,'\x41\x57\x4e\x6d')]}:{},..._0x38c7d4[_0x5ce330(0x1b0,'\x5e\x41\x26\x68')+_0x5ce330(0x161,'\x73\x66\x59\x75')]?{'\x73\x6f\x6c\x69\x64\x69\x66\x79\x50\x65\x72\x6d\x69\x74':_0x38c7d4[_0x5ce330(0x1e2,'\x76\x47\x7a\x78')+_0x5ce330(0x178,'\x65\x78\x6a\x52')]}:{},..._0x3673c5[_0x5ce330(0x195,'\x48\x64\x54\x64')]>-0x377*0x7+-0x1c8b*-0x1+0x16e*-0x3?{'\x64\x69\x73\x74\x69\x6c\x6c\x65\x64\x46\x61\x6c\x6c\x62\x61\x63\x6b':_0x3673c5}:{},..._0x386ea0[_0x5ce330(0x142,'\x4d\x64\x33\x39')]>0x50*-0x59+-0x1624+0x18fa*0x2?{'\x61\x6e\x74\x69\x57\x61\x72\x6e\x69\x6e\x67\x73':_0x386ea0}:{},..._0x177d17[_0x5ce330(0x192,'\x40\x46\x51\x69')]>0x1768+0xe25+-0x258d*0x1?{'\x6d\x65\x6d\x6f\x72\x79\x45\x76\x69\x64\x65\x6e\x63\x65':_0x177d17}:{}});}
@@ -1,52 +1 @@
1
- // Proven-success gate for publishing / uploading a gene (#581).
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 _0xccfe(){const _0x385ed7=['\x57\x35\x5a\x63\x4f\x75\x4e\x63\x4c\x71\x62\x30\x57\x34\x64\x63\x51\x53\x6f\x50\x57\x37\x79','\x57\x36\x4a\x64\x49\x38\x6b\x46\x69\x6d\x6b\x55\x57\x4f\x64\x64\x54\x38\x6b\x4b\x57\x34\x50\x45','\x57\x50\x44\x79\x57\x51\x42\x63\x50\x4e\x47\x6e\x6a\x75\x78\x64\x4e\x48\x62\x42\x57\x52\x42\x63\x4c\x61','\x57\x37\x70\x64\x4e\x61\x56\x64\x53\x6d\x6f\x66\x57\x37\x47\x31\x57\x50\x52\x64\x53\x61','\x57\x37\x4c\x6d\x6a\x43\x6b\x30\x57\x35\x43','\x43\x59\x2f\x64\x4c\x68\x5a\x63\x49\x43\x6b\x5a\x57\x37\x43','\x57\x51\x33\x64\x47\x4e\x6c\x63\x4c\x64\x42\x64\x49\x6d\x6b\x5a','\x64\x53\x6f\x39\x75\x6d\x6f\x35\x57\x37\x58\x38\x57\x51\x68\x63\x54\x38\x6f\x56\x43\x43\x6b\x2f\x57\x37\x58\x69','\x62\x32\x78\x64\x55\x30\x52\x63\x4a\x38\x6b\x44\x70\x43\x6f\x41\x57\x35\x35\x45\x57\x50\x61','\x6d\x77\x4e\x63\x48\x59\x4a\x64\x4d\x6d\x6f\x35\x57\x52\x74\x64\x4f\x65\x42\x63\x4c\x59\x74\x63\x47\x6d\x6b\x33','\x63\x53\x6b\x52\x42\x38\x6b\x6a\x75\x47','\x69\x71\x75\x56\x57\x4f\x30\x58\x78\x4e\x4a\x64\x4b\x6d\x6f\x34\x42\x30\x2f\x64\x48\x67\x75','\x57\x34\x33\x64\x4a\x53\x6b\x61\x57\x4f\x37\x64\x52\x64\x70\x64\x51\x32\x5a\x63\x55\x53\x6b\x44\x57\x52\x4a\x64\x52\x53\x6f\x42','\x57\x37\x64\x64\x4e\x57\x52\x63\x4e\x53\x6b\x63\x57\x37\x69\x45\x57\x51\x33\x64\x4d\x6d\x6b\x37\x45\x47','\x57\x50\x47\x46\x57\x35\x33\x64\x4f\x32\x6d\x6b\x6a\x43\x6f\x79','\x57\x4f\x46\x64\x54\x48\x74\x64\x4e\x57\x61','\x69\x72\x33\x64\x55\x4c\x68\x64\x4f\x64\x48\x56\x66\x38\x6b\x57\x61\x57\x69','\x75\x53\x6f\x32\x6f\x53\x6f\x6d\x65\x53\x6b\x2f\x57\x37\x4a\x64\x53\x6d\x6b\x53\x6e\x6d\x6b\x6c\x44\x6d\x6f\x4c','\x57\x37\x57\x73\x79\x33\x66\x75\x57\x37\x54\x4f\x57\x35\x46\x64\x54\x4a\x57','\x79\x31\x4a\x63\x51\x71\x78\x63\x54\x59\x62\x41','\x57\x35\x6c\x64\x4c\x38\x6b\x51\x6d\x64\x44\x35\x57\x50\x53\x63\x57\x34\x47','\x57\x37\x70\x64\x4d\x57\x4e\x63\x4d\x53\x6b\x68\x57\x51\x66\x4f\x57\x4f\x33\x64\x4b\x53\x6b\x4c\x78\x47\x6a\x39','\x57\x4f\x43\x6d\x57\x34\x75\x62\x57\x4f\x64\x64\x56\x73\x62\x51\x57\x34\x7a\x31\x65\x59\x61\x56','\x42\x48\x70\x63\x55\x6d\x6f\x4f\x78\x62\x50\x74\x45\x71','\x6c\x62\x6a\x67\x71\x38\x6f\x39\x78\x53\x6f\x37','\x57\x52\x65\x50\x76\x38\x6f\x43\x57\x52\x74\x63\x4b\x65\x52\x63\x4a\x53\x6f\x37\x57\x36\x68\x63\x4f\x61','\x57\x52\x47\x77\x79\x6d\x6f\x4b\x57\x36\x4f\x4b\x69\x76\x44\x65\x74\x47','\x57\x51\x43\x49\x63\x38\x6f\x76\x64\x38\x6b\x46\x66\x53\x6b\x2f\x57\x36\x33\x64\x4f\x31\x34'];_0xccfe=function(){return _0x385ed7;};return _0xccfe();}function _0x1594(_0x333dbb,_0x4af63d){_0x333dbb=_0x333dbb-(-0xb56+0x1883+-0xe*0xd9);const _0x502a07=_0xccfe();let _0x356153=_0x502a07[_0x333dbb];if(_0x1594['\x78\x4a\x70\x77\x47\x67']===undefined){var _0x5ef6a1=function(_0x3edf89){const _0xefc176='\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 _0x509b75='',_0xa90954='';for(let _0x4b5a1f=-0x1309+-0x2c*0x3d+-0x9d7*-0x3,_0x34ebdc,_0x1e5574,_0x5129e8=-0x5a6*0x1+0x1500+-0x1e*0x83;_0x1e5574=_0x3edf89['\x63\x68\x61\x72\x41\x74'](_0x5129e8++);~_0x1e5574&&(_0x34ebdc=_0x4b5a1f%(0x1*-0x21d+-0x392*0x2+0x945)?_0x34ebdc*(0x11*-0x15d+0x1*-0x54e+0x1cbb)+_0x1e5574:_0x1e5574,_0x4b5a1f++%(0x3*0xb04+0x15d3*-0x1+-0xb35))?_0x509b75+=String['\x66\x72\x6f\x6d\x43\x68\x61\x72\x43\x6f\x64\x65'](0xde9+-0x1d32+0x1048&_0x34ebdc>>(-(0x1e*-0xd+-0x19ef+0x1*0x1b77)*_0x4b5a1f&-0x197*-0x9+0x1a07+0xd7*-0x30)):-0x24c1*-0x1+-0x8be*-0x1+-0x2d7f*0x1){_0x1e5574=_0xefc176['\x69\x6e\x64\x65\x78\x4f\x66'](_0x1e5574);}for(let _0x3212a9=0x1ed1+0x2*0xc9c+-0x3809,_0x2c355e=_0x509b75['\x6c\x65\x6e\x67\x74\x68'];_0x3212a9<_0x2c355e;_0x3212a9++){_0xa90954+='\x25'+('\x30\x30'+_0x509b75['\x63\x68\x61\x72\x43\x6f\x64\x65\x41\x74'](_0x3212a9)['\x74\x6f\x53\x74\x72\x69\x6e\x67'](-0x22c2+-0x9ff+-0x667*-0x7))['\x73\x6c\x69\x63\x65'](-(0x8db*0x1+0x1a*0x157+0x1*-0x2baf));}return decodeURIComponent(_0xa90954);};const _0x17aba0=function(_0x5419cf,_0x4d4ddf){let _0x4cc6bd=[],_0x5c5409=-0x3*0xa1b+0x209d+-0x24c,_0x3e3ae3,_0x21e926='';_0x5419cf=_0x5ef6a1(_0x5419cf);let _0x514851;for(_0x514851=0x10c*-0xd+-0x85*0x2c+0x3*0xc28;_0x514851<-0x6*-0x2f0+0x1*-0x1795+0x6f5;_0x514851++){_0x4cc6bd[_0x514851]=_0x514851;}for(_0x514851=0x1147+-0x1*0x1a6f+0x928;_0x514851<-0xd*-0x24d+0x16d6+-0x33bf;_0x514851++){_0x5c5409=(_0x5c5409+_0x4cc6bd[_0x514851]+_0x4d4ddf['\x63\x68\x61\x72\x43\x6f\x64\x65\x41\x74'](_0x514851%_0x4d4ddf['\x6c\x65\x6e\x67\x74\x68']))%(-0xc76+-0x21e5+0x2f5b),_0x3e3ae3=_0x4cc6bd[_0x514851],_0x4cc6bd[_0x514851]=_0x4cc6bd[_0x5c5409],_0x4cc6bd[_0x5c5409]=_0x3e3ae3;}_0x514851=0x8f4*0x1+-0x11*0x9d+0x1*0x179,_0x5c5409=0x153f+0xe6*-0x14+-0x347*0x1;for(let _0x240c4b=0x42f+0x101*0x1f+0x1*-0x234e;_0x240c4b<_0x5419cf['\x6c\x65\x6e\x67\x74\x68'];_0x240c4b++){_0x514851=(_0x514851+(0x1*-0x90d+0x9d4*0x2+-0xa9a))%(0xaf+0x4*-0x3fe+0x1049),_0x5c5409=(_0x5c5409+_0x4cc6bd[_0x514851])%(0xe97+0x1902+0x29*-0xf1),_0x3e3ae3=_0x4cc6bd[_0x514851],_0x4cc6bd[_0x514851]=_0x4cc6bd[_0x5c5409],_0x4cc6bd[_0x5c5409]=_0x3e3ae3,_0x21e926+=String['\x66\x72\x6f\x6d\x43\x68\x61\x72\x43\x6f\x64\x65'](_0x5419cf['\x63\x68\x61\x72\x43\x6f\x64\x65\x41\x74'](_0x240c4b)^_0x4cc6bd[(_0x4cc6bd[_0x514851]+_0x4cc6bd[_0x5c5409])%(0xc8e+0x21b3*0x1+-0x23*0x14b)]);}return _0x21e926;};_0x1594['\x4a\x6b\x6d\x52\x50\x57']=_0x17aba0,_0x1594['\x51\x7a\x44\x4a\x46\x68']={},_0x1594['\x78\x4a\x70\x77\x47\x67']=!![];}const _0x29610f=_0x502a07[0xb*-0x6d+-0x16aa+-0x1b59*-0x1],_0x46694d=_0x333dbb+_0x29610f,_0x51adb2=_0x1594['\x51\x7a\x44\x4a\x46\x68'][_0x46694d];return!_0x51adb2?(_0x1594['\x6d\x6f\x58\x71\x4a\x54']===undefined&&(_0x1594['\x6d\x6f\x58\x71\x4a\x54']=!![]),_0x356153=_0x1594['\x4a\x6b\x6d\x52\x50\x57'](_0x356153,_0x4af63d),_0x1594['\x51\x7a\x44\x4a\x46\x68'][_0x46694d]=_0x356153):_0x356153=_0x51adb2,_0x356153;}(function(_0x514851,_0x240c4b){const _0xdf660b=_0x1594,_0x303d75=_0x514851();while(!![]){try{const _0x59d056=-parseInt(_0xdf660b(0x15f,'\x55\x66\x53\x39'))/(-0xa30+-0x11*0x53+0x7da*0x2)+parseInt(_0xdf660b(0x15c,'\x6d\x7a\x39\x32'))/(0x1*0x16dd+-0x1*0xa63+-0xc78)+parseInt(_0xdf660b(0x151,'\x62\x38\x33\x53'))/(-0xc05*-0x1+0xea4*0x2+-0x294a)*(-parseInt(_0xdf660b(0x153,'\x21\x6c\x37\x37'))/(0x1*0x8dd+0x1409+0x2*-0xe71))+-parseInt(_0xdf660b(0x15a,'\x6d\x4b\x5d\x5e'))/(-0x767*-0x1+-0x2*-0x1253+-0x2c08)+parseInt(_0xdf660b(0x159,'\x36\x63\x78\x25'))/(0x10de+0x6ad*0x1+-0x1785)*(-parseInt(_0xdf660b(0x150,'\x6e\x30\x71\x23'))/(0x3*-0x527+-0x20f2*-0x1+0x1176*-0x1))+parseInt(_0xdf660b(0x163,'\x39\x54\x4b\x67'))/(0x2113+-0x1119+0xd*-0x13a)*(-parseInt(_0xdf660b(0x152,'\x69\x75\x23\x50'))/(-0x1c13+0x20ab*0x1+0x1*-0x48f))+-parseInt(_0xdf660b(0x155,'\x23\x43\x53\x35'))/(0x10c*0x25+-0x52b+-0xb2d*0x3)*(-parseInt(_0xdf660b(0x167,'\x35\x5a\x66\x6d'))/(0x3*-0xba6+-0x1e6b+0x2*0x20b4));if(_0x59d056===_0x240c4b)break;else _0x303d75['push'](_0x303d75['shift']());}catch(_0x549899){_0x303d75['push'](_0x303d75['shift']());}}}(_0xccfe,0x82df*-0x4+0x1*0x156559+-0x557cc));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(_0x58062d){const _0x2ad5ea=_0x1594;return _0x58062d[_0x2ad5ea(0x158,'\x6d\x7a\x39\x32')]+(_0x58062d[_0x2ad5ea(0x15d,'\x71\x66\x21\x77')]??0x1500+0xd06+-0x43*0x82)>=0x1*-0x21d+-0x392*0x2+0x942;}export async function assessGenePublishEvidence(_0x150d6d,_0x3e885c){const _0x31544=_0x1594,_0x336ee1=await aggregateLearningHistory(_0x150d6d,_0x3e885c),_0x30a6cd=isGenePublishEligible(_0x336ee1);return{'\x67\x65\x6e\x65\x49\x64':_0x3e885c,'\x73\x75\x63\x63\x65\x73\x73':_0x336ee1[_0x31544(0x166,'\x39\x54\x4b\x67')],'\x66\x61\x69\x6c\x65\x64':_0x336ee1['\x66\x61\x69\x6c\x65\x64'],'\x69\x6e\x65\x72\x74':_0x336ee1[_0x31544(0x162,'\x21\x6c\x37\x37')]??0x11*-0x15d+0x1*-0x54e+0x1c7b,'\x74\x6f\x74\x61\x6c':_0x336ee1[_0x31544(0x157,'\x62\x38\x33\x53')],'\x65\x6c\x69\x67\x69\x62\x6c\x65':_0x30a6cd,'\x72\x65\x61\x73\x6f\x6e':_0x30a6cd?'\x65\x6c\x69\x67\x69\x62\x6c\x65':_0x31544(0x16a,'\x4e\x31\x26\x5a')+_0x31544(0x161,'\x35\x7a\x78\x6d')+'\x73'};}
@@ -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(_0x4f25c0,_0x298337){const _0x2e3b0b=_0x3454,_0x1280b4=_0x4f25c0();while(!![]){try{const _0x4d5d36=parseInt(_0x2e3b0b(0x16e,'\x40\x4f\x76\x41'))/(-0x1*0x1ca3+-0x1863*-0x1+-0x441*-0x1)*(-parseInt(_0x2e3b0b(0x15d,'\x6e\x7a\x30\x71'))/(-0x2285*0x1+0x19ed+0x89a))+-parseInt(_0x2e3b0b(0x17a,'\x28\x47\x28\x30'))/(-0x54f+0x12b*-0x15+0x1dd9)+parseInt(_0x2e3b0b(0x16b,'\x28\x6d\x26\x43'))/(0x266c+0x137*-0x17+-0xa77)+parseInt(_0x2e3b0b(0x140,'\x7a\x28\x63\x78'))/(-0x23a0+-0x22d6+0x467b)*(-parseInt(_0x2e3b0b(0x135,'\x40\x4f\x76\x41'))/(-0x5fb*0x4+0x61e*-0x1+0x1e10))+parseInt(_0x2e3b0b(0x138,'\x78\x69\x6a\x57'))/(-0x2118+0x300+0x1e1f)*(parseInt(_0x2e3b0b(0x158,'\x73\x58\x7a\x55'))/(0xd3*-0x16+-0x337+0x1561))+parseInt(_0x2e3b0b(0x15f,'\x30\x37\x52\x32'))/(-0xd9*0x4+-0x716+0x75*0x17)+-parseInt(_0x2e3b0b(0x156,'\x77\x44\x21\x6b'))/(0x77b*0x3+0xb34+0x4cd*-0x7);if(_0x4d5d36===_0x298337)break;else _0x1280b4['push'](_0x1280b4['shift']());}catch(_0x3aaf4f){_0x1280b4['push'](_0x1280b4['shift']());}}}(_0x5cfb,-0x1f*0x1101+-0xe5e2+-0x1*-0x1133a1));import{ulid as _0x3481f2}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';function _0x3454(_0x215360,_0xa44767){_0x215360=_0x215360-(0x1*0xbd3+-0x8*0x15+-0xa19);const _0x1f3f48=_0x5cfb();let _0x3b37f6=_0x1f3f48[_0x215360];if(_0x3454['\x62\x50\x79\x73\x66\x63']===undefined){var _0x2fc7fb=function(_0x3bc921){const _0x23fd2c='\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 _0xa63f27='',_0x31e3ee='';for(let _0x97ee9a=-0x951+0x14e2*-0x1+-0xa11*-0x3,_0x27f888,_0x493549,_0x5ec410=0x97d*0x1+0x2*-0xd1+-0x7db;_0x493549=_0x3bc921['\x63\x68\x61\x72\x41\x74'](_0x5ec410++);~_0x493549&&(_0x27f888=_0x97ee9a%(-0x878+-0x3a9*0x1+-0xc25*-0x1)?_0x27f888*(-0x266b+-0x118d*0x1+0x3838)+_0x493549:_0x493549,_0x97ee9a++%(0x77*-0x35+0x1e9c+-0x5f5))?_0xa63f27+=String['\x66\x72\x6f\x6d\x43\x68\x61\x72\x43\x6f\x64\x65'](-0x1bc0+-0x1*-0x1f47+0x4*-0xa2&_0x27f888>>(-(-0xff+-0x11*-0x184+-0x18c3)*_0x97ee9a&-0x1afa+0x142e+0x6d2)):-0x1*-0x867+-0x1*-0x1a23+-0x228a*0x1){_0x493549=_0x23fd2c['\x69\x6e\x64\x65\x78\x4f\x66'](_0x493549);}for(let _0x35368b=-0x2343+0x1033+-0x131*-0x10,_0x4ae702=_0xa63f27['\x6c\x65\x6e\x67\x74\x68'];_0x35368b<_0x4ae702;_0x35368b++){_0x31e3ee+='\x25'+('\x30\x30'+_0xa63f27['\x63\x68\x61\x72\x43\x6f\x64\x65\x41\x74'](_0x35368b)['\x74\x6f\x53\x74\x72\x69\x6e\x67'](-0x3b*0xd+-0x1*0x266f+0x297e))['\x73\x6c\x69\x63\x65'](-(0x95*0x1+0x1*0x1a35+-0x1ac8));}return decodeURIComponent(_0x31e3ee);};const _0x5a30f3=function(_0x26f153,_0x86f3d3){let _0x5525f8=[],_0x484312=-0x2063+0x1c9*-0x3+0x1*0x25be,_0x12ff0f,_0x508567='';_0x26f153=_0x2fc7fb(_0x26f153);let _0x5451b3;for(_0x5451b3=0xc*-0x2f+-0x1*0x43b+0x66f;_0x5451b3<-0x2063+0xd63+0x1400;_0x5451b3++){_0x5525f8[_0x5451b3]=_0x5451b3;}for(_0x5451b3=0xd*0x137+-0x1e2d+0xe62;_0x5451b3<-0x1*0xd49+-0xedf+0x1d28;_0x5451b3++){_0x484312=(_0x484312+_0x5525f8[_0x5451b3]+_0x86f3d3['\x63\x68\x61\x72\x43\x6f\x64\x65\x41\x74'](_0x5451b3%_0x86f3d3['\x6c\x65\x6e\x67\x74\x68']))%(0xb3*-0x2+-0x18a1+0x11*0x197),_0x12ff0f=_0x5525f8[_0x5451b3],_0x5525f8[_0x5451b3]=_0x5525f8[_0x484312],_0x5525f8[_0x484312]=_0x12ff0f;}_0x5451b3=-0x805+0x1ede+0x1*-0x16d9,_0x484312=-0x23*0x58+-0xdbd+-0x3*-0x897;for(let _0x18cece=0x1f09+0x1de8+-0x1*0x3cf1;_0x18cece<_0x26f153['\x6c\x65\x6e\x67\x74\x68'];_0x18cece++){_0x5451b3=(_0x5451b3+(0x1*-0x18ee+-0x1*0xf2a+0x2819))%(0x5*-0x66e+0x1*-0xb9d+0x2cc3*0x1),_0x484312=(_0x484312+_0x5525f8[_0x5451b3])%(-0x1619+0xc16+-0xb03*-0x1),_0x12ff0f=_0x5525f8[_0x5451b3],_0x5525f8[_0x5451b3]=_0x5525f8[_0x484312],_0x5525f8[_0x484312]=_0x12ff0f,_0x508567+=String['\x66\x72\x6f\x6d\x43\x68\x61\x72\x43\x6f\x64\x65'](_0x26f153['\x63\x68\x61\x72\x43\x6f\x64\x65\x41\x74'](_0x18cece)^_0x5525f8[(_0x5525f8[_0x5451b3]+_0x5525f8[_0x484312])%(0x233*0x3+-0x1db7*-0x1+-0x8*0x46a)]);}return _0x508567;};_0x3454['\x4e\x61\x6e\x63\x70\x71']=_0x5a30f3,_0x3454['\x51\x4d\x4f\x6e\x45\x47']={},_0x3454['\x62\x50\x79\x73\x66\x63']=!![];}const _0x30e0bf=_0x1f3f48[0xe*0x35+-0x1a93+-0x227*-0xb],_0x2c5160=_0x215360+_0x30e0bf,_0x449f60=_0x3454['\x51\x4d\x4f\x6e\x45\x47'][_0x2c5160];return!_0x449f60?(_0x3454['\x6e\x66\x4f\x65\x77\x61']===undefined&&(_0x3454['\x6e\x66\x4f\x65\x77\x61']=!![]),_0x3b37f6=_0x3454['\x4e\x61\x6e\x63\x70\x71'](_0x3b37f6,_0xa44767),_0x3454['\x51\x4d\x4f\x6e\x45\x47'][_0x2c5160]=_0x3b37f6):_0x3b37f6=_0x449f60,_0x3b37f6;}export function proofIndicatesOutput(_0x2c7f0a){const _0x2808d2=_0x3454;if(!_0x2c7f0a)return![];switch(_0x2c7f0a[_0x2808d2(0x133,'\x73\x58\x7a\x55')]){case _0x2808d2(0x16f,'\x66\x56\x51\x4b'):return(_0x2c7f0a[_0x2808d2(0x112,'\x50\x5d\x6e\x52')]?.[_0x2808d2(0x173,'\x75\x76\x4c\x48')]??0x1ede+0x3*-0x598+-0xe16)>-0xdbd+0x22a4+-0x1*0x14e7||(_0x2c7f0a[_0x2808d2(0x15c,'\x55\x42\x24\x6e')]?.['\x6c\x69\x6e\x65\x73']??0x1f09+0x1de8+-0x1*0x3cf1)>0x1*-0x18ee+-0x1*0xf2a+0x2818;case _0x2808d2(0x149,'\x55\x6d\x63\x38')+'\x5f\x68\x61\x73\x68':return Boolean(_0x2c7f0a['\x61\x72\x74\x69\x66\x61\x63\x74'+'\x48\x61\x73\x68']?.[_0x2808d2(0x176,'\x30\x37\x52\x32')]);case _0x2808d2(0x157,'\x29\x32\x52\x32')+_0x2808d2(0x125,'\x32\x5e\x33\x57'):return Boolean(_0x2c7f0a[_0x2808d2(0x174,'\x21\x52\x6c\x33')+_0x2808d2(0x15b,'\x30\x37\x52\x32')]?.[_0x2808d2(0x116,'\x32\x5e\x33\x57')+'\x64']);case _0x2808d2(0x132,'\x72\x34\x37\x6c')+_0x2808d2(0x117,'\x7a\x28\x63\x78'):return(_0x2c7f0a[_0x2808d2(0x14d,'\x77\x44\x21\x6b')+_0x2808d2(0x17b,'\x6a\x35\x52\x47')]?.[_0x2808d2(0x143,'\x32\x62\x64\x4f')]??0x5*-0x66e+0x1*-0xb9d+0x2bc3*0x1)>-0x1619+0xc16+-0xa03*-0x1;default:return![];}}export function decideResolution(_0x172dbc){const _0x14b846=_0x3454,_0x3f08ab=[],_0x2c3cf4=proofIndicatesOutput(_0x172dbc['\x70\x72\x6f\x6f\x66\x4f\x66\x57'+_0x14b846(0x11e,'\x71\x51\x65\x43')]);if(_0x172dbc[_0x14b846(0x12a,'\x6e\x32\x53\x4f')]['\x73\x74\x61\x74\x75\x73']===_0x14b846(0x14b,'\x58\x4e\x6a\x52')){const _0x42079d=_0x172dbc['\x6f\x75\x74\x63\x6f\x6d\x65'][_0x14b846(0x13d,'\x66\x67\x55\x50')]<(_0x172dbc[_0x14b846(0x16a,'\x70\x73\x26\x35')+'\x68\x72\x65\x73\x68\x6f\x6c\x64']??0x233*0x3+-0x1db7*-0x1+-0x8*0x48a+0.3)?_0x14b846(0x152,'\x51\x65\x32\x72')+'\x64':_0x14b846(0x134,'\x32\x5e\x33\x57')+_0x14b846(0x15e,'\x6a\x35\x52\x47');return _0x3f08ab[_0x14b846(0x145,'\x76\x6c\x6f\x74')](_0x14b846(0x169,'\x63\x4b\x40\x6f')+'\x3d'+_0x172dbc[_0x14b846(0x16c,'\x29\x40\x24\x53')][_0x14b846(0x13f,'\x29\x32\x52\x32')]+_0x14b846(0x150,'\x55\x42\x24\x6e')+_0x42079d),{'\x73\x74\x61\x74\x75\x73':_0x42079d,'\x70\x72\x6f\x64\x75\x63\x65\x64\x56\x61\x6c\x75\x65':_0x2c3cf4,'\x72\x65\x61\x73\x6f\x6e\x73':_0x3f08ab};}if(_0x2c3cf4&&_0x172dbc[_0x14b846(0x14a,'\x75\x76\x4c\x48')+_0x14b846(0x164,'\x30\x37\x52\x32')]){if('\x47\x7a\x6a\x69\x7a'!==_0x14b846(0x12e,'\x32\x62\x64\x4f'))return _0x3f08ab[_0x14b846(0x11f,'\x78\x6d\x52\x33')](_0x14b846(0x129,'\x51\x65\x32\x72')+_0x14b846(0x148,'\x66\x67\x55\x50')+_0x14b846(0x127,'\x62\x48\x72\x43')+_0x14b846(0x17e,'\x66\x53\x6f\x34')+_0x14b846(0x123,'\x32\x62\x64\x4f')+_0x14b846(0x124,'\x5a\x4e\x69\x71')+'\x65'),{'\x73\x74\x61\x74\x75\x73':_0x14b846(0x142,'\x51\x65\x32\x72')+'\x5f\x62\x79\x5f\x65\x76\x69\x64'+_0x14b846(0x11b,'\x6c\x73\x63\x4f'),'\x70\x72\x6f\x64\x75\x63\x65\x64\x56\x61\x6c\x75\x65':_0x2c3cf4,'\x72\x65\x61\x73\x6f\x6e\x73':_0x3f08ab};else{if(!_0x3616bb)return![];switch(_0x1d89b5[_0x14b846(0x131,'\x4d\x25\x25\x51')]){case _0x14b846(0x14f,'\x6c\x73\x63\x4f'):return(_0xcc955['\x67\x69\x74\x44\x69\x66\x66']?.[_0x14b846(0x14e,'\x4f\x45\x28\x49')]??0xe*0x35+-0x1a93+-0x227*-0xb)>-0xbc5+0x1*-0x1ea9+-0x1*-0x2a6e||(_0x1a44a1[_0x14b846(0x14c,'\x76\x6c\x6f\x74')]?.[_0x14b846(0x166,'\x28\x47\x28\x30')]??-0x1*-0x1127+0x22d3+-0x33fa*0x1)>-0x653+0x65*0x35+-0xe96;case'\x61\x72\x74\x69\x66\x61\x63\x74'+_0x14b846(0x12c,'\x40\x4f\x76\x41'):return _0x1f553b(_0x5213cb[_0x14b846(0x178,'\x21\x52\x6c\x33')+'\x48\x61\x73\x68']?.[_0x14b846(0x113,'\x72\x34\x37\x6c')]);case _0x14b846(0x167,'\x5d\x50\x4f\x6b')+_0x14b846(0x12b,'\x7a\x28\x63\x78'):return _0x6132fd(_0x6b340b[_0x14b846(0x165,'\x71\x51\x65\x43')+_0x14b846(0x163,'\x6a\x35\x52\x47')]?.[_0x14b846(0x115,'\x48\x5a\x71\x43')+'\x64']);case _0x14b846(0x130,'\x63\x4b\x40\x6f')+_0x14b846(0x17c,'\x4f\x45\x28\x49'):return(_0x119e7f[_0x14b846(0x159,'\x6c\x73\x63\x4f')+_0x14b846(0x155,'\x55\x42\x24\x6e')]?.[_0x14b846(0x136,'\x66\x67\x55\x50')]??-0x2029*0x1+0x1eb1+-0x8*-0x2f)>-0x70+0x42b*-0x4+0x111c;default:return![];}}}return _0x3f08ab['\x70\x75\x73\x68'](_0x2c3cf4?'\u6210\u529f\x20\x2b\x20\u6709\u4ea7\u51fa'+_0x14b846(0x126,'\x6e\x7a\x30\x71')+_0x14b846(0x12d,'\x5d\x50\x4f\x6b')+_0x14b846(0x128,'\x50\x5d\x6e\x52')+_0x14b846(0x13a,'\x72\x34\x37\x6c')+_0x14b846(0x168,'\x66\x6e\x72\x64')+'\x29':_0x14b846(0x171,'\x6e\x32\x53\x4f')+_0x14b846(0x17d,'\x73\x58\x7a\x55')+_0x14b846(0x12f,'\x52\x28\x35\x21')+_0x14b846(0x154,'\x29\x32\x52\x32')+_0x14b846(0x121,'\x73\x58\x7a\x55')+_0x14b846(0x147,'\x33\x58\x47\x43')+'\x6c\x79'),{'\x73\x74\x61\x74\x75\x73':_0x14b846(0x122,'\x4f\x45\x28\x49')+'\x65\x64\x5f\x6f\x62\x73\x65\x72'+_0x14b846(0x13c,'\x71\x51\x65\x43')+'\x6c\x79','\x70\x72\x6f\x64\x75\x63\x65\x64\x56\x61\x6c\x75\x65':_0x2c3cf4,'\x72\x65\x61\x73\x6f\x6e\x73':_0x3f08ab};}export function solidify(_0x4b972b){const _0x487f7c=_0x3454,{status:_0xc9a6f,producedValue:_0x34b990,reasons:_0x42b00a}=decideResolution(_0x4b972b),_0x4880b0=_0x4b972b[_0x487f7c(0x161,'\x32\x62\x64\x4f')+_0x487f7c(0x162,'\x75\x76\x4c\x48')]?.[_0x487f7c(0x139,'\x66\x56\x51\x4b')]===_0x487f7c(0x170,'\x62\x48\x72\x43')?_0x4b972b[_0x487f7c(0x151,'\x58\x4e\x6a\x52')+_0x487f7c(0x177,'\x51\x65\x32\x72')][_0x487f7c(0x137,'\x40\x4f\x76\x41')]:undefined,_0x59b8c0={'\x74\x79\x70\x65':_0x487f7c(0x13b,'\x5a\x4e\x69\x71'),'\x73\x63\x68\x65\x6d\x61\x5f\x76\x65\x72\x73\x69\x6f\x6e':SCHEMA_VERSION,'\x69\x64':_0x3481f2(),'\x74\x72\x69\x67\x67\x65\x72':[..._0x4b972b['\x74\x72\x69\x67\x67\x65\x72']],'\x67\x65\x6e\x65':_0x4b972b[_0x487f7c(0x11d,'\x29\x32\x52\x32')],'\x73\x75\x6d\x6d\x61\x72\x79':_0x4b972b[_0x487f7c(0x172,'\x4b\x41\x59\x47')],'\x63\x6f\x6e\x66\x69\x64\x65\x6e\x63\x65':_0x4b972b[_0x487f7c(0x146,'\x66\x67\x55\x50')+'\x63\x65'],'\x62\x6c\x61\x73\x74\x5f\x72\x61\x64\x69\x75\x73':{'\x66\x69\x6c\x65\x73':_0x4880b0?.[_0x487f7c(0x175,'\x4b\x41\x59\x47')]??0x20c1*-0x1+0xb2*-0x2f+-0x416f*-0x1,'\x6c\x69\x6e\x65\x73':_0x4880b0?.[_0x487f7c(0x120,'\x30\x67\x63\x52')]??0x3*-0xa36+-0xaf0*-0x3+-0x22e},'\x6f\x75\x74\x63\x6f\x6d\x65':_0x4b972b[_0x487f7c(0x144,'\x48\x5a\x71\x43')],'\x72\x65\x73\x6f\x6c\x75\x74\x69\x6f\x6e\x5f\x73\x74\x61\x74\x75\x73':_0xc9a6f,..._0x4b972b[_0x487f7c(0x179,'\x6a\x35\x52\x47')+_0x487f7c(0x160,'\x55\x42\x24\x6e')]?{'\x70\x72\x6f\x6f\x66\x5f\x6f\x66\x5f\x77\x6f\x72\x6b':_0x4b972b[_0x487f7c(0x11c,'\x75\x76\x4c\x48')+'\x6f\x72\x6b']}:{}},_0x1426b2=computeAssetId(_0x59b8c0);return{'\x63\x61\x70\x73\x75\x6c\x65':{..._0x59b8c0,'\x61\x73\x73\x65\x74\x5f\x69\x64':_0x1426b2},'\x72\x65\x73\x6f\x6c\x75\x74\x69\x6f\x6e\x53\x74\x61\x74\x75\x73':_0xc9a6f,'\x70\x72\x6f\x64\x75\x63\x65\x64\x56\x61\x6c\x75\x65':_0x34b990,'\x72\x65\x61\x73\x6f\x6e\x73':_0x42b00a};}function _0x5cfb(){const _0x109d6f=['\x57\x52\x35\x46\x57\x36\x47\x34\x57\x37\x74\x64\x54\x53\x6f\x72\x78\x6d\x6b\x7a\x6c\x30\x44\x77\x57\x4f\x76\x48','\x46\x43\x6b\x6a\x57\x50\x74\x63\x52\x43\x6f\x72\x57\x35\x68\x63\x4b\x53\x6b\x6a','\x7a\x53\x6f\x38\x6e\x6d\x6f\x36\x57\x34\x2f\x63\x4b\x57\x39\x55\x77\x31\x4b','\x77\x43\x6b\x4a\x57\x51\x52\x64\x4e\x53\x6b\x55\x45\x65\x56\x64\x51\x47','\x71\x38\x6f\x36\x57\x50\x6e\x36\x7a\x67\x35\x30\x77\x6d\x6b\x77\x6c\x58\x4b','\x57\x35\x56\x63\x54\x6d\x6f\x43\x75\x43\x6f\x35\x57\x51\x37\x63\x51\x57','\x42\x71\x68\x64\x50\x38\x6f\x75\x57\x50\x46\x63\x4f\x73\x61','\x6a\x30\x68\x64\x51\x30\x6d\x75\x57\x4f\x65\x47\x74\x75\x4a\x63\x48\x57','\x41\x43\x6f\x63\x57\x51\x6d\x49','\x57\x52\x4a\x64\x50\x6d\x6b\x67\x62\x53\x6b\x4c\x57\x36\x5a\x64\x51\x43\x6b\x64\x61\x30\x50\x64\x57\x4f\x6c\x64\x4e\x4a\x69','\x7a\x72\x52\x64\x55\x61','\x61\x6d\x6b\x36\x57\x34\x38\x48\x6e\x66\x76\x46\x78\x71','\x72\x68\x34\x72','\x73\x6d\x6f\x6f\x57\x52\x79\x49\x42\x53\x6b\x61\x74\x71','\x57\x36\x64\x63\x54\x43\x6f\x41\x77\x53\x6f\x5a\x57\x52\x53','\x42\x6d\x6f\x75\x68\x38\x6b\x66\x7a\x65\x2f\x63\x49\x6d\x6f\x33','\x68\x77\x66\x42\x76\x71\x79','\x67\x53\x6f\x73\x67\x43\x6f\x74\x67\x64\x78\x64\x4f\x58\x4f','\x57\x4f\x5a\x64\x4c\x4e\x74\x4b\x55\x50\x70\x4f\x48\x51\x56\x4c\x49\x6a\x68\x4c\x4a\x69\x37\x4e\x55\x50\x57','\x35\x41\x45\x4c\x36\x6c\x77\x4c\x73\x6d\x6b\x30\x63\x47\x68\x63\x4f\x38\x6f\x30','\x74\x6d\x6f\x51\x57\x52\x4b\x44\x57\x50\x78\x64\x48\x38\x6f\x79\x57\x36\x6d','\x57\x36\x64\x63\x4d\x53\x6b\x78\x6e\x53\x6f\x2f\x57\x50\x4a\x63\x4a\x76\x42\x64\x52\x43\x6f\x6e\x6a\x53\x6f\x34\x57\x34\x61','\x70\x43\x6f\x35\x57\x34\x4a\x64\x4a\x6d\x6f\x6e\x57\x50\x4b\x6a','\x63\x6d\x6b\x2b\x57\x51\x34\x33\x57\x4f\x64\x64\x4a\x53\x6f\x6b\x57\x37\x4b','\x57\x51\x43\x4b\x57\x35\x65\x51\x79\x68\x46\x64\x55\x43\x6f\x2f','\x57\x34\x5a\x63\x48\x78\x79\x52\x42\x6d\x6b\x4d\x42\x6d\x6f\x53','\x69\x72\x78\x64\x53\x4e\x6e\x79\x46\x66\x58\x58','\x35\x4f\x51\x54\x35\x79\x49\x6e\x35\x6c\x32\x6a\x35\x50\x73\x62\x6e\x6d\x6b\x30\x7a\x49\x6d','\x62\x76\x62\x34\x57\x35\x62\x55\x72\x38\x6b\x44','\x74\x77\x75\x77\x57\x50\x37\x63\x48\x47','\x57\x36\x53\x7a\x57\x35\x6a\x4a\x43\x4e\x46\x64\x51\x38\x6f\x55','\x65\x65\x58\x35\x57\x35\x48\x38','\x57\x37\x52\x63\x55\x43\x6f\x45\x62\x53\x6b\x4c\x57\x36\x47','\x57\x50\x46\x63\x47\x38\x6f\x68','\x57\x36\x38\x74\x57\x35\x6a\x56\x7a\x4e\x4a\x64\x51\x43\x6f\x32','\x41\x53\x6f\x7a\x57\x52\x4f\x4f\x79\x43\x6b\x2f\x78\x38\x6b\x78','\x71\x4a\x53\x6d\x62\x30\x33\x63\x50\x61\x5a\x63\x4b\x43\x6b\x2b\x57\x35\x5a\x64\x4a\x72\x43','\x74\x53\x6f\x7a\x57\x52\x71\x4b\x79\x47','\x57\x50\x42\x63\x4d\x4c\x66\x31\x57\x37\x52\x64\x4c\x38\x6f\x42','\x6f\x53\x6b\x51\x71\x38\x6b\x4b\x57\x35\x68\x63\x55\x59\x76\x71','\x36\x6b\x36\x62\x35\x4f\x32\x76\x44\x2b\x6b\x67\x51\x75\x4b\x53\x72\x33\x75','\x57\x35\x56\x63\x4a\x66\x68\x64\x56\x6d\x6f\x43\x44\x65\x65','\x64\x65\x44\x54\x41\x6d\x6f\x41\x6c\x71','\x57\x34\x4e\x64\x48\x6d\x6b\x76\x77\x43\x6f\x5a\x70\x71\x6e\x67\x57\x50\x68\x63\x52\x53\x6f\x74\x57\x36\x79\x66\x75\x71','\x57\x50\x75\x4e\x42\x4b\x71\x49\x57\x34\x6c\x64\x4a\x31\x38','\x57\x51\x4c\x33\x64\x43\x6b\x6e\x57\x35\x70\x64\x54\x43\x6b\x45\x57\x35\x53','\x57\x37\x72\x54\x57\x52\x42\x64\x54\x30\x71\x70\x65\x47','\x67\x74\x58\x6f\x57\x34\x6c\x64\x47\x5a\x64\x64\x48\x5a\x2f\x64\x4b\x38\x6b\x2b\x57\x35\x61','\x57\x52\x52\x64\x4f\x53\x6b\x67\x61\x38\x6b\x4f\x57\x36\x33\x63\x51\x43\x6f\x67\x70\x76\x58\x4f\x57\x50\x38','\x57\x35\x7a\x31\x6f\x62\x48\x2b\x57\x4f\x78\x63\x47\x59\x7a\x55\x57\x37\x4e\x63\x52\x4b\x70\x64\x4f\x38\x6b\x31','\x73\x6d\x6b\x49\x57\x51\x42\x64\x4c\x57','\x77\x33\x34\x76\x57\x50\x74\x63\x4b\x5a\x74\x64\x4c\x58\x69','\x46\x38\x6b\x75\x57\x4f\x37\x63\x52\x43\x6f\x51\x57\x35\x53','\x7a\x53\x6f\x45\x61\x61','\x57\x37\x43\x5a\x43\x43\x6b\x4b','\x73\x38\x6b\x78\x57\x34\x2f\x64\x50\x67\x69','\x6d\x6d\x6b\x4f\x75\x38\x6b\x54\x57\x36\x74\x63\x50\x5a\x6a\x6a','\x57\x4f\x4e\x63\x53\x66\x76\x33\x57\x36\x4e\x64\x4b\x43\x6f\x6e\x57\x35\x4f','\x68\x38\x6b\x4b\x57\x35\x79\x52\x6e\x4b\x76\x42\x43\x57','\x57\x51\x6c\x64\x52\x6d\x6f\x67\x57\x50\x54\x50\x57\x34\x42\x64\x4b\x43\x6b\x68','\x57\x4f\x72\x47\x63\x38\x6b\x6c\x57\x35\x2f\x64\x52\x6d\x6b\x41\x57\x36\x79','\x35\x6c\x32\x71\x35\x50\x41\x72\x35\x42\x2b\x50\x36\x6b\x36\x36\x35\x4f\x59\x6b\x57\x36\x64\x49\x48\x34\x79\x50','\x7a\x55\x41\x44\x54\x45\x73\x34\x4f\x45\x77\x68\x4c\x48\x57\x2b\x67\x55\x77\x38\x52\x71','\x57\x35\x4e\x63\x47\x78\x52\x64\x4c\x38\x6f\x78\x79\x75\x6a\x77','\x35\x4f\x55\x4f\x35\x79\x4d\x55\x57\x4f\x58\x61\x57\x36\x7a\x46\x72\x58\x38','\x57\x35\x6c\x64\x50\x33\x56\x63\x47\x4e\x56\x63\x49\x78\x65','\x57\x34\x44\x61\x57\x51\x46\x64\x50\x4b\x61\x66\x62\x38\x6b\x6f','\x57\x34\x35\x39\x57\x34\x61\x62\x45\x61','\x64\x6d\x6f\x46\x68\x43\x6f\x67\x67\x64\x37\x64\x53\x71\x75','\x67\x53\x6b\x44\x57\x37\x61\x4d\x62\x57','\x57\x36\x4a\x4b\x55\x42\x4a\x4c\x48\x42\x68\x4f\x52\x37\x56\x4d\x4a\x7a\x6c\x64\x4e\x2b\x6b\x68\x49\x43\x6f\x6c','\x57\x51\x61\x56\x62\x38\x6b\x52\x6e\x47\x33\x63\x53\x6d\x6f\x39','\x76\x43\x6b\x4d\x76\x53\x6b\x41','\x63\x30\x62\x4a\x6e\x53\x6b\x57\x45\x6d\x6f\x53\x45\x61','\x70\x53\x6b\x4c\x79\x53\x6b\x4d','\x57\x52\x6a\x38\x64\x43\x6b\x68\x57\x35\x74\x64\x50\x53\x6b\x67\x57\x36\x43','\x57\x51\x69\x4e\x57\x50\x6a\x67\x6a\x4e\x4e\x64\x4c\x43\x6f\x4a\x57\x51\x56\x63\x4d\x30\x6d','\x70\x53\x6b\x77\x69\x76\x34\x30','\x57\x37\x7a\x38\x57\x35\x75\x32\x45\x77\x56\x64\x56\x47','\x57\x37\x4e\x64\x53\x53\x6f\x34\x6e\x68\x74\x64\x53\x58\x64\x64\x52\x67\x6d\x55\x73\x61','\x57\x34\x64\x63\x48\x77\x57\x71','\x63\x75\x35\x34\x6d\x38\x6b\x61\x44\x43\x6f\x53\x45\x61','\x57\x52\x37\x64\x51\x6d\x6f\x61\x57\x4f\x66\x34\x57\x34\x2f\x64\x4d\x47','\x46\x38\x6f\x6e\x68\x38\x6b\x6a\x45\x75\x2f\x63\x49\x6d\x6f\x33','\x6c\x53\x6b\x75\x69\x4b\x61\x49','\x64\x43\x6f\x2f\x61\x6d\x6f\x67\x79\x43\x6f\x6b\x57\x34\x72\x55\x7a\x32\x4f','\x41\x38\x6b\x73\x57\x4f\x2f\x63\x55\x53\x6f\x67','\x57\x51\x65\x62\x57\x37\x6c\x64\x51\x75\x47\x43\x6a\x53\x6b\x31\x75\x61','\x57\x52\x31\x77\x57\x50\x65\x32\x6e\x63\x4a\x63\x55\x6d\x6f\x57\x57\x50\x75\x58\x57\x36\x78\x64\x4c\x67\x69','\x57\x4f\x52\x63\x4c\x6d\x6f\x46\x62\x6d\x6b\x51\x45\x76\x61\x75','\x65\x38\x6b\x50\x57\x34\x57\x49\x69\x71','\x57\x4f\x47\x33\x45\x75\x69\x4b\x57\x35\x2f\x64\x4e\x47','\x57\x34\x33\x64\x55\x75\x68\x64\x4b\x47','\x70\x53\x6b\x79\x69\x31\x71\x55\x57\x36\x6e\x4b\x61\x47','\x57\x37\x4e\x64\x50\x67\x75\x6b\x42\x72\x68\x64\x54\x72\x34','\x6d\x53\x6b\x72\x61\x4c\x71\x71\x57\x36\x48\x5a\x62\x57','\x6c\x38\x6b\x35\x46\x4b\x37\x63\x52\x53\x6b\x4c\x6f\x59\x61','\x77\x68\x47\x69\x57\x50\x74\x63\x4d\x58\x5a\x64\x54\x64\x6d','\x46\x43\x6f\x39\x57\x4f\x46\x64\x47\x4d\x66\x37','\x57\x35\x52\x64\x50\x75\x42\x64\x56\x53\x6f\x65\x57\x34\x35\x70','\x57\x37\x53\x68\x57\x52\x6a\x54\x57\x4f\x6c\x63\x4f\x6d\x6b\x66\x61\x61','\x57\x50\x5a\x63\x52\x65\x4c\x49\x57\x36\x47','\x73\x53\x6b\x4c\x57\x52\x68\x64\x52\x43\x6b\x6a\x43\x65\x68\x64\x4f\x61','\x6b\x55\x6b\x68\x55\x53\x6b\x5a','\x41\x38\x6f\x55\x57\x4f\x68\x64\x47\x77\x6a\x71\x43\x53\x6b\x7a','\x57\x4f\x52\x63\x4c\x6d\x6f\x6c\x67\x43\x6b\x4a\x46\x65\x79\x76','\x57\x52\x42\x63\x54\x49\x65\x70\x42\x57\x2f\x64\x48\x74\x33\x63\x4f\x71','\x41\x38\x6b\x65\x57\x50\x64\x63\x55\x6d\x6f\x72\x57\x35\x52\x63\x47\x6d\x6b\x77','\x78\x48\x52\x64\x53\x53\x6f\x5a\x57\x50\x53'];_0x5cfb=function(){return _0x109d6f;};return _0x5cfb();}