Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
f08f89e
ncm: profiles (context masks) with compact mixer rows; one-line conte…
claude Nov 10, 2026
2564bde
ncm v4 features: short match model and repeat-distance model, profile…
claude Nov 10, 2026
8859ca0
wip: profile plumbing in the generators
claude Nov 10, 2026
08002b5
Merge lane 1's ncm v4 features (short match, repeat model) onto the p…
claude Nov 10, 2026
27503e4
ncm v4: match-state mixer selection as its own profile bit; new input…
claude Nov 10, 2026
956cdca
wip: lane 1 F_SEL + zero-start weights; v0.3 era, profiled entries in…
claude Nov 10, 2026
5c26010
uorc: per-frame strategy portfolio with rule30 weights learned per da…
claude Nov 10, 2026
fd4727e
uorc: profiled ncm entries over an appended library; v0.3 archives ke…
claude Nov 10, 2026
477a9ba
Merge lane 2's profiled ncm entries; the portfolio writes them throug…
claude Nov 10, 2026
ded207f
wip: archive tests for earlier releases and profiled entries
claude Nov 10, 2026
dc3e0bf
Merge remote-tracking branch 'origin/claude/project-thread-2twygm' in…
claude Nov 10, 2026
3a67cef
uorc: code a frame's two scheduled strategies side by side
claude Nov 10, 2026
8a5f0a5
uorc: the v0.3 profile writes the v0.3 archive; family binder renamed…
claude Nov 10, 2026
2a4dcc9
Merge lane 1's parallel strategy coding
claude Nov 10, 2026
c122eb6
uorc: reference frames find frames labelled over the v0.3 library
claude Nov 10, 2026
83d2220
uorc: exact axiom policies for the profiled and v0.3 entries
claude Nov 10, 2026
49636ce
Merge remote-tracking branch 'origin/main' into claude/project-thread…
claude Nov 10, 2026
15381d8
uorc: the encoder learns each frame's context mask
claude Nov 10, 2026
772d874
uorc: portfolio outcomes generator and a threads-determinism test
claude Nov 10, 2026
0ace928
ncm: kernels_agree calls the encoder with its learn flag
claude Nov 10, 2026
c4fd13f
Merge remote-tracking branch 'origin/claude/project-thread-2twygm' in…
claude Nov 10, 2026
cafd25e
uorc: a strategy stops once its archive cannot be chosen
claude Nov 10, 2026
458ef9e
uorc v0.4: choice rule tests x86 before size, keeps the v0.3 entry in…
claude Nov 11, 2026
48e142d
Merge the merged lane 1 history of this branch (tree unchanged; conte…
claude Nov 11, 2026
9f74ffa
Merge main (7452a14, #132) into the choice-rule fix
claude Nov 11, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions client/src/Uorc/Client.lex.tex
Original file line number Diff line number Diff line change
Expand Up @@ -123,15 +123,15 @@
name: family,
parameters: [input : Bytes],
result: Nat,
body: (let n : Nat := (prim length input : Nat); (if (n <? 4096) then 0 else (if (n <? 65536) then 1 else (if (Uorc.Codec.Archive::x86Dense input) then 2 else (if ((prim multiply 9 n : Nat) <=? (prim multiply 10 (printableFrom n input 0 0) : Nat)) then 3 else 4))))),
body: (let n : Nat := (prim length input : Nat); (if (Uorc.Codec.Archive::x86Dense input) then 2 else (if (n <? 4096) then 0 else (if (n <? 65536) then 1 else (if ((prim multiply 9 n : Nat) <=? (prim multiply 10 (printableFrom n input 0 0) : Nat)) then 3 else 4))))),
axioms: [Quot.sound, propext]
}

definition{
name: weightTable,
parameters: [],
result: Bytes,
body: 0x01010f010c010101100101010501010f01010a010a01040109010c010101,
body: 0x01010101100101010e0110010401010f01010a010a0104010c010c010101,
axioms: []
}

Expand Down
16 changes: 13 additions & 3 deletions crates/uorc/examples/portfolio_outcomes.rs
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ fn main() {
.map(|n| n.to_string_lossy().into_owned())
});
println!("# uorc strategy portfolio training outcomes: one frame per line.");
println!("# Columns: frame length, family, then the ncm payload length of each strategy in portfolio order");
println!("# (FULL, FULL over x86, MID, MID over x86, V03, V03 over x86); the frame length + 50 when the coder declined.");
println!("# Columns: frame length, family, then the archive length each strategy writes, in portfolio order");
println!("# (FULL, FULL over x86, MID, MID over x86, V03, V03 over x86), at most the raw archive's length.");
println!("# Generated by crates/uorc/examples/portfolio_outcomes.rs.");
println!("# Training set: describe it here; files sorted by name.");
let next = std::sync::atomic::AtomicUsize::new(0);
Expand Down Expand Up @@ -51,8 +51,18 @@ fn outcome(f: &str) -> String {
.iter()
.map(|st| {
let src = if st.x86 { &filtered } else { &d };
// the archive the strategy writes (the v0.3 entry for V03), or raw
let raw = uorc::archive::raw_length(&[n as u64]) as usize;
let codec = if st.x86 {
uorc::archive::Codec::NcmX86
} else {
uorc::archive::Codec::Ncm
};
ncm::encode_profile(&[], src, st.profile)
.map_or(n + 50, |p| p.len().min(n + 50))
.and_then(|p| {
uorc::archive::linked_archive_profile(codec, st.profile, &[n as u64], &p)
})
.map_or(raw, |a| a.len().min(raw))
.to_string()
})
.collect();
Expand Down
Loading
Loading