Skip to content

Commit cd1b5a3

Browse files
Marasystemic-engineer
authored andcommitted
♻️ remove ShannonLoss, add domain-specific loss types (ConvergenceLoss, RoutingLoss)
ShannonLoss was a generic information-theoretic placeholder. Replace with three domain-specific loss types that carry semantic meaning: - ConvergenceLoss: distance to crystal (steps remaining, combine = max) - ApertureLoss: redesigned with aperture fraction field (combine = union + max) - RoutingLoss: decision uncertainty (entropy + runner-up gap, combine = max) Imperfect<T, E, L> no longer has a default type parameter — callers must choose their loss type explicitly. 74 tests pass.
1 parent 037b7ec commit cd1b5a3

3 files changed

Lines changed: 583 additions & 294 deletions

File tree

flake.lock

Lines changed: 9 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

flake.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
inputs = {
55
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
66
flake-utils.url = "github:numtide/flake-utils";
7-
flakes.url = "path:/Users/alexwolf/.flakes";
7+
flakes.url = "github:systemic-engineering/flakes";
88
flakes.inputs.nixpkgs.follows = "nixpkgs";
99
flakes.inputs.flake-utils.follows = "flake-utils";
1010
};

0 commit comments

Comments
 (0)