Interplane page as plain text, for reading tools and agents. English is the reference text: translate it with your own tool. Text in backticks and in ``` blocks (commands, fingerprints, file names) and link targets in <...> are exact: copy them, never translate them. Page: /drakestapleton/aegis-runtime-mv/blob/main/tests/fixtures/simd_math_vectors.json # aegis-runtime-mv Native Rust agent runtime: Axum WebSocket/SSE/REST gateway, heartbeat scheduler, dependency-aware task workflow, SQLite storage. Attachment of AienOS. Pre-alpha. Brought by drakestapleton Sign in to star 0 stars 0 watching About Files History Releases Proposed changes Issues For developers branch `main` Branches Tags History `aegis-runtime-mv / tests / fixtures / simd_math_vectors.json` 241 lines ยท 3505 bytes Raw Blame History 1 { 2 "entropy": [ 3 { 4 "name": "uniform_2", 5 "probs": [ 6 0.5, 7 0.5, 8 0.0, 9 0.0 10 ], 11 "expected": 0.`6931471805599453` 12 }, 13 { 14 "name": "uniform_4", 15 "probs": [ 16 0.25, 17 0.25, 18 0.25, 19 0.25 20 ], 21 "expected": 1.`3862943611198906` 22 }, 23 { 24 "name": "certainty", 25 "probs": [ 26 1.0, 27 0.0, 28 0.0, 29 0.0 30 ], 31 "expected": 0.0 32 }, 33 { 34 "name": "skewed", 35 "probs": [ 36 0.7, 37 0.2, 38 0.08, 39 0.02 40 ], 41 "expected": 0.`8518587948971561` 42 }, 43 { 44 "name": "sparse_single", 45 "probs": [ 46 0.0, 47 0.0, 48 1.0, 49 0.0 50 ], 51 "expected": 0.0 52 }, 53 { 54 "name": "all_zero", 55 "probs": [ 56 0.0, 57 0.0, 58 0.0, 59 0.0 60 ], 61 "expected": 0.0 62 } 63 ], 64 "cosine": [ 65 { 66 "name": "identical", 67 "a": [ 68 1.0, 69 2.0, 70 3.0, 71 4.0 72 ], 73 "b": [ 74 1.0, 75 2.0, 76 3.0, 77 4.0 78 ], 79 "expected": 1.0 80 }, 81 { 82 "name": "opposite", 83 "a": [ 84 1.0, 85 0.0, 86 0.0, 87 0.0 88 ], 89 "b": [ 90 -1.0, 91 0.0, 92 0.0, 93 0.0 94 ], 95 "expected": -1.0 96 }, 97 { 98 "name": "orthogonal", 99 "a": [ 100 1.0, 101 0.0, 102 0.0, 103 0.0 104 ], 105 "b": [ 106 0.0, 107 1.0, 108 0.0, 109 0.0 110 ], 111 "expected": 0.0 112 }, 113 { 114 "name": "zero_vector", 115 "a": [ 116 0.0, 117 0.0, 118 0.0, 119 0.0 120 ], 121 "b": [ 122 1.0, 123 2.0, 124 3.0, 125 4.0 126 ], 127 "expected": 0.0 128 }, 129 { 130 "name": "mixed_positive_negative", 131 "a": [ 132 3.0, 133 -4.0, 134 5.0, 135 -1.0 136 ], 137 "b": [ 138 3.0, 139 -4.0, 140 5.0, 141 -1.0 142 ], 143 "expected": 0.`9999999999999999` 144 } 145 ], 146 "projection": [ 147 { 148 "name": "standard", 149 "tokens": [ 150 1.0, 151 2.0, 152 3.0, 153 4.0 154 ], 155 "weights": [ 156 0.5, 157 0.5, 158 0.5, 159 0.5 160 ], 161 "bias": 1.0, 162 "expected": 6.0 163 }, 164 { 165 "name": "zero_bias", 166 "tokens": [ 167 2.0, 168 4.0, 169 6.0, 170 8.0 171 ], 172 "weights": [ 173 0.1, 174 0.2, 175 0.3, 176 0.4 177 ], 178 "bias": 0.0, 179 "expected": 6.0 180 }, 181 { 182 "name": "negative_weights", 183 "tokens": [ 184 1.0, 185 -1.0, 186 2.0, 187 -2.0 188 ], 189 "weights": [ 190 0.5, 191 -0.5, 192 0.5, 193 -0.5 194 ], 195 "bias": 2.5, 196 "expected": 5.5 197 } 198 ], 199 "temperature": [ 200 { 201 "name": "standard_half", 202 "logit": 2.0, 203 "temp": 0.5, 204 "expected": 4.0 205 }, 206 { 207 "name": "standard_double", 208 "logit": 10.0, 209 "temp": 2.0, 210 "expected": 5.0 211 }, 212 { 213 "name": "zero_temp_guard", 214 "logit": 5.0, 215 "temp": 0.0, 216 "expected": 5.0 217 }, 218 { 219 "name": "near_zero_temp_guard", 220 "logit": 5.0, 221 "temp": 5e-05, 222 "expected": 5.0 223 } 224 ], 225 "accumulate": [ 226 { 227 "name": "short_acc", 228 "base_val": 1.0, 229 "scale": 1.05, 230 "steps": 5, 231 "expected": 23.`410156139003135` 232 }, 233 { 234 "name": "single_step", 235 "base_val": 2.0, 236 "scale": 1.1, 237 "steps": 1, 238 "expected": 18.`360000000000003` 239 } 240 ] 241 }