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/aien-sovereign-core-mv/blob/main/crates/cortex-path-m1/src/config.rs # aien-sovereign-core-mv AienOS host runtime: inference scheduling, paged KV state, the aien CLI and Spark verification tooling. Its inference engine is in alpha testing (DGX Spark GB10); Omega is the implementation destination. 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 `aien-sovereign-core-mv / crates / cortex-path-m1 / src / config.rs` 81 lines ยท 2502 bytes Raw Blame History 1 // SPDX-License-Identifier: Apache-2.0 2 // Copyright 2026 Drake Stapleton (AIEN / aien-dev) 3 // 4 // Licensed under the Apache License, Version 2.0 (the "License"); 5 // you may not use this file except in compliance with the License. 6 // You may obtain a copy of the License at 7 // 8 // http://www.apache.org/licenses/LICENSE-2.0 9 // 10 // Unless required by applicable law or agreed to in writing, software 11 // distributed under the License is distributed on an "AS IS" BASIS, 12 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 // See the License for the specific language governing permissions and 14 // limitations under the License. 15 16 use serde::Serialize; 17 18 /// Frozen Milestone 1 constants. The JSON encoding of this value is `config_sha256`. 19 #[derive(Debug, Clone, Serialize, PartialEq)] 20 #[serde(rename_all = "snake_case")] 21 pub struct ExperimentConfig { 22 pub schema: u32, 23 pub anchor_count: usize, 24 pub max_hops: u8, 25 pub max_neighbors: usize, 26 pub max_paths: usize, 27 pub max_graph_entities: usize, 28 pub top_k: usize, 29 pub full_scan_limit: usize, 30 pub graph_mix: f64, 31 pub hop_decay: f64, 32 pub freshness_half_life_days: f64, 33 pub freshness_floor: f64, 34 pub tier_t0: f64, 35 pub tier_t1: f64, 36 pub tier_t2: f64, 37 pub tier_t3: f64, 38 pub entity_bytes: u64, 39 pub edge_bytes: u64, 40 pub path_bytes: u64, 41 pub result_bytes: u64, 42 pub bootstrap_samples: u32, 43 pub bootstrap_seed: u64, 44 pub suggestion_predicate: String, 45 } 46 47 impl Default for ExperimentConfig { 48 fn default() -> Self { 49 Self { 50 schema: 1, 51 anchor_count: 8, 52 max_hops: 2, 53 max_neighbors: 16, 54 max_paths: 64, 55 max_graph_entities: 32, 56 top_k: 10, 57 full_scan_limit: 1_000_000, 58 graph_mix: 0.25, 59 hop_decay: 0.5, 60 freshness_half_life_days: 180.0, 61 freshness_floor: 0.25, 62 tier_t0: 0.4, 63 tier_t1: 0.6, 64 tier_t2: 0.8, 65 tier_t3: 1.0, 66 entity_bytes: 256, 67 edge_bytes: 96, 68 path_bytes: 48, 69 result_bytes: 128, 70 bootstrap_samples: 10_000, 71 bootstrap_seed: 0x0050_4541_524C, 72 suggestion_predicate: "path_context.related".to_string(), 73 } 74 } 75 } 76 77 impl ExperimentConfig { 78 pub fn canonical_json(&self) -> Result, String> { 79 serde_json::to_vec(self).map_err(|err| err.to_string()) 80 } 81 }